Subject: Re: PR 17107: NFS kernel panic
To: None <netbsd-help@netbsd.org>
From: Alan Post <apost@interwoven.com>
List: netbsd-help
Date: 02/12/2003 01:11:35
In article <HA67s2.8qt@tac.nyc.ny.us>, Christos Zoulas wrote:
> In article <slrnb4j0it.124.apost@water.amer.interwoven.com>, Alan Post wrote:
>> In article <slrnb4b0iq.q0q.apost@water.amer.interwoven.com>, Alan Post wrote:
>>> In article <HA02zI.4A7@tac.nyc.ny.us>, Christos Zoulas wrote:
>>>> 
>>>> Try changing:
>>>> 
>>>>         if ((nmp->nm_flag & NFSMNT_NQNFS) && np->n_timer.cqe_next != 0) {
>>>> 
>>>> to:
>>>>         if (np->n_timer.cqe_next != 0 && (nmp->nm_flag & NFSMNT_NQNFS)) {
>>>> 
>>
>>So far, so good.  With the above patch, last night the machine
>>survived /etc/daily, including find_core, with amd enabled.
> 
> Grr, I would be lying to you if I said I would be happy that this is the
> case. It seems that we are forgetting to lock the mountlist somewhere, it
> gets free'd and then we access it. Did you get a core dump of the last
> crash?

I didn't do anything explicitly.  Does the kernel stash a dump somewhere
by default?

If not, I could reproduce the problem again (unless the stars have come
out of alignment, or something).

  Alan