Public bug reported:

== Comment: #0 - SEETEENA THOUFEEK <[email protected]> - 2024-08-02 03:11:31 
==
+++ This bug was initially created as a clone of Bug #206083 +++

---Problem Description---
kexec fails in LPAR when some cpus are disabled
 
Contact Information = [email protected] 
 
Machine Type = na 
 
---uname output---
na
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
 Summary:
At L1 level, kexec fails if some of the cpus in the machine are disabled.


Distros and kernel  versions used:
1. Distro versions used

  a. L1 LPAR :

  b. L2 :


Repro steps:
1. Boot into an L1 lpar
2. Disable some cpus (eg: ppc64_cpu --cores-on=3)
3. Try to kexec. 


This bug is reproducible only when we load the target kernel/initrd and use 
"kexec -e" as follows:

kexec -l --initrd initramfs-$(uname -r).img vmlinuz-$(uname -r)
--append="$(cat /proc/cmdline)"

kexec -e


kexec works fine if we do a normal kexec without skipping the shutdown path

kexec --initrd initramfs-$(uname -r).img vmlinuz-$(uname -r)
--append="$(cat /proc/cmdline)"


Fix is upstream now:
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=21a741eb75f80397e5f7d3739e24d7d75e619011

Thanks,
Sourabh Jain

please include in Ubuntu

 
Oops output:
 no
 
Stack trace output:
 no
 
System Dump Info:
  The system is not configured to capture a system dump.
 
*Additional Instructions for [email protected]: 
-Attach sysctl -a output output to the bug.

** Affects: ubuntu-power-systems
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-208048 severity-high 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-208048 severity-high
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage 
(ubuntu-power-triage)

** Package changed: ubuntu => kernel-package (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2075575

Title:
  kexec fails in LPAR when some cpus are disabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/2075575/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to