From owner-freebsd-current@FreeBSD.ORG Wed Oct 8 19:12:17 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19F96B3D for ; Wed, 8 Oct 2014 19:12:17 +0000 (UTC) Received: from mail.egr.msu.edu (hill.egr.msu.edu [35.9.37.162]) by mx1.freebsd.org (Postfix) with ESMTP id D6155D33 for ; Wed, 8 Oct 2014 19:12:16 +0000 (UTC) Received: from hill (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id 2825B29245; Wed, 8 Oct 2014 15:12:09 -0400 (EDT) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by hill (hill.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MN8vPSGWfsnW; Wed, 8 Oct 2014 15:12:09 -0400 (EDT) Received: from EGR authenticated sender Message-ID: <54358C88.2080501@egr.msu.edu> Date: Wed, 08 Oct 2014 15:12:08 -0400 From: Adam McDougall User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: Ver 2 of the patch [was: Re: i915 driver update testing] References: <20141003170258.GG26076@kib.kiev.ua> <54315D3A.3090902@egr.msu.edu> <20141005170007.GZ26076@kib.kiev.ua> <5433260C.5050901@egr.msu.edu> <20141007042043.GG26076@kib.kiev.ua> <5433E408.2010601@egr.msu.edu> <20141007164419.GB2153@kib.kiev.ua> <20141007180106.GD2153@kib.kiev.ua> <54344766.1040700@egr.msu.edu> <20141008170525.GH2153@kib.kiev.ua> In-Reply-To: <20141008170525.GH2153@kib.kiev.ua> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2014 19:12:17 -0000 On 10/08/2014 13:05, Konstantin Belousov wrote: > On Tue, Oct 07, 2014 at 04:04:54PM -0400, Adam McDougall wrote: >> On 10/07/2014 14:01, Konstantin Belousov wrote: >>> On Tue, Oct 07, 2014 at 07:44:19PM +0300, Konstantin Belousov wrote: >>>> >From the same frame, please do >>>> p *(struct drm_i915_private *)(dev->private) > p *(struct drm_i915_private *)(dev->dev_private) > >>> >>> I probably figured out what is wrong, but it is still interesting to >>> see this piece of data. >>> >>> For everybody who has the issue with blank screen or panic after >>> the patch: >>> 1. please try the updated patch, >>> https://www.kib.kiev.ua/kib/drm/i915.2.patch >>> 2. if you use "kldload i915kms" to test the patch and get the blank >>> screen, verify do you get panic or just a black screen. It is >>> expected for sc, not so for vt. For vt, if you do get blank screen >>> and not a panic, do not load i915kms manually and run the X server. >>> I am interested if running X server does show proper output. >>> >> >> Backtrace seems the same, I repeated the prior commands: >> http://www.egr.msu.edu/~mcdouga9/i915-patch2-1.txt > > There are more occurences of the bug I fixed once in patch version 2. > Also, since pmap changes were committed in modified form, please try > the updated patch at https://www.kib.kiev.ua/kib/drm/i915.3.patch . > No apparent change: http://www.egr.msu.edu/~mcdouga9/i915-patch3-1.txt I made a log of the source operations and compile to be certain I was using the right patch properly: http://www.egr.msu.edu/~mcdouga9/20141008-compile.txt Are any of these an issue in the patch? Seem unrelated but hopefully harmless: diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c diff --git a/sys/kern/uipc_shm.c b/sys/kern/uipc_shm.c diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c diff --git a/sys/vm/default_pager.c b/sys/vm/default_pager.c diff --git a/sys/vm/device_pager.c b/sys/vm/device_pager.c diff --git a/sys/vm/phys_pager.c b/sys/vm/phys_pager.c diff --git a/sys/vm/sg_pager.c b/sys/vm/sg_pager.c diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c diff --git a/sys/vm/vm_pager.h b/sys/vm/vm_pager.h diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c Thanks.