[PATCH] kexec: powerpc: crash_dump: No backup region for PPC BookE

Suzuki Poulose suzuki at in.ibm.com
Mon Oct 3 23:21:19 EDT 2011

On 10/03/11 23:53, McClintock Matthew-B29882 wrote:
> On Mon, Oct 3, 2011 at 5:18 AM, Suzuki K. Poulose<suzuki at in.ibm.com>  wrote:
>> Disable backup regions for BookE in case of a CRASH Dump, as they can
>> be run from anywhere.
>> The patch introduces --with-booke option to support the BookE.
>> With the patch, we get :
>> ## On a 256M machine:
>> # busybox cat /proc/cmdline
>> init=/bin/init console=ttyS0,16550 crashkernel=128M at 100M
>> # kexec -p root/vmlinux
>> usable memory rgns size:1 base:6400000 size:8000000
>> 0000000000000000-0000000006400000
>> 000000000e400000-0000000010000000
>> Command line after adding elfcorehdr:  elfcorehdr=112380K
>> Command line after adding elfcorehdr:  elfcorehdr=112380K savemaxmem=256M
> So there were two crash regions when we only needed the one specified
> on the command line?
Yes, and isn't that is expected ? The first kernel uses the memory region
(0-100M), (228M,256M). Where the 100-228M is reserved for crash kernel.


More information about the kexec mailing list