From owner-freebsd-current@FreeBSD.ORG Wed Sep 22 20:44:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A780816A4E0 for ; Wed, 22 Sep 2004 20:44:51 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 770D443D1F for ; Wed, 22 Sep 2004 20:44:51 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 12343 invoked from network); 22 Sep 2004 20:44:51 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 22 Sep 2004 20:44:50 -0000 Received: from [10.50.40.210] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i8MKif3p003234; Wed, 22 Sep 2004 16:44:46 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Wed, 22 Sep 2004 16:28:51 -0400 User-Agent: KMail/1.6.2 References: <20040922095257.GA81709@ie.tusur.ru> In-Reply-To: <20040922095257.GA81709@ie.tusur.ru> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409221628.51977.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Pavel Gubin Subject: Re: "Multiple entries for PCI IRQ 16" and "xlock already held" panics on 5.3-BETA(3,4,5) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.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, 22 Sep 2004 20:44:51 -0000 On Wednesday 22 September 2004 05:52 am, Pavel Gubin wrote: > Hello, > > I'm trying to set up RELENG_5 on a box, and got some panices. > > 1) Box configuration: MSI MS-6568 (SiS740 + SiS961B), Duron 1100, Realtek > RTL8101 on-board, BIOS v1.2 (04102002, the latest) > > 2) Panices are reproducible during all last RELENG_5 stages (3,4,5 betas) > > 3) Kernel config is derived from GENERIC by commenting out unneeded devices > and adding some options: > > === cut here === > machine i386 > cpu I686_CPU > ident Pine > > makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols > > [...] > > options KDB # Enable kernel debugger support. > options DDB # Support DDB. > options GDB # Support remote GDB. > options INVARIANTS # Enable calls of extra sanity checking > options INVARIANT_SUPPORT # Extra sanity checks of internal structures, > required by INVARIANTS options WITNESS # Enable checks to detect > deadlocks and cycles > options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed > options BREAK_TO_DEBUGGER > options KDB_TRACE > > options AUTO_EOI_1 > options INCLUDE_CONFIG_FILE > options QUOTA > options IPFIREWALL > options IPFIREWALL_FORWARD > options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default > options IPDIVERT #divert sockets > options BRIDGE > options DUMMYNET > > options SMP # Symmetric MultiProcessor Kernel > device apic # I/O APIC > [...] > === cut here === > > Panices. > -------- > > 1) When MPS 1.4 is enabled with the BIOS setting and ACPI disabled either > by BIOS or by unsetting `acpi_load' loader variable, the kernel panices > immediately with "panic: Multiple entries for PCI IRQ 16" message. As one > can see from #1 Bootlog, there are really two entries for IRQ16. I think > this is the BIOS bug, but I also think the diagnostics for this situation > should be more precise than that. There's not much more precise that can be done. mptable output would be extremely helpful here. > #2 Panic log > ------------ > panic: _sx_xlock (user map): xlock already held @ > /var/data/5/src/sys/vm/vm_map.c:2997 cpuid = 0 > KDB: stack backtrace: > kdb_backtrace(100,c0f794e0,c0e983c8,1,bb5) at kdb_backtrace+0x29 > panic(c05eaffa,c05d320c,c05fd313,c05fd393,bb5) at panic+0x114 > _sx_xlock(c0e983c8,c05fd393,bb5) at _sx_xlock+0x44 > _vm_map_lock_read(c0e98384,c05fd393,bb5,1f49a0c,c113692c) at > _vm_map_lock_read+0x37 vm_map_lookup(c9f49a64,bfca2000,1,c9f49a68,c9f49a58) > at vm_map_lookup+0x28 vm_fault(c0e98384,bfca2000,1,0,c0f794e0) at > vm_fault+0x66 > trap_pfault(c9f49b2c,0,bfca253c) at trap_pfault+0xd2 > trap(18,10,10,c0e98444,c0c95c48) at trap+0x30d > calltrap() at calltrap+0x5 > --- trap 0xc, eip = 0xc05b541c, esp = 0xc9f49b6c, ebp = 0xc9f49b78 --- > pmap_enter_quick(c0e98444,2894f000,c0d7c2e8,0,0) at pmap_enter_quick+0xc8 This is the real bug, can you do 'l *0xc05b541c' from kgdb? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org