Date: Wed, 19 Oct 2005 14:23:41 -0400 From: John Baldwin <jhb@freebsd.org> To: Robert Watson <rwatson@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: Problem remains with FreeBSD 6.0-RC1 as seen in RELENG_5 Message-ID: <200510191423.42922.jhb@freebsd.org> In-Reply-To: <20051019184900.R60849@fledge.watson.org> References: <200510191623.j9JGNSfr007356@magus.nostrum.com> <200510191304.28422.jhb@freebsd.org> <20051019184900.R60849@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE > >>>,M CA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 2147418112 (2047 MB) > >>> avail memory = 2096447488 (1999 MB) > >>> ACPI APIC Table: <DELL PE2550 > > >>> 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 <Version 1.1> irqs 0-15 on motherboard > >>> ioapic1 <Version 1.1> 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 <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510191423.42922.jhb>