[opal-prd] opal-prd is consuming 100% CPU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Critical
|
Canonical Foundations Team | ||
skiboot (Ubuntu) |
Fix Released
|
Critical
|
Canonical Foundations Team |
Bug Description
---Problem Description---
opal-prd fix for Ubuntu 18.04
In some corner cases where opal-prd fails to access/read flash device (/dev/mtd0) we see opal-prd consuming 100% cpu. This mostly happens during boot time where opal-prd daemon tries to start even before mtd driver loaded. Its not easy to reproduce. It happens randomly.
---uname output---
Ubuntu 18.04
Machine Type = OpenPower System
Userspace tool common name: opal-prd
Below upstream patch will fix this issue.
commit cb16e55a234b91f
Author: Vasant Hegde <email address hidden>
Date: Tue Apr 3 23:08:41 2018 +0530
opal-prd: Insert powernv_flash module
Explictly load powernv_flash module on BMC based system so that we are sure
that flash device is created before starting opal-prd daemon.
-Vasant
tags: | added: architecture-ppc64le bugnameltc-166963 severity-critical targetmilestone-inin1804 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → skiboot (Ubuntu) |
Changed in ubuntu-power-systems: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
tags: | added: triage-g |
Changed in skiboot (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Foundations Team (canonical-foundations) |
importance: | Undecided → Critical |
Changed in ubuntu-power-systems: | |
status: | Triaged → Fix Released |
This bug was fixed in the package skiboot - 5.10~rc4-1ubuntu1
---------------
skiboot (5.10~rc4-1ubuntu1) bionic; urgency=medium
* debian/ patches/ 0001-opal- prd-Insert- powernv_ flash-module. patch:
cherry-pick from upstream to fix opal-prd spinning and consuming 100%
CPU if it starts on boot before the mtd module has been loaded.
LP: #1765460.
-- Steve Langasek <email address hidden> Mon, 23 Apr 2018 09:50:43 -0700