panic: recursed on non-recursive lock (vnode interlock)

From: Marcel Moolenaar <marcel_at_xcllnt.net>
Date: Sat, 15 Nov 2003 14:33:09 -0800
Gang,

I don't know if this is a known issue or not, but:

lock order reversal
 1st 0xe00000002843d7a0 vnode interlock (vnode interlock) _at_ /q/src/sys/ufs/ufs/ufs_ihash.c:128
 2nd 0xe000000004685300 ufs ihash (ufs ihash) _at_ /q/src/sys/ufs/ufs/ufs_ihash.c:124
Stack backtrace:
recursed on non-recursive lock (sleep mutex) vnode interlock _at_ /q/src/sys/ufs/ufs/ufs_ihash.c:128
first acquired _at_ /q/src/sys/ufs/ufs/ufs_ihash.c:128
panic: recurse
panic
Stopped at      Debugger+0x31:  [M1]    nop.m 0x0
db> trace
Debugger(0xe00000000453a528, 0xe000000004245d60, 0x814, 0xa00000002037aec8) at Debugger+0x30
panic(0xe00000000453eb20, 0xe000000004551b18, 0x80, 0xe000000004551b18, 0x80, 0xe000000004551b18) at panic+0x210
witness_lock(0xe00000002843d7a0, 0x8, 0xe000000004551b18, 0x80) at witness_lock+0x950
_mtx_lock_flags(0xe00000002843d7a0, 0x0, 0xe000000004551b18, 0x80) at _mtx_lock_flags+0x130
ufs_ihashget(0xe000000004631308, 0x131cb, 0x12, 0xa00000002037afd0, 0x10012) at ufs_ihashget+0x160
ffs_vget(0xe000000000f4ec00, 0x131cb, 0x12, 0xa00000002037afd0, 0x2000, 0xe0000000009b9400) at ffs_vget+0x50
ufs_lookup(0xa00000002037b010) at ufs_lookup+0x1b40
ufs_vnoperate(0xa00000002037b010, 0xe0000000042ee9e0, 0x690) at ufs_vnoperate+0x80
vfs_cache_lookup(0xe0000000395509d8) at vfs_cache_lookup+0x850
ufs_vnoperate(0xa00000002037b030, 0xe0000000042f9540, 0xb1a, 0xe000000004607d28) at ufs_vnoperate+0x80
lookup(0xa00000002037b2b0, 0xa00000002037b2d8, 0xe0000000395509d8, 0xe000000008350c02) at lookup+0x970
namei(0xa00000002037b2b0, 0xe00000000f93ac58, 0xe0000000395509d8) at namei+0x610
vn_open_cred(0xa00000002037b2b0, 0xa00000002037b3ec, 0x0, 0xe00000000fceac00, 0x4) at vn_open_cred+0x4e0
vn_open(0xa00000002037b2b0, 0xa00000002037b3ec, 0x0, 0x4, 0xe0000000043100f0, 0x591) at vn_open+0x50
kern_open(0xe00000000dc14000, 0x40000000000d5f48, 0x0, 0xe00000000f93ac00, 0x0) at kern_open+0x160
open(0xe00000000dc14000, 0xa00000002037b4e8, 0xe0000000044fdcd0, 0x610) at open+0x40
syscall(0xa00000002037b400, 0xe00000002997a3d0, 0xe00000000455cf38, 0xe00000002997a308, 0xe00000000dc14000, 0xa00000002037b4e8, 0x5, 0xe0000000045e66b8) at syscall+0x470
epc_syscall() at epc_syscall+0x180
db> 

This is on:
FreeBSD pluto1.freebsd.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Nov 12 04:49:46 PST 2003     marcel_at_pluto1.freebsd.org:/p/obj/p/src/sys/PLUTO1  ia64

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel_at_xcllnt.net
Received on Sat Nov 15 2003 - 13:33:13 UTC

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