Re: recursed on non-recursive lock (sleep mutex) vnode interlock _at_ /var/portbuild/sparc64/src-client/sys/ufs/ufs/ufs_ihash.c:128

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Sat, 29 Nov 2003 13:29:46 -0800
I got this on an alpha machine as well.  Can someone track it down?

msgbufp = 0xfffffc0023f85fe0
magic = 63062, size = 32736, r= 59046, w = 59565, ptr = 0xfffffc0023f7e000, cksum= 2511626
lock order reversal
 1st 0xfffffc001a793d80 vnode interlock (vnode interlock) _at_ /a/asami/portbuild/alpha/src-client/sys/ufs/ufs/ufs_ihash.c:128
 2nd 0xfffffc00006feda0 ufs ihash (ufs ihash) _at_ /a/asami/portbuild/alpha/src-client/sys/ufs/ufs/ufs_ihash.c:124
Stack backtrace:
recursed on non-recursive lock (sleep mutex) vnode interlock _at_ /a/asami/portbuild/alpha/src-client/sys/ufs/ufs/ufs_ihash.c:128
first acquired _at_ /a/asami/portbuild/alpha/src-client/sys/ufs/ufs/ufs_ihash.c:128
Debugger() at Debugger+0x38
panic() at panic+0x168
witness_lock() at witness_lock+0x408
_mtx_lock_flags() at _mtx_lock_flags+0xc8
ufs_ihashget() at ufs_ihashget+0xec
ffs_vget() at ffs_vget+0x54
ufs_lookup() at ufs_lookup+0xc9c
ufs_vnoperate() at ufs_vnoperate+0x2c
vfs_cache_lookup() at vfs_cache_lookup+0x37c
ufs_vnoperate() at ufs_vnoperate+0x2c
lookup() at lookup+0x4dc
namei() at namei+0x310
stat() at stat+0x4c
syscall() at syscall+0x39c
XentSys() at XentSys+0x64
--- syscall (188, FreeBSD ELF64, stat) ---
--- user mode ---
db>

Kris

On Mon, Nov 24, 2003 at 12:58:01PM -0800, Kris Kennaway wrote:
> One of my sparc64 package machines (running -current from Nov 21) died
> overnight with the following:
> 
> recursed on non-recursive lock (sleep mutex) vnode interlock _at_ /var/portbuild/sparc64/src-client/sys/ufs/ufs/ufs_ihash.c:128
> first acquired _at_ /var/portbuild/sparc64/src-client/sys/ufs/ufs/ufs_ihash.c:128
> panic: recurse
> cpuid = 0;
> Debugger("panic")
> Stopped at      Debugger+0x1c:  ta              %xcc, 1
> db> trace
> panic() at panic+0x174
> witness_lock() at witness_lock+0x3b4
> _mtx_lock_flags() at _mtx_lock_flags+0x9c
> ufs_ihashget() at ufs_ihashget+0x94
> ffs_vget() at ffs_vget+0x20
> ufs_lookup() at ufs_lookup+0xb2c
> ufs_vnoperate() at ufs_vnoperate+0x1c
> vfs_cache_lookup() at vfs_cache_lookup+0x330
> ufs_vnoperate() at ufs_vnoperate+0x1c
> lookup() at lookup+0x408
> namei() at namei+0x254
> vn_open_cred() at vn_open_cred+0x208
> vn_open() at vn_open+0x18
> kern_open() at kern_open+0x84
> open() at open+0x14
> syscall() at syscall+0x308
> -- syscall (5, FreeBSD ELF64, open) %o7=0x4038c2b0 --
> userland() at 0x40395948
> user trace: trap %o7=0x4038c2b0
> pc 0x40395948, sp 0x7fdffffdaf1
> pc 0x4038b47c, sp 0x7fdffffdc31
> pc 0x101778, sp 0x7fdffffdcf1
> pc 0x101378, sp 0x7fdffffddb1
> pc 0x100f80, sp 0x7fdffffde71
> pc 0x4020a234, sp 0x7fdffffdf31
> done



Received on Sat Nov 29 2003 - 12:29:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC