Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 1998 20:09:29 -0700
From:      David Greenman <dg@root.com>
To:        Jaspal Kohli <jaspal@best.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: compact kernel dumps 
Message-ID:  <199807230309.UAA09443@implode.root.com>
In-Reply-To: Your message of "Wed, 22 Jul 1998 10:00:39 PDT." <35B61AB6.4B818B9B@best.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I am running a 2.2.5 base on a PII system with 512MB of memory.  With
>the
>large memory configuration, the dump takes a while (a few minutes) and I
>
>need to reserve a significant amount of disk space in /var/crash (the
>compression helps, but is not predictable).
>
>Has anyone worked on making the kernel dump more compact by limiting it
>to
>pages used by the kernel and interesting in analyzing kernel problems?
>
>Any suggestions on to how to efficiently determine these set of pages
>with the
>VM implementation in 2.2.5?

   Possible, but quite difficult. You'd first need to define a new crash
dump format, then write code to examine the kernel page tables and write
out the relevant pages in this new format. Then you'd need to write code
(changes to savecore and gdb) to read/parse it all after the system came
back up. While you're at it, I'd like to see a general purpose crash dump
analyzer that provides lots of useful data to us developers from people's
crash dumps.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807230309.UAA09443>