From owner-freebsd-current@FreeBSD.ORG Fri Sep 26 18:52:04 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 75668459 for ; Fri, 26 Sep 2014 18:52:04 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C986667 for ; Fri, 26 Sep 2014 18:52:04 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 5D57BB987; Fri, 26 Sep 2014 14:52:03 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Subject: Re: Xorg causes panics with "multiple" drivers (Was: panic: resource_list_alloc: resource entry is busy) Date: Fri, 26 Sep 2014 14:47:02 -0400 Message-ID: <6194383.JuC2mSLzHG@ralph.baldwin.cx> User-Agent: KMail/4.12.5 (FreeBSD/10.1-BETA2; KDE/4.12.5; amd64; ; ) In-Reply-To: <282186928.pUbQA97aum@ralph.baldwin.cx> References: <54140711.7020001@gmx.com> <282186928.pUbQA97aum@ralph.baldwin.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 26 Sep 2014 14:52:03 -0400 (EDT) Cc: dt71@gmx.com, Marcin Cieslak 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: Fri, 26 Sep 2014 18:52:04 -0000 On Monday, September 15, 2014 11:25:47 AM John Baldwin wrote: > On Saturday, September 13, 2014 10:57:53 AM dt71@gmx.com wrote: > > John Baldwin wrote on 09/12/2014 23:06: > > > X loaded i915kms automatically and > > > i915 and i915kms do not get along. i915 had already allocated the IRQ > > > when i915kms tried to alloc the same IRQ causing the issue. > > > > Who is to blame? The user who tried to manually load an unsupported > > combination of modules, or the system, which should have handled things > > gracefully (whether by automatically unloading the first driver, or > > producing a soft-error upon loading the 2nd driver)? > > > > On a side-note, I also had a "resource_list_alloc: resource entry is busy" > > panic right after switching from the 10.0-supported Xorg to the "new" > > Xorg; > > I exited Xorg, enabled "FreeBSD_new_Xorg", ran "pkg upgrade", then ran > > "startx", and got the panic. Surely this wasn't my fault! > > I can turn the panic into a resource allocation failure, but specifically > with KMS I am unsure if it will actually be better. FYI, I wrote a test for the patch I sent to make this not panic and verified it worked ok and committed it. -- John Baldwin