NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re:



On Mon, Sep 26, 2011 at 01:07:03PM +0200, Riccardo Mottola wrote:
> Hi,
> 
> On 09/26/11 09:15, Ignatios Souvatzis wrote:
> >le from
> >safecore, and analyze that (ddb.onpanic=0)
> >
> >Should default on:
> >
> >|marie is 105% grep savecore /etc/defaults/rc.conf
> >|savecore=YES            savecore_flags="-z"
> >|                    savecore_dir="/var/crash"
> >
> >assuming enough space in /var/crash (taking into account the number in
> >/var/crash/minfree) and enough space on the designated dump partition.
> >
> >You'll need the netbsd.gdb from the same build as your then running kernel
> >to see the symbols; the kernel saved alongside is, normally, the running
> >one (from the time of the savecore) thus too symbol-lacking to be very
> >useful.
> >
> Well, I don't know where my netbsd.gdb is, if I have it at all.
> However, /var/crash is empty and I have several gigabytes of free
> space. Something must have failed.
> 
> let's wait for the next crash (hoping it doesn't happen though...)

Does your swap entry in /etc/fstab have dp in the flags? like this:

/dev/wd0b               none    swap    sw,dp            0 0

Else try 

swapctl -D /dev/wd0b (or similar) to make the named device also a
dump device. You still want to change your fstab so that this will
be active after the next reboot.

Regards
        -is


Home | Main Index | Thread Index | Old Index