Created attachment 511806 [details, diff]
I'm running the latest stablized kexec-tools (2.0.14) and when loading crash dump core it cries out:
ELF core (kcore) parse failed
After digging into it, I found build_mem_phdrs check physical addr wrap arounds and some segments in /proc/kcore show a physical addr of 0xFFFFFFFFFFFFFFFF.
Kernel's commit log shows it starts assigning invalid PT_LOAD physical address as -1 since Feb 27, 2017.
The first released kernel containing this code is 4.11 .
The first released kexec-tools containing a fix is 2.0.15 .
Also, a patch is found for kexec-tools-2.0.14 source rpms.
Since we had >=sys-kernel/gentoo-sources-4.11 stablized, I recommend stablizing one of >=sys-apps/kexec-tools-2.0.15 .
Created attachment 511808 [details, diff]
Patch for kexec-tools-2.0.14
Indeed, this was also noticed in Ubuntu (https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1713940) and Debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876042). It would be best to stabilise 2.0.15 or later.