makedumpfile: support for newer kernels [v4.9 onwards]

Pratyush Anand panand at redhat.com
Tue Jun 13 01:06:40 PDT 2017


Hi Abhishek,

On Thursday 08 June 2017 11:30 AM, Abhishek Shah wrote:
> Hi Pratyush,
>
>>>> I am using yocto(2.3 version) to build makedumpfile, which fetches v1.6.1
>>>> makedumpfile and also applys some patches including arm64 specific
>>>> patches.
>>
>>
>> What are these ARM64 specific patches? I believe, you do not need any topup
>> in makedumpfile for ARM64 if you use v1.6.1.
>
> Sorry, I got confused with yocto kexec recipe.
> There are NO arm64 specific patches in yocto for makedumpfile.
>
>>>> We have VA_BITS set as 48 bits... I will get other information and post
>>>> on the
>>>> list.
>>
>>
>> OK.
>>
> Kernel config:
> ARM64_VA_BITS_48 [=y]
> ARM64_PAGE_SHIFT [=12]
> RANDOMIZE_BASE [=n]
> ARM64_4K_PAGES [=y]

These are the only variable configs on which arm64 makedumpfile depends. I 
tested with above configuration and things were working fine.

I used 4.11 based kernel and  crash-7.1.9.

BTW, which version of crash utility do you use. If you are not at latest can 
you please try with latest.

~Pratyush

CCed Dave if he has some input.
@Dave, problem reported by Abhishek is:

 > /proc/vmcore works fine with crash utility without passing it though
 > makedumpfile, but the file generated by makedumpfile is not getting
 > processed by crash utility; I am getting following error:
 > crash: seek error: kernel virtual address: ffff8008000c16a0  type: "memory
 > section"



More information about the kexec mailing list