About command line for kdump on ARM64

Bhupesh SHARMA bhupesh.linux at gmail.com
Fri Nov 10 03:25:03 PST 2017


Hello Yang Shunyong,

On Fri, Nov 10, 2017 at 3:52 PM, Yang Shunyong <yang.shunyong at gmail.com> wrote:
> Hi, All,
>     I am trying to enable kdump on ARM64, based on 4.14 kernel.  I met
> EFI reserved memory(eg. ACPI tables) being released issue, in function
> arm64_memblock_init() . It will cause the memory attribute incorrect
> and kernel crash in ACPI parsing.
>     From the discussions about kdump on ARM64 I searched via Google,
> it needs to set some memory configurations, like "mem=". I have set
> the "mem=64M", but it still failed.
>     Could you please share me some sample command line settings for
> kdump ARM64? Or how to set options to avoid  the crash?
>
> following is my command line from "kdump-config show", I have reserved
> 256M for crash in first kernel "crashkernel=256M at 0x0efe00000",
>
>   /sbin/kexec -p --command-line="BOOT_IMAGE=/vmlinuz-4.14.0-rc2-hxtysy
> root=/dev/mapper/ubuntu--vg-root ro rqpoll mem=256M nr_cpus=1 nousb
> systemd.unit=kdump-tools.service ns_log_on=on"
> --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz
>

Yes, I am aware of this issue and debugging the same (see
https://bugzilla.redhat.com/show_bug.cgi?id=1505314 for details).

I plan to post a patch fixing this issue early next week.
I will keep you posted and also share an early version of the patch
with you so that you can check if the same works for you.

Regards,
Bhupesh



More information about the kexec mailing list