The card that you are using requires that the firmware be loaded every time. Firmware, as you may know, is distinct from the driver that Linux uses to talk to the card ... it is the code that the card runs natively to control its operations and allow the card to communicate properly with (and pass data to) the PC. There are a number of reasons why they would load the firmware each time. I don't know this card or driver at all, so I won't bore you with conjecture, but the end result is that the driver needs to know where to find the firmware so that it can load it in, and get the card up and running. My guess, as to your question about redhat, is that the firmware is simply stored in a different location, or is linked into the driver directly. Again, having no intimate knowledge, I can only suppose. So, as you've properly ascertained, the driver can now get the card up and talking, and all you need now are some drives to have some real fun :). Hope that this helps, and good luck. Lee On 7/11/06, Mike Leo <mleo963@yahoo.com> wrote:
well, now can someone explain why putting a bin file in /lib/firmware i now get the following after a insmod qla2xxx:
QLogic Fibre Channel HBA Driver qla2xxx 0000:00:01.0: Found an ISP2312, irq 9, iobase 0xf8aa6000 qla2xxx 0000:00:01.0: Configuring PCI space... qla2xxx 0000:00:01.0: Configure NVRAM parameters... qla2xxx 0000:00:01.0: Verifying loaded RISC code... qla2xxx 0000:00:01.0: Waiting for LIP to complete... qla2xxx 0000:00:01.0: LOOP UP detected (2 Gbps). qla2xxx 0000:00:01.0: Topology - (F_Port), Host Loop address 0xffff scsi6 : qla2xxx qla2xxx 0000:00:01.0: QLogic Fibre Channel HBA Driver: 8.01.04-k QLogic QLA2340 - 133MHz PCI-X to 2Gb FC, Single Channel ISP2312: PCI (33 MHz) @ 0000:00:01.0 hdma-, host#=6, fw=3.03.20 IPX
My redhat servers don't even have a /lib/firmware directory...is this a debian thing?
Seems by simply putting a qla2300_fw.bin file in /lib/firmware fixed my problem.
I have yet to get actual SAN disks, but at least the card came up this time.
Also, what is a KCONFIG entry?
--- John Stoffel <john@stoffel.org> wrote:
Mike> good feedback...thanks Mike> the entries in dmesg show
Mike> QLogic Fibre Channel HBA Driver Mike> qla2xxx 0000:00:01.0: Found an ISP2312, irq 9, iobase 0xf8aa6000 Mike> qla2xxx 0000:00:01.0: Configuring PCI space... Mike> qla2xxx 0000:00:01.0: Configure NVRAM parameters... Mike> qla2xxx 0000:00:01.0: Verifying loaded RISC code... Mike> qla2xxx 0000:00:01.0: Firmware image unavailable. Mike> qla2xxx 0000:00:01.0: Failed to initialize adapter
This is good, but what it's really telling me is that you don't have the driver properly installed, with the firmware that needs to be downloaded to the card setup properly.
Do you have any docs on the card driver install? Check that /lib/firmware/.. has the right stuff in there. Here's some docs from the KCONFIG entry, since the qla2xxx driver is part of the core linux kernel now (2.6.18-rc1-mm1):
By default, firmware for the ISP parts will be loaded via the Firmware Loader interface.
ISP Firmware Filename ---------- ----------------- 21xx ql2100_fw.bin 22xx ql2200_fw.bin 2300, 2312, 6312 ql2300_fw.bin 2322, 6322 ql2322_fw.bin 24xx ql2400_fw.bin
Upon request, the driver caches the firmware image until the driver is unloaded.
Firmware images can be retrieved from:
ftp://ftp.qlogic.com/outgoing/linux/firmware/
Mike> This is a brand new, out of the box HBA and we have had zero Mike> failure rates to date on these (via Redhat).
Mike> The only "drivers" i can find via QLogic are rpm's...that makes Mike> them binary drivers (?) since I cannot compile them myself, Mike> right?
Whether they're RPMs or not doesn't mean much, it's whether or not you can get source code without any binary blobs. In this case, since the firmware is binary only, it's not a completely open adapter, but at least you can grab what you need easily enough.
John _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-- Lee Keyser-Allen (lkeyser@alum.wpi.edu)