← Back to team overview

kernel-packages team mailing list archive

[Bug 1364427] Re: kexec-tools: kexeced kernel hung

 

Just as an FYI, here are the patches I have stacked on top of _2.0.6_
which is the version in Utopic. In addition I plan on backporting any
working patch stack to Trusty which has the identical version.

335bad77fb0750f3961aa8df47c83a522d212b08
d8847573a40fc00442fd727c4906b5b619fa5e1f
7bb7c2a4bae8510cfc898373e21007ac996432ec
2ca220389d212249cc842d49084c95e524fb299b
45b33eb2e70cd44f41abf1058a92659cb4315011
90853885a859e42b0ff6935199bf6fceda1c6a87

Let me know if there are any additional patches required.

Thanks,

** Description changed:

  SRU Justification:
  
  [Impact]
  Users of ppc64el hardware need the ability to use kexec kernels.
  
  [Test Case]
  1) apt-get install kexec-tools
  2) sudo kexec -l /boot/vmlinux --initrd=/boot/initrd.img
  3) sudo kexec -e
  4) Kernel should kexec into current kernel and work
  
  [Regression Potential]
  This patch backports the following patches from upstream kexec-tools:
  
- 90853885a859 ppc64/purgatory: Device tree values should be read/stored
+ 7bb7c2a4bae8 kexec/ppc64: Handle reserved memory ranges 
+ d8847573a40f kexec/ppc64: Fix up ELF header and dt for PowerNV
+ 90853885a859 ppc64/purgatory: Device tree values should be 
  2ca220389d21 kexec/ppc64: move to device tree version 17
- 335bad77fb07 kexec/ppc64: disabling exception handling when building the
+ 335bad77fb07 kexec/ppc64: disabling exception handling when 
  45b33eb2e70c ppc64/kdump: Fix ELF header endianess
  
  These are all specific to powerpc architecture.
  
  --
  
  ---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 ?

** Description changed:

  SRU Justification:
  
  [Impact]
  Users of ppc64el hardware need the ability to use kexec kernels.
  
  [Test Case]
  1) apt-get install kexec-tools
  2) sudo kexec -l /boot/vmlinux --initrd=/boot/initrd.img
  3) sudo kexec -e
  4) Kernel should kexec into current kernel and work
  
  [Regression Potential]
  This patch backports the following patches from upstream kexec-tools:
  
- 7bb7c2a4bae8 kexec/ppc64: Handle reserved memory ranges 
+ 7bb7c2a4bae8 kexec/ppc64: Handle reserved memory ranges
  d8847573a40f kexec/ppc64: Fix up ELF header and dt for PowerNV
- 90853885a859 ppc64/purgatory: Device tree values should be 
+ 90853885a859 ppc64/purgatory: Device tree values should be
  2ca220389d21 kexec/ppc64: move to device tree version 17
- 335bad77fb07 kexec/ppc64: disabling exception handling when 
+ 335bad77fb07 kexec/ppc64: disabling exception handling when
  45b33eb2e70c ppc64/kdump: Fix ELF header endianess
  
- These are all specific to powerpc architecture.
+ These are all specific to POWER architecture.
  
  --
  
  ---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 ?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to kexec-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1364427

Title:
  kexec-tools: kexeced kernel hung

Status in “kexec-tools” package in Ubuntu:
  In Progress
Status in “kexec-tools” source package in Trusty:
  In Progress
Status in “kexec-tools” source package in Utopic:
  In Progress

Bug description:
  SRU Justification:

  [Impact]
  Users of ppc64el hardware need the ability to use kexec kernels.

  [Test Case]
  1) apt-get install kexec-tools
  2) sudo kexec -l /boot/vmlinux --initrd=/boot/initrd.img
  3) sudo kexec -e
  4) Kernel should kexec into current kernel and work

  [Regression Potential]
  This patch backports the following patches from upstream kexec-tools:

  7bb7c2a4bae8 kexec/ppc64: Handle reserved memory ranges
  d8847573a40f kexec/ppc64: Fix up ELF header and dt for PowerNV
  90853885a859 ppc64/purgatory: Device tree values should be
  2ca220389d21 kexec/ppc64: move to device tree version 17
  335bad77fb07 kexec/ppc64: disabling exception handling when
  45b33eb2e70c ppc64/kdump: Fix ELF header endianess

  These are all specific to POWER architecture.

  --

  ---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 ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1364427/+subscriptions