← Back to team overview

kernel-packages team mailing list archive

[Bug 1324544] Re: makedumpfile: kdump-config load fails with vmlinux kernel (vs. vmlinuz)

 

** Changed in: makedumpfile (Debian)
       Status: New => Fix Released

-- 
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:
  Fix Released
Status in “makedumpfile” source package in Trusty:
  Fix Released
Status in “makedumpfile” source package in Utopic:
  Fix Released
Status in “makedumpfile” package in Debian:
  Fix Released

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