-----BEGIN PGP SIGNED MESSAGE-----
On Fri, 28 Mar 2008 15:23:33 -0400
Ivan Kabaivanov <chepati@...> wrote:
> On Thursday 27 March 2008 19:05, Ferris McCormick wrote:
> > On Thu, 27 Mar 2008 17:06:47 -0400
> > > you're almost there. Get the binary firmware from
> > > ftp://ftp.qlogic.com/outgoing/linux/firmware (just get the .bin files,
> > > not the .bin-version files). There are five or six files altogether.
> > > You don't need all, but they are relatively small so it's no big deal
> > > putting all of them in /lib/firmware.
> > Actually, you can get the firmware by
> > emerge qla-fc-firmware
> > (We have a package for it).
> > Also, if you want to try it, you can now use genkernel for building
> > this (although it sounds like you are close enough that you would
> > likely lose time that way). The trick with genkernel is that the
> > stable version probably will not work, but the ~sparc version will
> > (that is, sys-kernel/genkernel-3.4.10_pre7).
> > > Make sure on the initramfs you have /etc/udev/rules.d/ with appropriate
> > > rules, including one to handle firmware loading. Also make sure you have
> > > on the initramfs /lib/udev/firmware.sh. This script is part of udev.
> > > Just copy it.
> > Interesting. Does that approach work? (I guess it must because you
> > seem to be using it.) Normally, the qla2xxxx driver loads the firmware
> > (and when you use genkernel, you also build the driver as a module and
> > put the firmware into the initrd). I'm interested to see how this
> > works.
> Indeed it works -- that's the way our ipcop-sparc initramfs loads the
> firmware. I did try it without udev but simply modprobing the module did not
> load the firmware.
> If you're interested I can send you our ipcop-sparc initramfs image.
I think I know what it must look like. I'm just trying to guess why it
works. I guess that udev must set up the devices, because the driver
can't without the firmware. Clearly you've thought about this a lot
more than I have. (Or maybe I'm just confusing myself. :) )
Raúl, this might be of use to you?
> email@example.com mailing list
Ferris McCormick (P44646, MI) <firstname.lastname@example.org>
Developer, Gentoo Linux (Sparc, Devrel, Userrel, Trustees)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-----END PGP SIGNATURE-----