[yocto] Problem genrerating module autoloading commands

Martin Jansa martin.jansa at gmail.com
Thu Oct 18 08:21:50 PDT 2012


On Thu, Oct 18, 2012 at 11:13:13AM -0400, Marc Ferland wrote:
> Hi,
> 
> I'm having trouble generating the module auto-loading instructions in
> /etc for one of my modules. I have already many modules that all work
> fine, but for some reason this one does not get listed in /etc/modules
> nor /etc/modules-load.d.
> 
> The only thing that distinguishes this module from the other ones is that
> it has the same name has the MACHINE and layer. So basically I have
> something like:
> 
> build/conf/local.conf:
> MACHINE = foo
> 
> poky/meta-foo/conf/machine/foo.conf:
> module_autoload_foo = "foo"
> 
> The module gets built correctly and is included in the images. Running
> 'modprobe foo' works as intended on the target hardware.
> 
> Did I fall in some edge case?

Does foo have any '-' or '_'?

If yes then foo needs to match module name, not name of kernel
module package (where we always have '-').

> 
> Regards,
> 
> Marc
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20121018/8c455c9a/attachment.pgp>


More information about the yocto mailing list