Subject: Re: kernel panic in nfs_reclaim (kern/17107)
To: Christos Zoulas <christos@zoulas.com>
From: Artem Belevich <art@riverstonenet.com>
List: tech-kern
Date: 09/30/2002 15:55:22
On Mon, Sep 30, 2002 at 08:52:15PM +0000, Christos Zoulas <christos@zoulas.com> wrote:
> Yes, frank appears to be right; try changing:
> 
> 	if ((nmp->nm_flag & NFSMNT_NQNFS) && np->n_timer.cqe_next != 0) {
> to:
> 
> 	if (nmp && (nmp->nm_flag & NFSMNT_NQNFS) && np->n_timer.cqe_next != 0) {
> 
> in nfs_node.c.
> 
> christos
> 

This was the first thing I tried. The kernel survived for a bit longer
- something like 3-4 days instead of usual nightly panic attack, but
finally it crashed in the same place with nmp=0xc. This suggests
that vnode's vp->v_mount has already been reused for something else.

This carsh confuses me a little - if filesystem is unmounted,
shouldn't all vnodes associated with it be gone? If so, then how comes
this particular rogue vnode was still around? 

--Artem