Subject: Re: kern/36669: NetBSD 4.0_BETA2 crashes with "panic: lockmgr: locking against myself"
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Antti Kantee <pooka@cs.hut.fi>
List: netbsd-bugs
Date: 07/22/2007 09:35:01
The following reply was made to PR kern/36669; it has been noted by GNATS.
From: Antti Kantee <pooka@cs.hut.fi>
To: gnats-bugs@NetBSD.org, tron@zhadum.org.uk
Cc:
Subject: Re: kern/36669: NetBSD 4.0_BETA2 crashes with "panic: lockmgr: locking against myself"
Date: Sun, 22 Jul 2007 12:34:25 +0300
On Sun Jul 22 2007 at 09:25:01 +0000, Matthias Scheler wrote:
> The following reply was made to PR kern/36669; it has been noted by GNATS.
>
> From: Matthias Scheler <tron@zhadum.org.uk>
> To: Antti Kantee <pooka@cs.hut.fi>
> Cc: gnats-bugs@NetBSD.org
> Subject: Re: kern/36669: NetBSD 4.0_BETA2 crashes with "panic: lockmgr: locking against myself"
> Date: Sun, 22 Jul 2007 10:21:31 +0100
>
> On Sun, Jul 22, 2007 at 02:35:01AM +0300, Antti Kantee wrote:
> > Had a discussion about this with David Holland and finally he suggested
> > avoiding links to procfs itself. This shouldn't hurt any real uses
> > and makes the panics go away once again.
>
> The patch doesn't work for me unfortunately.
>
> I can still panic the system with:
>
> mkdir /tmp/gaga
> echo data >/tmp/gaga/data
> grm -rf /tmp/gaga
I can't, with or without -o linux for procfs:
jojonaru# mount
/dev/wd0a on / type ffs (local)
tmpfs on /tmp type tmpfs (local)
procfs on /proc type procfs (local)
jojonaru# mkdir /tmp/gaga
jojonaru# echo data >/tmp/gaga/data
jojonaru# ./grm -rf /tmp/gaga
jojonaru#
This is DIAGNOSTIC & DEBUG & LOCKDEBUG.
Can you post a traceback?
--
Antti Kantee <pooka@iki.fi> Of course he runs NetBSD
http://www.iki.fi/pooka/ http://www.NetBSD.org/
"la qualité la plus indispensable du cuisinier est l'exactitude"