kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #82633
[Bug 1324544] Re: makedumpfile: kdump-config load fails with vmlinux kernel (vs. vmlinuz)
@mauricfo:
Uploaded fix in comment #5 to utopic with slight modification to version number.
Thanks!
** Description changed:
+ 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/vmlinuz-3.13.0-27-generic': No such file or directory
- * failed to load kdump kernel
+ * 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-config-vmlinux.patch
patching file kdump-config
# kdump-config load
[...]
- * loaded kdump kernel
+ * loaded kdump kernel
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to makedumpfile in Ubuntu.
https://bugs.launchpad.net/bugs/1324544
Title:
makedumpfile: kdump-config load fails with vmlinux kernel (vs.
vmlinuz)
Status in “makedumpfile” package in Ubuntu:
In Progress
Status in “makedumpfile” source package in Trusty:
In Progress
Status in “makedumpfile” source package in Utopic:
In Progress
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/vmlinuz-3.13.0-27-generic': No such file or directory
* 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-config-vmlinux.patch
patching file kdump-config
# kdump-config load
[...]
* loaded kdump kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1324544/+subscriptions
References