From owner-freebsd-stable@FreeBSD.ORG Tue May 5 13:51:21 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 418C610656B1; Tue, 5 May 2009 13:51:21 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw1.york.ac.uk (mail-gw1.york.ac.uk [144.32.128.246]) by mx1.freebsd.org (Postfix) with ESMTP id C73418FC1F; Tue, 5 May 2009 13:51:20 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw1.york.ac.uk (8.13.6/8.13.6) with ESMTP id n45DpHbI023962; Tue, 5 May 2009 14:51:17 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1M1L3F-0007Ar-Qz; Tue, 05 May 2009 14:51:17 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.3/8.14.3) with ESMTP id n45DpHBC085141; Tue, 5 May 2009 14:51:17 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.3/8.14.3/Submit) id n45DpHFC085140; Tue, 5 May 2009 14:51:17 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: Kostik Belousov In-Reply-To: <1241526927.47323.5.camel@buffy.york.ac.uk> References: <20090505110624.GA83487@megatron.madpilot.net> <1241521951.47323.3.camel@buffy.york.ac.uk> <20090505121247.GN1948@deviant.kiev.zoral.com.ua> <1241526927.47323.5.camel@buffy.york.ac.uk> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 05 May 2009 14:51:16 +0100 Message-Id: <1241531476.47323.8.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: freebsd-stable@FreeBSD.org, Guido Falsi , jhb@FreeBSD.org Subject: Re: [PANIC] recent 7.2-STABLE when probing drm X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 13:51:22 -0000 On Tue, 2009-05-05 at 13:35 +0100, Gavin Atkinson wrote: > On Tue, 2009-05-05 at 15:12 +0300, Kostik Belousov wrote: > > On Tue, May 05, 2009 at 12:12:31PM +0100, Gavin Atkinson wrote: > > > On Tue, 2009-05-05 at 13:06 +0200, Guido Falsi wrote: > > > > Hi! > > > > > > > > I'm using FreeBSD/i386 stable on a HP DC7800 PC. > > > > > > > > It has an Intel Q35 graphic chip. > > > > > > > > After upgrading to a recent stable I experienced a pani on boot, just > > > > after probing drm. > > > > > > > > I investigated a little and found out that reverting the file > > > > > > > > src/sys/dev/pci/pci.c > > > > > > > > to rev. 1.355.2.9 (SVN Rev 190092) solves the crash. > > > > > > > > I could not investigatte urther right away, but some regression was > > > > introduced with this rev. > > > > > > > > Is any more information needed? > > > > > > When it panics, can you please type "bt" (assuming you have the debugger > > > compiled in) and show the output? > > > > I have this too. I have dump too. > > > > drm0: on vgapci0 > > panic: resource_list_alloc: resource entry is busy > > KDB: stack backtrace: > > db_trace_self_wrapper(c07214ff,c2b46764,c04c928f,c071f823,c078b080,...) at 0xc044df46 = db_trace_self_wrapper+0x26 > > kdb_backtrace(c071f823,c078b080,c07211b1,c2b46770,c2b46770,...) at 0xc04f41f9 = kdb_backtrace+0x29 > > panic(c07211b1,3,10,c04e9484,c2e37000,...) at 0xc04c928f = panic+0xaf > > resource_list_alloc(c2cffb04,c2d00a80,c2d00c80,3,c2d2a1fc,...) at 0xc04f0c06 = resource_list_alloc+0xd6 > > pci_alloc_resource(c2d00a80,c2d00c80,3,c2d2a1fc,0,ffffffff,1,4) at 0xc045a2d1 = pci_alloc_resource+0x581 > > bus_alloc_resource(c2d00c80,3,c2d2a1fc,0,ffffffff,...) at 0xc04f0a8c = bus_alloc_resource+0x7c > > vga_pci_alloc_resource(c2d00c80,c2cfa080,3,c2d2a1fc,0,ffffffff,1,4) at 0xc04600ab = vga_pci_alloc_resource+0x3b > [...] > > I wonder if r189373 also needs merging? Looking at a thread on -current, it looks like this is probably the case. It's not a straight merge from head as other bits have changed, but you could test http://people.freebsd.org/~gavin/189373_7.diff (warning: compile tested only) Gavin