Comment 3 for bug 1324544

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote : Re: kdump-config load fails with vmlinux kernel (vs. vmlinuz)

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