[meta-virtualization] Error: kernel-module-xen-acpi-processor not found in the base feeds

Philip Tricca flihp at twobit.us
Fri Dec 6 09:06:28 PST 2013


Hey Rob,

Chris is spot on here. You need 'xen' in your DISTRO_FEATURES. Figured
since you point out that you're new to OE you may want an example as
well. I've got some config / metadata up on github if you're interested.
Basically I've set up a meta layer specifically for distro stuff that
doesn't belong in meta-virt to deal with stuff like this. You can check
out the distro config here:

https://github.com/flihp/meta-integral/blob/master/conf/distro/integral-ndvm.conf

There's a bunch of stuff there that you may not want (selinux) but
there's useful stuff too for Xen guests. Specifically I've had to sort
out how to deal with the xen console and fstab for PV guests to get
xenfs mounted etc. Nothing too complicated but it may save you some time.

Hope this helps,
Philip

On 12/05/2013 05:13 PM, Chris Patterson wrote:
> You may need to add 'xen' to your DISTRO_FEATURES if you haven't
> already.  It will enable the xen configuration bits for the kernel.
> 
> 
> On Thu, Dec 5, 2013 at 6:57 PM, Bruce Ashfield <bruce.ashfield at gmail.com
> <mailto:bruce.ashfield at gmail.com>> wrote:
> 
>     On Thu, Dec 5, 2013 at 7:29 AM, Rob Dobson <rob.dobson at citrix.com
>     <mailto:rob.dobson at citrix.com>> wrote:
>     > Hi all,
>     >
>     > I'm new to OpenEmbedded and I've been trying to use the
>     meta-virtualization layer in order to build a small Xen guest VM.
>     >
>     > The target I am building for is 'xen-guest-image-minimal',
>      however I am hitting a failure complete 'do_rootfs':
>     >
>     >        Error: kernel-module-xen-acpi-processor not found in the
>     base feeds (genericx86 core2 i686 i586 i486 i386 x86 noarch any all).
>     >
>     > Can anyone see what I'm doing wrong here?
> 
>     Still suffering with this problem ? Nothing jumps to mind as a
>     problem, since
>     it really looks like you haven't changed anything from the default
>     configuration.
> 
>     The error implies that the kernel module wasn't built for the board
>     in question.
> 
>     Can you check the kernel build directory and check the .config to
>     see if the
>     Xen options where enabled ?
> 
>     Bruce
> 
>     >
>     > Thanks very much.
>     >
>     > Rob
>     >
>     >>>>>>> BUILD CONFIG >>>>>>>
>     > Build Configuration:
>     > BB_VERSION        = "1.20.0"
>     > BUILD_SYS         = "x86_64-linux"
>     > NATIVELSBSTRING   = "Ubuntu-12.04"
>     > TARGET_SYS        = "i586-poky-linux"
>     > MACHINE           = "genericx86"
>     > DISTRO            = "poky"
>     > DISTRO_VERSION    = "1.5"
>     > TUNE_FEATURES     = "m32 core2"
>     > TARGET_FPU        = ""
>     > meta
>     > meta-yocto
>     > meta-yocto-bsp    = "master:64f0a0bc408d8e32d5e795aeb9fffee0539f5e22"
>     > meta-oe
>     > meta-networking   = "master:b2c0f57f01ee8286c55259c8e0215a7c901699fc"
>     > meta-virtualization =
>     "master:61f1cd9c44f2bf1cb6b3605d2587baf9f439db9a"
>     >
>     >>>>>>> MACHINE >>>>>>>
>     > MACHINE ?= "genericx86"
>     >
>     >>>>>>> FAILURE MESSAGE >>>>>>>
>     > DEBUG: Executing python function rootfs_process_ignore
>     > DEBUG: Python function rootfs_process_ignore finished
>     > DEBUG: Executing python function rootfs_runtime_mapping
>     > DEBUG: Python function rootfs_runtime_mapping finished
>     > DEBUG: Executing shell function do_rootfs
>     > Note: configuring RPM platform settings
>     > Note: configuring RPM system provides
>     > Note: configuring RPM DB settings
>     > Note: configuring Smart settings
>     >
>     > Note: adding Smart channel genericx86 (55)
>     >
>     > Note: adding Smart channel core2 (50)
>     >
>     > Note: adding Smart channel i586 (40)
>     >
>     > Note: adding Smart channel all (10)
>     >
>     > Note: configuring RPM cross-install scriptlet_wrapper
>     >
>     > Updating cache...              
>     ######################################## [100%]
>     >
>     > Saving cache...
>     >
>     > Error: kernel-module-xen-acpi-processor not found in the base
>     feeds (genericx86 core2 i686 i586 i486 i386 x86 noarch any all).
>     > WARNING: exit code 1 from a shell command.
>     > ERROR: Function failed: do_rootfs (log file is located at
>     /local/files/yocto/poky-dora-10.0.0/build/tmp/work/genericx86-poky-linux/xen-guest-image-minimal/1.0-r0/temp/log.do_rootfs.21957)
>     >
>     >>>>>>> BBLAYERS >>>>>>
>     > # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
>     > # changes incompatibly
>     > LCONF_VERSION = "6"
>     >
>     > BBPATH = "${TOPDIR}"
>     > BBFILES ?= ""
>     >
>     > BBLAYERS ?= " \
>     >   /local/files/yocto/poky-dora-10.0.0/meta \
>     >   /local/files/yocto/poky-dora-10.0.0/meta-yocto \
>     >   /local/files/yocto/poky-dora-10.0.0/meta-yocto-bsp \
>     >   /local/files/yocto/poky-dora-10.0.0/meta-oe/meta-oe \
>     >   /local/files/yocto/poky-dora-10.0.0/meta-oe/meta-networking \
>     >   /local/files/yocto/poky-dora-10.0.0/meta-virtualization \
>     >   "
>     > BBLAYERS_NON_REMOVABLE ?= " \
>     >   /local/files/yocto/poky-dora-10.0.0/meta \
>     >   /local/files/yocto/poky-dora-10.0.0/meta-yocto \
>     >   "
>     >
>     >>>>>>> meta-oe/conf/layer.conf >>>>>>
>     > Updated priority:
>     >        BBFILE_PRIORITY_openembedded-layer = "4"
>     > _______________________________________________
>     > meta-virtualization mailing list
>     > meta-virtualization at yoctoproject.org
>     <mailto:meta-virtualization at yoctoproject.org>
>     > https://lists.yoctoproject.org/listinfo/meta-virtualization
> 
> 
> 
>     --
>     "Thou shalt not follow the NULL pointer, for chaos and madness await
>     thee at its end"
>     _______________________________________________
>     meta-virtualization mailing list
>     meta-virtualization at yoctoproject.org
>     <mailto:meta-virtualization at yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/meta-virtualization
> 
> 
> 
> 
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
> 



More information about the meta-virtualization mailing list