Bug 678429

Summary: [RHEL6.1] [Kernel] When booting previous kernel we are missing the firmware
Product: Red Hat Enterprise Linux 6 Reporter: Jeff Burke <jburke>
Component: kernelAssignee: John Feeney <jfeeney>
Status: CLOSED ERRATA QA Contact: Hangbin Liu <haliu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: arozansk, chris.petty, dzickus, haliu, jfeeney, jstancek, lzheng, mschmidt, mzywusko, pbunyan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-2.6.32-118.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 696365 (view as bug list) Environment:
Last Closed: 2011-05-19 12:43: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:
Embargoed:
Bug Depends On:    
Bug Blocks: 676037, 696365    

Description Jeff Burke 2011-02-17 21:58:19 UTC
Description of problem:
 While trying to debug another issue we ran into a problem with firmware missing. Installing the latest kernel-firmware package install a newer
versions of the bnx2 firmware that the GA driver can't use.

Version-Release number of selected component (if applicable):
 2.6.32-117.el6 

How reproducible:
 Always with a system that uses bnx2 

Steps to Reproduce:
1. Install RHEL6 GA on a system with bnx2 driver
2. Install the 2.6.32-117.el6 kernel and kernel-firmware package
3. Reboot into the original kernel, You will not have eth0
  
Actual results:

Using a system that uses the bnx2 driver

-----<snip>-----
Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.0.8-j15 (Feb 15, 2010) 
bnx2 0000:06:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 
bnx2 0000:06:00.0: firmware: requesting bnx2/bnx2-mips-06-5.0.0.j6.fw 
bnx2: Can't load firmware file "bnx2/bnx2-mips-06-5.0.0.j6.fw" 
bnx2 0000:06:00.0: PCI INT A disabled 
bnx2: probe of 0000:06:00.0 failed with error -2 
bnx2 0000:08:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 
bnx2 0000:08:00.0: firmware: requesting bnx2/bnx2-mips-06-5.0.0.j6.fw 
bnx2: Can't load firmware file "bnx2/bnx2-mips-06-5.0.0.j6.fw" 
bnx2 0000:08:00.0: PCI INT A disabled 
bnx2: probe of 0000:08:00.0 failed with error -2 
-----</snip>-----

When networking tries to start

-----<snip>-----
Bringing up interface eth0:  Device eth0 does not seem to be present, delaying initialization. [FAILED]  
-----</snip>-----

When kdump service tries to start

-----<snip>-----
Rebuilding /boot/initrd-2.6.32-71.el6.x86_64kdump.img 
cp: cannot stat `/lib/firmware/bnx2/bnx2-rv2p-09ax-5.0.0.j10.fw': No such file or directory 
cp: cannot stat `/lib/firmware/bnx2/bnx2-rv2p-09-5.0.0.j10.fw': No such file or directory 
cp: cannot stat `/lib/firmware/bnx2/bnx2-mips-09-5.0.0.j15.fw': No such file or directory 
cp: cannot stat `/lib/firmware/bnx2/bnx2-rv2p-06-5.0.0.j3.fw': No such file or directory 
cp: cannot stat `/lib/firmware/bnx2/bnx2-mips-06-5.0.0.j6.fw': No such file or directory 
-----</snip>-----


Expected results:
We should always to be able to boot the previous kernels

Additional info:

Comment 1 RHEL Program Management 2011-02-18 02:40:27 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 2 John Feeney 2011-02-18 16:08:33 UTC
Posted a patch to rhkernel-list to return the 5 firmware files found to be missing.

Comment 3 Aristeu Rozanski 2011-02-23 18:36:47 UTC
Patch(es) available on kernel-2.6.32-118.el6

Comment 5 Neil Horman 2011-03-03 14:24:46 UTC
*** Bug 681723 has been marked as a duplicate of this bug. ***

Comment 16 Liang Zheng 2011-04-19 06:19:14 UTC
Verified on kernel-2.6.32-134.el6
[root@dell-pe1950-01 ~]# dmesg | grep bnx2
Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.0.8-j15 (Feb 15, 2010)
bnx2 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
bnx2 0000:05:00.0: firmware: requesting bnx2/bnx2-mips-06-5.0.0.j6.fw
bnx2 0000:05:00.0: firmware: requesting bnx2/bnx2-rv2p-06-5.0.0.j3.fw
bnx2 0000:09:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
bnx2 0000:09:00.0: firmware: requesting bnx2/bnx2-mips-06-5.0.0.j6.fw
bnx2 0000:09:00.0: firmware: requesting bnx2/bnx2-rv2p-06-5.0.0.j3.fw
bnx2 0000:05:00.0: irq 97 for MSI/MSI-X
bnx2: eth0: using MSI
bnx2: eth0 NIC Copper Link is Up, 1000 Mbps full duplex

Comment 17 errata-xmlrpc 2011-05-19 12:43:34 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0542.html

Comment 18 chris.petty 2011-06-10 14:25:30 UTC
This issue is still persistent in kernel version: 2.6.32-131.2.1.el6

I have the updated kernel-firmware package installed also.

The only way i've found to get around the issue is compiling bnx2 from Broadcom's source rpm.


With the most recent kernel update the bnx2x_compat.h has incompatible definitions with the broadcom source.  We had to form a patch to compile the drivers properly to get up and running.

I've tried this with and without port bonding with the same result.

The errors thrown during bootup are:
bnx2: Can't load firmware file "bnx2/bnx2-mips-06-6.2.1.fw"
bnx2 0000:05:00.0 : PCI INT A disabled
bnx2 probe of 0000:09:00.0 failed with error -2
bnx2 0000:09:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
bnx2 0000:09:00.0: firmware: requesting bnx2/bnx2-mips-06-6.2.1.fw

Once the drivers are conpiled from source things work properly.

Comment 19 John Feeney 2011-06-10 16:26:54 UTC
Chris,

Unfortunately, this bugzilla is closed. I would suggest that you create a new bugzilla so the fix can be applied to EUS stream you referenced in the previous comment (2.6.32-131.2.1.el6). 
  John Feeney