[Bug 1751986] [NEW] [LTCTest][OPAL][OP920] lsmcode -A is not showing any output

bugproxy bugproxy at us.ibm.com
Tue Feb 27 04:49:52 UTC 2018


Public bug reported:

== 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(correect 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.

** Affects: lsvpd (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-165131 severity-high targetmilestone-inin1804

** Tags added: architecture-ppc64le bugnameltc-165131 severity-high
targetmilestone-inin1804

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)

** Package changed: ubuntu => lsvpd (Ubuntu)

-- 
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 lsvpd package in Ubuntu:
  New

Bug description:
  == 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(correect 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/+source/lsvpd/+bug/1751986/+subscriptions



More information about the foundations-bugs mailing list