Sound related LOR on 6.0-BETA4

From: Fabian Keil <freebsd-listen_at_fabiankeil.de>
Date: Wed, 7 Sep 2005 12:36:44 +0200
After kldunloading snd_emu10k1 on 6.0-BETA4 I get:

lock order reversal
 1st 0xc1c01240 pcm0 (sound cdev) _at_ /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/sound.c:706
 2nd 0xc1e7c940 sndstat (sndstat) _at_ /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/sndstat.c:256
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c0723330,c07233d0,c06eb50c) at kdb_backtrace+0x29
witness_checkorder(c1e7c940,9,c1e77fe4,100) at witness_checkorder+0x564
_sx_xlock(c1e7c940,c1e77fe4,100,0,c1ad0200) at _sx_xlock+0x50
sndstat_unregister(c1a89a00,c1e42e80,c1e42e80,c1a89a00,c1a89a00) at sndstat_unregister+0x1c
pcm_unregister(c1a89a00,c1a89a00,c1a89a00,c1c00a40,de994c30) at pcm_unregister+0xf6
emu_pci_detach(c1a89a00) at emu_pci_detach+0xf
device_detach(c1a89a00) at device_detach+0x70
devclass_delete_driver(c19c7380,c1efe9d0,c1c01e40,c1d07100,0) at devclass_delete_driver+0x8c
driver_module_handler(c1c01e40,1,c1efea4c,c1c01e40,de994cb0) at driver_module_handler+0xa5
module_unload(c1c01e40,0,c0712a00,c06a9dd5,1fb) at module_unload+0x37
linker_file_unload(c1d07100,0,0,c1ce3d80,de994cdc) at linker_file_unload+0x72
kern_kldunload(c1ce3d80,5,0,de994d30,c0672727) at kern_kldunload+0x7c
kldunloadf(c1ce3d80,de994d04,2,1,292) at kldunloadf+0x1e
syscall(3b,3b,3b,5,bfbfed5e) at syscall+0x22f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (444, FreeBSD ELF32, kldunloadf), eip = 0x280b45b7, esp = 0xbfbfe7bc, ebp = 0xbfbfec28 ---

Fabian
-- 
http://www.fabiankeil.de/

Received on Wed Sep 07 2005 - 08:36:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC