kernel panic when kldload'ing nvidia without WITNESS_SKIPSPIN

From: David Hill <david_at_wmol.com>
Date: Fri, 18 Jul 2003 16:35:56 -0400
Hello - 
When I kldload nvidia, i receive a kernel panic.

options         INVARIANTS
options         INVARIANT_SUPPORT
options         DDB
options         WITNESS

panic: spin lock ctl.mtx_rm not in order list
panic messages:
---
Reading symbols from /usr/src/sys/i386/compile/WIND/modules/usr/src/sys/modules/
linux/linux.ko.debug...done.
Loaded symbols for /usr/src/sys/i386/compile/WIND/modules/usr/src/sys/modules/li
nux/linux.ko.debug
Reading symbols from /boot/kernel/nvidia.ko...done.
Loaded symbols for /boot/kernel/nvidia.ko
#0  0xc0212dab in doadump ()
(kgdb) where
#0  0xc0212dab in doadump ()
#1  0xc02133dc in boot ()
#2  0xc0213767 in panic ()
#3  0xc012d502 in db_panic ()
#4  0xc012d482 in db_command ()
#5  0xc012d5a5 in db_command_loop ()
#6  0xc01304a5 in db_trap ()
#7  0xc035108c in kdb_trap ()
#8  0xc0361e0a in trap ()
#9  0xc0352a78 in calltrap ()
#10 0xc02136f5 in panic ()
#11 0xc0238f64 in enroll ()
#12 0xc0237bf5 in witness_init ()
#13 0xc020a33b in mtx_init ()
#14 0xc2a5949b in nvidia_ctl_attach () from /boot/kernel/nvidia.ko
#15 0xc2a5a934 in nvidia_attach () from /boot/kernel/nvidia.ko
#16 0xc2a5a4fd in nvidia_pci_attach () from /boot/kernel/nvidia.ko
#17 0xc022cc88 in DEVICE_ATTACH ()
#18 0xc022b237 in device_probe_and_attach ()
#19 0xc022bc7e in bus_generic_driver_added ()
#20 0xc022cf8f in BUS_DRIVER_ADDED ()
#21 0xc0229ed8 in devclass_add_driver ()
#22 0xc022c715 in driver_module_handler ()
#23 0xc0208c31 in module_register_init ()
#24 0xc0203320 in linker_file_sysinit ()
#25 0xc0203671 in linker_load_file ()
#26 0xc0205bd7 in linker_load_module ()
#27 0xc0204153 in kldload ()
#28 0xc0362723 in syscall ()
#29 0xc0352acd in Xint0x80_syscall ()

I tried a new kernel in which i add WITNESS_SKIPSPIN to the kernel config.  It loaded and worked just fine.

- David
Received on Fri Jul 18 2003 - 11:36:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:15 UTC