Bug 235277 - mkinitrd needs to pull in MODULE_FIRMWARE firmware
mkinitrd needs to pull in MODULE_FIRMWARE firmware
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mkinitrd (Show other bugs)
5.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Jones
James Laska
:
: 380641 (view as bug list)
Depends On:
Blocks: 184773
  Show dependency treegraph
 
Reported: 2007-04-04 15:38 EDT by Jon Masters
Modified: 2013-09-02 02:20 EDT (History)
5 users (show)

See Also:
Fixed In Version: RHBA-2008-0437
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-21 11:26:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Fix for uninitialized flag in nash's hotplug.c (459 bytes, patch)
2008-01-18 14:49 EST, Mike Snitzer
no flags Details | Diff

  None (edit)
Description Jon Masters 2007-04-04 15:38:03 EDT
We need the MODULE_FIRMWARE enablers already added to Fedora mkinitrd to be in
5.1 too so firmware updating can work.

Jon.
Comment 1 RHEL Product and Program Management 2007-10-16 00:02:46 EDT
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 Mike Snitzer 2007-12-11 14:20:46 EST
Any pointers to a mkinitrd package that allows RHEL5U1 firmware
loading/updating?  Stock RHEL5U1 doesn't support it.
Comment 3 Jon Masters 2007-12-11 15:56:51 EST
I believe this is in RHEL5.1. In order for this to work, your module needs to
make use of the MODULE_FIRMWARE macro, which it might not yet. What's the module?

Jon.
Comment 4 Mike Snitzer 2007-12-11 20:13:11 EST
The qla2xxx driver from 2.6.19.7.

The following MODULE_FIRMWARE instances exist:
./qla_os.c:MODULE_FIRMWARE(FW_FILE_ISP21XX);
./qla_os.c:MODULE_FIRMWARE(FW_FILE_ISP22XX);
./qla_os.c:MODULE_FIRMWARE(FW_FILE_ISP2300);
./qla_os.c:MODULE_FIRMWARE(FW_FILE_ISP2322);
./qla_os.c:MODULE_FIRMWARE(FW_FILE_ISP24XX);

And "modinfo -F firmware qla2xxx" shows:
ql2400_fw.bin
ql2322_fw.bin
ql2300_fw.bin
ql2200_fw.bin
ql2100_fw.bin

I can also see mkinitrd copying the firmware to the initrd:
`/lib/firmware/ql2300_fw.bin' -> `/tmp/initrd.we3894/lib/firmware/ql2300_fw.bin'

But yet when I load that initrd it still doesn't load/find the firmware.  And
the qla2xxx driver ultimately fails to load.

Could this be at all related to bug#378651 ?
Comment 5 Mike Snitzer 2008-01-18 14:49:54 EST
Created attachment 292189 [details]
Fix for uninitialized flag in nash's hotplug.c

To respond to my comment#4, FC8's bug#378651 is the issue here.  RHEL5U1 also
does NOT properly load firmware for the qla2xxx.

The attached patch fixes it for RHEL5U1 (as verified with a 2.6.22.16 kernel).

I really need RHEL5U2 to include this mkinitrd fix...
Comment 7 Peter Jones 2008-01-31 18:15:45 EST
Fixed in mkinitrd-5.1.19.6-21 .
Comment 12 errata-xmlrpc 2008-05-21 11:26:14 EDT
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 the 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/RHBA-2008-0437.html
Comment 13 Brian Lane 2012-05-15 14:13:14 EDT
*** Bug 380641 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.