Public bug reported:

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/memmap/5/type.
  Please report this as bug. Using RANGE_RESERVED now.
  ...
  ELF core (kcore) parse failed
  Cannot load /var/lib/kdump/vmlinuz

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_kernel_load_range() function
* crashdump/arm64: Add get_crash_kernel_load_range() function
* crashdump/cris: Add get_crash_kernel_load_range() function
* crashdump/ia64: Add get_crash_kernel_load_range() function
* crashdump/m68k: Add get_crash_kernel_load_range() function
* crashdump/mips: Add get_crash_kernel_load_range() function
* crashdump/ppc: Add get_crash_kernel_load_range() function
* crashdump/ppc64: Add get_crash_kernel_load_range() function
* crashdump/s390: Add get_crash_kernel_load_range() function
* crashdump/sh: Add get_crash_kernel_load_range() function
* 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_region() declaration
* x86: Support large number of memory ranges
* Fix broken Xen support in configure.ac
* kexec: extend the semantics of kexec_iomem_for_each_line
* kexec: generalize and rename get_kernel_stext_sym()
* 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

** Affects: kexec-tools (Ubuntu)
     Importance: High
     Assignee: Stefan Bader (smb)
         Status: Triaged


** Tags: artful

** Patch added: "Delta between current 2.0.14-1ubuntu5 and 2.0.15-0ubuntu1"
   
https://bugs.launchpad.net/bugs/1713940/+attachment/4941222/+files/newversion.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713940

Title:
  kexec-tools 2.0.14 fails to load 4.12+ crash kernels

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1713940/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to