[Crash-utility] [PATCH] Add support for 'foreign' page sizes in kdump dumps

Dave Anderson anderson at redhat.com
Thu Jan 15 21:05:51 UTC 2009


----- "Bernhard Walle" <bernhard.walle at gmx.de> wrote:

> This affects only ppc64 and ia64 since that are the only
> architectures that have a page size that is configurable at runtime by the system
> (which means at boot by the kernel).
> 
> It also only affects dumps of the formats diskdump (which includes kdump
> compressed dumps created by makedumpfile) and netdump (which includes kdump
> ELF dumps copied from /proc/vmcore without any filtering applied and created
> by makedumpfile with the -E option).
> 
> The patch reads the page size from the diskdump header or from the VMCOREINFO
> in case of netdump (if it's there). For ia64 it also evaluates the page size
> of the zero page to *change* the page size. In the past id didn't change the
> page size, it only printed an error.
> 
> The patch has been tested on ppc64 (4k vs. 64k), ia64 (16k vs. 64k) and x86-64
> (always 4k). It has been tested for compilation on i386, x86-64, ia64, PPC,
> ppc64, s390 and s390x. Everything on a SLES 11/openSUSE 11.1 code
> base.
> 
> 
> Signed-off-by: Bernhard Walle <bwalle at suse.de>

Queued for the next release.

Thanks to both Robin and Bernhard,
  Dave




More information about the Crash-utility mailing list