Subject: Re: CVS commit: src/sys/kern
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: source-changes
Date: 01/28/2006 19:30:24
--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Sat, Jan 28, 2006 at 07:10:00PM +0100, Manuel Bouyer wrote:
> On Sat, Jan 28, 2006 at 07:02:44PM +0100, Reinoud Zandijk wrote:
> > I'm sorry to say but i have to agree with Darren here. I'm using and have
> > used several architectures running NetBSD but the i386 is on of the worst
> > on crash information recovering. This is part due to the stated lack of
> > messagebuffer survival and the wierd kernel coredump saving in the swap
> > space. If the swap space is not twice the amount of memory in the machine
> > dumping a kernel core is impossible.
>
> That's not my experience, I have swap space sightly greather than
> physical memory and it's enough.
Hmm.. i think i'll have to look at the disklabel again. Maybe i did give
the swap space too little and only thought it was big enough ... hmmm.
Memory is around 429 Mb effective, swap space is 263907 blocks???? hehe..
no wonder it wouldn't fit! I must have misconfigured it on the last
install. Sorry about that.
> > 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.
Saving of the message buffer on reboot however would be GREAT esp. if
debug printf's or ddb output has been created for analysis.
Reinoud
--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iQEVAwUBQ9u4OYKcNwBDyKpoAQJt1gf/VV8m7UfBuJwnowSX+IJCJdqhC1KjpZUW
fIM9gSo91ij2K7TQesSAPe+jIixKjesSv8nR04zcdGx/6BeXRErGzy7nwVvPaIGr
qTXWrHfTkxcxRN/fDUXtWEdcEKNv0yfyp07tuEUrohJ8d9PffGHHcwFs7RNLdJtO
OX+SKXWHOj7IwWRS4TswxzdVc6i823oVGaN1TLael6SFImS+LQZpVlHx6IrjI4id
y43bvI3LxzLV9H0k8s2+yI/ga+1bX65sBg+jsVNUTEL4MxxefzmR59jBUp2up+7U
7IxspZ0rCZom+ksjkc8+ksgybxmQ3/xCdaX8V46XcEQDUDNhpnZe+A==
=IQ5H
-----END PGP SIGNATURE-----
--6TrnltStXW4iwmi0--