Subject: Re: NetBSD 2.0 crashing in lstat(2) over NFS
To: Ben Collver <collver@peak.org>
From: Jeff Rizzo <riz@tastylime.net>
List: tech-kern
Date: 01/02/2005 10:04:29
Ben Collver wrote:

>I just upgraded to NetBSD 2.0.
>
>Yesterday morning, under heavy disk and light NFS I/O, my system locked
>solid.  I was unable to get to ddb, get a crashdump, nor reproduce it.
>
>Did you have to do anything other than add DIAGNOSTIC to get a
>crashdump?
>
>Ben
>  
>

I haven't gotten this crash myself, but you can try specifying the 
RB_DUMP flag (0x100) to the reboot command in DDB to force a crash 
dump.  Sometimes it helps to specify RB_NOSYNC (0x04) as well.  Like so:

db> reboot 0x104

I still don't get dumps 100% of the time, but it helps...

(flags are located in sys/reboot.h)

+j