Subject: Re: CVS commit: src/sys/kern
To: Reinoud Zandijk <reinoud@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: source-changes
Date: 01/28/2006 19:33:10
On Sat, Jan 28, 2006 at 07:30:24PM +0100, Reinoud Zandijk wrote:
> > > What would be better is a mechanism 
> > > that either revovers kernel coredumps _before_ the swap is turned on or a 
> > > mechanism that allows the swapper to recognize kernel coredumps so it can 
> > > spare the dump as long as possible.
> > 
> > Ho, is your problem that the swap space is erased again before getting
> > the core dump ? If so you probably have a small amount of memory.
> 
> It never writes out the core so it can't recover it either. But on smaller 
> computer i've seen it happen. i386 with 8 or 16 Mb f.e.

I've got core dump on systems with 1GB RAM.

> 
> Saving of the message buffer on reboot however would be GREAT esp. if 
> debug printf's or ddb output has been created for analysis.

You have it in the core dump :)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--