Subject: Re: panic: lockmgr: release of unlocked lock
To: Bill Studenmund <wrstuden@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 03/26/2005 11:22:14
On Sun, Mar 20, 2005 at 01:24:37PM +0100, Manuel Bouyer wrote:
> It did wedge tonigh, and I got a core dump. How can I use your script on it ?
> That is, how to get a vnode pointer from a process ?

I got another one tonight, but with a different panic:
vnode: table is full - increase kern.maxvnodes or NVNODE
lookup(): PDIRUNLOCK
panic: lockmgr: locking against myself
db> tr
cpu_Debugger() at netbsd:cpu_Debugger+0x4
panic() at netbsd:panic+0x1f8
lockmgr() at netbsd:lockmgr+0x308
genfs_lock() at netbsd:genfs_lock+0x24
VOP_LOCK() at netbsd:VOP_LOCK+0x3c
vn_lock() at netbsd:vn_lock+0xd8
vget() at netbsd:vget+0xec
cache_lookup() at netbsd:cache_lookup+0x394
ufs_lookup() at netbsd:ufs_lookup+0x11c
layer_lookup() at netbsd:layer_lookup+0x94
VOP_LOOKUP() at netbsd:VOP_LOOKUP+0x40
lookup() at netbsd:lookup+0x2fc
namei() at netbsd:namei+0x1bc
sys___stat13() at netbsd:sys___stat13+0x5c
syscall_plain() at netbsd:syscall_plain+0xc4
XentSys() at netbsd:XentSys+0x5c
--- syscall (278) ---
--- user mode ---

Does it look familiar to someone ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--