From owner-freebsd-current@FreeBSD.ORG Wed Aug 6 17:22:55 2014 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1FF5D3FF; Wed, 6 Aug 2014 17:22:55 +0000 (UTC) Received: from i3mail.icecube.wisc.edu (i3mail.icecube.wisc.edu [128.104.255.23]) by mx1.freebsd.org (Postfix) with ESMTP id E8DE82A3C; Wed, 6 Aug 2014 17:22:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by i3mail.icecube.wisc.edu (Postfix) with ESMTP id A04CB3805E; Wed, 6 Aug 2014 12:22:48 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from i3mail.icecube.wisc.edu ([127.0.0.1]) by localhost (i3mail.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id vU2w8fHvky6J; Wed, 6 Aug 2014 12:22:48 -0500 (CDT) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) by i3mail.icecube.wisc.edu (Postfix) with ESMTPSA id 4CACF3805C; Wed, 6 Aug 2014 12:22:48 -0500 (CDT) Message-ID: <53E26467.8020509@freebsd.org> Date: Wed, 06 Aug 2014 10:22:47 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= , freebsd-current@FreeBSD.org Subject: Re: r259580 breaks radeonkms References: <53E178BC.4040201@freebsd.org> <53E1F6E3.1040304@FreeBSD.org> <5850878054da9ac1898035b6c5d010e5@sonic.net> <53E25D3E.7000200@FreeBSD.org> In-Reply-To: <53E25D3E.7000200@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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, 06 Aug 2014 17:22:55 -0000 On 08/06/14 09:52, Roger Pau Monné wrote: > On 06/08/14 16:35, Nathan Whitehorn wrote: >> >> On 2014-08-06 02:35, Roger Pau Monné wrote: >>> On 06/08/14 02:37, Nathan Whitehorn wrote: >>>> Kernels with r269580 will panic when loading the radeonkms driver in >>>> pmap_page_set_memattr(). This probably indicates a bug in radeonkms, but >>>> the system is unusable in the meantime. >>>> -Nathan >>> I seem to be able to load radeonkms just fine after r269580: >> It's possible that it is related to actually using it, rather than >> loading the module. I was only testing them together. I'm using vt and >> the panic (page fault in kernel mode) occurs when TTM tries to set >> memory attributes on some page while starting X. Before the panic, I see >> all the normal Radeon module messages as you do, so the module seems to >> have actually loaded correctly. The KMS console also seems to be >> functional enough to display the panic message, so I suspect it's X that >> triggers it. >> -Nathan > Please try the attached patch, it seems to solve the panic for me. It > also includes a fix for Intel i915 gem, which I'm not able to test > because I don't have the hardware. > > Roger. > Works for me on radeon. Thanks! -Nathan