Comment 32 for bug 74004

Revision history for this message
Tore Anderson (toreanderson) wrote : Re: [Bug 74004] Re: Doesn't include qla2xxx firmware

* Martin Pitt

> udev (079-0ubuntu35) dapper-proposed; urgency=low
> .
> * Include firmware_helper in initramfs
> - LP: #74004
>
> initramfs-tools (0.40ubuntu33) dapper-proposed; urgency=low
> .
> * Add megaraid_sas to initrd:
> - LP: #56854
> * Include qla firmware in initrd
> - LP: #74004
>
> Accepted into dapper-proposed. Can you please test the package in
> dapper-proposed once it is available and give feedback here? Thank you!

Just upgraded as follows:

initramfs-tools 0.40ubuntu32 -> 0.40ubuntu34
udev 079-0ubuntu34 -> 079-0ubuntu35

The generated initramfs does contain firmware_helper, but NOT the QLogic
firmware:

root@cuba:~# zcat /boot/initrd.img-2.6.23-rc3lp1 | cpio -t | \
  egrep '(ql2400_fw.bin|firmware_helper)'
lib/udev/firmware_helper
230387 blocks

In fact /lib/firmware isn't present in the initramfs at all.

For reference, my hook-script that has done the job up until now contains:

[....]
# You can do anything you need to from here on.

# the filter-line in lvm.conf is important in case non-RDAC mode
mkdir -p $DESTDIR/etc/lvm
cp /etc/lvm/lvm.conf $DESTDIR/etc/lvm

# Qlogic firmware is needed
copy_exec /lib/udev/firmware_helper /lib/udev
cp -a /lib/firmware $DESTDIR/lib

...which reminded me of the missing lvm.conf and LP #113515. There's a
patch for this available at <http://bugs.debian.org/439761>. Wonder if
that one could be fixed in Dapper too...

Regards
--
Tore Anderson