Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 14:52:18 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        current@FreeBSD.org, jeff@FreeBSD.org
Subject:   Lock order reversal with UMA and VFS
Message-ID:  <20021206225217.GA60545@rot13.obsecurity.org>

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

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

I got this overnight on the gohan cluster.  Machine is still in DDB if
further debugging is necessary.

Kris

login: lock order reversal
 1st 0xc577212c vnode interlock (vnode interlock) @ /local0/src-client/sys/kern/vfs_subr.c:939
 2nd 0xc046a560 vm page queue mutex (vm page queue mutex) @ /local0/src-client/sys/vm/vm_kern.c:424
Debugger("witness_lock")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> trace
Debugger(c03efc85,c046a560,c042b7f5,c042b7f5,c042a85c) at Debugger+0x54
witness_lock(c046a560,8,c042a85c,1a8,2a6) at witness_lock+0x667
_mtx_lock_flags(c046a560,0,c042a85c,1a8,c5c93000) at _mtx_lock_flags+0xb1
kmem_malloc(c083207c,1000,5,d68138ac,c038bced) at kmem_malloc+0x3e7
page_alloc(c083a280,1000,d681389f,5,c14fb84c) at page_alloc+0x27
slab_zalloc(c083a280,5,668,c14f4664,c083a280) at slab_zalloc+0xfd
uma_zone_slab(c083a280,5,c042c282,668,0) at uma_zone_slab+0x9e
uma_zalloc_internal(c083a280,0,5,6e8,0) at uma_zalloc_internal+0x55
uma_zfree_arg(c14f4640,c5135000,0,3ab,c0351d77) at uma_zfree_arg+0x2cc
getnewvnode(c04205e2,c44a7000,c4052c00,d68139cc,d1a990ae) at getnewvnode+0x31a
ffs_vget(c44a7000,2a0c4b,2,d6813a54,41c0) at ffs_vget+0x99
ffs_valloc(c4eaf708,41c0,c4b61780,d6813a54,8) at ffs_valloc+0x10b
ufs_mkdir(d6813bbc,d6813cc8,c02b1e86,d6813bbc,0) at ufs_mkdir+0x9e
ufs_vnoperate(d6813bbc,0,c041dcdc,b6e,c44a7000) at ufs_vnoperate+0x18
kern_mkdir(c14fb7e0,804e780,0,1c0,d6813d40) at kern_mkdir+0x236
mkdir(c14fb7e0,d6813d10,c043094c,407,2) at mkdir+0x29
syscall(2f,2f,2f,0,805a200) at syscall+0x28e
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (136, FreeBSD ELF32, mkdir), eip = 0x280c0113, esp = 0xbfbff67c, ebp = 0xbfbff708 ---
db> [disconnect]
>
--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE98SohWry0BWjoQKURAjnaAKD5AJAP7O69mrDv8GuLpu8xNxWD6wCg+y3w
rQkLjk1ZeT8y70pN8GnQlbE=
=H5nx
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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