------- Comment From [email protected] 2017-07-19 10:14 EDT-------
I have installed a P8 8335-GCA Hardware with Ubuntu 16.10 OS.

root@ltc-firep1:~# uname -a
Linux ltc-firep1 4.8.0-59-generic #64-Ubuntu SMP Thu Jun 29 19:36:04 UTC 2017 
ppc64le ppc64le ppc64le GNU/Linux
root@ltc-firep1:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.10 (Yakkety Yak)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.10"
VERSION_ID="16.10"
HOME_URL="http://www.ubuntu.com/";
SUPPORT_URL="http://help.ubuntu.com/";
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="http://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
VERSION_CODENAME=yakkety
UBUNTU_CODENAME=yakkety

root@ltc-firep1:~# cat /proc/cpuinfo | tail
processor       : 159
cpu             : POWER8 (raw), altivec supported
clock           : 3491.000000MHz
revision        : 2.0 (pvr 004d 0200)

timebase        : 512000000
platform        : PowerNV
model           : 8335-GCA
machine         : PowerNV 8335-GCA
firmware        : OPAL

Then installed the yakkety proposed opal-prd package on the same.

root@ltc-firep1:~# apt-get update
Hit:1 http://us.ports.ubuntu.com/ubuntu-ports yakkety InRelease
Hit:2 http://us.ports.ubuntu.com/ubuntu-ports yakkety-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports yakkety-security InRelease
Hit:4 http://ppa.launchpad.net/ibmpackages/pmlinux/ubuntu trusty InRelease
Hit:5 http://us.ports.ubuntu.com/ubuntu-ports yakkety-backports InRelease
Get:6 http://ports.ubuntu.com/ubuntu-ports yakkety-proposed InRelease [102 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports yakkety-proposed/main ppc64el 
Packages [17.6 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports yakkety-proposed/main Translation-en 
[11.9 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports yakkety-proposed/universe ppc64el 
Packages [16.6 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports yakkety-proposed/universe 
Translation-en [12.1 kB]
Fetched 160 kB in 1s (99.1 kB/s)
Reading package lists... Done

root@ltc-firep1:~# apt-get install opal-prd/yakkety-proposed
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '5.3.3-1ubuntu0.1' (Ubuntu:16.10/yakkety-proposed [ppc64el]) 
for 'opal-prd'
The following packages will be upgraded:
opal-prd
1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 36.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports yakkety-proposed/universe ppc64el 
opal-prd ppc64el 5.3.3-1ubuntu0.1 [36.3 kB]
Fetched 36.3 kB in 0s (112 kB/s)
(Reading database ... 345024 files and directories currently installed.)
Preparing to unpack .../opal-prd_5.3.3-1ubuntu0.1_ppc64el.deb ...
Warning: Stopping opal-prd.service, but it can still be activated by:
opal-prd.socket
Unpacking opal-prd (5.3.3-1ubuntu0.1) over (5.3.3-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (231-9ubuntu5) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up opal-prd (5.3.3-1ubuntu0.1) ...

root@ltc-firep1:~# which opal-prd
/usr/sbin/opal-prd
root@ltc-firep1:~# dpkg -S /usr/sbin/opal-prd
opal-prd: /usr/sbin/opal-prd
root@ltc-firep1:~# dpkg --list | grep opal-prd
ii  opal-prd                                                    
5.3.3-1ubuntu0.1                           ppc64el      OPAL Processor Recovery 
Diagnostics daemon

Then I killed the PID of the opal-prd daemon and verified if it again
re-spawns.

root@ltc-firep1:~# ps -ef | grep opal
root        972      2  0 09:51 ?        00:00:00 [kopald]
root       6090      1  0 10:07 ?        00:00:00 /usr/sbin/opal-prd --pnor 
/dev/mtd0
root       6122   4839  0 10:08 pts/0    00:00:00 grep --color=auto opal

root@ltc-firep1:~# kill -9 6090

root@ltc-firep1:~# ps -ef | grep opal
root        972      2  0 09:51 ?        00:00:00 [kopald]
root       6125      1  0 10:08 ?        00:00:00 /usr/sbin/opal-prd --pnor 
/dev/mtd0
root       6130   4839  0 10:09 pts/0    00:00:00 grep --color=auto opal

As can be seen the opal-prd daemon restarts.

** Tags removed: verification-needed-yakkety
** Tags added: verification-done-yakkety

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

Title:
  PowerNV: Restart opal-prd daemon on any kind of failure

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

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

Reply via email to