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/20/2005 13:24:37
On Wed, Mar 16, 2005 at 12:17:09PM +0100, Manuel Bouyer wrote:
> On Tue, Mar 15, 2005 at 01:55:16PM -0800, Bill Studenmund wrote:
> > Note: there are two different issues in this thread. The first seems to be
> > covered in PR 29670, and should be fixed in current.  
> > sys/kern/vfs_lookup.c rev 1.57 is the one in question. I have requested it 
> > be pulled into the 2.x and 2.0.x branches.
> > 
> > My understanding is that Manuel was seeing deadlock even after he applied 
> > the fix I mailed out. Thus he is seeing a second issue. The lock trace 
> > script should help with this latter issue.
> >
> 
> The patch did indeed fix some problem, as the printf I added here is sometimes
> triggered. I can't remember if I've seen a vnode lock issue since.
> In the last 2 weeks, this alpha has been in vnode table full condition
> several times, and did survive ...

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 ?

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