work around for loading qlogic fibre channel card firmware in initramfs

Paul Schulz paul at mawsonlakes.org
Thu Jun 18 00:30:43 UTC 2009


Hi James,

This should only be necessary if you need access tot he qlogin fibre
attached storage during the boot process.

Once the system has booted, the 'regular' qlogic driver will then be
available in the usual place. (Whether it work or not in another
question.)

I have machines that have qlogic cards in them and I will have the
same issue when I get around to using ubuntu on them. (Test machines..
yeah!)

Cheers,
Paul

On Thu, Jun 18, 2009 at 6:16 AM, James Dinkel<jdinkel at gmail.com> wrote:
> 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
> --
> ubuntu-server mailing list
> ubuntu-server at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>




More information about the ubuntu-server mailing list