[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: device model did not start: -3



Hello,

 -- snip --
I met the problem "device model did not start: -3" while creating xen
virtual machine.
This is the configuration of VM.

    [root@localhost ~]# cat ubuntu1804.cfg
    builder = "hvm"
    name = "ubuntu1804"
    memory = 1024
    vcpus = 1
    vif = [ 'mac=00:16:3E:11:11:21' ]
    disk = [ '/root/ubuntu1804.img,raw,hda,rw' ]
    vnc = 1
    vnclisten = "0.0.0.0"
    serial = "pty"

Error info.

    [root@localhost ~]# xl create ubuntu1804.cfg
    Parsing config from ubuntu1804.cfg
    libxl: error: libxl_dm.c:2756:device_model_spawn_outcome: Domain
19:domain 19 device model: spawn failed (rc=-3)
 bxl_domain.c:920:domain_destroy_cb: Domain 19:Destruction of domain failed
    [root@localhost rose]# cat /var/log/xen/qemu-dm-ubuntu1804.log
    /usr/lib64/xen/bin/qemu-system-i386: symbol lookup error:
/usr/lib64/xen/bin/qemu-system-i386: undefined symbol:
gdk_wayland_display_get_type
  -- snip --

The relavant part is the wayland error. I believe that there was a new
version of gtk3 released after your xen-4.12.4 was built. See below:

[mockbuild@almalinux8:~/.config/mock]$ cat
/var/lib/mock/epel-7-sclo-x86_64/root/builddir/my-info
CentOS Linux release 7.9.2009 (Core)

/*
 your Xen was built Jan 26, 2022; while this gtk3 was built on Feb 5, 2022
 gtk3 and opengl support pull in Wayland objects, see the ldd calls on
 qemu-system-i386 and ui-gtk.so
*/
<mock-chroot> sh-4.2# rpm -qi gtk3 --changelog | head -n33
Name        : gtk3
Version     : 3.22.30
Release     : 8.el7_9
Architecture: x86_64
Install Date: Sun Jul 24 19:20:31 2022
Group       : Unspecified
Size        : 17937985
License     : LGPLv2+
Signature   : RSA/SHA256, Wed Apr  6 17:04:58 2022, Key ID 24c6a8a7f4a80eb5
Source RPM  : gtk3-3.22.30-8.el7_9.src.rpm
Build Date  : Tue Apr  5 16:28:06 2022
Build Host  : x86-02.bsys.centos.org
Relocations : (not relocatable)
Packager    : CentOS BuildSystem <http://bugs.centos.org>
Vendor      : CentOS
URL         : http://www.gtk.org
Summary     : GTK+ graphical user interface library
Description :
GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is suitable for
projects ranging from small one-off tools to complete application
suites.

This package contains version 3 of GTK+.
* Tue Feb 15 2022 David King <dking@xxxxxxxxxx> - 3.22.30-8
- Further treeview a11y refcount fix (#1965195)

* Mon Jan 17 2022 David King <dking@xxxxxxxxxx> - 3.22.30-7
- Fix treeview a11y refcounting (#1965195)
- Avoid cellarea resize crash (#1962215)

ldd /builddir/build/BUILD/xen-4.12.4/dist/uumeq/usr/lib/xen/lib/qemu/ui-gtk.so
        linux-vdso.so.1 =>  (0x00007fffa3be2000)
        libgtk-3.so.0 => /lib64/libgtk-3.so.0 (0x00007f8fc45a5000)
        libgdk-3.so.0 => /lib64/libgdk-3.so.0 (0x00007f8fc42bb000)
        libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 
(0x00007f8fc4093000)
        libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f8fc3d5c000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f8fc3b0b000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f8fc37f5000)
        libX11.so.6 => /lib64/libX11.so.6 (0x00007f8fc34b7000)
        libvte2_90.so.9 => /lib64/libvte2_90.so.9 (0x00007f8fc3211000)
        libepoxy.so.0 => /lib64/libepoxy.so.0 (0x00007f8fc2ee5000)
        libSDL2-2.0.so.0 => /lib64/libSDL2-2.0.so.0 (0x00007f8fc2b5d000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f8fc278f000)
        libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f8fc258b000)
        libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 
(0x00007f8fc237d000)
        libXi.so.6 => /lib64/libXi.so.6 (0x00007f8fc216d000)
        libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f8fc1f67000)
        libcairo-gobject.so.2 => /lib64/libcairo-gobject.so.2 
(0x00007f8fc1d5e000)
        libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007f8fc1b38000)
        libatk-bridge-2.0.so.0 => /lib64/libatk-bridge-2.0.so.0 
(0x00007f8fc1909000)
        libwayland-client.so.0 => /lib64/libwayland-client.so.0 
(0x00007f8fc16fa000)
        libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007f8fc14e4000)
        libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f8fc129e000)
        libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007f8fc105c000)
        libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f8fc0cbc000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f8fc09ba000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8fc079e000)
        libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007f8fc059b000)
        libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f8fc0390000)
        libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007f8fc0185000)
        libXcomposite.so.1 => /lib64/libXcomposite.so.1 (0x00007f8fbff82000)
        libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007f8fbfd7f000)
        libxkbcommon.so.0 => /lib64/libxkbcommon.so.0 (0x00007f8fbfb3f000)
        libwayland-cursor.so.0 => /lib64/libwayland-cursor.so.0 
(0x00007f8fbf937000)
        libwayland-egl.so.1 => /lib64/libwayland-egl.so.1 (0x00007f8fbf735000)
        libXext.so.6 => /lib64/libXext.so.6 (0x00007f8fbf523000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f8fbf31b000)
        libpng15.so.15 => /lib64/libpng15.so.15 (0x00007f8fbf0f0000)
        libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f8fbee47000)
        libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f8fbeb88000)
        libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f8fbe974000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f8fbe770000)
        libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f8fbe56c000)
        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f8fbe344000)
        libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007f8fbe136000)
        libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f8fbdf2b000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f8fbdd15000)
        libGL.so.1 => /lib64/libGL.so.1 (0x00007f8fbda89000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f8fbd827000)
        libffi.so.6 => /lib64/libffi.so.6 (0x00007f8fbd61f000)
        libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f8fbd3f8000)
        libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f8fbd1ce000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007f8fbcfcb000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f8fc50be000)
        libatspi.so.0 => /lib64/libatspi.so.0 (0x00007f8fbcd9a000)
        libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f8fbcb4a000)
        libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f8fbc8ad000)
        libthai.so.0 => /lib64/libthai.so.0 (0x00007f8fbc6a1000)
        libfribidi.so.0 => /lib64/libfribidi.so.0 (0x00007f8fbc485000)
        libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f8fbc25b000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f8fbc056000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f8fbbe2f000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f8fbbc15000)
        libmount.so.1 => /lib64/libmount.so.1 (0x00007f8fbb9d2000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8fbb7bc000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f8fbb5ac000)
        libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f8fbb2f6000)
        libXau.so.6 => /lib64/libXau.so.6 (0x00007f8fbb0f2000)
        libGLX.so.0 => /lib64/libGLX.so.0 (0x00007f8fbaec0000)
        libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f8fbac8f000)
        libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f8fbaa61000)
        libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f8fba821000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007f8fba61c000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f8fba3f6000)
        liblz4.so.1 => /lib64/liblz4.so.1 (0x00007f8fba1e7000)
        libgcrypt.so.11 => /lib64/libgcrypt.so.11 (0x00007f8fb9f66000)
        libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f8fb9d61000)
        libdw.so.1 => /lib64/libdw.so.1 (0x00007f8fb9b10000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007f8fb990b000)
        libelf.so.1 => /lib64/libelf.so.1 (0x00007f8fb96f3000)

ldd /builddir/build/BUILD/xen-4.12.4/dist/uumeq/usr/lib/xen/bin/qemu-system-i386
        linux-vdso.so.1 =>  (0x00007ffc4d1ec000)
        libseccomp.so.2 => /lib64/libseccomp.so.2 (0x00007fbcaa24e000)
        libbrlapi.so.0.6 => /lib64/libbrlapi.so.0.6 (0x00007fbcaa042000)
        libusbredirparser.so.1 => /lib64/libusbredirparser.so.1 
(0x00007fbca9e3a000)
        libusb-1.0.so.0 => /lib64/libusb-1.0.so.0 (0x00007fbca9c21000)
        librdmacm.so.1 => /lib64/librdmacm.so.1 (0x00007fbca9a0a000)
        libibverbs.so.1 => /lib64/libibverbs.so.1 (0x00007fbca97f1000)
        libepoxy.so.0 => /lib64/libepoxy.so.0 (0x00007fbca94c5000)
        libgbm.so.1 => /lib64/libgbm.so.1 (0x00007fbca92b7000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fbca90a1000)
        libaio.so.1 => /lib64/libaio.so.1 (0x00007fbca8e9f000)
        libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007fbca8bf6000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007fbca89f3000)
        libnuma.so.1 => /lib64/libnuma.so.1 (0x00007fbca87e7000)
        libpng15.so.15 => /lib64/libpng15.so.15 (0x00007fbca85bc000)
        libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007fbca8367000)
        libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007fbca814a000)
        libnettle.so.4 => /lib64/libnettle.so.4 (0x00007fbca7f19000)
        libgnutls.so.28 => /lib64/libgnutls.so.28 (0x00007fbca7bdf000)
        libxenstore.so.3.0 => not found
        libxenctrl.so.4.12 => not found
        libxendevicemodel.so.1 => not found
        libxenforeignmemory.so.1 => not found
        libxengnttab.so.1 => not found
        libxenevtchn.so.1 => not found
        libxentoolcore.so.1 => not found
        liblzo2.so.2 => /lib64/liblzo2.so.2 (0x00007fbca79be000)
        libspice-server.so.1 => /lib64/libspice-server.so.1 (0x00007fbca7687000)
        libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007fbca7483000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007fbca716d000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fbca6f65000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fbca6c63000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fbca6a4d000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbca6831000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fbca6463000)
        libudev.so.1 => /lib64/libudev.so.1 (0x00007fbca624d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fbcab370000)
        libnl-route-3.so.200 => /lib64/libnl-route-3.so.200 (0x00007fbca5fe0000)
        libnl-3.so.200 => /lib64/libnl-3.so.200 (0x00007fbca5dbf000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fbca5bbb000)
        libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fbca5991000)
        libwayland-server.so.0 => /lib64/libwayland-server.so.0 
(0x00007fbca577e000)
        libdrm.so.2 => /lib64/libdrm.so.2 (0x00007fbca556d000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fbca5353000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fbca511c000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fbca4ecf000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fbca4be6000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fbca49b3000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fbca47af000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fbca459f000)
        libp11-kit.so.0 => /lib64/libp11-kit.so.0 (0x00007fbca4270000)
        libtasn1.so.6 => /lib64/libtasn1.so.6 (0x00007fbca405d000)
        libhogweed.so.2 => /lib64/libhogweed.so.2 (0x00007fbca3e36000)
        libgmp.so.10 => /lib64/libgmp.so.10 (0x00007fbca3bbe000)
        libcelt051.so.0 => /lib64/libcelt051.so.0 (0x00007fbca39af000)
        libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007fbca37ad000)
        libopus.so.0 => /lib64/libopus.so.0 (0x00007fbca356b000)
        libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007fbca31cb000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007fbca2f7a000)
        liblz4.so.1 => /lib64/liblz4.so.1 (0x00007fbca2d6b000)
        libssl.so.10 => /lib64/libssl.so.10 (0x00007fbca2af9000)
        libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007fbca2696000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fbca2434000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007fbca222f000)
        libdw.so.1 => /lib64/libdw.so.1 (0x00007fbca1fde000)
        libffi.so.6 => /lib64/libffi.so.6 (0x00007fbca1dd6000)
        libfreebl3.so => /lib64/libfreebl3.so (0x00007fbca1bd3000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fbca19cf000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fbca17a8000)
        libmount.so.1 => /lib64/libmount.so.1 (0x00007fbca1565000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007fbca1360000)
        libelf.so.1 => /lib64/libelf.so.1 (0x00007fbca1148000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fbca0f22000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fbca0d12000)
        libblkid.so.1 => /lib64/libblkid.so.1 (0x00007fbca0ad2000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fbca08cd000)

> rpm -qip --requires build/RPMS/qemuu-3.0.1+4-6.el7.x86_64.rpm >> my-info
Name        : qemuu
Epoch       : 1
Version     : 3.0.1+4
Release     : 6.el7
Architecture: x86_64
Install Date: (not installed)
Group       : Development/Libraries
Size        : 34124622
License     : GPLv2+ and LGPLv2+ and BSD
Signature   : (none)
Source RPM  : xen-4.12.4-6.el7.src.rpm
Build Date  : Sun Jul 24 20:38:11 2022
Build Host  : c7mock
Relocations : (not relocatable)
Packager    : Mark Pryor <pryorm09@xxxxxxxxx>
URL         : http://xen.org/
Summary     : Qemu upstream runtime environment
Description :
This package contains the runtime programs which
form the qemuu part of the core Xen userspace environment.
/bin/sh
/bin/sh
/bin/sh
libSDL2-2.0.so.0()(64bit)
libX11.so.6()(64bit)
libaio.so.1()(64bit)
libaio.so.1(LIBAIO_0.1)(64bit)
libaio.so.1(LIBAIO_0.4)(64bit)
libasound.so.2()(64bit)
libasound.so.2(ALSA_0.9)(64bit)
libasound.so.2(ALSA_0.9.0rc4)(64bit)
libbrlapi.so.0.6()(64bit)
libbz2.so.1()(64bit)
libc.so.6()(64bit)

cheers,
PryMar56



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.