[Regression] Do not initiate shutdown for EPOW_SHUTDOWN_ON_UPS event
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Critical
|
Patricia Domingues | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Canonical Kernel Team | ||
Bionic |
Fix Released
|
Undecided
|
Canonical Kernel Team | ||
Focal |
Fix Released
|
Undecided
|
Canonical Kernel Team | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU Justification:
[Impact]
* With commit 79872e35469b "powerpc/pseries: All events of EPOW_SYSTEM_
* But on LPARs there is a user space tool (rtas_errd) that monitor for EPOW_SHUTDOWN_
* Once rtas_errd gets an event it initiates a shutdown after predefined time.
* Therefore immediate shutdowns must not be triggered if the system is running on UPS (means for EPOW_SHUTDOWN_
[Fix]
* 90a9b102eddf6a3
[Test Case]
* Setup a Power system on (D)LPAR and run it on UPS with Ubuntu 16.04 or higher (kernel 4.x is needed).
* Verify that the user space tool (rtas_errd) is active and running.
* Define a time for a potential shutdown in case an EPOW_SHUTDOWN_
* Trigger an EPOW_SHUTDOWN_
* Verify if the system got shutdown immediately - or after the pre-defined time.
[Regression Potential]
* The regression risk is very low, because of the very limited modification in a case statement for EPOW_SHUTDOWN_
* What may happen is that the system doesn't power off anymore if running on UPS due to the EPOW_SHUTDOWN_
* Other than that I cannot see much potential harm.
[Other]
* The patch got upstream accepted in v5.9-rc2 and already landed in groovy's kernel 'Ubuntu-
tags: | added: architecture-ppc64le bugnameltc-187995 severity-critical targetmilestone-inin16046 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → kernel-package (Ubuntu) |
affects: | kernel-package (Ubuntu) → linux (Ubuntu) |
Changed in ubuntu-power-systems: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
Changed in ubuntu-power-systems: | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Patricia Domingues (patriciasd) |
status: | New → In Progress |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux (Ubuntu Groovy): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu Groovy): | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → nobody |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-power-systems: | |
status: | In Progress → Fix Committed |
Looks like the patch 90a9b102eddf "powerpc/pseries: Do not initiate shutdown when system is running on UPS" got upstream accepted with v5.9-rc2, 5.8.0-18. 19) via the v5.8.4 upstream stable release ticket LP 1893048.
but it's already integrated in groovy's kernel 5.8 (Ubuntu-
Hence SRUs are needed to get it to focal, bionic and xenial (the patch is very small and limited, just one line, so I think it'll apply to all these Ubuntu kernels).