[patch 0/7] Add extended crashkernel command line syntax

Bernhard Walle bwalle at suse.de
Thu Sep 20 13:18:45 EDT 2007


This patch adds a extended crashkernel syntax that makes the value of reserved
system RAM dependent on the system RAM itself:

    crashkernel=<range1>:<size1>[,<range2>:<size2>,...][@offset]
    range=start-[end]

For example:

    crashkernel=512M-2G:64M,2G-:128M

The motivation comes from distributors that configure their crashkernel command
line automatically with some configuration tool (YaST, you know ;)). Of course
that tool knows the value of System RAM, but if the user removes RAM, then
the system becomes unbootable or at least unusable and error handling
is very difficult.

This series implements this change for i386, x86_64, ia64, ppc64 and sh. That
should be all platforms that support kdump in current mainline. I tested all
platforms except sh due to the lack of a sh processor.

The patch series is against 2.6.23-rc4-mm1.


Modifications compared to last submit:

  - put functions in __init
  - print message when no base address is specified on i386/x86_64/sh


Signed-off-by: Bernhard Walle <bwalle at suse.de>

-- 



More information about the kexec mailing list