[Bug 1765460] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Wed Apr 25 06:50:12 UTC 2018
------- Comment From ppaidipe at in.ibm.com 2018-04-25 02:49 EDT-------
Tested it with 5.10~rc4-1ubuntu1 package level, working fine.
root at ltc-boston125:~# service opal-prd status
? opal-prd.service - OPAL PRD daemon
Loaded: loaded (/lib/systemd/system/opal-prd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-25 00:40:44 CDT; 1min 38s ago
Docs: man:opal-prd(8)
Main PID: 3750 (opal-prd)
Tasks: 1 (limit: 19660)
CGroup: /system.slice/opal-prd.service
??3750 /usr/sbin/opal-prd
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: PRDF:<<PRDF::initialize()
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: ATTN_SLOW:I>Service::enableAttns() enter
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] I> getNextTarget: Using next node 1
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] E> getNextTarget: Node 0 targets: first 0x702ede5efc04, current 0x702ede5f4ae8, last 0x702ede5f4ae8
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] E> getNextTarget: Target not found
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: ATTN_SLOW:I>Service::enableAttns() exit
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: ATTN_SLOW:I><<ATTN_RT::enableAttns rc: 0
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: calling get_ipoll_events
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: enabling IPOLL events 0x5b90000000000000
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: FW: writing init message
root at ltc-boston125:~# opal-prd --version
opal-prd opal-prd-5.10~rc4
root at ltc-boston125:~# dpkg -l | grep -i opal
ii opal-prd 5.10~rc4-1ubuntu1 ppc64el OPAL Processor Recovery Diagnostics daemon
ii opal-utils 5.10~rc4-1ubuntu1 ppc64el OPAL firmware utilities
root at ltc-boston125:~#
root at ltc-boston125:~# service opal-prd status
? opal-prd.service - OPAL PRD daemon
Loaded: loaded (/lib/systemd/system/opal-prd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-25 00:40:44 CDT; 19min ago
Docs: man:opal-prd(8)
Main PID: 3750 (opal-prd)
Tasks: 1 (limit: 19660)
CGroup: /system.slice/opal-prd.service
??3750 /usr/sbin/opal-prd
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: PRDF:<<PRDF::initialize()
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: ATTN_SLOW:I>Service::enableAttns() enter
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] I> getNextTarget: Using next node 1
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] E> getNextTarget: Node 0 targets: first 0x702ede5efc04, current 0x702ede5f4ae8, last 0x702ede5f4ae8
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] E> getNextTarget: Target not found
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: ATTN_SLOW:I>Service::enableAttns() exit
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: ATTN_SLOW:I><<ATTN_RT::enableAttns rc: 0
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: calling get_ipoll_events
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: enabling IPOLL events 0x5b90000000000000
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: FW: writing init message
root at ltc-boston125:~# service opal-prd stop
root at ltc-boston125:~# service opal-prd status
? opal-prd.service - OPAL PRD daemon
Loaded: loaded (/lib/systemd/system/opal-prd.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2018-04-25 01:00:44 CDT; 1s ago
Docs: man:opal-prd(8)
Process: 3750 ExecStart=/usr/sbin/opal-prd $DAEMON_OPTS (code=killed, signal=TERM)
Main PID: 3750 (code=killed, signal=TERM)
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] I> getNextTarget: Using next node 1
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] E> getNextTarget: Node 0 targets: first 0x702ede5efc04, current 0x702ede5f4ae8, last 0x702ede5f4ae8
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] E> getNextTarget: Target not found
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: ATTN_SLOW:I>Service::enableAttns() exit
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: ATTN_SLOW:I><<ATTN_RT::enableAttns rc: 0
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: calling get_ipoll_events
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: enabling IPOLL events 0x5b90000000000000
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: FW: writing init message
Apr 25 01:00:44 ltc-boston125 systemd[1]: Stopping OPAL PRD daemon...
Apr 25 01:00:44 ltc-boston125 systemd[1]: Stopped OPAL PRD daemon.
root at ltc-boston125:~# modprobe -rf powernv_flash mtd
root at ltc-boston125:~# service opal-prd status
? opal-prd.service - OPAL PRD daemon
Loaded: loaded (/lib/systemd/system/opal-prd.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2018-04-25 01:00:44 CDT; 21s ago
Docs: man:opal-prd(8)
Process: 3750 ExecStart=/usr/sbin/opal-prd $DAEMON_OPTS (code=killed, signal=TERM)
Main PID: 3750 (code=killed, signal=TERM)
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] I> getNextTarget: Using next node 1
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] E> getNextTarget: Node 0 targets: first 0x702ede5efc04, current 0x702ede5f4ae8, last 0x702ede5f4ae8
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: TARG:[TARG] E> getNextTarget: Target not found
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: ATTN_SLOW:I>Service::enableAttns() exit
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: ATTN_SLOW:I><<ATTN_RT::enableAttns rc: 0
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: calling get_ipoll_events
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: HBRT: enabling IPOLL events 0x5b90000000000000
Apr 25 00:40:46 ltc-boston125 opal-prd[3750]: FW: writing init message
Apr 25 01:00:44 ltc-boston125 systemd[1]: Stopping OPAL PRD daemon...
Apr 25 01:00:44 ltc-boston125 systemd[1]: Stopped OPAL PRD daemon.
root at ltc-boston125:~# service opal-prd start
root at ltc-boston125:~# service opal-prd status
? opal-prd.service - OPAL PRD daemon
Loaded: loaded (/lib/systemd/system/opal-prd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-25 01:01:10 CDT; 1s ago
Docs: man:opal-prd(8)
Main PID: 5006 (opal-prd)
Tasks: 1 (limit: 19660)
CGroup: /system.slice/opal-prd.service
??5006 /usr/sbin/opal-prd
Apr 25 01:01:10 ltc-boston125 opal-prd[5006]: HBRT: PRDF:<<PRDF::initialize()
Apr 25 01:01:10 ltc-boston125 opal-prd[5006]: HBRT: ATTN_SLOW:I>Service::enableAttns() enter
Apr 25 01:01:10 ltc-boston125 opal-prd[5006]: HBRT: TARG:[TARG] I> getNextTarget: Using next node 1
Apr 25 01:01:10 ltc-boston125 opal-prd[5006]: HBRT: TARG:[TARG] E> getNextTarget: Node 0 targets: first 0x7c8a33b8fc04, current 0x7c8a33b94ae8, last 0x7c8a33b94ae8
Apr 25 01:01:10 ltc-boston125 opal-prd[5006]: HBRT: TARG:[TARG] E> getNextTarget: Target not found
Apr 25 01:01:10 ltc-boston125 opal-prd[5006]: HBRT: ATTN_SLOW:I>Service::enableAttns() exit
Apr 25 01:01:10 ltc-boston125 opal-prd[5006]: HBRT: ATTN_SLOW:I><<ATTN_RT::enableAttns rc: 0
Apr 25 01:01:10 ltc-boston125 opal-prd[5006]: HBRT: calling get_ipoll_events
Apr 25 01:01:10 ltc-boston125 opal-prd[5006]: HBRT: enabling IPOLL events 0x5b90000000000000
Apr 25 01:01:10 ltc-boston125 opal-prd[5006]: FW: writing init message
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to skiboot in Ubuntu.
Matching subscriptions: foundations-bugs-skiboot
https://bugs.launchpad.net/bugs/1765460
Title:
[opal-prd] opal-prd is consuming 100% CPU
Status in The Ubuntu-power-systems project:
Fix Released
Status in skiboot package in Ubuntu:
Fix Released
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 cb16e55a234b91fd42112904cff15094fbae680d
Author: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1765460/+subscriptions
More information about the foundations-bugs
mailing list