[Bug 1751986] Re: [LTCTest][OPAL][OP920] lsmcode -A is not showing any output
bugproxy
bugproxy at us.ibm.com
Fri Jun 15 05:19:36 UTC 2018
------- Comment From pavsubra at in.ibm.com 2018-06-15 01:12 EDT-------
I have installed the lsvpd package available in the bionic-proposed.
root at ltc-wspoon11:~# apt-get install lsvpd/bionic-proposed
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '1.7.8-2ubuntu1.1' (Ubuntu:18.04/bionic-proposed [ppc64el]) for 'lsvpd'
The following packages will be upgraded:
lsvpd
1 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
Need to get 192 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/main ppc64el lsvpd ppc64el 1.7.8-2ubuntu1.1 [192 kB]
Fetched 192 kB in 1s (256 kB/s)
(Reading database ... 189430 files and directories currently installed.)
Preparing to unpack .../lsvpd_1.7.8-2ubuntu1.1_ppc64el.deb ...
Unpacking lsvpd (1.7.8-2ubuntu1.1) over (1.7.8-2ubuntu1) ...
Setting up lsvpd (1.7.8-2ubuntu1.1) ...
Processing triggers for man-db (2.8.3-2) ...
root at ltc-wspoon11:~# which lsvpd
/usr/sbin/lsvpd
root at ltc-wspoon11:~# dpkg -S /usr/sbin/lsvpd
lsvpd: /usr/sbin/lsvpd
root at ltc-wspoon11:~# dpkg --list | grep lsvpd
ii lsvpd 1.7.8-2ubuntu1.1 ppc64el Utility to List Device Vital Product Data (VPD)
Then executed the lsmcode -A command to verify the fixes.
root at ltc-wspoon11:~# lsmcode -A
sys0!system: witherspoon-ibm-OP9-v2.0.3-2.17
enP5p1s0f0 !.5719-v1.43 NCSI v1.3.12.0
enP5p1s0f1 !.5719-v1.43 NCSI v1.3.12.0
sg0 1:0:0:0 sda !ST1000NX0313.BE30
sg1 0:0:0:0 sdb !STORE.5.00
The bug is resolved with the latest packages available in bionic-
proposed.
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsvpd in Ubuntu.
https://bugs.launchpad.net/bugs/1751986
Title:
[LTCTest][OPAL][OP920] lsmcode -A is not showing any output
Status in The Ubuntu-power-systems project:
Triaged
Status in lsvpd package in Ubuntu:
Fix Released
Status in lsvpd source package in Bionic:
Fix Committed
Bug description:
-- SRU Bionic --
[Impact]
lsmcode does not display product version information on Power system (AC922) with OPAL firmware (OP920).
[Test]
Running lsmcode -A command on Power system does not print the "Product Version" information.
$ sudo lsmcode -A | grep "Product Version" || { echo "failed to print product version"; exit ; }
[Fix]
Comment #3 identifies the patches needed to fix this issue.
[Regression Potential]
None
== Comment: #5 - Pridhiviraj Paidipeddi <ppaidipe at in.ibm.com> - 2018-02-26 11:02:21 ==
We are missing Product Version in lsmcode output, due to which "lsmcode -A" fails.
lsmcode(incorrect output)
=================
Version of System Firmware :
Product Name : OpenPOWER Firmware
Product Extra : occ-fce2d94
Product Extra : skiboot-v5.9-238-g43eb8bbcbaa5
Product Extra : buildroot-2017.11-5-g65679be
Product Extra : capp-ucode-p9-dd2-v2
Product Extra : petitboot-v1.6.6-p91994c3
Product Extra : sbe-86ae83c
Product Extra : hostboot-binaries-8b5adb5
Product Extra : machine-xml-4374657
Product Extra : hostboot-52ca812
Product Extra : linux-4.14.13-openpower1-pdb952b4
lsmcode(correct output)
================
Version of System Firmware :
Product Name : OpenPOWER Firmware
Product Version : open-power-SUPERMICRO-P9DSU-V1.03-20180205-imp
Product Extra : occ-577915f
Product Extra : skiboot-v5.9-240-g081882690163-pcbedce4
Product Extra : petitboot-v1.6.6-p019c87e
Product Extra : sbe-095e608
Product Extra : machine-xml-fb5f933
Product Extra : hostboot-9bfb201
Product Extra : linux-4.14.13-openpower1-p78d7eee
So we need two fixes here, one is to form Product Version string and
another one is to fix "lsmcode -A" empty output bug when there is no
Product Version available.
== Comment: #6 - Pridhiviraj Paidipeddi <ppaidipe at in.ibm.com> - 2018-02-26 11:10:23 ==
Attached patch will fix "lsmcode -A" empty output issue.
[root at ltc-wspoon2 lsvpd]# ./lsmcode -A
enP5p1s0f0 !.5719-v1.43 NCSI v1.3.12.0
enP5p1s0f1 !.5719-v1.43 NCSI v1.3.12.0
sg0 0:0:0:0 sda !ST1000NX0313.BE35
sg1 1:0:0:0 sdb !ST1000NX0313.BE35
[root at ltc-wspoon2 lsvpd]# ./lsmcode -v
lsmcode 1.7.8
[root at ltc-wspoon2 lsvpd]# ./lsmcode
Version of System Firmware :
Product Name : OpenPOWER Firmware
Product Extra : occ-fce2d94
Product Extra : skiboot-v5.9-238-g43eb8bbcbaa5
Product Extra : buildroot-2017.11-5-g65679be
Product Extra : capp-ucode-p9-dd2-v2
Product Extra : petitboot-v1.6.6-p91994c3
Product Extra : sbe-86ae83c
Product Extra : hostboot-binaries-8b5adb5
Product Extra : machine-xml-4374657
Product Extra : hostboot-52ca812
Product Extra : linux-4.14.13-openpower1-pdb952b4
Tested on a AC922 system where the failure occurs when it is having a
firmware OP920.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1751986/+subscriptions
More information about the foundations-bugs
mailing list