lkml.org 
[lkml]   [2009]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.



\
 
 \ /
  Last update: 2009-01-22 21:37    [W:0.096 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site