[Wlug] kernel driver vs module

Mike Leo mleo963 at yahoo.com
Tue Jul 11 10:10:04 EDT 2006


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 at 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 at mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
> 



More information about the Wlug mailing list