newbus locking: 2 LORs

From: pluknet <pluknet_at_gmail.com>
Date: Thu, 6 Aug 2009 23:16:16 +0400
Hi.

csup'ed few hours ago (cvsup4.ru).

c8-vb# kldunload snd_hda
lock order reversal:
 1st 0xc0dc26a0 module subsystem sx lock (module subsystem sx lock) _at_ /usr/src/s
ys/kern/kern_linker.c:602
 2nd 0xc0dd4740 newbus (newbus) _at_ /usr/src/sys/kern/subr_bus.c:4127
KDB: stack backtrace:
db_trace_self_wrapper(c0c72da6,e6c72b34,c08c0cb5,c08b19fb,c0c75c3b,...) at db_tr
ace_self_wrapper+0x26
kdb_backtrace(c08b19fb,c0c75c3b,c452bc20,c452c850,e6c72b90,...) at kdb_backtrace
+0x29
_witness_debugger(c0c75c3b,c0dd4740,c0c7248e,c452c850,c0c724c0,...) at _witness_
debugger+0x25
witness_checkorder(c0dd4740,9,c0c724c0,101f,0,...) at witness_checkorder+0x839
_sx_xlock(c0dd4740,0,c0c724c0,101f,c4f59dd8,...) at _sx_xlock+0x85
driver_module_handler(c498b200,3,c4f59dd8,fc,1,...) at driver_module_handler+0x4
8
module_quiesce(c498b200,0,c0c6c577,25a,c0864346,...) at module_quiesce+0x43
linker_file_unload(c4954200,0,c0c6c577,42c,c4f41000,...) at linker_file_unload+0
xa8
kern_kldunload(c4aa3480,5,0,e6c72d2c,c0baeed3,...) at kern_kldunload+0xd5
kldunloadf(c4aa3480,e6c72cf8,8,c0c76cfd,c0d57c30,...) at kldunloadf+0x2b
syscall(e6c72d38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (444, FreeBSD ELF32, kldunloadf), eip = 0x280ced2b, esp = 0xbfbfe48c
, ebp = 0xbfbfecd8 ---
lock order reversal:
 1st 0xc0dc1fdc kernel linker (kernel linker) _at_ /usr/src/sys/kern/kern_linker.c:
1068
 2nd 0xc0dd4740 newbus (newbus) _at_ /usr/src/sys/kern/subr_bus.c:4127
KDB: stack backtrace:
db_trace_self_wrapper(c0c72da6,e6c72b34,c08c0cb5,c08b19fb,c0c75c3b,...) at db_tr
ace_self_wrapper+0x26
kdb_backtrace(c08b19fb,c0c75c3b,c452bc88,c452c850,e6c72b90,...) at kdb_backtrace
+0x29
_witness_debugger(c0c75c3b,c0dd4740,c0c7248e,c452c850,c0c724c0,...) at _witness_
debugger+0x25
witness_checkorder(c0dd4740,9,c0c724c0,101f,0,...) at witness_checkorder+0x839
_sx_xlock(c0dd4740,0,c0c724c0,101f,c4f59dd8,...) at _sx_xlock+0x85
driver_module_handler(c498b200,1,c4f59dd8,109,0,...) at driver_module_handler+0x
48
module_unload(c498b200,c0c6c577,274,271,c0864346,...) at module_unload+0x43
linker_file_unload(c4954200,0,c0c6c577,42c,c4f41000,...) at linker_file_unload+0
x15e
kern_kldunload(c4aa3480,5,0,e6c72d2c,c0baeed3,...) at kern_kldunload+0xd5
kldunloadf(c4aa3480,e6c72cf8,8,c0c76cfd,c0d57c30,...) at kldunloadf+0x2b
syscall(e6c72d38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (444, FreeBSD ELF32, kldunloadf), eip = 0x280ced2b, esp = 0xbfbfe48c
, ebp = 0xbfbfecd8 ---

-- 
wbr,
pluknet
Received on Thu Aug 06 2009 - 17:16:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC