Date: Sun, 16 Aug 2009 19:00:54 GMT From: Nathaniel Filardo <nwf@cs.jhu.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/137852: LOR bufwait/dirhash Message-ID: <200908161900.n7GJ0sCS036960@www.freebsd.org> Resent-Message-ID: <200908161910.n7GJA3P5089406@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137852 >Category: misc >Synopsis: LOR bufwait/dirhash >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 16 19:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Nathaniel Filardo >Release: -CURRENT >Organization: >Environment: FreeBSD hydra.priv.oc.ietfng.org 8.0-BETA2 FreeBSD 8.0-BETA2 #2: Sun Aug 16 13:00:36 EDT 2009 root@hydra.priv.oc.ietfng.org:/systank/obj/systank/src/sys/NWFKERN sparc64 >Description: lock order reversal: 1st 0xea5e97f8 bufwait (bufwait) @ /systank/src/sys/kern/vfs_bio.c:2559 2nd 0xfffff8000edea400 dirhash (dirhash) @ /systank/src/sys/ufs/ufs/ufs_dirhash.c:285 KDB: stack backtrace: _witness_debugger() at _witness_debugger+0x38 witness_checkorder() at witness_checkorder+0xcf8 _sx_xlock() at _sx_xlock+0x9c ufsdirhash_acquire() at ufsdirhash_acquire+0x30 ufsdirhash_add() at ufsdirhash_add+0x4 ufs_direnter() at ufs_direnter+0x75c ufs_makeinode() at ufs_makeinode+0x4f8 ufs_create() at ufs_create+0x40 VOP_CREATE_APV() at VOP_CREATE_APV+0x108 vn_open_cred() at vn_open_cred+0x1fc vn_open() at vn_open+0x1c kern_openat() at kern_openat+0x10c kern_open() at kern_open+0x18 open() at open+0x14 syscall() at syscall+0x2f0 -- syscall (5, FreeBSD ELF64, open) %o7=0x104224 -- userland() at 0x404711a8 user trace: trap %o7=0x104224 pc 0x404711a8, sp 0x7fdffffb491 pc 0x101090, sp 0x7fdffffe2b1 pc 0x4020ad94, sp 0x7fdffffe371 done This happened even on GENERIC, so don't mind too much that uname -a says NWFKERN instead. :) Apologies if this is a duplicate; a quick search didn't find one, but it's possible I've missed. What else would be helpful? >How-To-Repeat: This is more or less guaranteed to happen eventually, and is triggered by any number of different things. csup has triggered it, the dump posted above is due to a chsh command... >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908161900.n7GJ0sCS036960>