Comment 33 for bug 74004

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 74004] Re: Doesn't include qla2xxx firmware

On Mon, Oct 22, 2007 at 09:46:57AM -0000, Tore Anderson wrote:
> * 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.

It looks like you're running a custom kernel. The firmware provided with
the Ubuntu kernel is in /lib/firmware/<kernel version>, and that's where
initramfs-tools looks for it. Perhaps your firmware is in a different
place?

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

Your script copies all of /lib/firmware, while the one in the fixed
initramfs-tools copies only the firmware shipped with our kernel, so that
seems likely to be the cause of your problem.

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

Seems worth a look.

--
 - mdz