kdump issues with 4.11 kernel

Bhupesh Sharma bhsharma at redhat.com
Wed Nov 29 01:46:27 PST 2017


Hi Anil,

On Wed, Nov 29, 2017 at 2:44 PM, Gurumurthy, Anil
<Anil.Gurumurthy at cavium.com> wrote:
> 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?

Cam you share the console messages you see when the crash kernel
boots? Or do you see nothing after the crash is introduced via echo c
> /proc/sysrq-trigger

Generally, depending on your test machine arch, it is useful to use
earlycon/earlyprintk to see if the crash kernel produced any useful
message until the actual console device became operational.

Can you try setting the earlycon/earlyprintk settings and share the
crash kernel logs messages after the same?

Thanks,
Bhupesh

> -----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
>
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec



More information about the kexec mailing list