[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Kernel access QLogic FC card firmware at boot (SuSE 10.1)

Posted on 2006-11-08
5
Medium Priority
?
1,938 Views
Last Modified: 2008-01-09
I have an HP ML370 with a QLogic QLA2460 FiberChannel card connected to a SAN running SuSE 10.1 partitioned as 256Mb /boot 1Gb Swap & 70Gb /

I downloaded the firmware and placed it in /lib/firmware and when I manually probe qla2xxx everything's great:

QLogic Fibre Channel HBA Driver
ACPI: PCI Interrupt 0000:07:02.0[A] -> GSI 53 (level, low) -> IRQ 201
qla2xxx 0000:07:02.0: Found an ISP2422, irq 201, iobase 0xf886c000
qla2xxx 0000:07:02.0: Configuring PCI space...
qla2xxx 0000:07:02.0: Configure NVRAM parameters...
qla2xxx 0000:07:02.0: Verifying loaded RISC code...
qla2xxx 0000:07:02.0: Allocated (1061 KB) for firmware dump...
qla2xxx 0000:07:02.0: Waiting for LIP to complete...
qla2xxx 0000:07:02.0: LIP reset occured (f8f7).
qla2xxx 0000:07:02.0: LIP occured (f8f7).
qla2xxx 0000:07:02.0: LOOP UP detected (2 Gbps).
qla2xxx 0000:07:02.0: Topology - (Loop), Host Loop address 0x1
scsi3 : qla2xxx
qla2xxx 0000:07:02.0:
 QLogic Fibre Channel HBA Driver: 8.01.04-k
  QLogic QLA2460 - PCI-X 2.0 to 4Gb FC, Single Channel
  ISP2422: PCI-X Mode 1 (100 MHz) @ 0000:07:02.0 hdma+, host#=3, fw=4.00.16 [IP]
  Vendor: transtec  Model: T6100F16R1-F      Rev: 347D
  Type:   Direct-Access                      ANSI SCSI revision: 05
sda : very big device. try to use READ CAPACITY(16).
SCSI device sda: 5857431552 512-byte hdwr sectors (2999005 MB)
sda: Write Protect is off
sda: Mode Sense: 9b 00 00 08
SCSI device sda: drive cache: write back
sda : very big device. try to use READ CAPACITY(16).
SCSI device sda: 5857431552 512-byte hdwr sectors (2999005 MB)
sda: Write Protect is off
sda: Mode Sense: 9b 00 00 08
SCSI device sda: drive cache: write back
 sda: unknown partition table
sd 3:0:0:0: Attached scsi disk sda
sd 3:0:0:0: Attached scsi generic sg0 type 0
sda : very big device. try to use READ CAPACITY(16).
SCSI device sda: 5857431552 512-byte hdwr sectors (2999005 MB)
sda: Write Protect is off
sda: Mode Sense: 9b 00 00 08
SCSI device sda: drive cache: write back
 sda:
sda : very big device. try to use READ CAPACITY(16).
SCSI device sda: 5857431552 512-byte hdwr sectors (2999005 MB)
sda: Write Protect is off
sda: Mode Sense: 9b 00 00 08
SCSI device sda: drive cache: write back
 sda:
st: Version 20050830, fixed bufsize 32768, s/g segs 256
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.

However... at boot time the kernel can't access the firmware as root isn't mounted and I get this:

qla2xxx 0000:07:02.0: Found an ISP2422, irq 201, iobase 0xf8836000
qla2xxx 0000:07:02.0: Configuring PCI space...
qla2xxx 0000:07:02.0: Configure NVRAM parameters...
qla2xxx 0000:07:02.0: Verifying loaded RISC code...
qla2xxx 0000:07:02.0: Firmware image unavailable.
qla2xxx 0000:07:02.0: Failed to initialize adapter

and of course then the device doesn't get mounted. What can I do to make the firmware available to the driver so early in the boot process before the root fs is mounted?
0
Comment
Question by:alextoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 34

Accepted Solution

by:
PsiCop earned 2000 total points
ID: 17899805
Hmmm...I haven't done this, but I think you need to rebuild initrd (the command is "mkinitrd", as I recall) with the driver specifically included in the list of modules. There's a .conf file in /etc or somewhere below that, I don't recall offhand and down have my SUSE 10 system in front of me right now. Anyway, in that file there's a line where you specify modules that should be a static part of initrd, and mkinitrd reads that file when building initrd.

Sorry I'm not more precise - been about 2 years since I was in a situation where I had to rebuild initrd under SUSE, and haven't had any problems with it since then.
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 17899904
OK, I think the file is /etc/modprobe.conf, altho I have to say the RH version of that file is garbage compared to the one I had to tweak in SLES. The SLES version of the file was well-documented. Nothing in the RH version (which is what I have in front of me right now).
0
 
LVL 19

Author Comment

by:alextoft
ID: 17904883
Well, going through the changelog of mkinitrd I found this:

* Tue Jan 24 2006 - hare@suse.de
  - Fix journal handling
  - Copy QLogic firmware into the initramfs

So you're probably right. I shall give this a try when I drag myself into work later.
0
 
LVL 19

Author Comment

by:alextoft
ID: 17906486
Yep, that sorted it. Sometimes it's easy to overlook the basics and expect a difficult solution.
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 17908093
Glad its working.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question