makedumpfile: kdump-config load fails with vmlinux kernel (vs. vmlinuz)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
makedumpfile (Debian) |
Fix Released
|
Unknown
|
|||
makedumpfile (Ubuntu) |
Fix Released
|
High
|
Chris J Arges | ||
Trusty |
Fix Released
|
High
|
Chris J Arges | ||
Utopic |
Fix Released
|
High
|
Chris J Arges |
Bug Description
SRU Justification:
[Impact]
Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging.
[Test Case]
1) apt-get install kdump-tools
2) kdump-config load
3) this should pass but fails because it expects vmlinuz
[Regression Potential]
This fix allows the existing case to work, but only checks for vmlinux if vmlinuz is missing.
--
On ppc64el, there's no vmlinu/z/, only vmlinu/x/.
Thus, kdump-config load fails as follows:
# kdump-config load
Cannot open `/boot/
* failed to load kdump kernel
This small patch (attached) fixes the issue.
It defaults KDUMP_KERNEL to vmlinux if vmlinuz is not found.
# cd /usr/sbin && patch -p1 < ~/kdump-
patching file kdump-config
# kdump-config load
[...]
* loaded kdump kernel
Changed in makedumpfile (Ubuntu): | |
assignee: | nobody → Adam Conrad (adconrad) |
status: | Confirmed → In Progress |
Changed in makedumpfile (Ubuntu): | |
assignee: | Adam Conrad (adconrad) → Chris J Arges (arges) |
Changed in makedumpfile (Ubuntu Trusty): | |
assignee: | nobody → Chris J Arges (arges) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in makedumpfile (Ubuntu Utopic): | |
importance: | Undecided → High |
summary: |
- kdump-config load fails with vmlinux kernel (vs. vmlinuz) + makedumpfile: kdump-config load fails with vmlinux kernel (vs. vmlinuz) |
Changed in makedumpfile (Debian): | |
status: | Unknown → New |
Changed in makedumpfile (Debian): | |
status: | New → Fix Released |
The attachment "kdump- config- vmlinux. patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]