kdump issues with 4.11 kernel

Gurumurthy, Anil Anil.Gurumurthy at cavium.com
Wed Nov 29 01:14:42 PST 2017


Thanks. That did help getting kexec to work.
However I still do not get a crash dump - 
echo c  > /proc/sysrq-trigger does not get a crash dump.

Any thoughts?

Thanks,
Anil

-----Original Message-----
From: Dave Young [mailto:dyoung at redhat.com] 
Sent: 29 November 2017 13:09
To: Gurumurthy, Anil <Anil.Gurumurthy at cavium.com>
Cc: kexec at lists.infradead.org
Subject: Re: kdump issues with 4.11 kernel

Hi,
On 11/29/17 at 05:29am, Gurumurthy, Anil wrote:
> Hello,
>   I was facing trouble getting a crash dump on 4.11 kernel. Debugging a bit, I see that the kexec run from the cmd line fails. Any ideas on what I could be missing?
> 
> [root at localhost ~]# kexec -p /boot/vmlinuz-`uname -r` 
> --initrd=/boot/initramfs-`uname -r`kdump.img ELF core (kcore) parse 
> failed Cannot load /boot/vmlinuz-4.11.12+
> 

Can you try below kexec-tools commit:
commit ed15ba1b9977e506637ff1697821d97127b2c919
Author: Pratyush Anand <panand at redhat.com>
Date:   Wed Mar 1 11:19:42 2017 +0530

    build_mem_phdrs(): check if p_paddr is invalid

Thanks
Dave



More information about the kexec mailing list