* Problem genrerating module autoloading commands
@ 2012-10-18 15:13 Marc Ferland
2012-10-18 15:21 ` Martin Jansa
0 siblings, 1 reply; 4+ messages in thread
From: Marc Ferland @ 2012-10-18 15:13 UTC (permalink / raw)
To: yocto
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?
Regards,
Marc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem genrerating module autoloading commands
2012-10-18 15:13 Problem genrerating module autoloading commands Marc Ferland
@ 2012-10-18 15:21 ` Martin Jansa
2012-10-18 15:29 ` Marc Ferland
0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2012-10-18 15:21 UTC (permalink / raw)
To: Marc Ferland; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]
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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem genrerating module autoloading commands
2012-10-18 15:21 ` Martin Jansa
@ 2012-10-18 15:29 ` Marc Ferland
2012-10-18 15:33 ` Paul Eggleton
0 siblings, 1 reply; 4+ messages in thread
From: Marc Ferland @ 2012-10-18 15:29 UTC (permalink / raw)
To: Martin Jansa; +Cc: yocto
Martin Jansa <martin.jansa@gmail.com> writes:
> 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 '_'?
>
No. Just lower case letters.
Marc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem genrerating module autoloading commands
2012-10-18 15:29 ` Marc Ferland
@ 2012-10-18 15:33 ` Paul Eggleton
0 siblings, 0 replies; 4+ messages in thread
From: Paul Eggleton @ 2012-10-18 15:33 UTC (permalink / raw)
To: Marc Ferland; +Cc: yocto
On Thursday 18 October 2012 11:29:58 Marc Ferland wrote:
> Martin Jansa <martin.jansa@gmail.com> writes:
> > 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 '_'?
>
> No. Just lower case letters.
> Marc
I suspect this is falling foul of OVERRIDES since it matches ${MACHINE} which
is in OVERRIDES. What the workaround would be for this I'm not sure.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-18 15:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 15:13 Problem genrerating module autoloading commands Marc Ferland
2012-10-18 15:21 ` Martin Jansa
2012-10-18 15:29 ` Marc Ferland
2012-10-18 15:33 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.