kexec-tools 2.0.14 fails to load 4.12+ crash kernels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kexec-tools (Ubuntu) |
Fix Released
|
High
|
Stefan Bader |
Bug Description
Starting with 4.12 kernels, kexec-tools cannot load a crash kernel because ELF core parsing fails with errors like:
Unknown type (Reserved) while parsing /sys/firmware/
Please report this as bug. Using RANGE_RESERVED now.
...
ELF core (kcore) parse failed
Cannot load /var/lib/
The issue is fixed upstream in kexec-tools 2.0.15 (Debian is still at 2.0.14)
The complete changes list between 2.0.14 and 2.0.15 shows mostly bug fixes and in fact all additional patches in debian/patches which are Ubuntu delta, have moved into upstream 2.0.15. So we could drop all those while moving to the new version.
* ppc64: Reduce number of ELF LOAD segments
* kexec: Increase the upper limit for RAM segments
* alpha: add missing __NR_kexec_load definition
* kexec: implemented XEN KEXEC STATUS to determine if an image is loaded
* kexec: Remove redundant space from help message
* purgatory: Add purgatory.map and purgatory.ro.sym to clean recipe
* kexec: Add option to get crash kernel region size
* crashdump/arm: Add get_crash_
* crashdump/arm64: Add get_crash_
* crashdump/cris: Add get_crash_
* crashdump/ia64: Add get_crash_
* crashdump/m68k: Add get_crash_
* crashdump/mips: Add get_crash_
* crashdump/ppc: Add get_crash_
* crashdump/ppc64: Add get_crash_
* crashdump/s390: Add get_crash_
* crashdump/sh: Add get_crash_
* gitignore: add two generated files in purgatory
* Only print debug message when failed to serach for kernel symbol from
/proc/kallsyms
* build_mem_phdrs(): check if p_paddr is invalid
* uImage: fix realloc() pointer confusion
* uImage: Fix uImage_load() for little-endian machines
* uImage: Add new IH_ARCH_xxx definitions
* uImage: use 'char *' instead of 'unsigned char *' for uImage_load()
* uImage: use 'char *' instead of 'unsigned char *' for uImage_probe()
* arm64: add uImage support
* vmcore-dmesg: Define _GNU_SOURCE
* Don't use %L width specifier with integer values
* x86/x86_64: Fix format warning with die()
* ppc: Fix format warning with die()
* crashdump: Remove stray get_crashkernel
* x86: Support large number of memory ranges
* Fix broken Xen support in configure.ac
* kexec: extend the semantics of kexec_iomem_
* kexec: generalize and rename get_kernel_
* arm64: identify PHYS_OFFSET correctly
* arm64: change return values on error to negative
* arm64: kdump: identify memory regions
* arm64: kdump: add elf core header segment
* arm64: kdump: set up kernel image segment
* arm64: kdump: set up other segments
* arm64: kdump: add DT properties to crash dump kernel's dtb
* arm64: kdump: Add support for binary image files
* Handle additional e820 memmap type strings
tags: | added: patch |
Changed in kexec-tools (Ubuntu): | |
status: | Triaged → In Progress |
The delta indeed does appear to majority bug fixes, the only new features look to be arm64 crash support which we were already carrying in the ubuntu delta so can be ignored. Sponsored to artful.