STC830: pNV is reporting DASD FRU and PN swapped

Bug #1433900 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iprutils (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Triaged
High
Adam Conrad
Utopic
Won't Fix
Undecided
Unassigned
Vivid
Triaged
High
Adam Conrad

Bug Description

== Comment: #0 - Application Cdeadmin <email address hidden> - 2015-03-05 11:05:05 ==
==== State: Open by: bellivea on 05 March 2015 09:57:20 ====

System info for the Linux system

       ver 1.5.4.3 - OS, HTX, Firmware and Machine details

                           OS: GNU/Linux
                   OS Version: Ubuntu 14.04.2 LTS \n \l
               Kernel Version: 3.16.0-30-generic
                  HTX Version: htxubuntu-322
                    Host Name: clint2p01
            Machine Serial No: 101164A
           Machine Type/Model: 8247-22L
=====================================================================================
Problem:
Looking at the data being displayed by pNV (iprconfig) and displayed by AIX, the PN and SN are swapped.

From Linux:
Device Resource Path: 00-08:

                           Disk Unit Hardware Resource Information Details

Manufacturer . . . . . . . . . . . . . . : IBM
Product ID . . . . . . . . . . . . . . . : AL14SEB060P
Firmware Version . . . . . . . . . . . . : 35364137 (56A7)
Serial Number. . . . . . . . . . . . . . : SRN4MGWJ
Capacity . . . . . . . . . . . . . . . . : 571.26 GB

Physical location
PCI Address. . . . . . . . . . . . . . . : 0001:08:00.0
Resource Path. . . . . . . . . . . . . . : 00-08
SCSI Host Number . . . . . . . . . . . . : 0
SCSI Channel . . . . . . . . . . . . . . : 0
SCSI Id. . . . . . . . . . . . . . . . . : 9
SCSI Lun . . . . . . . . . . . . . . . . : 0
Platform Location. . . . . . . . . . . . : U78CB.001.WZS0059-P2-D7

Extended Details
FRU Number . . . . . . . . . . . . . . . : 00LY259 <========This is the PN
EC Level . . . . . . . . . . . . . . . . : N46243
Part Number. . . . . . . . . . . . . . . : 00E9959 <=========this is the FRU number
Device Specific (Z0) . . . . . . . . . . : 000006329F001002
Device Specific (Z1) . . . . . . . . . . : 56A756A756A7
Device Specific (Z2) . . . . . . . . . . : 0001
Device Specific (Z3) . . . . . . . . . . : 14329
Device Specific (Z4) . . . . . . . . . . :
Device Specific (Z5) . . . . . . . . . . : 22
Device Specific (Z6) . . . . . . . . . . : N46243

When pulling with AIX (different drive)
Manufacturer................IBM
        Machine Type and Model......AL14SEB060P
        FRU Number..................00E9959 <===================FRU
        ROS Level and ID............35364137
        Serial Number...............SRN4MH2A
        EC Level....................N46243
        Part Number.................00LY259 <====================PN
        Device Specific.(Z0)........000006329F001002
        Device Specific.(Z1)........56A756A756A7
        Device Specific.(Z2)........0001
        Device Specific.(Z3)........14329
        Device Specific.(Z4)........
        Device Specific.(Z5)........22
        Device Specific.(Z6)........N46243
        Hardware Location Code......U5887.001.Z02k018-P1-D10

== Comment: #1 - Brian J. King <email address hidden> - 2015-03-06 10:21:07 ==
Daniel, I just pushed a fix for this upstream:

http://sourceforge.net/p/iprdd/iprutils/ci/33e6bde7fafd6dc0a166acd63446b875b42022c4/

Can you get a package built for system test and then make sure this gets pushed into the next iprutils update?

== Comment: #2 - Daniel Battaiola Kreling <email address hidden> - 2015-03-16 16:17:41 ==
From iprutils spec file's changelog:

133 %changelog
134 * Fri Mar 13 2015 Brian King <email address hidden> 2.4.6
135 - Build with autotools
136 - Fix bug causing iprutils daemons to die
137 - Add easy tier prerequisite checking
138 - Fixup FRU and PN swap in iprconfig
139 - Add dump iprconfig CLI command, including a sosreport plugin
140 - Improve device attribute binding algorithm for new adapters
141 - Misc fixes

Line # 138 shows patch successfully commited to iprutils version 2.4.6 (line 134).

Commit ID is 33e6bde7fafd6dc0a166acd63446b875b42022c4 from March, 6th 2015.

Closing the bug.

Thanks!

== Comment: #3 - Brian J. King <email address hidden> - 2015-03-18 09:53:16 ==
This can't be closed until the fix goes into a distro release, in this case Ubuntu 14.04.X

Related branches

bugproxy (bugproxy)
tags: added: architecture-ppc64 bugnameltc-122399 severity-high targetmilestone-inin14042
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1433900/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-03-19 08:30 EDT-------
== Comment: #0 - Application Cdeadmin <email address hidden> - 2015-03-05 11:05:05 ====== State: Verify by: cde00 on 19 March 2015 03:30:25 ====

