LOR: bufwait vs dirhash

From: Ulrich Spoerlein <uspoerlein_at_gmail.com>
Date: Thu, 9 Oct 2008 20:14:30 +0200
Hi all,

pretty fresh -CURRENT, just removed a directory et voilá

root_at_igor: /boot# rm -rf kernel.old
lock order reversal:
 1st 0xcffcd344 bufwait (bufwait) _at_ /vol/src/sys/kern/vfs_bio.c:2443
 2nd 0xc38a0a00 dirhash (dirhash) _at_ /vol/src/sys/ufs/ufs/ufs_dirhash.c:254
KDB: stack backtrace:
db_trace_self_wrapper(c07d2a15,daa7ca78,c057de85,4,c07ce2fe,...) at db_trace_self_wrapper+0x26
kdb_backtrace(4,c07ce2fe,c07ee685,c30f01e8,daa7cad0,...) at kdb_backtrace+0x29
_witness_debugger(c07d53e1,c38a0a00,c07ee9ec,c30f01e8,c07ee685,...) at _witness_debugger+0x25
witness_checkorder(c38a0a00,9,c07ee685,fe,0,...) at witness_checkorder+0x7ec
_sx_xlock(c38a0a00,0,c07ee685,fe,d0c5c018,...) at _sx_xlock+0x85
ufsdirhash_acquire(0,e,c31e0800,cffcd2e4,d0c5c018,...) at ufsdirhash_acquire+0x48
ufsdirhash_remove(c3930780,d0c5c018,18,daa7cb60,daa7cb5c,...) at ufsdirhash_remove+0x14
ufs_dirremove(c393e2b0,c39bb618,500800c,0,c393e2b0,...) at ufs_dirremove+0xe3
ufs_remove(daa7cc30,c07fed1f,0,daa7cc30,c39bd2b0,...) at ufs_remove+0x6e
VOP_REMOVE_APV(c08367e0,daa7cc30,2,c07d40b6,8116238,...) at VOP_REMOVE_APV+0xf6
kern_unlinkat(c36a3000,ffffff9c,8116238,0,daa7cc80,...) at kern_unlinkat+0x187
kern_unlink(c36a3000,8116238,0,daa7cd2c,c07939f3,...) at kern_unlink+0x27
unlink(c36a3000,daa7ccf8,4,c07e9923,c0815770,...) at unlink+0x22
syscall(daa7cd38) at syscall+0x2e3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (10, FreeBSD ELF32, unlink), eip = 0x2815e33f, esp = 0xbfbfeccc, ebp = 0xbfbfecf8 ---



Btw, how come the LOR page is down?
http://sources.zabbadoz.net/freebsd/lor.html

Cheers,
Ulrich Spoerlein
-- 
It is better to remain silent and be thought a fool,
than to speak, and remove all doubt.
Received on Thu Oct 09 2008 - 16:14:33 UTC

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