Subject: Re: kern/36572: panic on NFS unmount
To: None <gnats-bugs@netbsd.org, netbsd-bugs@netbsd.org, martin@aprisoft.de>
From: Antti Kantee <pooka@cs.hut.fi>
List: netbsd-bugs
Date: 06/28/2007 15:58:51
On Thu Jun 28 2007 at 12:45:03 +0000, Antti Kantee wrote:
>  >  On Thu, Jun 28, 2007 at 11:55:02AM +0000, Antti Kantee wrote:
>  >  >  holds a reference.  This might actually be fairly easy to duplicate by
>  >  >  opening a file, removing it and doing unmount -f.
>  >  
>  >  That did not reproduce it for me.
>  
>  You obviously need some luck in the vnode list order so that the parent
>  is cleaned before the child.
>  
>  .. or my theory is wrong.

I started thinking about this and concluded it should happen always.

And sure enough, touch foo ; sleep 10 < foo & rm foo ; unmount -f
made it panic for me.

-- 
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"