lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 22 Jan 2009 12:32:52 -0800
From:	"Matt Carlson" <mcarlson@...adcom.com>
To:	"Tarkan Erimer" <tarkan.erimer@...knet.net.tr>
cc:	"Alexey Dobriyan" <adobriyan@...il.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