Date: Wed, 9 Jun 2010 00:59:43 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: ticso@cicely.de Cc: Bernd Walter <ticso@cicely7.cicely.de>, freebsd-current@freebsd.org Subject: Re: lock order reversal bufwait/dirhash Message-ID: <A88AB288-3DE3-4C75-9647-345C3A4F2E59@gmail.com> In-Reply-To: <20100609075152.GC72453@cicely7.cicely.de> References: <20100609075152.GC72453@cicely7.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 9, 2010, at 12:51 AM, Bernd Walter wrote: > Got this during installworld (source on NFS, destination UFS on = CF-card) > Source is current checked out yesterday. >=20 > lock order reversal: > 1st 0xc28b85b4 bufwait (bufwait) @ = /data/builder/c13-2010-06-07/head/sys/kern/vfs_bio.c:2575 > 2nd 0xc343f000 dirhash (dirhash) @ = /data/builder/c13-2010-06-07/head/sys/ufs/ufs/ufs_dirhash.c:283 > KDB: stack backtrace: > = db_trace_self_wrapper(c0905b2b,c0d02c56,c2d3d030,c2d40500,ca657890,...) = at db_trace_self_wrapper+0x26 > _witness_debugger(c0d02c56,c343f000,c0d279c2,c2d40500,c0d2762e,...) at = _witness_debugger+0x25 > witness_checkorder(c343f000,9,c0d2762e,11b,0,...) at = witness_checkorder+0x73c > _sx_xlock(c343f000,0,c0d2762e,11b,c3a07e80,...) at _sx_xlock+0x51 > ufsdirhash_acquire(e,1828,ca6579f0,c3a07e80,cb2bd814,...) at = ufsdirhash_acquire+0x35 > ufsdirhash_add(c3a07e80,ca6579f0,1828,ca657950,ca657954,...) at = ufsdirhash_add+0x1f > ufs_direnter(c3944dd0,c423e220,ca6579f0,ca657bd0,c292ccb0,...) at = ufs_direnter+0x894 > ufs_mkdir(ca657bf8,ca657c0c,2,0,0,...) at ufs_mkdir+0x51c > VOP_MKDIR_APV(c0e0f4c0,ca657bf8,ca657bd0,ca657b3c,2,...) at = VOP_MKDIR_APV+0x8e > kern_mkdirat(c39264e0,ffffff9c,80513e0,0,1c0,...) at = kern_mkdirat+0x240 > kern_mkdir(c39264e0,80513e0,0,1c0,ca657c7c,...) at kern_mkdir+0x2f > mkdir(c39264e0,ca657cec,ca657d28,c0d014f7,0,...) at mkdir+0x27 > syscallenter(c39264e0,ca657ce4,ca657ce4,0,c0e630c0,...) at = syscallenter+0xc6 > syscall(ca657d28) at syscall+0x3a > Xint0x80_syscall() at Xint0x80_syscall+0x20 > --- syscall (136, FreeBSD ELF32, mkdir), eip =3D 0x281817cf, esp =3D = 0xbfbfe30c, ebp =3D 0xbfbfe398 --- I've seen this for a while, but it was definitely present on the kernel = that I tried working off of that was from Saturday. Thanks, -Garrett=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A88AB288-3DE3-4C75-9647-345C3A4F2E59>