work around for loading qlogic fibre channel card firmware in initramfs

James Dinkel jdinkel at gmail.com
Wed Jun 17 20:46:18 UTC 2009


On Wed, Jun 17, 2009 at 2:09 PM, James Dinkel <jdinkel at gmail.com> wrote:

> I'm getting ready to use Jaunty on a Dell server with QLogic fibre channel
> cards in it.  I'm getting the firmware error described here:
> https://bugs.launchpad.net/ubuntu/+source/udev/+bug/328550.  The
> workaround says this:
>
> "You can trivially add support by creating your own file in
> /etc/initramfs-tools/hooks that copies /lib/udev/firmware.sh and the
> /lib/firmware/ql2400_fw.bin file into the initramfs"
>
> (In my case the firmware would be ql2300_fw.bin ).  But I don't understand,
> how do I copy a file into the initramfs.  I have no idea what that means.
>
> James
>

with a little digging and experimentation, I've figured out that the file in
the hooks directory probably has to be made executable, and I think this
might be close to what needs to go in the hooks file (I called mine
/etc/initramfs-tools/hooks/qlogic_firmware):

cp /lib/udev/firmware.sh ${DESTDIR}/lib/udev/
cp /lib/firmware/ql2200_fw.bin ${DESTDIR}/lib/firmware/
cp /lib/udev/rules.d/50-firmware.rules ${DESTDIR}/lib/udev/rules.d/

However this does not work, the files do not get copied into the initrd
image.

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20090617/6e6972ce/attachment.html>


More information about the ubuntu-server mailing list