Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 684844

Summary: RHEL6.1_Alpha: loading cxgb4 driver failed on PPC
Product: Red Hat Enterprise Linux 6 Reporter: IBM Bug Proxy <bugproxy>
Component: kernelAssignee: Steve Best <sbest>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.1CC: agospoda, balkov, divy, dledford, ltroan, nhorman, peterm, pjoshi, sbest
Target Milestone: rc   
Target Release: 6.1   
Hardware: ppc64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-05 18:07:01 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: 687961    

Description IBM Bug Proxy 2011-03-14 16:11:57 UTC
After system boot up, cxgb4 interfaces do not show up. In dmesg, we saw the following errors:

Chelsio T4 Network Driver - version 1.3.0-ko
cxgb4 0001:01:00.4: Using 32-bit DMA via iommu
cxgb4 0001:01:00.4: Using 32-bit DMA via iommu
cxgb4 0001:01:00.4: corrupted VPD EEPROM, actual csum 101
cxgb4: probe of 0001:01:00.4 failed with error -22
 
---uname output---
2.6.32-118.el6.ppc64
 
---Steps to Reproduce---
 After system boot up, you can see above error messages in /var/log/messages.
 
---Kernel - Network Drivers Component Data--- 
Stack trace output:
 no
 
Oops output:
 no
 
System Dump Info:
  The system is not configured to capture a system dump.
 
Here is the rhel6.1 feature bug to enable this new hardware in RHEL6.1.

https://bugzilla.redhat.com/show_bug.cgi?id=647006

Please provide the following -
1.Server architecture(s) (please list all effected) (x86/POWER6/Z/etc.):
Power 7

2.Server type (9117-MMA/HS20/s390/etc.): 
Jupiter

3.General component (desktop/kernel/base OS/dev tools/etc.):
kernel

4.Other components involved (ixgbe/java/emulex/etc.):
no

5.Does the server have the latest GA firmware? 
yes

6.Has the problem been shown to occur on more than one system? 
yes

7.Is a tested patch available? 
no

If yes to the above, has it been approved upstream? 
n/a

8.What is the latest official Red Hat build on which this bug has been
seen?
RHEL 6.1 Alpha

Comment 2 Divy Le Ray 2011-03-15 07:26:07 UTC
As it stands today, https://bugzilla.redhat.com/attachment.cgi?id=467853 is the only cxgb4 patch pulled in RHEL6.1. But it is not the problem here. The problem is that the cxgb4 driver included in 2.6.32-118.el6 does not match the driver submitted originally by Chelsio.

Chelsio's cxgb4 original update included a file named cxgb4_compat.h. This file was implementing backports of kernel routines used upstream, but not present in RHEL6.0. For example, it was backporting the kernel routines implementing VPD management - pci_vpd_lrdt_size(), pci_vpd_info_field_size(), pci_vpd_find_info_keyword().

Now cxgb4_compat.h was moved out of the the cxgb4 code in 2.6.32-118.el6.
And the upstream commits using these backported kernel routines were also filtered out of the cxgb4 code. For example, in this case, this upstream commit has been dropped:
  commit 226ec5fd6746c0ef2e9efb583b44d01264ea0bb5
  Author: Dimitris Michailidis <dm>
  Date:   Tue Apr 27 12:24:15 2010 +0000

      cxgb4: parse the VPD instead of relying on a static VPD layout

This is the root cause of this particular bug.

In the presetn case, it looks like these VPD management routines have been backported from upstream to RHEL6.1-alpha1 core code and are in use by 2 drivers, tg3 and bnx2. So cxgb4 commit 226ec5fd6746c0ef2e9efb583b44d01264ea0bb5 can be pulled.

We are in the process of identifying the missing upstream patches out of the original submission.

Comment 3 IBM Bug Proxy 2011-03-15 20:40:51 UTC
------- Comment From tpnoonan.com 2011-03-15 16:38 EDT-------
please consider as exception for rhel6.1

Comment 4 Neil Horman 2011-03-25 17:41:33 UTC
https://brewweb.devel.redhat.com/taskinfo?taskID=3205274

That build should have the vpd fix for you steve, thanks!

Comment 5 Steve Best 2011-04-05 18:07:01 UTC
changes are coming in for this with bz 647006

*** This bug has been marked as a duplicate of bug 647006 ***