Attaching debdiffs for Utopic and Trusty.

The patch fixes this issue:

        $ sudo kdump-config load
        Cannot open `/boot/vmlinuz-3.16.0-14-generic': No such file or directory
         * failed to load kdump kernel

Test OK on Utopic:

        $ sudo kdump-config load
        Modified cmdline:BOOT_IMAGE=/boot/vmlinux-3.16.0-14-generic 
root=UUID=780a7cc8-faf1-4613-bc3b-9b9fda9f0862 ro quiet splash vt.handoff=7 
irqpoll maxcpus=1 nousb elfcorehdr=154688K 
        segment[0].mem:0x8000000 memsz:24117248
        segment[1].mem:0x9700000 memsz:65536
        segment[2].mem:0x9710000 memsz:65536
        segment[3].mem:0x9720000 memsz:65536
        segment[4].mem:0x9730000 memsz:21692416
        segment[5].mem:0xfff0000 memsz:65536
         * loaded kdump kernel

        $ sudo kdump-config test | grep -A1 'kdump kernel:'
        kdump kernel:
           /boot/vmlinux-3.16.0-14-generic

        $ sudo kdump-config status
        current state   : ready to kdump


Test OK on Trusty:

        $ sudo kdump-config load
        Modified cmdline:BOOT_IMAGE=/boot/vmlinux-3.13.0-35-generic 
root=UUID=742d5ea0-2a70-4a5a-a8eb-7215d36a4caa ro quiet splash vt.handoff=7 
irqpoll maxcpus=1 nousb elfcorehdr=157440K 
        segment[0].mem:0x8000000 memsz:26935296
        segment[1].mem:0x99b0000 memsz:65536
        segment[2].mem:0x99c0000 memsz:65536
        segment[3].mem:0x99d0000 memsz:65536
        segment[4].mem:0x99e0000 memsz:20054016
        segment[5].mem:0xfff0000 memsz:65536
         * loaded kdump kernel

        $ sudo kdump-config test | grep -A1 'kdump kernel:'
        kdump kernel:
           /boot/vmlinux-3.13.0-35-generic

        $ sudo kdump-config status
        current state   : ready to kdump

-- 
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:
  kdump-config load fails with vmlinux kernel (vs. vmlinuz)

Status in “makedumpfile” package in Ubuntu:
  New

Bug description:
  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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to