Comment 34 for bug 74004

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

* Matt Zimmerman

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

You're right I run a custom kernel (need it for mptsas and dm-rdac).
Anyway, the QLogic firmware image is kernel version agnostic (and not
shipped in the Ubuntu kernel package either, for that matter), so it's
found in /lib/firmware/ql2400_fw.bin. The firmware_helper looks for it
there out of the box.

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

Maybe you should make it so that initramfs-tools copies in kernel
version agnostic firmware images as well as the kernel version specific
ones? That way it it will work the same during initramfs and after
boot, which is how I'd expect it at least.

I could of course make /lib/firmware/2.6.23-rc3lp1 and put the image
there but I'll surely forget to copy it to /lib/firmware/$new_version
when I upgrade the kernel. :-)

Regards
--
Tore Anderson