Mailing List Archive

device model did not start: -3
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)
libxl: error: libxl_create.c:1543:domcreate_devmodel_started: Domain 19:device model did not start: -3
libxl: error: libxl_dm.c:2874:kill_device_model: Device Model already exited
libxl: error: libxl_domain.c:1038:libxl__destroy_domid: Domain 19:Non-existant domain
libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 19:Unable to destroy guest
libxl: error: libxl_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
More details.
[root@localhost ~]# xl -vvvv create ubuntu1804.cfg
Parsing config from ubuntu1804.cfg
libxl: debug: libxl_create.c:1693:do_domain_create: Domain 0:ao 0xbc96d0: create: how=(nil) callback=(nil) poller=0xbc8d00
libxl: debug: libxl_device.c:397:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=unknown
libxl: debug: libxl_device.c:432:libxl__device_disk_set_backend: Disk vdev=hda, using backend phy
libxl: debug: libxl_create.c:1018:initiate_domain_create: Domain 20:running bootloader
libxl: debug: libxl_bootloader.c:328:libxl__bootloader_run: Domain 20:not a PV/PVH domain, skipping bootloader
libxl: debug: libxl_event.c:689:libxl__ev_xswatch_deregister: watch w=0xbca2f8: deregister unregistered
domainbuilder: detail: xc_dom_allocate: cmdline="", features=""
domainbuilder: detail: xc_dom_kernel_file: filename="/usr/lib64/xen/boot/hvmloader"
domainbuilder: detail: xc_dom_malloc_filemap    : 328 kB
libxl: debug: libxl_dom.c:988:libxl__load_hvm_firmware_module: Loading BIOS: /usr/share/seabios/bios.bin
domainbuilder: detail: xc_dom_boot_xen_init: ver 4.12, caps xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
domainbuilder: detail: xc_dom_parse_image: called
domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ...
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying HVM-generic loader ...
domainbuilder: detail: loader probe OK
xc: detail: ELF: phdr: paddr=0x100000 memsz=0x5a244
xc: detail: ELF: memory: 0x100000 -> 0x15a244
domainbuilder: detail: xc_dom_mem_init: mem 1016 MB, pages 0x3f800 pages, 4k each
domainbuilder: detail: xc_dom_mem_init: 0x3f800 pages
domainbuilder: detail: xc_dom_boot_mem_init: called
domainbuilder: detail: range: start=0x0 end=0x3f800000
domainbuilder: detail: xc_dom_malloc            : 2032 kB
xc: detail: PHYSICAL MEMORY ALLOCATION:
xc: detail:   4KB PAGES: 0x0000000000000200
xc: detail:   2MB PAGES: 0x00000000000001fb
xc: detail:   1GB PAGES: 0x0000000000000000
domainbuilder: detail: xc_dom_build_image: called
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x100+0x5b at 0x7f4b0f04f000
domainbuilder: detail: xc_dom_alloc_segment:   kernel       : 0x100000 -> 0x15b000  (pfn 0x100 + 0x5b pages)
xc: detail: ELF: phdr 0 at 0x7f4b0eff4000 -> 0x7f4b0f0446a0
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x15b+0x40 at 0x7f4b0f00f000
domainbuilder: detail: xc_dom_alloc_segment:   System Firmware module : 0x15b000 -> 0x19b000  (pfn 0x15b + 0x40 pages)
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x19b+0x1 at 0x7f4b0f159000
domainbuilder: detail: xc_dom_alloc_segment:   HVM start info : 0x19b000 -> 0x19c000  (pfn 0x19b + 0x1 pages)
domainbuilder: detail: alloc_pgtables_hvm: doing nothing
domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0x19c000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0x0
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_64
domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_32p
domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32 <= matches
domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p
domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_64
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:&nbsp; &nbsp; allocated
domainbuilder: detail:&nbsp; &nbsp; &nbsp; &nbsp;malloc&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 2038 kB
domainbuilder: detail:&nbsp; &nbsp; &nbsp; &nbsp;anon mmap&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0 bytes
domainbuilder: detail:&nbsp; &nbsp; mapped
domainbuilder: detail:&nbsp; &nbsp; &nbsp; &nbsp;file mmap&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 328 kB
domainbuilder: detail:&nbsp; &nbsp; &nbsp; &nbsp;domU mmap&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 624 kB
domainbuilder: detail: vcpu_hvm: called
domainbuilder: detail: compat_gnttab_hvm_seed: d20: pfn=0xff000
domainbuilder: detail: xc_dom_set_gnttab_entry: d20 gnt[0] -&gt; d0 0xfefff
domainbuilder: detail: xc_dom_set_gnttab_entry: d20 gnt[1] -&gt; d0 0xfeffc
domainbuilder: detail: xc_dom_release: called
libxl: debug: libxl_device.c:397:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=phy
libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0xbcc710 wpath=/local/domain/0/backend/vbd/20/768/state token=3/0: register slotnum=3
libxl: debug: libxl_create.c:1730:do_domain_create: Domain 0:ao 0xbc96d0: inprogress: poller=0xbc8d00, flags=i
libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0xbcc710 wpath=/local/domain/0/backend/vbd/20/768/state token=3/0: event epath=/local/domain/0/backend/vbd/20/768/state
libxl: debug: libxl_event.c:881:devstate_callback: backend /local/domain/0/backend/vbd/20/768/state wanted state 2 still waiting state 1
libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0xbcc710 wpath=/local/domain/0/backend/vbd/20/768/state token=3/0: event epath=/local/domain/0/backend/vbd/20/768/state
libxl: debug: libxl_event.c:877:devstate_callback: backend /local/domain/0/backend/vbd/20/768/state wanted state 2 ok
libxl: debug: libxl_event.c:676:libxl__ev_xswatch_deregister: watch w=0xbcc710 wpath=/local/domain/0/backend/vbd/20/768/state token=3/0: deregister slotnum=3
libxl: debug: libxl_device.c:1117:device_backend_callback: Domain 20:calling device_backend_cleanup
libxl: debug: libxl_event.c:689:libxl__ev_xswatch_deregister: watch w=0xbcc710: deregister unregistered
libxl: debug: libxl_linux.c:194:libxl__hotplug_disk: Domain 20:Args and environment ready
libxl: debug: libxl_device.c:1218:device_hotplug: Domain 20:calling hotplug script: /etc/xen/scripts/block add
libxl: debug: libxl_device.c:1219:device_hotplug: Domain 20:extra args:
libxl: debug: libxl_device.c:1227:device_hotplug: Domain 20:env:
libxl: debug: libxl_device.c:1234:device_hotplug: Domain 20:&nbsp; &nbsp; script: /etc/xen/scripts/block
libxl: debug: libxl_device.c:1234:device_hotplug: Domain 20:&nbsp; &nbsp; XENBUS_TYPE: vbd
libxl: debug: libxl_device.c:1234:device_hotplug: Domain 20:&nbsp; &nbsp; XENBUS_PATH: backend/vbd/20/768
libxl: debug: libxl_device.c:1234:device_hotplug: Domain 20:&nbsp; &nbsp; XENBUS_BASE_PATH: backend
libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /etc/xen/scripts/block add
libxl: debug: libxl_event.c:689:libxl__ev_xswatch_deregister: watch w=0xbcc810: deregister unregistered
libxl: debug: libxl_linux.c:212:libxl__get_hotplug_script_info: Domain 20:num_exec 1, not running hotplug scripts
libxl: debug: libxl_device.c:1203:device_hotplug: Domain 20:No hotplug script to execute
libxl: debug: libxl_event.c:689:libxl__ev_xswatch_deregister: watch w=0xbcc810: deregister unregistered
libxl: debug: libxl_dm.c:178:libxl__domain_get_device_model_uid: Domain 20:dm_restrict disabled, starting QEMU as root
libxl: debug: libxl_disk.c:918:libxl__device_disk_find_local_path: Directly accessing local RAW disk /root/ubuntu1804.img
libxl: debug: libxl_dm.c:2602:libxl__spawn_local_dm: Domain 20:Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; /usr/lib64/xen/bin/qemu-system-i386
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -xen-domid
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; 20
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -chardev
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-20,server,nowait
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -no-shutdown
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -mon
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -chardev
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-20,server,nowait
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -mon
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; chardev=libxenstat-cmd,mode=control
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -nodefaults
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -no-user-config
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -name
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; ubuntu1804
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -vnc
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; 0.0.0.0:0,to=99
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -display
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; none
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -serial
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; pty
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -device
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; cirrus-vga,vgamem_mb=8
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -boot
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; order=cda
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -device
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; rtl8139,id=nic0,netdev=net0,mac=00:16:3e:11:11:21
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -netdev
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; type=tap,id=net0,ifname=vif20.0-emu,script=no,downscript=no
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -machine
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; xenfv
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -m
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; 1016
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; -drive
libxl: debug: libxl_dm.c:2604:libxl__spawn_local_dm: Domain 20:&nbsp; file=/root/ubuntu1804.img,if=ide,index=0,media=disk,format=raw,cache=writeback
libxl: debug: libxl_dm.c:2606:libxl__spawn_local_dm: Domain 20:Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with additional environment:
libxl: debug: libxl_dm.c:2608:libxl__spawn_local_dm: Domain 20:&nbsp; XEN_QEMU_CONSOLE_LIMIT=1048576
libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0xbca5f0 wpath=/local/domain/0/device-model/20/state token=3/1: register slotnum=3
libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0xbca5f0 wpath=/local/domain/0/device-model/20/state token=3/1: event epath=/local/domain/0/device-model/20/state
libxl: debug: libxl_exec.c:407:spawn_watch_event: domain 20 device model: spawn watch p=(null)
libxl: debug: libxl_event.c:676:libxl__ev_xswatch_deregister: watch w=0xbca5f0 wpath=/local/domain/0/device-model/20/state token=3/1: deregister slotnum=3
libxl: error: libxl_dm.c:2756:device_model_spawn_outcome: Domain 20:domain 20 device model: spawn failed (rc=-3)
libxl: debug: libxl_qmp.c:2162:libxl__ev_qmp_dispose: Domain 0: ev 0xbca608
libxl: error: libxl_create.c:1543:domcreate_devmodel_started: Domain 20:device model did not start: -3
libxl: debug: libxl_dm.c:3008:libxl__destroy_device_model: Domain 20:Didn't find dm UID; destroying by pid
libxl: error: libxl_dm.c:2874:kill_device_model: Device Model already exited
libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0xbd0880 wpath=/local/domain/0/backend/vbd/20/768/state token=3/2: register slotnum=3
libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0xbd0880 wpath=/local/domain/0/backend/vbd/20/768/state token=3/2: event epath=/local/domain/0/backend/vbd/20/768/state
libxl: debug: libxl_event.c:877:devstate_callback: backend /local/domain/0/backend/vbd/20/768/state wanted state 6 ok
libxl: debug: libxl_event.c:676:libxl__ev_xswatch_deregister: watch w=0xbd0880 wpath=/local/domain/0/backend/vbd/20/768/state token=3/2: deregister slotnum=3
libxl: debug: libxl_device.c:1117:device_backend_callback: Domain 20:calling device_backend_cleanup
libxl: debug: libxl_event.c:689:libxl__ev_xswatch_deregister: watch w=0xbd0880: deregister unregistered
libxl: debug: libxl_linux.c:194:libxl__hotplug_disk: Domain 20:Args and environment ready
libxl: debug: libxl_device.c:1218:device_hotplug: Domain 20:calling hotplug script: /etc/xen/scripts/block remove
libxl: debug: libxl_device.c:1219:device_hotplug: Domain 20:extra args:
libxl: debug: libxl_device.c:1227:device_hotplug: Domain 20:env:
libxl: debug: libxl_device.c:1234:device_hotplug: Domain 20:&nbsp; &nbsp; script: /etc/xen/scripts/block
libxl: debug: libxl_device.c:1234:device_hotplug: Domain 20:&nbsp; &nbsp; XENBUS_TYPE: vbd
libxl: debug: libxl_device.c:1234:device_hotplug: Domain 20:&nbsp; &nbsp; XENBUS_PATH: backend/vbd/20/768
libxl: debug: libxl_device.c:1234:device_hotplug: Domain 20:&nbsp; &nbsp; XENBUS_BASE_PATH: backend
libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /etc/xen/scripts/block remove
libxl: debug: libxl_event.c:545:watchfd_callback: watch epath=/local/domain/0/backend/vbd/20/768/state token=3/2: empty slot
libxl: debug: libxl_event.c:689:libxl__ev_xswatch_deregister: watch w=0xbd0980: deregister unregistered
libxl: debug: libxl_linux.c:212:libxl__get_hotplug_script_info: Domain 20:num_exec 1, not running hotplug scripts
libxl: debug: libxl_device.c:1203:device_hotplug: Domain 20:No hotplug script to execute
libxl: debug: libxl_event.c:689:libxl__ev_xswatch_deregister: watch w=0xbd0980: deregister unregistered
libxl: debug: libxl_linux.c:235:libxl__get_hotplug_script_info: Domain 20:backend_kind 6, no need to execute scripts
libxl: debug: libxl_device.c:1203:device_hotplug: Domain 20:No hotplug script to execute
libxl: debug: libxl_event.c:689:libxl__ev_xswatch_deregister: watch w=0xbd0ec0: deregister unregistered
libxl: debug: libxl_domain.c:1194:devices_destroy_cb: Domain 20:Forked pid 12541 for destroy of domain
libxl: debug: libxl_event.c:1873:libxl__ao_complete: ao 0xbc96d0: complete, rc=-3
libxl: debug: libxl_event.c:1842:libxl__ao__destroy: ao 0xbc96d0: destroy
libxl: debug: libxl_domain.c:902:libxl_domain_destroy: Domain 20:ao 0xbcd320: create: how=(nil) callback=(nil) poller=0xbc8d00
libxl: error: libxl_domain.c:1038:libxl__destroy_domid: Domain 20:Non-existant domain
libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 20:Unable to destroy guest
libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 20:Destruction of domain failed
libxl: debug: libxl_event.c:1873:libxl__ao_complete: ao 0xbcd320: complete, rc=-21
libxl: debug: libxl_domain.c:911:libxl_domain_destroy: Domain 20:ao 0xbcd320: inprogress: poller=0xbc8d00, flags=ic
libxl: debug: libxl_event.c:1842:libxl__ao__destroy: ao 0xbcd320: destroy
xencall:buffer: debug: total allocations:413 total releases:413
xencall:buffer: debug: current allocations:0 maximum allocations:3
xencall:buffer: debug: cache current size:3
xencall:buffer: debug: cache hits:396 misses:3 toobig:14
xencall:buffer: debug: total allocations:0 total releases:0
xencall:buffer: debug: current allocations:0 maximum allocations:0
xencall:buffer: debug: cache current size:0
xencall:buffer: debug: cache hits:0 misses:0 toobig:0
Environment info.
[root@localhost ~]# xl info
host&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: localhost.localdomain
release&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 4.9.241-37.el7.x86_64
version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : #1 SMP Mon Nov 2 13:55:04 UTC 2020
machine&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : x86_64
nr_cpus&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 4
max_cpu_id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 127
nr_nodes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 1
cores_per_socket&nbsp; &nbsp; &nbsp; &nbsp;: 4
threads_per_core&nbsp; &nbsp; &nbsp; &nbsp;: 1
cpu_mhz&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 2401.607
hw_caps&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 1f8bfbff:f7fa3223:2c100800:00000121:0000000b:009c27ab:00000008:00000100
virt_caps&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : pv hvm hvm_directio pv_directio
total_memory&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 8191
free_memory&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 7055
sharing_freed_memory&nbsp; &nbsp;: 0
sharing_used_memory&nbsp; &nbsp; : 0
outstanding_claims&nbsp; &nbsp; &nbsp;: 0
free_cpus&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0
xen_major&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 4
xen_minor&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 12
xen_extra&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : .4.103.g71e9d0c
xen_version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 4.12.4.103.g71e9d0c
xen_caps&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : credit2
xen_pagesize&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 4096
platform_params&nbsp; &nbsp; &nbsp; &nbsp; : virt_start=0xffff800000000000
xen_changeset&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :
xen_commandline&nbsp; &nbsp; &nbsp; &nbsp; : placeholder dom0_mem=1024M,max:1024M cpuinfo com1=115200,8n1 console=com1,tty loglvl=all guest_loglvl=all
cc_compiler&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
cc_compile_by&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : mockbuild
cc_compile_domain&nbsp; &nbsp; &nbsp; : centos.org
cc_compile_date&nbsp; &nbsp; &nbsp; &nbsp; : Wed Jan 26 16:38:22 UTC 2022
build_id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 217e3e609a52beb78a2923a50862571f2d4f22d2
xend_config_format&nbsp; &nbsp; &nbsp;: 4
[root@localhost ~]# uname -a
Linux localhost.localdomain 4.9.241-37.el7.x86_64 #1 SMP Mon Nov 2 13:55:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Any helps would be appreciated.
re: device model did not start: -3 [ In reply to ]
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@redhat.com> - 3.22.30-8
- Further treeview a11y refcount fix (#1965195)

* Mon Jan 17 2022 David King <dking@redhat.com> - 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@gmail.com>
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