Subject: Re: panic("lockmgr: locking against myself")
To: None <frank@wins.uva.nl>
From: Kazufumi-MIT-Mitani <mit@mit-s.otaru-uc.ac.jp>
List: current-users
Date: 03/12/1998 13:33:34
Frank van der Linden <frank@wins.uva.nl> $B$5$s$+$i(B
Wed, 11 Mar 1998 16:48:06 +0100 $B:"$K$$$?$@$$$?(B
Re: panic("lockmgr: locking against myself") $B$K4X$9$k%a!<%k!$GR8+CW$7$^$7$?!%(B
> On Thu, Mar 12, 1998 at 12:25:41AM +0900, Kazufumi-MIT-Mitani wrote:
> > panic("lockmgr: locking against myself")
> > and it may be caused by miscfs/nullfs/null_subr.c
> > if (vget(cvp, LK_EXCLUSIVE))
> > ... right?
>
> Correct. That LK_EXCLUSIVE should be a 0, I made an error during the
> Lite2 merge. I've checked in this change, if you change it in your
> tree too (if you don't want to wait until tomorrow's update), it
> should be fine. Well.. as good as it ever worked, anyway ;-)
OK. I changed "if (vget(cvp, LK_EXCLUSIVE))' to 'if (vget(cvp, 0))" ,
recompile kernel, reboot, and mount -t null /mnt/src /usr/src
then,,,,, same panic :(
anyone test mount -t null after this change ?
---
//mit