** Description changed: - Kexec tool throws following errors if crashkernel is reserved beyond 4GB - of system memory. + [Impact] + On arm64, kexec throws following errors if crashkernel is reserved beyond 4GB of system memory. - bootargs: crashkernel=1G@4G + [Test Case] + Create an arm64 guest w/ say 6GiB of memory. + Add crashkernel=1G@4G to kernel boot args - Ubuntu $ kexec -p /boot/vmlinuz-`uname -r` --initrd=/boot/initrd.img-`uname -r` --reuse-cmdline $ kexec: elfcorehdr doesn't fit cells-size. $ kexec: setup_2nd_dtb failed. $ kexec: load failed. $ Cannot load /boot/vmlinuz-5.4.0-rc4+ - It looks to be grub issue. Refer discussion: - https://edk2.groups.io/g/devel/topic/39480086#49583 + [Fix] + Backport the following upstream commits: + 347210a5d efi/fdt: Set address/size cells to 2 for empty tree + e93fd6b77 fdt: Move prop_entry_size to fdt.h + + [Regression Risk] + Changes are restricted to efi/fdt code in GRUB, so regressions would be most likely on ARM platforms, specifically those that boot using ACPI (mostly servers).
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1851190 Title: Ubuntu 18.04: kexec-tool shows "kexec: elfcorehdr doesn't fit cells- size" if crashkernel reserved beyond 4GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1851190/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs