Bug 684646

Summary: vpdupdate errors in install.log.syslog
Product: Red Hat Enterprise Linux 6 Reporter: IBM Bug Proxy <bugproxy>
Component: lsvpdAssignee: Jiri Skala <jskala>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: aglotov, asersen, azelinka, balkov, jjarvis, jkachuck, jwest, ovasik, rvokal, syeghiay
Target Milestone: alphaKeywords: OtherQA
Target Release: 6.3   
Hardware: ppc64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:44:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 711169, 756082, 804141    
Attachments:
Description Flags
sosreport.md5sum
none
sosreport
none
Patch to fix the bogus entries in lsvpd none

Description IBM Bug Proxy 2011-03-14 05:41:10 UTC
=Comment: #0=================================================
DIVYA PRAKASH <divya.vikas.com> - 
---Problem Description---
After RHEL6.1-Alpha installation, on the first reboot,examining the install.log.syslog file yields this:
<13>Mar  3 13:30:43 lsvpd[2780]: Vpdupdate: Constructing full devices database
<11>Mar  3 13:30:43 lsvpd[2780]: pci.ids file not found, continuing but there will be a lot of
missing information
<11>Mar  3 13:30:43 lsvpd[2780]: usb.ids file not found, continuing but there will be a lot of
missing information
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000003/host0
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000003/host0/target0:0:1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000004/host1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000004/host1/target1:0:1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000005/host2
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000005/host2/target2:0:1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000006/host3
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000006/host3/target3:0:1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000007/host4
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000007/host4/target4:0:1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000008/host5
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000008/host5/target5:0:1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000009/host6
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/30000009/host6/target6:0:1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/3000000a/host7
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/3000000a/host7/target7:0:1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/3000000b/host8
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/3000000b/host8/target8:0:1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/3000000c/host9
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/3000000c/host9/target9:0:1
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/3000000d/host10
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor code for device:
/sys/devices/vio/3000000d/host10/target10:0:1

 
Contact Information = Divya Vikas/divya.vikas.com,Subrata/subrata.modak1.in.ibm.com 
 
---uname output---
uname -a Linux jabulan-lp4.austin.ibm.com 2.6.32-118.el6.ppc64 #1 SMP Tue Feb 22 12:14:22 EST 2011
ppc64 ppc64 ppc64 GNU/Linux
 
Machine Type = 9117-MMB 
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
 Install RHEL6.1-Alpha , on the first reboot , check the install.log.syslog for the failed msges.
 
---RAS Component Data--- 
Userspace tool common name: vpdupdate 
 
The userspace tool has the following bit modes: both 

Userspace rpm: lsvpd/libvpd 

Userspace tool obtained from project website:  na 
 
=Comment: #8=================================================
DIVYA PRAKASH <divya.vikas.com> - 

sosreport.md5sum


=Comment: #9=================================================
DIVYA PRAKASH <divya.vikas.com> - 

sosreport

comment #10
==============================================================
> Hi Divya,
> 
> can you please attach the sos report ?
> 
> And fill in the below template
> 
> Server architecture(s) (please list all effected) (x86/POWER6/Z/etc.): PPC64
> Server type (9117-MMA/HS20/s390/etc.): 9117-MMB
> General component (desktop/kernel/base OS/dev tools/etc.):RAS vpdupdate
> Installation/Anaconda 
> Other components involved (ixgbe/java/emulex/etc.): N/A
> Does the server have the latest GA firmware? Yes
> Has the problem been shown to occur on more than one system? Yes
> Is a tested patch available? No
> If yes to the above, has it been approved upstream? 
> What is the latest official Red Hat build on which this bug has been seen?
> RHEL6.1alpha
> 
> thanks,
> Aruna,

Comment 1 IBM Bug Proxy 2011-03-14 05:41:15 UTC
Created attachment 484063 [details]
sosreport.md5sum

Comment 2 IBM Bug Proxy 2011-03-14 05:41:22 UTC
Created attachment 484064 [details]
sosreport

Comment 4 Prarit Bhargava 2011-03-14 13:56:58 UTC
Not sure why this is a ras-utils bug?  Can someone elaborate on why a package that is NOT even installable on ppc is causing errors?

P.

Comment 5 Prarit Bhargava 2011-03-14 13:58:09 UTC
lsvpd seems more likely ...

P.

Comment 6 IBM Bug Proxy 2011-04-05 05:51:58 UTC
------- Comment From arunabal.com 2011-04-05 01:48 EDT-------
[root@ltc-test-l4e-rhel ~]# which vpdupdate
/usr/sbin/vpdupdate
[root@ltc-test-l4e-rhel ~]# rpm -qf /usr/sbin/vpdupdate
lsvpd-1.6.10-0.ppc
The errors are seen for the application on lsvpd and vpupdate, which are part
of IBM's RAS testing hence have marked the Component field in the Bug as RAS.
Hope this answers your question.

Thanks
Divya

Comment 7 Prarit Bhargava 2011-04-05 12:13:03 UTC
(In reply to comment #6)
> ------- Comment From arunabal.com 2011-04-05 01:48 EDT-------
> [root@ltc-test-l4e-rhel ~]# which vpdupdate
> /usr/sbin/vpdupdate
> [root@ltc-test-l4e-rhel ~]# rpm -qf /usr/sbin/vpdupdate
> lsvpd-1.6.10-0.ppc
> The errors are seen for the application on lsvpd and vpupdate, which are part
> of IBM's RAS testing hence have marked the Component field in the Bug as RAS.
> Hope this answers your question.
> 

These are NOT *ras-utils* bugs, so please don't file against them.  IMO these may be lsvpd or kernel bugs.

P.

> Thanks
> Divya

Comment 8 IBM Bug Proxy 2011-04-11 12:11:23 UTC
------- Comment From suzuki.com 2011-04-11 08:08 EDT-------
There are two issues/parts to this error message:

1) Missing pci.ids / usb.ids files which causes the message below :

<11>Mar  3 13:30:43 lsvpd[2780]: pci.ids file not found, continuing but there
will be a lot of missing information
<11>Mar  3 13:30:43 lsvpd[2780]: usb.ids file not found, continuing but there
will be a lot of missing information

Those files are provided by hwdata package on RHEL. Those files are used by the vpdupdate to lookup the actual Vendor/Device Id of the device. We could add hwdata as a "Requires" for the lsvpd rpm so, the package gets installed as a dependency. Or we could just ignore the warning, just that additional information will be missing.

2) vpdupdate failing to find the Major/Minor code :
<12>Mar  3 13:30:43 vpdupdate[2780]: vpdupdate: Failed retrieving Major/Minor
code for device: /sys/devices/vio/30000003/host0

The messages appear for the SCSI host/target device entries. The vpdupdate code tries to collect additional information about the SCSI devices, which it shouldn't do for host/target entries. Ideally, it should exclude all such host/target entries.

I will create a patch for this.

Thanks
Suzuki

Comment 9 IBM Bug Proxy 2011-04-14 13:41:27 UTC
Created attachment 492109 [details]
Patch to fix the bogus entries in lsvpd


------- Comment on attachment From suzuki.com 2011-04-14 09:38 EDT-------


This patch fixes the bogus entries in the lsvpd. This is due to the changed layout in the sysfs.

Comment 10 IBM Bug Proxy 2011-04-15 12:21:30 UTC
------- Comment From lnx1138.ibm.com 2011-04-15 08:16 EDT-------
*** Bug 71280 has been marked as a duplicate of this bug. ***

Comment 11 IBM Bug Proxy 2011-04-18 10:12:10 UTC
------- Comment From Subrata Modak subrata.ibm.com 2011-04-18 06:00 EDT-------
Redhat,

Can you please pickup this Patch ?

Regards--
Subrata

Comment 12 John Jarvis 2011-04-18 20:35:12 UTC
This is too late for RHEL 6.1 but will be added to the list for review for 6.2

Comment 13 IBM Bug Proxy 2011-04-21 07:22:22 UTC
------- Comment From Subrata Modak subrata.ibm.com 2011-04-21 03:16 EDT-------
(In reply to comment #33)
> This is too late for RHEL 6.1 but will be added to the list for review for 6.2

Should be fine with us. But kindly consider the inclusion in your Partner 6.2-Alpha it self.

Regards--
Subrata

Comment 14 RHEL Program Management 2011-07-06 00:05:14 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 15 IBM Bug Proxy 2011-09-27 01:30:54 UTC
------- Comment From aruna.ibm.com 2011-04-05 01:48 EDT-------

















------- Comment From divya.vikas.com 2011-09-26 21:29 EDT-------
Issue still exists with RHEL6.2

1. Missing pci.ids / usb.ids  - solved , not seen in RHEL6.2
2. vpdupdate failing to find the Major/Minor code still fails as shown below

[root@ltc-test-l4e ~]# vpdupdate
[root@ltc-test-l4e ~]# cat /var/log/messages
Sep 25 03:47:01 ltc-test-l4e kernel: imklog 4.6.2, log source = /proc/kmsg started.
Sep 25 03:47:01 ltc-test-l4e rsyslogd: [origin software="rsyslogd" swVersion="4.6.2" x-pid="1255" x-info="http://www.rsyslog.com"] (re)start
Sep 25 03:47:03 ltc-test-l4e rhsmd: This system is missing one or more valid entitlement certificates. Please run subscription-manager for more information.
Sep 25 15:06:08 ltc-test-l4e lsvpd[17583]: Vpdupdate: Constructing full devices database
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000002/host0
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000002/host0/target0:0:1
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000003/host1
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000003/host1/target1:0:1
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000004/host2
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000004/host2/target2:0:1
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000005/host3
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000005/host3/target3:0:1
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000006/host4
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000006/host4/target4:0:1
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000007/host5
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000007/host5/target5:0:1
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000008/host6
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000008/host6/target6:0:1
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000009/host7
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/30000009/host7/target7:0:1
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/3000000a/host8
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/3000000a/host8/target8:0:1
Sep 25 15:06:10 ltc-test-l4e vpdupdate[17583]: vpdupdate: Failed retrieving Major/Minor code for device: /sys/devices/vio/3000000c/host9
[root@ltc-test-l4e ~]# date
Sun Sep 25 15:07:00 EDT 2011

rpm -qf /usr/sbin/vpdupdate
lsvpd-1.6.10-3.el6.ppc64

Thanks
Divya

Comment 16 IBM Bug Proxy 2011-09-29 12:35:20 UTC
------- Comment From Subrata Modak subrata.ibm.com 2011-09-29 03:46 EDT-------
Hello RH,

This occurs in Alpha. Are you going to include the PATCH in Beta/SS release ? Let us know your thoughts.

Regards--
Subrata

Comment 18 IBM Bug Proxy 2011-10-10 09:35:13 UTC
------- Comment From Subrata Modak subrata.ibm.com 2011-10-10 05:24 EDT-------
(In reply to comment #38)
> Hello RH,
> This occurs in Alpha. Are you going to include the PATCH in Beta/SS release ?
> Let us know your thoughts.

Hello RH,

Can you please confirm whether you are going to include the Fix in next SS release. This was open from 6.1 onwards and the fix has already been provided to you. However we do not see the fix included in Beta1 also. Kindly take appropriate action.

Regards--
Subrata

Comment 19 Joseph Kachuck 2011-10-10 16:10:33 UTC
Hello,
This is requested for RHEL 6.3. This is also requested for FAST track so it may be released before RHEL 6.3 is released.

Thank You
Joe Kachuck

Comment 29 IBM Bug Proxy 2012-04-30 08:22:05 UTC
------- Comment From iranna.ankad.com 2012-04-30 08:15 EDT-------
(In reply to comment #41)
> Since this is in RH cvs tree, moving to Accepted state

There are 2 issues related to this bug . On RHEL6.3-Alpha1 pls find my observation
1. Missing pci.ids / usb.ids  -  not solved , hwdata package on RHEL isnt added as required for the lsvpd package . Should these messages be ignored or  will be solved ?
2. vpdupdate failing to find the Major/Minor code  - SOLVED

Thanks
Divya

Comment 30 IBM Bug Proxy 2012-05-07 11:01:30 UTC
------- Comment From suzukikp.com 2012-05-07 10:59 EDT-------
(In reply to comment #43)
> (In reply to comment #41)
> > Since this is in RH cvs tree, moving to Accepted state
> There are 2 issues related to this bug . On RHEL6.3-Alpha1 pls find my
> observation
> 1. Missing pci.ids / usb.ids  -  not solved , hwdata package on RHEL isnt
> added as required for the lsvpd package . Should these messages be ignored
> or  will be solved ?
It would be good to have the dependency added as it will help the 'vpdupdate' looking up the PCI vendor/device codes to actual Manufacturer/Device Names.

Thanks
Suzuki

Comment 31 John Jarvis 2012-06-04 14:38:07 UTC
IBM, this is an OtherQA Bugzilla awaiting verification by IBM, please provide feedback ASAP.

Comment 33 errata-xmlrpc 2012-06-20 12:44:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0795.html