Trusty kexec-tools suffer from upstream code regression. Fix not included.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kexec-tools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Rafael David Tinoco |
Bug Description
[Impact]
* kdump doesn't work on non-efi systems
* a kernel dump can't be generated
[Test Case]
* install kdump-tools
* configure kdump-tools (/etc/default/
* try to start kdump-tools service (kdump-config start)
* while executing kexec, you will get:
"efi memory descriptor version 0 is not supported!"
[Regression Potential]
* in theory it could brake kdump for efi systems
* in practice, its based on upstream regression fix (not included in Trusty)
* it has also been tested in 3 different setups and it worked
[Other Info]
Based on upstream code commit explanation:
"""
On non-EFI systems, efi_info section of boot_params is zero filled resulting
in an erroneous message from kexec regarding "efi memory descriptor" version.
Caused by commit: e1ffc9e9a0769e1
data via setup_data"
# od -j 448 -N 32 -v -x /sys/kernel/
0000700 0000 0000 0000 0000 0000 0000 0000 0000
0000720 0000 0000 0000 0000 0000 0000 0000 0000
0000740
# kexec -l --reuse-cmdline --initrd=
efi memory descriptor version 0 is not supported!
"""
It was brought to my attention to some of our users are facing this:
----
## TRUSTY with kernel 4.4.0-83-generic
# /usr/sbin/
efi memory descriptor version 0 is not supported!
* loaded kdump kernel
/var/log/syslog:
Jul 18 13:37:06 xxxx kdump-config: /sbin/kexec -p --command-
Jul 18 13:37:06 xxxx kdump-config: loaded kdump kernel
----
Despite the message of kdump being loaded, it doesn't look that it is operational. Dump files could be generated using Xenial kdump-tools, but not Trusty's.
Changed in kexec-tools (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
assignee: | nobody → Rafael David Tinoco (inaddy) |
description: | updated |
tags: |
added: sts-sponsor removed: patch |
Changed in kexec-tools (Ubuntu): | |
status: | Confirmed → Fix Released |
assignee: | Rafael David Tinoco (inaddy) → nobody |
I'm providing the following PPA;
https:/ /launchpad. net/~inaddy/ +archive/ ubuntu/ lp1705054
with a test package in order to verify if the patch fixes the issue.