[yocto] network drivers are not installed when MACHINE qemux86-64

Nathan Sowatskey nathan at nathan.to
Tue Feb 2 01:25:49 PST 2016


Hi Khem

Thanks for following up. I am very new to Yocto, so I am probably missing some context around your question.

For example, I don’t know what the “relevant kernel modules” would be, and I don’t know where MACHINE_EXTRA_RECOMMENDS is defined.

I don’t see the MACHINE_EXTRA_RECOMMENDS variable in any file in build/conf, nor in the environment variables.

Regards

Nathan

> On 2 Feb 2016, at 06:05, Khem Raj <raj.khem at gmail.com> wrote:
> 
> On Mon, Feb 1, 2016 at 8:48 PM, Nathan Sowatskey <nathan at nathan.to> wrote:
>> As a follow up, I have just done this:
>> 
>> bitbake core-image-kernel-dev
>> 
>> And now I get the eth0 interface configured and active when I start the Yocto image.
>> 
>> I do not have to configure and start it manually.
> 
> Can you check if relevant kernel modules are listed in MACHINE_EXTRA_RRECOMMENDS
> 
>> 
>> Regards
>> 
>> Nathan
>> 
>>> On 1 Feb 2016, at 13:31, Nathan Sowatskey <nathan at nathan.to> wrote:
>>> 
>>> Hi
>>> 
>>> I think I am seeing something similar. I only have video in my kernel/drivers directory, which is to say that there is no net directory either.
>>> 
>>> I have been using the Build Appliance to create a qemux86-64 core-image-full-cmdline machine. When I ran that without any -netdev arguments at all, on OSX, I was able to use -redir tcp:5555::22 to enable SSH from the host.
>>> 
>>> At least, that did work a few times at least last week.
>>> 
>>> Now, I have to manually edit the /etc/network/interfaces file to add iface eth0 init dhcp, and then manually ifup eth0.
>>> 
>>> I am sure I did not have to do that with builds last week.
>>> 
>>> Regards
>>> 
>>> Nathan
>>> 
>>>> On 29 Jan 2016, at 21:59, Alexandre Freire da Silva Osorio <alexandre.osorio at eldorado.org.br> wrote:
>>>> 
>>>> You’re right, Ross. They’re present in modules-qemux86-64.tgz. The problem is that for some reason the drivers are not being copied to the root filesystem.
>>>> 
>>>> For example, the expected lib/modules/3.14.36ltsi-yocto-standard/kernel/drivers/net/ directory is not created in the rootfs.
>>>> 
>>>> Thanks.
>>>> 
>>>> Alexandre
>>>> 
>>>> From: Burton, Ross [mailto:ross.burton at intel.com]
>>>> Sent: sexta-feira, 29 de janeiro de 2016 18:52
>>>> To: Alexandre Freire da Silva Osorio <alexandre.osorio at eldorado.org.br>
>>>> Cc: yocto at yoctoproject.org
>>>> Subject: Re: [yocto] network drivers are not installed when MACHINE qemux86-64
>>>> 
>>>> 
>>>> On 29 January 2016 at 18:41, Alexandre Freire da Silva Osorio <alexandre.osorio at eldorado.org.br> wrote:
>>>> When I build a core-image-lsb image for MACHINE qemux86-64, the network drivers are not enabled. When building the same image for genericx86-64, this problem doesn’t occur and all the drivers are enabled.
>>>> 
>>>> qemux86-64 certainly ships with network drivers for the qemu machine.  What drivers are you expecting to be present?
>>>> 
>>>> Ross
>>>> --
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto at yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>> 
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>> 
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list