Bug 752244

Summary: similar output for different options in lsmcode on F16 PPC64
Product: [Fedora] Fedora Reporter: IBM Bug Proxy <bugproxy>
Component: lsvpdAssignee: emunson
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: emunson, jkachuck, jskala, manuel.wolfshant, wgomerin
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-09 08:15:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description IBM Bug Proxy 2011-11-08 22:40:26 UTC
While testing lsmcode noticed different options generating similar information on F16 PPC64 build Fedora-20111017-ppc64. For "lsmcode -r" and 'lsmcode -c" I found similar output.

[root@elm17f131 ~]# lsmcode -c
Version of System Firmware is AL720_101 (t) AL720_073 (p) AL720_101 (t)

[root@elm17f131 ~]# lsmcode -r
Version of System Firmware is AL720_101 (t) AL720_073 (p) AL720_101 (t)

[root@elm17f131 ~]# lsmcode 
Version of System Firmware is AL720_101 (t) AL720_073 (p) AL720_101 (t)

--- uname -a ---
[root@elm17f131 ~]# uname -a
Linux elm17f131.beaverton.ibm.com 3.1.0-0.rc9.git0.2.fc16.kh.ppc64 #1 SMP Wed Oct 12 22:41:01 UTC 2011 ppc64 ppc64 ppc64 GNU/Linux

[root@elm17f131 ~]# rpm -qi ppc64-utils
Name        : ppc64-utils
Version     : 0.14
Release     : 9.fc15
Architecture: ppc64
Install Date: Wednesday 19 October 2011 03:11:35 PM EDT
Group       : System Environment/Base
Size        : 0
License     : GPLv2
Signature   : (none)
Source RPM  : ppc64-utils-0.14-9.fc15.src.rpm
Build Date  : Friday 04 March 2011 04:46:23 AM EST
Build Host  : ppc-comm02
Relocations : (not relocatable)
Packager    : Koji
Vendor      : Koji
Summary     : Linux/PPC64 specific utilities
Description :
A collection of utilities for Linux on PPC64 platforms.

These options are confusing, and should be removed from the man pages. This is also discussed for RHEL 5.7 in RH Bug 739706.

Comment 1 IBM Bug Proxy 2012-05-07 06:10:34 UTC
------- Comment From maknayak.com 2012-05-07 06:06 EDT-------
Hi All,
Verified this on Fedora 17 alpha PPC64 , and  there is no "-r" and "-c" options available for lsmcode.
Looks like It is fixed now wit F17 alpha PPC64.

Here is the output :

[root@c57f1ju0203 ~]# lsmcode -r
Usage: /usr/sbin/lsmcode [options]
options:
--help,       -h     print this usage message
--debug,      -D     print extra information about devices (sysfs locations, etc)
--version,    -v     print the version of vpd tools
--All,        -A     Display microcode level for as many devices as possible.
this implies -r.
--device=DEV, -dDEV  Only display microcode level for specified device (DEV).
--path=DB,    -pDB   DB is the full path to VPD db file, used instead of default.
--zip=GZ,     -zGZ   File GZ contains database archive (overrides -d).
[root@c57f1ju0203 ~]# lsmcode
Version of System Firmware is ZL730_036 (t) ZL730_036 (p) ZL730_036 (t)

[root@c57f1ju0203 ~]# uname -a
Linux c57f1ju0203.ppd.pok.ibm.com 3.3.0-1.fc17.ppc64 #1 SMP Wed Mar 21 18:52:34 MST 2012 ppc64 ppc64 ppc64 GNU/Linux

Thanks...
Manas