Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2004 18:24:31 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        phk@freeBSD.org
Cc:        current@FreeBSD.org
Subject:   Still getting fdesc sleep warning/lor
Message-ID:  <20041127022431.GA86442@xor.obsecurity.org>

next in thread | raw e-mail | index | archive | help

--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Sleeping on "fdesc" with the following non-sleepable locks held:
exclusive sleep mutex fdesc r = 0 (0xc0740a40) locked @ 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) @ kern/vfs_mount.c:967
 2nd 0xc07412e0 Giant (Giant) @ 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
--LQksG6bCIzRHxTLp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBp+VfWry0BWjoQKURAk49AJ0V5xQKnfsbGcfGHpUQtcRidF1WNgCfcqm0
O87i1CPk90eDIA4wBB+pkUQ=
=nGXm
-----END PGP SIGNATURE-----

--LQksG6bCIzRHxTLp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041127022431.GA86442>