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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/04/11 08:51, Suzuki Poulose wrote:
> 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
>>> CRASH MEMORY RANGES
>>> 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.

The CRASH MEMORY RANGES denotes the memory ranges of the crashed kernel and
usable memory regions denote the memory usable by the second kernel.

Thanks
Suzuki



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux