All of lore.kernel.org
 help / color / mirror / Atom feed
* How to resolve the ERROR: xen-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs. and ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf.
@ 2020-06-04 12:05 Siddhartha V
  2020-06-04 21:13 ` [meta-virtualization] " Christopher Clark
  0 siblings, 1 reply; 5+ messages in thread
From: Siddhartha V @ 2020-06-04 12:05 UTC (permalink / raw)
  To: meta-virtualization


[-- Attachment #1.1: Type: text/plain, Size: 5778 bytes --]

Hello dear meta-virtualization team,

I am building the xen minimal image using yocto warrior ("bitbake xen-image-minimal") by giving the target machine as "raspberrypi4".
Sorry for reposting I have already created a post ( Failure to build xen-image-minimal. Yocto bitbake failed @99% while building xen-minimal-image ( https://lists.yoctoproject.org/g/meta-virtualization/topic/failure_to_build/74495311?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,74495311 ) ). From past ten days I have been stuck here. I felt it might not be reaching the purpose so I am creating again.

My bblayer.conf file is as below:
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"

BBFILES ?= ""
BBLAYERS ?= " \

/home/siddhu/Documents/yocto/sources/poky/meta \
/home/siddhu/Documents/yocto/sources/poky/meta-poky \
/home/siddhu/Documents/yocto/sources/poky/meta-yocto-bsp \
/home/siddhu/Documents/yocto/sources/meta-openembedded/meta-oe \
/home/siddhu/Documents/yocto/sources/meta-openembedded/meta-multimedia \
/home/siddhu/Documents/yocto/sources/meta-openembedded/meta-python \
/home/siddhu/Documents/yocto/sources/meta-openembedded/meta-networking \
/home/siddhu/Documents/yocto/sources/meta-openembedded/meta-filesystems \
/home/siddhu/Documents/yocto/sources/meta-cloud-services \
/home/siddhu/Documents/yocto/sources/meta-selinux \
/home/siddhu/Documents/yocto/sources/meta-virtualization\
/home/siddhu/Documents/yocto/sources/meta-raspberrypi \
"

My local.conf file I have added the below details:
MACHINE ??= "raspberrypi4"
DISTRO_FEATURES += "virtualization xen"
PACKAGE_CLASSES ?= "package_rpm"
CONF_VERSION = "1"
IMAGE_FEATURES += "ssh-server-dropbear"

*Actually I have manually enabled the "CONFIG_XEN=y" (which was not set earlier) in .config file @ path :*
/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/linux-raspberrypi/1_4.19.88+gitAUTOINC+988cc7beac-r0/linux-raspberrypi4-standard-build/
*later I anable "CONFIG_NETXEN_NIC=y"* *(* which was not set earlier)
But even then I am not able to build the final kernel image.

*But I am getting a warning:*
WARNING: /home/siddhu/Documents/yocto/sources/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.19.bb.do_compile is tainted from a forced run
Initialising tasks: 100% |#######################################| Time: 0:00:04
Sstate summary: Wanted 27 Found 25 Missed 2 Current 840 (92% match, 99% complete)

Will it impact on image anyway?

*Below is the my error details:*

> 
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> *ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf.* Command
> '/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf
> -v --rpmverbosity=info -y -c
> /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/etc/dnf/dnf.conf
> --setopt=reposdir=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/etc/yum.repos.d
> --installroot=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs
> --setopt=logdir=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/temp
> --repofrompath=oe-repo,/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/oe-rootfs-repo
> --nogpgcheck install kernel-module-xen-blkback kernel-module-xen-gntalloc
> kernel-module-xen-gntdev kernel-module-xen-netback kernel-module-xen-wdt
> packagegroup-core-boot packagegroup-core-ssh-dropbear
> packagegroup-core-ssh-openssh qemu run-postinsts xen-base
> locale-base-en-us locale-base-en-gb' returned 1:
> DNF version: 4.1.0
> cachedir:
> /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/var/cache/dnf
> 
> Added oe-repo repo from
> /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/oe-rootfs-repo
> 
> repo: using cache for: oe-repo
> not found other for:
> not found modules for:
> not found deltainfo for:
> not found updateinfo for:
> oe-repo: using metadata from Thu 04 Jun 2020 11:38:41 AM UTC.
> Last metadata expiration check: 0:00:01 ago on Thu 04 Jun 2020 11:38:42 AM
> UTC.
> No module defaults found
> No match for argument: kernel-module-xen-blkback
> No match for argument: kernel-module-xen-gntalloc
> No match for argument: kernel-module-xen-gntdev
> No match for argument: kernel-module-xen-netback
> No match for argument: kernel-module-xen-wdt
> Error: Unable to find a match
> 
> *ERROR: xen-image-minimal-1.0-r0 do_rootfs:*
> *ERROR: xen-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs*
> *ERROR: Logfile of failure stored in:
> /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/temp/log.do_rootfs.31739*
> 
> *ERROR: Task
> (/home/siddhu/Documents/yocto/sources/meta-virtualization/recipes-extended/images/xen-image-minimal.bb:do_rootfs)
> failed with exit code '1'*
> NOTE: Tasks Summary: Attempted 2605 tasks of which 2604 didn't need to be
> rerun and 1 failed.
> 
> Summary: 1 task failed:
> /home/siddhu/Documents/yocto/sources/meta-virtualization/recipes-extended/images/xen-image-minimal.bb:do_rootfs
> 
> 

I have tried the same for "cubieboard2" also even there I faced the same issue.Eagerly waiting for the response.

I have attached the recent log too Please help me on this.

Best Regards,
Siddhartha V

[-- Attachment #1.2: Type: text/html, Size: 11162 bytes --]

[-- Attachment #2: log.do_rootfs.31739 --]
[-- Type: application/octet-stream, Size: 9794 bytes --]

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb:do_populate_sysroot', '/home/siddhu/Documents/yocto/sources/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot', 'virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', '/home/siddhu/Documents/yocto/sources/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb:do_populate_sysroot', 'virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-devtools/opkg/opkg_0.4.0.bb:do_populate_sysroot', 'virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', 'virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-devtools/dnf/dnf_4.1.0.bb:do_populate_sysroot', '/home/siddhu/Documents/yocto/sources/poky/meta/recipes-core/glibc/cross-localedef-native_2.29.bb:do_populate_sysroot', 'virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', 'virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.0.bb:do_populate_sysroot', '/home/siddhu/Documents/yocto/sources/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/siddhu/Documents/yocto/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/siddhu/Documents/yocto/sources/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['createrepo-c-native', 'mklibs-native', 'update-rc.d-native', 'qemuwrapper-cross', 'rpm-native', 'opkg-native', 'pigz-native', 'prelink-native', 'dnf-native', 'cross-localedef-native', 'makedevs-native', 'pbzip2-native', 'opkg-utils-native', 'ldconfig-native', 'pseudo-native', 'depmodwrapper-cross', 'quilt-native', 'file-native', 'libxml2-native', 'openssl-native', 'curl-native', 'expat-native', 'cmake-native', 'sqlite3-native', 'xz-native', 'glib-2.0-native', 'python3-native', 'zlib-native', 'ninja-native', 'pkgconfig-native', 'debianutils-native', 'qemu-native', 'gnu-config-native', 'gettext-minimal-native', 'automake-native', 'autoconf-native', 'libtool-native', 'kmod-native', 'bzip2-native', 'db-native', 'elfutils-native', 'nss-native', 'perl-native', 'dbus-native', 'libarchive-native', 'popt-native', 'shadow-native', 'libsolv-native', 'binutils-native', 'libdnf-native', 'python3-iniparse-native', 'librepo-native', 'libcomps-native', 'ncurses-native', 'libpcre-native', 'gtk-doc-native', 'meson-native', 'gettext-native', 'util-linux-native', 'libffi-native', 'libnsl2-native', 'gdbm-native', 'libtirpc-native', 'readline-native', 're2c-native', 'texinfo-dummy-native', 'm4-native', 'nspr-native', 'lzo-native', 'e2fsprogs-native', 'flex-native', 'libcheck-native', 'gobject-introspection-native', 'json-c-native', 'libmodulemd-native', 'swig-native', 'python3-six-native', 'attr-native', 'gpgme-native', 'python3-setuptools-native', 'libyaml-native', 'libgpg-error-native', 'libassuan-native', 'unzip-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_rootfs
NOTE: Initializing intercept dir for /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs
DEBUG: Collected intercepts:
  /home/siddhu/Documents/yocto/sources/poky/scripts/postinst-intercepts/delay_to_first_boot
  /home/siddhu/Documents/yocto/sources/poky/scripts/postinst-intercepts/postinst_intercept
  /home/siddhu/Documents/yocto/sources/poky/scripts/postinst-intercepts/update_font_cache
  /home/siddhu/Documents/yocto/sources/poky/scripts/postinst-intercepts/update_gio_module_cache
  /home/siddhu/Documents/yocto/sources/poky/scripts/postinst-intercepts/update_gtk_immodules_cache
  /home/siddhu/Documents/yocto/sources/poky/scripts/postinst-intercepts/update_icon_cache
  /home/siddhu/Documents/yocto/sources/poky/scripts/postinst-intercepts/update_pixbuf_cache
  /home/siddhu/Documents/yocto/sources/poky/scripts/postinst-intercepts/update_udev_hwdb

NOTE: ###### Generate rootfs #######
NOTE: Executing '/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/createrepo_c --update -q /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/oe-rootfs-repo' ...
NOTE: Running /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/etc/yum.repos.d --installroot=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs --setopt=logdir=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/temp --repofrompath=oe-repo,/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/oe-rootfs-repo makecache --refresh
DEBUG: DNF version: 4.1.0
cachedir: /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/oe-rootfs-repo
Making cache files for all metadata files.
oe-repo: has expired and will be refreshed.
repo: downloading from remote: oe-repo
oe-repo                                          86 MB/s | 1.3 MB     00:00    
not found other for: 
not found modules for: 
not found deltainfo for: 
not found updateinfo for: 
oe-repo: using metadata from Thu 04 Jun 2020 11:38:41 AM UTC.
No module defaults found
Metadata cache created.

NOTE: Running /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/etc/yum.repos.d --installroot=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs --setopt=logdir=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/temp --repofrompath=oe-repo,/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/oe-rootfs-repo --nogpgcheck install kernel-module-xen-blkback kernel-module-xen-gntalloc kernel-module-xen-gntdev kernel-module-xen-netback kernel-module-xen-wdt packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-core-ssh-openssh qemu run-postinsts xen-base locale-base-en-us locale-base-en-gb
ERROR: Could not invoke dnf. Command '/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/etc/yum.repos.d --installroot=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs --setopt=logdir=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/temp --repofrompath=oe-repo,/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/oe-rootfs-repo --nogpgcheck install kernel-module-xen-blkback kernel-module-xen-gntalloc kernel-module-xen-gntdev kernel-module-xen-netback kernel-module-xen-wdt packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-core-ssh-openssh qemu run-postinsts xen-base locale-base-en-us locale-base-en-gb' returned 1:
DNF version: 4.1.0
cachedir: /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/oe-rootfs-repo
repo: using cache for: oe-repo
not found other for: 
not found modules for: 
not found deltainfo for: 
not found updateinfo for: 
oe-repo: using metadata from Thu 04 Jun 2020 11:38:41 AM UTC.
Last metadata expiration check: 0:00:01 ago on Thu 04 Jun 2020 11:38:42 AM UTC.
No module defaults found
No match for argument: kernel-module-xen-blkback
No match for argument: kernel-module-xen-gntalloc
No match for argument: kernel-module-xen-gntdev
No match for argument: kernel-module-xen-netback
No match for argument: kernel-module-xen-wdt
Error: Unable to find a match

ERROR: 
DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-virtualization] How to resolve the ERROR: xen-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs. and ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf.
  2020-06-04 12:05 How to resolve the ERROR: xen-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs. and ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf Siddhartha V
@ 2020-06-04 21:13 ` Christopher Clark
  2020-06-05 19:11   ` Stewart Hildebrand
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Clark @ 2020-06-04 21:13 UTC (permalink / raw)
  To: Siddhartha V; +Cc: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 5963 bytes --]

Hello Siddhartha,

I am also interested in running Xen on the Raspberry Pi 4. I hope to have time next week to be able to look into it.

Christopher

> On Jun 4, 2020, at 5:05 AM, Siddhartha V <Siddhuvgowda.18695@gmail.com> wrote:
> 
> 
> Hello dear meta-virtualization team,
> 
> I am building the xen minimal image using yocto warrior ("bitbake xen-image-minimal") by giving the target machine as "raspberrypi4".
> Sorry for reposting I have already created a post (Failure to build xen-image-minimal. Yocto bitbake failed @99% while building xen-minimal-image). From past ten days I have been stuck here. I felt it might not be reaching the purpose so I am creating again.
> 
> My bblayer.conf file is as below:
> # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
> # changes incompatibly
> POKY_BBLAYERS_CONF_VERSION = "2"
> BBPATH = "${TOPDIR}"
> 
> BBFILES ?= ""
> BBLAYERS ?= " \
> 
>   /home/siddhu/Documents/yocto/sources/poky/meta \
>   /home/siddhu/Documents/yocto/sources/poky/meta-poky \
>   /home/siddhu/Documents/yocto/sources/poky/meta-yocto-bsp \
>   /home/siddhu/Documents/yocto/sources/meta-openembedded/meta-oe \
>   /home/siddhu/Documents/yocto/sources/meta-openembedded/meta-multimedia \
>   /home/siddhu/Documents/yocto/sources/meta-openembedded/meta-python \
>   /home/siddhu/Documents/yocto/sources/meta-openembedded/meta-networking \
>   /home/siddhu/Documents/yocto/sources/meta-openembedded/meta-filesystems \
>   /home/siddhu/Documents/yocto/sources/meta-cloud-services \
>   /home/siddhu/Documents/yocto/sources/meta-selinux \
>   /home/siddhu/Documents/yocto/sources/meta-virtualization\
>   /home/siddhu/Documents/yocto/sources/meta-raspberrypi \
>   "
> 
> My local.conf file I have added the below details:
> MACHINE ??= "raspberrypi4"
> DISTRO_FEATURES += "virtualization xen"
> PACKAGE_CLASSES ?= "package_rpm"
> CONF_VERSION = "1"
> IMAGE_FEATURES += "ssh-server-dropbear"
> 
> Actually I have manually enabled the "CONFIG_XEN=y" (which was not set earlier) in .config file @ path : 
> /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/linux-raspberrypi/1_4.19.88+gitAUTOINC+988cc7beac-r0/linux-raspberrypi4-standard-build/
> later I anable "CONFIG_NETXEN_NIC=y"(which was not set earlier) 
> But even then I am not able to build the final kernel image.
> 
> But I am getting a warning: 
> WARNING: /home/siddhu/Documents/yocto/sources/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.19.bb.do_compile is tainted from a forced run
> Initialising tasks: 100% |#######################################| Time: 0:00:04
> Sstate summary: Wanted 27 Found 25 Missed 2 Current 840 (92% match, 99% complete)
> 
> Will it impact on image anyway?
> 
> Below is the my error details:
> 
> 
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/etc/yum.repos.d --installroot=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs --setopt=logdir=/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/temp --repofrompath=oe-repo,/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/oe-rootfs-repo --nogpgcheck install kernel-module-xen-blkback kernel-module-xen-gntalloc kernel-module-xen-gntdev kernel-module-xen-netback kernel-module-xen-wdt packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-core-ssh-openssh qemu run-postinsts xen-base locale-base-en-us locale-base-en-gb' returned 1:
> DNF version: 4.1.0
> cachedir: /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/rootfs/var/cache/dnf
> Added oe-repo repo from /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/oe-rootfs-repo
> repo: using cache for: oe-repo
> not found other for: 
> not found modules for: 
> not found deltainfo for: 
> not found updateinfo for: 
> oe-repo: using metadata from Thu 04 Jun 2020 11:38:41 AM UTC.
> Last metadata expiration check: 0:00:01 ago on Thu 04 Jun 2020 11:38:42 AM UTC.
> No module defaults found
> No match for argument: kernel-module-xen-blkback
> No match for argument: kernel-module-xen-gntalloc
> No match for argument: kernel-module-xen-gntdev
> No match for argument: kernel-module-xen-netback
> No match for argument: kernel-module-xen-wdt
> Error: Unable to find a match
>
> ERROR: xen-image-minimal-1.0-r0 do_rootfs: 
> ERROR: xen-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
> ERROR: Logfile of failure stored in: /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi4-poky-linux-gnueabi/xen-image-minimal/1.0-r0/temp/log.do_rootfs.31739
> ERROR: Task (/home/siddhu/Documents/yocto/sources/meta-virtualization/recipes-extended/images/xen-image-minimal.bb:do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2605 tasks of which 2604 didn't need to be rerun and 1 failed.
>
> Summary: 1 task failed:
>   /home/siddhu/Documents/yocto/sources/meta-virtualization/recipes-extended/images/xen-image-minimal.bb:do_rootfs
>
> I have tried the same for "cubieboard2" also even there I faced the same issue.Eagerly waiting for the response.
> 
> I have attached the recent log too Please help me on this. 
> 
> 
> 
> Best Regards,
> Siddhartha V
> <log.do_rootfs.31739>
> 

[-- Attachment #2: Type: text/html, Size: 11722 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-virtualization] How to resolve the ERROR: xen-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs. and ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf.
  2020-06-04 21:13 ` [meta-virtualization] " Christopher Clark
@ 2020-06-05 19:11   ` Stewart Hildebrand
  2020-06-05 19:18     ` Bruce Ashfield
  0 siblings, 1 reply; 5+ messages in thread
From: Stewart Hildebrand @ 2020-06-05 19:11 UTC (permalink / raw)
  To: Christopher Clark, Siddhartha V; +Cc: meta-virtualization

On Thursday, June 4, 2020 5:13 PM, Christopher Clark wrote:
> Hello Siddhartha,
>
> I am also interested in running Xen on the Raspberry Pi 4. I hope to have time next week to be able to look into it.
>
> Christopher
>
>
>> On Jun 4, 2020, at 5:05 AM, Siddhartha V wrote:
>> 
>> Hello dear meta-virtualization team,
>> I am building the xen minimal image using yocto warrior ("bitbake xen-image-minimal") by giving the target machine as "raspberrypi4".

Corey Minyard created a layer for Xen on Raspberry Pi 4 here https://github.com/MontaVista-OpenSourceTechnology/meta-raspberrypi-xen

Thanks,
Stew Hildebrand
DornerWorks, Ltd

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-virtualization] How to resolve the ERROR: xen-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs. and ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf.
  2020-06-05 19:11   ` Stewart Hildebrand
@ 2020-06-05 19:18     ` Bruce Ashfield
  2020-06-05 20:31       ` Rich Persaud
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2020-06-05 19:18 UTC (permalink / raw)
  To: Stewart Hildebrand; +Cc: Christopher Clark, Siddhartha V, meta-virtualization

On Fri, Jun 5, 2020 at 3:12 PM Stewart Hildebrand
<stewart.hildebrand@dornerworks.com> wrote:
>
> On Thursday, June 4, 2020 5:13 PM, Christopher Clark wrote:
> > Hello Siddhartha,
> >
> > I am also interested in running Xen on the Raspberry Pi 4. I hope to have time next week to be able to look into it.
> >
> > Christopher
> >
> >
> >> On Jun 4, 2020, at 5:05 AM, Siddhartha V wrote:
> >>
> >> Hello dear meta-virtualization team,
> >> I am building the xen minimal image using yocto warrior ("bitbake xen-image-minimal") by giving the target machine as "raspberrypi4".
>
> Corey Minyard created a layer for Xen on Raspberry Pi 4 here https://github.com/MontaVista-OpenSourceTechnology/meta-raspberrypi-xen
>

Someone needs to lean on them to get patches submitted to meta-virt.

Having a layer like that, with fixes missing from meta-virt, makes no sense.

Bruce

> Thanks,
> Stew Hildebrand
> DornerWorks, Ltd
> 



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-virtualization] How to resolve the ERROR: xen-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs. and ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf.
  2020-06-05 19:18     ` Bruce Ashfield
@ 2020-06-05 20:31       ` Rich Persaud
  0 siblings, 0 replies; 5+ messages in thread
From: Rich Persaud @ 2020-06-05 20:31 UTC (permalink / raw)
  To: Bruce Ashfield
  Cc: Stewart Hildebrand, Christopher Clark, Siddhartha V,
	meta-virtualization, Corey Minyard

On Jun 5, 2020, at 15:20, Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
> 
> On Fri, Jun 5, 2020 at 3:12 PM Stewart Hildebrand
> <stewart.hildebrand@dornerworks.com> wrote:
>> 
>>> On Thursday, June 4, 2020 5:13 PM, Christopher Clark wrote:
>>> Hello Siddhartha,
>>> 
>>> I am also interested in running Xen on the Raspberry Pi 4. I hope to have time next week to be able to look into it.
>>> 
>>> Christopher
>>> 
>>> 
>>>> On Jun 4, 2020, at 5:05 AM, Siddhartha V wrote:
>>>> 
>>>> Hello dear meta-virtualization team,
>>>> I am building the xen minimal image using yocto warrior ("bitbake xen-image-minimal") by giving the target machine as "raspberrypi4".
>> 
>> Corey Minyard created a layer for Xen on Raspberry Pi 4 here https://github.com/MontaVista-OpenSourceTechnology/meta-raspberrypi-xen
>> 
> 
> Someone needs to lean on them to get patches submitted to meta-virt.
> 
> Having a layer like that, with fixes missing from meta-virt, makes no sense.
> 
> Bruce

(cc Corey)

I think that layer was originally for xen management tools on RPi.  It has likely accumulated fixes that could be upstreamed to meta-raspberrypi or meta-virt, until those fixes are finalized in upstream Xen or Linux kernel.

Rich

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-05 20:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-04 12:05 How to resolve the ERROR: xen-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs. and ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf Siddhartha V
2020-06-04 21:13 ` [meta-virtualization] " Christopher Clark
2020-06-05 19:11   ` Stewart Hildebrand
2020-06-05 19:18     ` Bruce Ashfield
2020-06-05 20:31       ` Rich Persaud

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.