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
Attachment:
pgp19141D4uh_.pgp
Description: PGP signature