From owner-freebsd-questions Wed Jul 22 20:11:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA24178 for freebsd-questions-outgoing; Wed, 22 Jul 1998 20:11:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA24162 for ; Wed, 22 Jul 1998 20:10:52 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id UAA09443; Wed, 22 Jul 1998 20:09:29 -0700 (PDT) Message-Id: <199807230309.UAA09443@implode.root.com> To: Jaspal Kohli cc: freebsd-questions@FreeBSD.ORG Subject: Re: compact kernel dumps In-reply-to: Your message of "Wed, 22 Jul 1998 10:00:39 PDT." <35B61AB6.4B818B9B@best.com> From: David Greenman Reply-To: dg@root.com Date: Wed, 22 Jul 1998 20:09:29 -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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