Comment 0 for bug 1364427

Revision history for this message
bugproxy (bugproxy) wrote : kexeced kernel hung

---Problem Description---
kexec is not working with kernel 3.16 or later.

The root cause is missing patch in the kexec-tools package provided with Ubuntu 14.04 and 14.10.

---uname output---
Linux qemu 3.16.0-10-generic #15-Ubuntu SMP Thu Aug 21 16:32:31 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux

Machine Type = P8

---Steps to Reproduce---
On a 14.10 guest or host, run :
$ sudo kexec -l /boot/vmlinux --initrd=/boot/initrd.img-3.16.0-10-generic
$ sudo kexec -e

The kexeced kernel will hang here :
[ 300.002862] Starting new kernel
I'm in purgatory

The root cause is the following kexec-tools's patch missing:
2ca220389d21 kexec/ppc64: move to device tree version 17

This patch is required to kexec kernel 3.16 and later.

Among this patch, the following upstream pactches should be added to the current package :
335bad77fb07 kexec/ppc64: disabling exception handling when building the purgato
90853885a859 ppc64/purgatory: Device tree values should be read/stored in Big En

In addition the following incoming patch should be applied :
ppc64/kdump: Fix ELF header endianess (http://lists.infradead.org/pipermail/kexec/2014-July/012247.html)

Another option to consider is to move to kexec-tools 2.0.7, and to apply the missing patches

Is it possible to get this patches also applied to the kexec-tools shipped with 14.04 ?