Messages in this thread | | | Date | Thu, 22 Jan 2009 12:32:52 -0800 | From | "Matt Carlson" <> | Subject | Re: [BUG] tg3 module problem on Linux-2.6.29-rc1-2 |
| |
On Thu, Jan 22, 2009 at 05:12:03AM -0800, Tarkan Erimer wrote: > Alexey Dobriyan wrote: > > # CONFIG_FIRMWARE_IN_KERNEL is not set > > > > > > Try setting this option to =y. > > > > Thanks for the reply. I tried with "CONFIG_FIRMWARE_IN_KERNEL=y" as you > suggested. But, still I get the same warning. > It looks like ubuntu's make-kpkg utility or kernel compile process do > not care about "CONFIG_FIRMWARE_IN_KERNEL=y" and still building modules > without firmware built-in.
The error message is coming from the /usr/share/initramfs-tools/hook-functions script. You are right that the script does not look at the config file for CONFIG_FIRMWARE_IN_KERNEL=y, but I'm not sure if it should or not.
The script uses the command 'modinfo -F firmware tg3' to determine whether or not it should include firmware images in the initrd. The modinfo command simply inspects the tg3.ko module binary reports if the module makes any firmware requests. Obviously this isn't the complete picture.
Somewhere in this process, the script or modinfo needs to find out if the kernel has firmware images builtin. How this gets accomplished is probably best left to the script maintainers.
| |