kdump issues with 4.11 kernel
Anil.Gurumurthy at cavium.com
Wed Nov 29 02:06:14 PST 2017
From: Bhupesh Sharma [mailto:bhsharma at redhat.com]
Sent: 29 November 2017 15:16
To: Gurumurthy, Anil <Anil.Gurumurthy at cavium.com>
Cc: Dave Young <dyoung at redhat.com>; kexec at lists.infradead.org
Subject: Re: kdump issues with 4.11 kernel
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
[Anil] I do not see any messages after introducing the crash.
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?
> -----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
> On 11/29/17 at 05:29am, Gurumurthy, Anil wrote:
>> 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
> kexec mailing list
> kexec at lists.infradead.org
More information about the kexec