build initrd for qla2xxx firmware
Mark Haney
mhaney at ercbroadband.org
Tue May 27 16:53:54 UTC 2008
Rick Stevens wrote:
> Mark Haney wrote:
>> Mark Haney wrote:
>>> Rick Stevens wrote:
>>>> Mark Haney wrote:
>>>>> Rick Stevens wrote:
>>>>>> Mark Haney wrote:
>>>>>>> Okay, I'm still unable to build a correct initrd to include the
>>>>>>> QLogic 2300 FC card I have in a couple of machines. I've tried
>>>>>>> several methods (from scripts to cracking open the existing
>>>>>>> initrd) and nothing seems to work. The firmware IS on the system
>>>>>>> (via an RPM) and the qla2xxx module gets loaded, but I cannot get
>>>>>>> it to load on boot. initrd complains about the firmware not
>>>>>>> being available.
>>>>>>>
>>>>>>> Surely others out there have these cards in use still and keep
>>>>>>> there systems up to date, so what am I doing wrong? Can someone
>>>>>>> walk me through this. I have one system stuck at FC6 because the
>>>>>>> newer kernel don't include the firmware and I can't upgrade until
>>>>>>> I can get this resolved.
>>>>>>
>>>>>> Are you sure the firmware is in /lib/firmware? Check that directory
>>>>>> and verify you have "ql2300_fw.bin" or "ql2322_fw.bin" there. Don't
>>>>>> necessarily rely on the fact you have the RPM installed...something
>>>>>> may have wiped the files.
>>>>>
>>
>>
>> And this is output from the cracked open initrd I built this morning:
>>
>> cat ../initrd-2.6.24.7-92.fc8.MEH.img | cpio -iv
>> sysroot
>> lib64
>>
>> [snip]
>>
>> sbin
>> lib
>> lib/dm-zero.ko
>> lib/pata_amd.ko
>> lib/sd_mod.ko
>> lib/shpchp.ko
>> lib/dm-mirror.ko
>> lib/mbcache.ko
>> lib/ohci-hcd.ko
>> lib/jbd.ko
>> lib/firmware
>> lib/firmware/ql2100_fw.bin
>> lib/firmware/ql2400_fw.bin
>> lib/firmware/ql2322_fw.bin
>> lib/firmware/ql2200_fw.bin
>> lib/firmware/ql2300_fw.bin
>> lib/scsi_tgt.ko
>> lib/sata_sil.ko
>> lib/ext3.ko
>> lib/dm-snapshot.ko
>> lib/scsi_wait_scan.ko
>> lib/uhci-hcd.ko
>> lib/dm-mod.ko
>> lib/libata.ko
>> lib/qla2xxx.ko
>> lib/ehci-hcd.ko
>> lib/scsi_mod.ko
>> lib/scsi_transport_fc.ko
>> bin
>>
>> [snip]
>>
>> So you can see, the firmware IS included in this initrd image. But
>> this is what I see when I boot with this image:
>>
>>
>> QLogic Fibre Channel HBA Driver
>> ACPI: PCI Interrupt 0000:02:07.0[A] -> GSI 26 (level, low) -> IRQ 26
>> qla2xxx 0000:02:07.0: Found an ISP2300, irq 26, iobase 0xffffc2000063a000
>> qla2xxx 0000:02:07.0: Configuring PCI space...
>> qla2xxx 0000:02:07.0: Configure NVRAM parameters...
>> qla2xxx 0000:02:07.0: Verifying loaded RISC code...
>> qla2xxx 0000:02:07.0: Firmware image unavailable.
>> qla2xxx 0000:02:07.0: Firmware images can be retrieved from:
>> ftp://ftp.qlogic.com/outgoing/linux/firmware/.
>> qla2xxx 0000:02:07.0: Failed to initialize adapter
>>
>>
>> I swear I do NOT understand this problem. It started with a kernel
>> update midway through the FC6 cycle and has continued on.
>
> Oh, hell, I remember now. The new firmware stuff uses initramfs.
Okay, and that means what exactly? How do I get it to work?
--
Libenter homines id quod volunt credunt -- Caius Julius Caesar
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
Call (866) ERC-7110 for after hours support
More information about the fedora-list
mailing list