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:54:22
On Fri, Mar 25, 2005 at 01:30:26PM -0800, Bill Studenmund wrote:
> I'm sorry for the delay in replying. I just moved and am only now getting 
> internet connectivity.

No problems

> 
> You should be able to look at the wchan for a process that is in vnlock. 
> The wchan should be the address of the lock to be awoken.

Hum, there is something wrong, I always get a NULL v_vnlock:
(gdb) print ((struct vnode *)0xfffffc00034b6ab0)->v_vnlock
$1 = (struct lock *) 0x0
(gdb) print ((struct vnode *)0xfffffc00034b6ab0)->v_vnlock
$2 = (struct lock *) 0x0
(gdb) print ((struct vnode *)0xfffffc00034b6ab0)->v_vnlock
$3 = (struct lock *) 0x0
(gdb) print ((struct vnode *)0xfffffc00034b6ab0)->v_vnlock
$4 = (struct lock *) 0x0


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