Skip to contentSkip to conversation

Input file "cfg/virtio.scc" does not exist

Linux 5.4 Ashishx88 2 participants 3 messages Jun 17, 2020 – Jun 18, 2020

lore
Share & tools
lore

Ashishx88

author
#0 lore raw

Hi All ,

Good Evening .
I have been working with poky for some time & started with virtualization shortly. and hence seeked some inputs to understand the layer .

- I am trying to compile linux for version 5.4 with virtualization ( dunfell branch ) The error being reported is " ERROR. input file "cfg/virtio.scc" does not exist "

- Evaluating further , i was able to check that error was due to *"linux-yocto_virtualization.inc"* which had *KERNEL_FEATURES_append = " cfg/virtio.scc"
*
Can member please provide any input or let me know if i have mis-understood any aspect of meta-virtualization

a) Why we have  linux-yocto_5.4_virtualization.inc specifically only for linux-5.4 only.
I was assuming to have similar file for linux-4.19 also , which is not there in layer ?
*[ linux-yocto_5.4_virtualization.inc ] =>  [linux-yocto_virtualization.inc] => [KERNEL_FEATURES_append = " cfg/virtio.scc" ]=> [error* *"cfg/virtio.scc" ] *
b) Looking for the file , i found the required file at http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/tree/cfg
But now , i am not sure where is the *"cfg"* folder where i can store the file as per KERNEL_FEATURES_append = " cfg/virtio.scc"

Can team members please provide any debugging info or let me know if i am missing something completely here.

Thanks ,
Ashish

#1 lore raw
Quoted 10 lines · On Wed, Jun 17, 2020 at 11:46 AM Ashishx88 <[email protected]>…

Hi All ,

Good Evening .
I have been working with poky for some time & started with virtualization shortly. and hence seeked some inputs to understand the layer .

- I am trying to compile linux for version 5.4 with virtualization ( dunfell branch ) The error being reported is " ERROR. input file "cfg/virtio.scc" does not exist "

Quoted 8 lines

- Evaluating further , i was able to check that error was due to "linux-yocto_virtualization.inc" which had KERNEL_FEATURES_append = " cfg/virtio.scc"

Can member please provide any input or let me know if i have mis-understood any aspect of meta-virtualization

a) Why we have linux-yocto_5.4_virtualization.inc specifically only for linux-5.4 only. I was assuming to have similar file for linux-4.19 also , which is not there in layer ?

Because we only match the active kernels in oe-core. That's 5.4. You must use the older branches to get older kernels.

Quoted 4 lines

[ linux-yocto_5.4_virtualization.inc ] => [linux-yocto_virtualization.inc] => [KERNEL_FEATURES_append = " cfg/virtio.scc" ]=> [error "cfg/virtio.scc" ]

b) Looking for the file , i found the required file at http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/tree/cfg
But now , i am not sure where is the "cfg" folder where i can store the file as per KERNEL_FEATURES_append = " cfg/virtio.scc"

You must use the kernel-cache for those fragments, that's the design of KERNEL_FEATURES. It looks at the centralized fragment repository. If you are providing something in your own layer, or using your own kernel recipe, you must have a fragment of that name, in that directory structure.

I've just recently explained this in detail in:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13927

Cheers,

Bruce

Quoted 22 lines

Can team members please provide any debugging info or let me know if i am missing something completely here.

Thanks ,
Ashish

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
author
#2 lore raw

Thanks for valuable input's Bruce Ashfield
Will try the suggested options .

- Ashish