Brian King (brking)
affects: ubuntu → iprutils (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-03-31 16:35 EDT-------
==== State: Verify by: somyak on 31 March 2015 11:33:36 ====

I tried to verify this today, without success. It looks like the fields are still swapped. This was originally discovered on 14.04.2, so that is where I tested this.
Could it be that the fix went to 15.04 only?

Details:
root@clint2p01:~# ver
cat: /proc/device-tree/openprom/model: No such file or directory
ver 1.5.4.3 - OS, HTX, Firmware and Machine details

OS: GNU/Linux
OS Version: Ubuntu 14.04.2 LTS &#10; \l
Kernel Version: 3.16.0-30-generic
HTX Version: htxubuntu-324
Host Name: clint2p01
Machine Serial No: 101164A
Machine Type/Model: 8247-22L
root@clint2p01:~#

I did the following to update the lpar to the latest:
apt-get update
apt-get upgrade
apt-get dist-upgrade

As a check:
apt-get install iprutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
iprutils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@clint2p01:~# iprutils
iprutils: command not found
root@clint2p01:~# iprconfig

From iprutils:
Disk Unit Hardware Resource Information Details

Manufacturer . . . . . . . . . . . . . . : IBM
Product ID . . . . . . . . . . . . . . . : AL14SEB060P
Firmware Version . . . . . . . . . . . . : 35364137 (56A7)
Serial Number. . . . . . . . . . . . . . : SRN4MGPA
Capacity . . . . . . . . . . . . . . . . : 571.26 GB

Physical location
PCI Address. . . . . . . . . . . . . . . : 0001:08:00.0
Resource Path. . . . . . . . . . . . . . : 00-08
SCSI Host Number . . . . . . . . . . . . : 0
SCSI Channel . . . . . . . . . . . . . . : 0
SCSI Id. . . . . . . . . . . . . . . . . : 10
SCSI Lun . . . . . . . . . . . . . . . . : 0
Platform Location. . . . . . . . . . . . : U78CB.001.WZS0059-P2-D7

Disk Unit Hardware Resource Information Details

FRU Number . . . . . . . . . . . . . . . : 00LY259
EC Level . . . . . . . . . . . . . . . . : N46243
Part Number. . . . . . . . . . . . . . . : 00E9959
Device Specific (Z0) . . . . . . . . . . : 000006329F001002
Device Specific (Z1) . . . . . . . . . . : 56A756A756A7
Device Specific (Z2) . . . . . . . . . . : 0001
Device Specific (Z3) . . . . . . . . . . : 14329
Device Specific (Z4) . . . . . . . . . . :
Device Specific (Z5) . . . . . . . . . . : 22
Device Specific (Z6) . . . . . . . . . . : N46243

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-03-31 20:05 EDT-------
==== State: Working by: bellivea on 31 March 2015 15:00:02 ====

#=#=# 2015-03-31 14:59:59 (CDT) #=#=#
Action = [rejectfix]

Fix is not in h release yet
#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-05-07 20:52 EDT-------
Hello Canonical -

We request the following upstream patch to resolve this issue:

http://sourceforge.net/p/iprdd/iprutils/ci/33e6bde7fafd6dc0a166acd63446b875b42022c4/

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package iprutils - 2.4.7-1

---------------
iprutils (2.4.7-1) unstable; urgency=medium

  * New upstream release (LP: #1459697):
    - Fixup FRU and PN swap in iprconfig (LP: #1433900).
  * Update debian/watch for new upstream tarball naming scheme.
  * Handle new autotools-based build system.
  * Use dh-autoreconf.
  * Restrict math/ncurses linking to iprconfig.
  * Move libipr to a private directory.
  * Remove several hardcoded paths from iprsos.
  * Fix path to iprconfig in iprha init script, working around a bug in
    "make dist".
  * Policy version 3.9.6: no changes required.

 -- Colin Watson <email address hidden> Mon, 01 Jun 2015 14:55:27 +0100

Changed in iprutils (Ubuntu):
status: New → Fix Released
bugproxy (bugproxy)
tags: added: architecture-ppc64le
removed: architecture-ppc64
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-09-08 14:29 EDT-------
This fix is not available for 14.04.3. Canonical, can you apply the fix also to the iprutils Trusty package?

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-10-07 14:36 EDT-------
Canonical,

The following patch was applied to iprutils-2.4.7 for Ubuntu 15.10.

http://sourceforge.net/p/iprdd/iprutils/ci/33e6bde7fafd6dc0a166acd63446b875b42022c4/

We'd like to also have it included in iprutils-2.4.5 in Ubuntu 14.04.3. The upstream patch will apply cleanly.

------- Comment From <email address hidden> 2015-10-07 14:40 EDT-------

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-10-29 13:38 EDT-------
Any updates on this from Ubuntu team? We'd like to have it backported to 14.04.3.

Revision history for this message
Steve Langasek (vorlon) wrote :

Ubuntu 14.10 is EOL; closing out the related task.

Changed in iprutils (Ubuntu Utopic):
status: New → Won't Fix
Changed in iprutils (Ubuntu Trusty):
importance: Undecided → Medium
importance: Medium → High
status: New → Triaged
Changed in iprutils (Ubuntu Vivid):
status: New → Triaged
importance: Undecided → High
Changed in iprutils (Ubuntu Trusty):
assignee: nobody → Adam Conrad (adconrad)
Changed in iprutils (Ubuntu Vivid):
assignee: nobody → Adam Conrad (adconrad)
Changed in iprutils (Ubuntu Trusty):
milestone: none → ubuntu-14.04.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.