Re: [PATCH] kexec: use Crash kernel for Crash kernel low

From: Yinghai Lu
Date: Mon Apr 01 2013 - 21:11:48 EST


On Mon, Apr 1, 2013 at 3:40 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
> On Mon, Apr 1, 2013 at 3:20 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>> On 04/01/2013 03:17 PM, Yinghai Lu wrote:
>>>
>>> And his last suggestion is just as his old second suggestion.
>>>
>>> I just check the code again, it looks it is easy to change it to support:
>>> 1. crashkernel=XM
>>> 2. crashkernel_high=XM
>>> 3. crashkernel_high=XM crashkernel_low=YM
>>>
>>
>> Yes... my objections that you are giving the user the headache of
>> dealing with this very much remains, but I don't think we have any good
>> options. However, the <size>,<options>.... syntax is at least
>> extensible, which the above syntax is not.
>
> ok, will check crashkernel=XM,high

Please check attached four patches that should get into upstream for 3.9.
I sent first and second before.
other two is addressing old kexec-tools with kdump on new kernel.

Thanks

Yinghai

Attachment: fix_crashkernel_low_v3.patch
Description: Binary data

Attachment: crashkernel_low_remove.patch
Description: Binary data

Attachment: crashkernel_high_low_1.patch
Description: Binary data

Attachment: crashkernel_high_low_2.patch
Description: Binary data