From owner-freebsd-current@FreeBSD.ORG Wed Oct 19 18:22:15 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 7A1AB16A41F; Wed, 19 Oct 2005 18:22:15 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 092DB43D62; Wed, 19 Oct 2005 18:22:14 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.50.41.234] (Not Verified[10.50.41.234]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Wed, 19 Oct 2005 14:38:47 -0400 From: John Baldwin To: Robert Watson Date: Wed, 19 Oct 2005 14:23:41 -0400 User-Agent: KMail/1.8.2 References: <200510191623.j9JGNSfr007356@magus.nostrum.com> <200510191304.28422.jhb@freebsd.org> <20051019184900.R60849@fledge.watson.org> In-Reply-To: <20051019184900.R60849@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510191423.42922.jhb@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: Problem remains with FreeBSD 6.0-RC1 as seen in RELENG_5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Oct 2005 18:22:15 -0000 On Wednesday 19 October 2005 01:49 pm, Robert Watson wrote: > On Wed, 19 Oct 2005, John Baldwin wrote: > > He'll need witness for 'show alllocks' but that will require having the > > 'hptlock' spin mutex added to witness' spin lock order. Also, the > > psuedo-rw lock phk created for filedesc isn't witness checked since it > > isn't a mutex or sx lock, and it maybe that there is a reversal > > involving that lock, but it will be tricky to tell if that is the case. > > His previous output includes "show witness", so I think he should be all > set. After it panic'd early in the boot because hptlock wasn't in the spinlock order list. :) Also, Philip, INVARIANTS requires INVARIANT_SUPPORT, which is why you had the error with _sx_assert(). > >>> [Seeing other posts that request kernel config additions to assist with > >>> debugging, I then tried to install a kernel with the added config of: > >>> options WITNESS > >>> and booting failed as such:] > >>> > >>> /boot/kernel/acpi.ko text=0x40c0c data=0x2160+0x1090 > >>> syms=[0x4+0x7810+0x4+0xa292] KDB: debugger backends: ddb > >>> KDB: current backend: ddb > >>> Copyright (c) 1992-2005 The FreeBSD Project. > >>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > >>> 1994 The Regents of the University of California. All rights reserved. > >>> FreeBSD 6.0-RC1 #1: Wed Oct 19 09:45:23 CDT 2005 > >>> root@[host-elided]:/usr/obj/usr/src/sys/SMP_DDB > >>> WARNING: WITNESS option enabled, expect reduced performance. > >>> Timecounter \"i8254\" frequency 1193182 Hz quality 0 > >>> CPU: Intel Pentium III (997.46-MHz 686-class CPU) > >>> Origin = \"GenuineIntel\" Id = 0x68a Stepping = 10 > >>> > >>> Features=0x383fbff >>>,M CA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 2147418112 (2047 MB) > >>> avail memory = 2096447488 (1999 MB) > >>> ACPI APIC Table: > >>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > >>> cpu0 (BSP): APIC ID: 1 > >>> cpu1 (AP): APIC ID: 0 > >>> ioapic0: Changing APIC ID to 2 > >>> ioapic1: Changing APIC ID to 3 > >>> MADT: Forcing active-low polarity and level trigger for SCI > >>> ioapic0 irqs 0-15 on motherboard > >>> ioapic1 irqs 16-31 on motherboard > >>> panic: spin lock hptlock not in order list > >>> cpuid = 0 > >>> KDB: stack backtrace: > >>> kdb_backtrace(100,c0903380,0,c085e142,c08a28ac) at 0xc0646395 = > >>> kdb_backtrace+0x29 panic(c084621f,c085e142,c090c6c0,0,c0845c3a) at > >>> 0xc062fd4c = panic+0x114 enroll(c085e142,c08a28ac,c096d720,1,c0c20d5c) > >>> at 0xc064f61b = enroll+0xef > >>> witness_init(c096d720,c34bfb74,c08dd510,c28000,c0c20d74) at 0xc064e6dd > >>> = witness_init+0x11d mtx_init(c096d720,c085e142,0,1,c0c20d88) at > >>> 0xc0628d63 = mtx_init+0x8f hpt_init(0,c1ec00,c1e000,0,c04457e5) at > >>> 0xc07ac352 = hpt_init+0x16 mi_startup() at 0xc060b1be = mi_startup+0x96 > >>> begin() at 0xc04457e5 = begin+0x2c > >>> KDB: enter: panic > >>> [thread pid 0 tid 0 ] > >>> Stopped at 0xc0646417 = kdb_enter+0x2b: nop > >>> db> -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org