Subject: Re: sparse, kernel-only crashdumps
To: None <tech-kern@netbsd.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 10/07/2004 04:29:37
On Thu, Oct 07, 2004 at 10:45:43AM +0200, Pavel Cahyna wrote:
> On Thu, 07 Oct 2004 06:39:11 +0000, David Young wrote:
> 
> > It looks to me like it isn't too hard to make a sparse crashdump on x86
> > that contains only the pages that are mapped into kernel virtual memory,
> > the page directory and page table pages (PDP and PTPs).  Does a crashdump
> > require any other pages?  I have a need for compact crashdumps, so I am
> > going to work on this over the weekend.
> 
> That would be great, thanks. BTW why does the crashdump contain the
> physical memory instead of kernel virtual memory (/dev/kmem)? Is the
> memory not mapped to kernel actually useful for something?

That is what I hope to find out by asking the question. :-)

I think the crashdump contains all of physical memory for reasons of
simplicity.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933