Still getting fdesc sleep warning/lor

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Fri, 26 Nov 2004 18:24:31 -0800
Sleeping on "fdesc" with the following non-sleepable locks held:
exclusive sleep mutex fdesc r = 0 (0xc0740a40) locked _at_ kern/vfs_mount.c:967
KDB: stack backtrace:
witness_warn(2,c5bdc528,c06e4cfe,c06e0dc6,c076ccb8) at witness_warn+0x175
msleep(c5bdc54c,c5bdc528,64,c06e0dc6,0) at msleep+0x47
checkdirs(c59eec00,f1599ca4,c7fd3000,c7fd3000,0) at checkdirs+0xe0
dounmount(c59eec00,8080000,c7fd3000,43a,307fffc) at dounmount+0x3fa
unmount(c7fd3000,f1599d14,8,3ff,2) at unmount+0x1f4
syscall(2f,2f,2f,804a619,bfbfe74a) at syscall+0x13b
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (22, FreeBSD ELF32, unmount), eip = 0x280c5a63, esp = 0xbfbfe4dc, ebp = 0xbfbfe598 ---
lock order reversal
 1st 0xc0740a40 fdesc (fdesc) _at_ kern/vfs_mount.c:967
 2nd 0xc07412e0 Giant (Giant) _at_ kern/kern_synch.c:236
KDB: stack backtrace:
witness_checkorder(c07412e0,9,c06e4d0f,ec,c054432e) at witness_checkorder+0x5ed
_mtx_lock_flags(c07412e0,0,c06e4d0f,ec,0) at _mtx_lock_flags+0x54
msleep(c5bdc54c,c5bdc528,64,c06e0dc6,0) at msleep+0x291
checkdirs(c59eec00,f1599ca4,c7fd3000,c7fd3000,0) at checkdirs+0xe0
dounmount(c59eec00,8080000,c7fd3000,43a,307fffc) at dounmount+0x3fa
unmount(c7fd3000,f1599d14,8,3ff,2) at unmount+0x1f4
syscall(2f,2f,2f,804a619,bfbfe74a) at syscall+0x13b
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (22, FreeBSD ELF32, unmount), eip = 0x280c5a63, esp = 0xbfbfe4dc, ebp = 0xbfbfe598 ---

dosirak# cvs -Rq status kern_descrip.c
===================================================================
File: kern_descrip.c    Status: Up-to-date

   Working revision:    1.257   Fri Nov 26 08:45:11 2004
   Repository revision: 1.257   /c/ncvs/src/sys/kern/kern_descrip.c,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

Kris
Received on Sat Nov 27 2004 - 01:19:54 UTC

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