kdump in upstream kexec-tools

Bhupesh Sharma bhsharma at redhat.com
Tue Apr 17 10:43:51 PDT 2018


On Tue, Apr 17, 2018 at 6:21 PM, Russell King <rmk at armlinux.org.uk> wrote:
> On Tue, Apr 17, 2018 at 04:20:00PM +0530, Bhupesh Sharma wrote:
>> For e.g I use this tool on my arm64 board as follows:
>>
>> a. Read out the 'elfcorehdr' env variable passed to the crash kernel
>> and pass the same as an argument to the tool:
>>
>> Assuming that the 'elfcorehdr' spans the range ->
>> 0xffdf0000-0xffdf13ff, launch the tool as -
>>
>> # kdump
>> Cannot find the start of the core dump
>>
>> # kdump 0xffdf0000 >> output_elf_file
>>
>> # file output_elf_file
>> output: ELF 64-bit LSB core file ARM aarch64, version 1 (SYSV)
>
> The contents should basically be the same (possibly with a different
> section ordering) as /proc/vmcore in the crashdump kernel.  If so,
> kdump serves no useful purpose, and ends up confusing the situation
> due to its inability to handle 32-bit ELF coredump files.
>
> It seems to me that the presence of /proc/vmcore obsoletes the kdump
> tool.

Fair enough. I will send a patch shortly to remove the obsolete kdump
tool from 'kexec-tools'.

Thanks,
Bhupesh



More information about the kexec mailing list