FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 05-23-2008, 01:54 PM
"Mark Haney"
 
Default build initrd for qla2xxx firmware

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.


HELP!

--
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

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 04:25 PM
Rick Stevens
 
Default build initrd for qla2xxx firmware

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.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer rps2@nerd.com -
- Hosting Consulting, Inc. -
- -
- "Daddy, why doesn't this magnet pick up this floppy disk?" -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 05:10 PM
"Mark Haney"
 
Default build initrd for qla2xxx firmware

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.



Yes it's definitely there. I just don't understand why a card so common
would have the firmware dropped from initrd like this. It's really
frustrating for those of us with several systems with those FC cards to
suddenly be stuck at FC6 and can go no further.



--
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

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 05:22 PM
Jeff Voskamp
 
Default build initrd for qla2xxx firmware

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.


Which suggests that the firmware isn't being included in the initrd.
There's code in the kernel module to upload the firmware. Unfortunately
there's no nice way to determine what modules need what firmware so
mkinitrd can't copy over the firmware. Have you tried "repacking" the
initrd to include /lib/firmware/* as necessary?


Modules in the initrd get loaded before you have any "real" file systems.

Jeff Voskamp

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 05:23 PM
Dennis Gilmore
 
Default build initrd for qla2xxx firmware

On Friday 23 May 2008, 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.

What distro are you trying to use on these systems?
what is the version of mkinitrd you have installed?

Dennis
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 05:25 PM
"Mark Haney"
 
Default build initrd for qla2xxx firmware

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.


I just ran mkinitrd -v -f /root/initrd-`uname -r`.img `uname -r` to
build a new initrd image, copied it to /boot/ and edited grub to use the
new image. No dice. But, and this is the weird part, the output of
mkinitrd SHOWS the firmware being included in the image:



copy from `/lib/modules/2.6.24.7-92.fc8/kernel/drivers/ata/pata_amd.ko'
[elf64-x86-64] to `/tmp/initrd.Jq3472/lib/pata_amd.ko' [elf64-x86-64]
copy from `/lib/modules/2.6.24.7-92.fc8/kernel/drivers/scsi/scsi_tgt.ko'
[elf64-x86-64] to `/tmp/initrd.Jq3472/lib/scsi_tgt.ko' [elf64-x86-64]
copy from
`/lib/modules/2.6.24.7-92.fc8/kernel/drivers/scsi/scsi_transport_fc.ko'
[elf64-x86-64] to `/tmp/initrd.Jq3472/lib/scsi_transport_fc.ko'
[elf64-x86-64]
copy from
`/lib/modules/2.6.24.7-92.fc8/kernel/drivers/scsi/qla2xxx/qla2xxx.ko'
[elf64-x86-64] to `/tmp/initrd.Jq3472/lib/qla2xxx.ko' [elf64-x86-64]
`/lib/firmware/ql2400_fw.bin' ->
`/tmp/initrd.Jq3472/lib/firmware/ql2400_fw.bin'
`/lib/firmware/ql2322_fw.bin' ->
`/tmp/initrd.Jq3472/lib/firmware/ql2322_fw.bin'
`/lib/firmware/ql2300_fw.bin' ->
`/tmp/initrd.Jq3472/lib/firmware/ql2300_fw.bin'
`/lib/firmware/ql2200_fw.bin' ->
`/tmp/initrd.Jq3472/lib/firmware/ql2200_fw.bin'
`/lib/firmware/ql2100_fw.bin' ->
`/tmp/initrd.Jq3472/lib/firmware/ql2100_fw.bin'

/sbin/lvm -> /tmp/initrd.Jq3472/bin/lvm
/sbin/lvm.static -> /tmp/initrd.Jq3472/sbin/lvm.static
/etc/lvm -> /tmp/initrd.Jq3472/etc/lvm
`/etc/lvm/lvm.conf' -> `/tmp/initrd.Jq3472/etc/lvm/lvm.conf'


So, based on this, the firmware really is part of the initrd image, it's
just not being used. Is that what I'm seeing?




--
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

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 05:27 PM
"Mark Haney"
 
Default build initrd for qla2xxx firmware

Jeff Voskamp wrote:

Mark Haney wrote:




Which suggests that the firmware isn't being included in the initrd.
There's code in the kernel module to upload the firmware. Unfortunately
there's no nice way to determine what modules need what firmware so
mkinitrd can't copy over the firmware. Have you tried "repacking" the
initrd to include /lib/firmware/* as necessary?




I have tried that (and see a post I just submitted) but got nowhere. I
don't know if I didn't do it right or what. But I've been unable to
make this 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

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 05:28 PM
"Mark Haney"
 
Default build initrd for qla2xxx firmware

Dennis Gilmore wrote:

On Friday 23 May 2008, Mark Haney wrote:



What distro are you trying to use on these systems?
what is the version of mkinitrd you have installed?


I've tried this on 2 versions of Fedora (6 and 8) and in neither case
did it 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

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 05:33 PM
Rick Stevens
 
Default build initrd for qla2xxx firmware

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.



Yes it's definitely there. I just don't understand why a card so common
would have the firmware dropped from initrd like this. It's really
frustrating for those of us with several systems with those FC cards to
suddenly be stuck at FC6 and can go no further.


Uh, I've run QLA2340s very happily on F8. I have not tried it on F9.
As I see it, the available QLogic firmware RPMs are:

ql23xx-firmware-3.03.20-1.fc8.1
ql2400-firmware-4.00.27-1.fc8.1
ql2200-firmware-2.02.08-1.fc8.1
ql2100-firmware-1.19.38-1.fc8.1

Are you certain the "alias scsi_hostadapter" lines are in the
modprobe.conf file so the initrd is built correctly? If you build the
initrd manually and specify the "-v" flag, do you see the modules and
firmware being loaded into the image? You should.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer rps2@nerd.com -
- Hosting Consulting, Inc. -
- -
- They say when you play a Microsoft CD backwards, you'll hear -
- Satanic messages, but if you play it forwards, it will install -
- Windows...which means Satan is in your system. -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 05:39 PM
"Mark Haney"
 
Default build initrd for qla2xxx firmware

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.



Yes it's definitely there. I just don't understand why a card so
common would have the firmware dropped from initrd like this. It's
really frustrating for those of us with several systems with those FC
cards to suddenly be stuck at FC6 and can go no further.


Uh, I've run QLA2340s very happily on F8. I have not tried it on F9.
As I see it, the available QLogic firmware RPMs are:

ql23xx-firmware-3.03.20-1.fc8.1
ql2400-firmware-4.00.27-1.fc8.1
ql2200-firmware-2.02.08-1.fc8.1
ql2100-firmware-1.19.38-1.fc8.1

Are you certain the "alias scsi_hostadapter" lines are in the
modprobe.conf file so the initrd is built correctly? If you build the
initrd manually and specify the "-v" flag, do you see the modules and
firmware being loaded into the image? You should.



I am almost certain the modprobe.conf lines are correct. Here's what I
have:


alias eth0 tg3
alias eth1 e1000
alias eth2 e1000
alias scsi_hostadapter libata
alias scsi_hostadapter1 sata_sil
alias scsi_hostadapter2 pata_amd
alias scsi_hostadapter3 qla2xxx
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0

I believe that's correct for the qlogic card. And see my previous post
from mkinitrd -v output. It also seems to be correct based on the output.




--
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

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 10:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org