can't start hvm/pvhvm on xen 4.4 or xen4.6

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

can't start hvm/pvhvm on xen 4.4 or xen4.6

James Okken

Hi all,

 

Sorry for the novice question which is probably answered somewhere I just can’t find.

 

I am trying create a hvm/pvhvm but keep getting errors. Any suggestions would be appreciated!

 

I’m using two hosts Fedora 14.4 with xen 4.4, and Centos 7.2 with xen4.6. Both seem to have the same error.

 

I’ve tried a number of different settings shown on different online threads, to no avail.

Usually I get the error:

libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 87 device model: spawn failed (rc=-3)

libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device model did not start: -3

 

 

here is one basic iteration of my cfg file, you can see by the commented out lines some of the settings I’ve tried.

(this is on the Centos 7.2 with xen4.6 host)

vi basic.cfg

builder="hvm"

vcpus=4

memory=4096

name="basic"

#bootloader="pygrub"

#firmware_override = "/usr/lib64/xen/boot/hvmloader"

#device_model_version="qemu-xen-traditional"

#device_model = 'qemu-dm'

#device_model_override = '/usr/lib64/xen/bin/qemu-dm'

vif = ["mac=00:15:3f:11:21:30,bridge=xenbr0,rate=100Mb/s"]

disk = [ "raw:/var/lib/xen/images/centos/xen_hvm.img,ioemu:xvda,w" ]

vfb = [ "type=vnc,vnclisten=127.0.0.1,vncdisplay=14,vncpasswd=password" ]

serial="pty"

boot = "c"

sdl=0

monitor=1

pae=1

acpi=1

apic=1

localtime=0

#xen_platform_pci=1

stdvga=1

videoram=16

gfx_passthru=0

on_poweroff="destroy"

on_reboot="restart"

on_crash="restart"

 

 

cat qemu-dm-basic.log

/usr/lib64/xen/bin/qemu-system-i386: symbol lookup error: /usr/lib64/xen/bin/qemu-system-i386: undefined symbol: libusb_free_ss_endpoint_companion_descriptor

 

 

Some command outputs

[root@ xen]# rpm -qa | grep qemu

libvirt-daemon-driver-qemu-1.1.1-29.el7.x86_64

ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch

qemu-kvm-1.5.3-60.el7.x86_64

qemu-kvm-common-1.5.3-60.el7.x86_64

qemu-img-1.5.3-60.el7.x86_64

 

[root@xen]# /usr/libexec/qemu-kvm -version

(process:22014): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported

QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7), Copyright (c) 2003-2008 Fabrice Bellard

[root@sut-1241 xen]#

 

 

 

Finally, the full output of the create:

[root@ xen]# xl -vvvv create -c /etc/xen/basic.cfg

Parsing config from /etc/xen/basic.cfg

libxl: debug: libxl_create.c:1563:do_domain_create: ao 0x157ac00: create: how=(nil) callback=(nil) poller=0x157b2a0

libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=unknown

libxl: debug: libxl_device.c:366:libxl__device_disk_set_backend: Disk vdev=xvda, using backend phy

libxl: debug: libxl_create.c:947:initiate_domain_create: running bootloader

libxl: debug: libxl_bootloader.c:324:libxl__bootloader_run: not a PV domain, skipping bootloader

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157cf08: deregister unregistered

libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=16, nr_vcpus=36, free_memkb=32127

libxl: detail: libxl_dom.c:181:numa_place_domain: NUMA placement candidate with 1 nodes, 16 cpus and 32127 KB free selected

xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xbad44

xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1bad44

xc: detail: VIRTUAL MEMORY ARRANGEMENT:

xc: detail:   Loader:   0000000000100000->00000000001bad44

xc: detail:   Modules:  0000000000000000->0000000000000000

xc: detail:   TOTAL:    0000000000000000->00000000ff000000

xc: detail:   ENTRY:    0000000000100610

xc: detail: PHYSICAL MEMORY ALLOCATION:

xc: detail:   4KB PAGES: 0x0000000000000200

xc: detail:   2MB PAGES: 0x00000000000003f7

xc: detail:   1GB PAGES: 0x0000000000000002

xc: detail: elf_load_binary: phdr 0 at 0x7f0c606da000 -> 0x7f0c6078b191

domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0x10f000

libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: register slotnum=3

libxl: debug: libxl_create.c:1586:do_domain_create: ao 0x157ac00: inprogress: poller=0x157b2a0, flags=i

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:884:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 2 still waiting state 1

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:880:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 2 ok

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: deregister slotnum=3

libxl: debug: libxl_device.c:991:device_backend_callback: calling device_backend_cleanup

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157df30: deregister unregistered

libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and environment ready

libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug script: /etc/xen/scripts/block add

libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /etc/xen/scripts/block add

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157e030: deregister unregistered

libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec 1, not running hotplug scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157e030: deregister unregistered

libxl: debug: libxl_dm.c:1796:libxl__spawn_local_dm: Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with arguments:

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   /usr/lib64/xen/bin/qemu-system-i386

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -xen-domid

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   88

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-88,server,nowait

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -no-shutdown

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   chardev=libxl-cmd,mode=control

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-88,server,nowait

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   chardev=libxenstat-cmd,mode=control

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -nodefaults

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -name

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   basic

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -vnc

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   127.0.0.1:0,to=99

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -display

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   none

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -serial

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   pty

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   VGA,vgamem_mb=16

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -boot

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   order=c

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -smp

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4,maxcpus=4

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   rtl8139,id=nic0,netdev=net0,mac=00:16:3e:10:20:30

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -netdev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   type=tap,id=net0,ifname=vif88.0-emu,script=no,downscript=no

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -machine

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   xenfv

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -m

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4080

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -drive

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   file=/var/lib/xen/images/centos/xen_1241_hvm_domU3.img,if=ide,index=0,media=disk,format=raw,cache=writeback

libxl: debug: libxl_dm.c:1800:libxl__spawn_local_dm: Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with additional environment:

libxl: debug: libxl_dm.c:1802:libxl__spawn_local_dm:   XEN_QEMU_CONSOLE_LIMIT=1048576

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: register slotnum=3

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: event epath=/local/domain/0/device-model/88/state

libxl: debug: libxl_exec.c:399:spawn_watch_event: domain 88 device model: spawn watch p=(null)

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: deregister slotnum=3

libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 88 device model: spawn failed (rc=-3)

libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device model did not start: -3

libxl: error: libxl_dm.c:1987:kill_device_model: Device Model already exited

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: register slotnum=3

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:880:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 6 ok

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: deregister slotnum=3

libxl: debug: libxl_device.c:991:device_backend_callback: calling device_backend_cleanup

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581bc0: deregister unregistered

libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and environment ready

libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug script: /etc/xen/scripts/block remove

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/88/51712/state token=3/2: empty slot

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581cc0: deregister unregistered

libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec 1, not running hotplug scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581cc0: deregister unregistered

libxl: debug: libxl_linux.c:267:libxl__get_hotplug_script_info: backend_kind 6, no need to execute scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1582400: deregister unregistered

libxl: debug: libxl.c:1738:devices_destroy_cb: forked pid 19076 for destroy of domain 88

libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157ac00: complete, rc=-3

libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157ac00: destroy

libxl: debug: libxl.c:1477:libxl_domain_destroy: ao 0x157f7f0: create: how=(nil) callback=(nil) poller=0x157b2a0

libxl: error: libxl.c:1610:libxl__destroy_domid: non-existant domain 88

libxl: error: libxl.c:1568:domain_destroy_callback: unable to destroy guest with domid 88

libxl: error: libxl.c:1495:domain_destroy_cb: destruction of domain 88 failed

libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157f7f0: complete, rc=-21

libxl: debug: libxl.c:1486:libxl_domain_destroy: ao 0x157f7f0: inprogress: poller=0x157b2a0, flags=ic

libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157f7f0: destroy

xc: debug: hypercall buffer: total allocations:1185 total releases:1185

xc: debug: hypercall buffer: current allocations:0 maximum allocations:3

xc: debug: hypercall buffer: cache current size:3

xc: debug: hypercall buffer: cache hits:1170 misses:3 toobig:12


_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: can't start hvm/pvhvm on xen 4.4 or xen4.6

James Okken

Hi again

 

Just a bit more info

 

The same thing occurs when I use the hvm template cfg file: xlexample.hvm

Also “xl dmesg” does not show any messages.

 

 

And one quick question: do I need a hard drive or cdrom defined in order for a domain to start? Can I comment the disk  = [‘ line until I get the domain to start?

 

thanks

 

 

 

From: James Okken
Sent: Wednesday, April 19, 2017 1:29 PM
To: '[hidden email]'
Subject: can't start hvm/pvhvm on xen 4.4 or xen4.6

 

Hi all,

 

Sorry for the novice question which is probably answered somewhere I just can’t find.

 

I am trying create a hvm/pvhvm but keep getting errors. Any suggestions would be appreciated!

 

I’m using two hosts Ubuntu 14.4 with xen 4.4, and Centos 7.2 with xen4.6. Both seem to have the same error.

 

I’ve tried a number of different settings shown on different online threads, to no avail.

Usually I get the error:

libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 87 device model: spawn failed (rc=-3)

libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device model did not start: -3

 

 

here is one basic iteration of my cfg file, you can see by the commented out lines some of the settings I’ve tried.

(this is on the Centos 7.2 with xen4.6 host)

vi basic.cfg

builder="hvm"

vcpus=4

memory=4096

name="basic"

#bootloader="pygrub"

#firmware_override = "/usr/lib64/xen/boot/hvmloader"

#device_model_version="qemu-xen-traditional"

#device_model = 'qemu-dm'

#device_model_override = '/usr/lib64/xen/bin/qemu-dm'

vif = ["mac=00:15:3f:11:21:30,bridge=xenbr0,rate=100Mb/s"]

disk = [ "raw:/var/lib/xen/images/centos/xen_hvm.img,ioemu:xvda,w" ]

vfb = [ "type=vnc,vnclisten=127.0.0.1,vncdisplay=14,vncpasswd=password" ]

serial="pty"

boot = "c"

sdl=0

monitor=1

pae=1

acpi=1

apic=1

localtime=0

#xen_platform_pci=1

stdvga=1

videoram=16

gfx_passthru=0

on_poweroff="destroy"

on_reboot="restart"

on_crash="restart"

 

 

cat qemu-dm-basic.log

/usr/lib64/xen/bin/qemu-system-i386: symbol lookup error: /usr/lib64/xen/bin/qemu-system-i386: undefined symbol: libusb_free_ss_endpoint_companion_descriptor

 

 

Some command outputs

[root@ xen]# rpm -qa | grep qemu

libvirt-daemon-driver-qemu-1.1.1-29.el7.x86_64

ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch

qemu-kvm-1.5.3-60.el7.x86_64

qemu-kvm-common-1.5.3-60.el7.x86_64

qemu-img-1.5.3-60.el7.x86_64

 

[root@xen]# /usr/libexec/qemu-kvm -version

(process:22014): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported

QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7), Copyright (c) 2003-2008 Fabrice Bellard

[root@sut-1241 xen]#

 

 

 

Finally, the full output of the create:

[root@ xen]# xl -vvvv create -c /etc/xen/basic.cfg

Parsing config from /etc/xen/basic.cfg

libxl: debug: libxl_create.c:1563:do_domain_create: ao 0x157ac00: create: how=(nil) callback=(nil) poller=0x157b2a0

libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=unknown

libxl: debug: libxl_device.c:366:libxl__device_disk_set_backend: Disk vdev=xvda, using backend phy

libxl: debug: libxl_create.c:947:initiate_domain_create: running bootloader

libxl: debug: libxl_bootloader.c:324:libxl__bootloader_run: not a PV domain, skipping bootloader

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157cf08: deregister unregistered

libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=16, nr_vcpus=36, free_memkb=32127

libxl: detail: libxl_dom.c:181:numa_place_domain: NUMA placement candidate with 1 nodes, 16 cpus and 32127 KB free selected

xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xbad44

xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1bad44

xc: detail: VIRTUAL MEMORY ARRANGEMENT:

xc: detail:   Loader:   0000000000100000->00000000001bad44

xc: detail:   Modules:  0000000000000000->0000000000000000

xc: detail:   TOTAL:    0000000000000000->00000000ff000000

xc: detail:   ENTRY:    0000000000100610

xc: detail: PHYSICAL MEMORY ALLOCATION:

xc: detail:   4KB PAGES: 0x0000000000000200

xc: detail:   2MB PAGES: 0x00000000000003f7

xc: detail:   1GB PAGES: 0x0000000000000002

xc: detail: elf_load_binary: phdr 0 at 0x7f0c606da000 -> 0x7f0c6078b191

domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0x10f000

libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: register slotnum=3

libxl: debug: libxl_create.c:1586:do_domain_create: ao 0x157ac00: inprogress: poller=0x157b2a0, flags=i

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:884:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 2 still waiting state 1

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:880:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 2 ok

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: deregister slotnum=3

libxl: debug: libxl_device.c:991:device_backend_callback: calling device_backend_cleanup

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157df30: deregister unregistered

libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and environment ready

libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug script: /etc/xen/scripts/block add

libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /etc/xen/scripts/block add

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157e030: deregister unregistered

libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec 1, not running hotplug scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157e030: deregister unregistered

libxl: debug: libxl_dm.c:1796:libxl__spawn_local_dm: Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with arguments:

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   /usr/lib64/xen/bin/qemu-system-i386

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -xen-domid

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   88

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-88,server,nowait

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -no-shutdown

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   chardev=libxl-cmd,mode=control

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-88,server,nowait

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   chardev=libxenstat-cmd,mode=control

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -nodefaults

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -name

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   basic

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -vnc

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   127.0.0.1:0,to=99

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -display

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   none

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -serial

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   pty

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   VGA,vgamem_mb=16

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -boot

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   order=c

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -smp

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4,maxcpus=4

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   rtl8139,id=nic0,netdev=net0,mac=00:16:3e:10:20:30

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -netdev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   type=tap,id=net0,ifname=vif88.0-emu,script=no,downscript=no

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -machine

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   xenfv

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -m

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4080

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -drive

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   file=/var/lib/xen/images/centos/xen_1241_hvm_domU3.img,if=ide,index=0,media=disk,format=raw,cache=writeback

libxl: debug: libxl_dm.c:1800:libxl__spawn_local_dm: Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with additional environment:

libxl: debug: libxl_dm.c:1802:libxl__spawn_local_dm:   XEN_QEMU_CONSOLE_LIMIT=1048576

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: register slotnum=3

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: event epath=/local/domain/0/device-model/88/state

libxl: debug: libxl_exec.c:399:spawn_watch_event: domain 88 device model: spawn watch p=(null)

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: deregister slotnum=3

libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 88 device model: spawn failed (rc=-3)

libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device model did not start: -3

libxl: error: libxl_dm.c:1987:kill_device_model: Device Model already exited

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: register slotnum=3

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:880:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 6 ok

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: deregister slotnum=3

libxl: debug: libxl_device.c:991:device_backend_callback: calling device_backend_cleanup

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581bc0: deregister unregistered

libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and environment ready

libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug script: /etc/xen/scripts/block remove

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/88/51712/state token=3/2: empty slot

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581cc0: deregister unregistered

libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec 1, not running hotplug scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581cc0: deregister unregistered

libxl: debug: libxl_linux.c:267:libxl__get_hotplug_script_info: backend_kind 6, no need to execute scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1582400: deregister unregistered

libxl: debug: libxl.c:1738:devices_destroy_cb: forked pid 19076 for destroy of domain 88

libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157ac00: complete, rc=-3

libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157ac00: destroy

libxl: debug: libxl.c:1477:libxl_domain_destroy: ao 0x157f7f0: create: how=(nil) callback=(nil) poller=0x157b2a0

libxl: error: libxl.c:1610:libxl__destroy_domid: non-existant domain 88

libxl: error: libxl.c:1568:domain_destroy_callback: unable to destroy guest with domid 88

libxl: error: libxl.c:1495:domain_destroy_cb: destruction of domain 88 failed

libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157f7f0: complete, rc=-21

libxl: debug: libxl.c:1486:libxl_domain_destroy: ao 0x157f7f0: inprogress: poller=0x157b2a0, flags=ic

libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157f7f0: destroy

xc: debug: hypercall buffer: total allocations:1185 total releases:1185

xc: debug: hypercall buffer: current allocations:0 maximum allocations:3

xc: debug: hypercall buffer: cache current size:3

xc: debug: hypercall buffer: cache hits:1170 misses:3 toobig:12


_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: can't start hvm/pvhvm on xen 4.4 or xen4.6

James Okken
In reply to this post by James Okken

These systems are pretty brand new Intel E5 –v3s

 

TXT is disabled in the BIOS.

 

[root@xen ~]# xl dmesg | grep -i virt

(XEN) I/O virtualisation enabled

(XEN)  - APIC MMIO access virtualisation

(XEN)  - Virtual-Processor Identifiers (VPID)

(XEN)  - Virtual NMI

(XEN) VIRTUAL MEMORY ARRANGEMENT:

 

 

[root@xen ~]# xl dmesg | grep -i hvm

(XEN) HVM: ASIDs enabled.

(XEN) HVM: VMX enabled

(XEN) HVM: Hardware Assisted Paging (HAP) detected

(XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB

 

[root@xen~]# xl info

host                   : xen

release                : 4.9.13-22.el7.x86_64

version                : #1 SMP Sun Feb 26 22:15:59 UTC 2017

machine                : x86_64

nr_cpus                : 32

max_cpu_id             : 31

nr_nodes               : 2

cores_per_socket       : 8

threads_per_core       : 2

cpu_mhz                : 2400

hw_caps                : bfebfbff:2c100800:00000000:00003f00:17bee3ff:00000000:00000001:00000000

virt_caps              : hvm hvm_directio

total_memory           : 65490

free_memory            : 63619

sharing_freed_memory   : 0

sharing_used_memory    : 0

outstanding_claims     : 0

free_cpus              : 0

xen_major              : 4

xen_minor              : 6

xen_extra              : .3-8.el7

xen_version            : 4.6.3-8.el7

xen_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

xen_scheduler          : credit

xen_pagesize           : 4096

platform_params        : virt_start=0xffff800000000000

xen_changeset          : Wed Feb 15 02:12:22 2017 -0600 git:149e51c-dirty

xen_commandline        : placeholder dom0_mem=1024M,max:1024M cpuinfo com1=115200,8n1 console=com1,tty loglvl=all guest_loglvl=all

cc_compiler            : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)

cc_compile_by          : mockbuild

cc_compile_domain      : centos.org

cc_compile_date        : Tue Feb 28 14:33:09 UTC 2017

xend_config_format     : 4

 

James Okken

Lab Manager

Dialogic Research Inc.
4 Gatehall Drive

Parsippany
NJ 07054
USA

Tel:       973 967 5179
Email:   [hidden email]

Web:    www.dialogic.comThe Network Fuel Company

This e-mail is intended only for the named recipient(s) and may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. No waiver of privilege, confidence or otherwise is intended by virtue of communication via the internet. Any unauthorized use, dissemination or copying is strictly prohibited. If you have received this e-mail in error, or are not named as a recipient, please immediately notify the sender and destroy all copies of this e-mail.

 

From: James Okken
Sent: Thursday, April 20, 2017 11:27 AM
To: '[hidden email]'
Subject: RE: can't start hvm/pvhvm on xen 4.4 or xen4.6

 

Hi again

 

Just a bit more info

 

The same thing occurs when I use the hvm template cfg file: xlexample.hvm

Also “xl dmesg” does not show any messages.

 

 

And one quick question: do I need a hard drive or cdrom defined in order for a domain to start? Can I comment the disk  = [‘ line until I get the domain to start?

 

thanks

 

 

 

From: James Okken
Sent: Wednesday, April 19, 2017 1:29 PM
To: '[hidden email]'
Subject: can't start hvm/pvhvm on xen 4.4 or xen4.6

 

Hi all,

 

Sorry for the novice question which is probably answered somewhere I just can’t find.

 

I am trying create a hvm/pvhvm but keep getting errors. Any suggestions would be appreciated!

 

I’m using two hosts Ubuntu 14.4 with xen 4.4, and Centos 7.2 with xen4.6. Both seem to have the same error.

 

I’ve tried a number of different settings shown on different online threads, to no avail.

Usually I get the error:

libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 87 device model: spawn failed (rc=-3)

libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device model did not start: -3

 

 

here is one basic iteration of my cfg file, you can see by the commented out lines some of the settings I’ve tried.

(this is on the Centos 7.2 with xen4.6 host)

vi basic.cfg

builder="hvm"

vcpus=4

memory=4096

name="basic"

#bootloader="pygrub"

#firmware_override = "/usr/lib64/xen/boot/hvmloader"

#device_model_version="qemu-xen-traditional"

#device_model = 'qemu-dm'

#device_model_override = '/usr/lib64/xen/bin/qemu-dm'

vif = ["mac=00:15:3f:11:21:30,bridge=xenbr0,rate=100Mb/s"]

disk = [ "raw:/var/lib/xen/images/centos/xen_hvm.img,ioemu:xvda,w" ]

vfb = [ "type=vnc,vnclisten=127.0.0.1,vncdisplay=14,vncpasswd=password" ]

serial="pty"

boot = "c"

sdl=0

monitor=1

pae=1

acpi=1

apic=1

localtime=0

#xen_platform_pci=1

stdvga=1

videoram=16

gfx_passthru=0

on_poweroff="destroy"

on_reboot="restart"

on_crash="restart"

 

 

cat qemu-dm-basic.log

/usr/lib64/xen/bin/qemu-system-i386: symbol lookup error: /usr/lib64/xen/bin/qemu-system-i386: undefined symbol: libusb_free_ss_endpoint_companion_descriptor

 

 

Some command outputs

[root@ xen]# rpm -qa | grep qemu

libvirt-daemon-driver-qemu-1.1.1-29.el7.x86_64

ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch

qemu-kvm-1.5.3-60.el7.x86_64

qemu-kvm-common-1.5.3-60.el7.x86_64

qemu-img-1.5.3-60.el7.x86_64

 

[root@xen]# /usr/libexec/qemu-kvm -version

(process:22014): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported

QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7), Copyright (c) 2003-2008 Fabrice Bellard

[root@sut-1241 xen]#

 

 

 

Finally, the full output of the create:

[root@ xen]# xl -vvvv create -c /etc/xen/basic.cfg

Parsing config from /etc/xen/basic.cfg

libxl: debug: libxl_create.c:1563:do_domain_create: ao 0x157ac00: create: how=(nil) callback=(nil) poller=0x157b2a0

libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=unknown

libxl: debug: libxl_device.c:366:libxl__device_disk_set_backend: Disk vdev=xvda, using backend phy

libxl: debug: libxl_create.c:947:initiate_domain_create: running bootloader

libxl: debug: libxl_bootloader.c:324:libxl__bootloader_run: not a PV domain, skipping bootloader

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157cf08: deregister unregistered

libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=16, nr_vcpus=36, free_memkb=32127

libxl: detail: libxl_dom.c:181:numa_place_domain: NUMA placement candidate with 1 nodes, 16 cpus and 32127 KB free selected

xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xbad44

xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1bad44

xc: detail: VIRTUAL MEMORY ARRANGEMENT:

xc: detail:   Loader:   0000000000100000->00000000001bad44

xc: detail:   Modules:  0000000000000000->0000000000000000

xc: detail:   TOTAL:    0000000000000000->00000000ff000000

xc: detail:   ENTRY:    0000000000100610

xc: detail: PHYSICAL MEMORY ALLOCATION:

xc: detail:   4KB PAGES: 0x0000000000000200

xc: detail:   2MB PAGES: 0x00000000000003f7

xc: detail:   1GB PAGES: 0x0000000000000002

xc: detail: elf_load_binary: phdr 0 at 0x7f0c606da000 -> 0x7f0c6078b191

domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0x10f000

libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: register slotnum=3

libxl: debug: libxl_create.c:1586:do_domain_create: ao 0x157ac00: inprogress: poller=0x157b2a0, flags=i

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:884:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 2 still waiting state 1

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:880:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 2 ok

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: deregister slotnum=3

libxl: debug: libxl_device.c:991:device_backend_callback: calling device_backend_cleanup

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157df30: deregister unregistered

libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and environment ready

libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug script: /etc/xen/scripts/block add

libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /etc/xen/scripts/block add

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157e030: deregister unregistered

libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec 1, not running hotplug scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157e030: deregister unregistered

libxl: debug: libxl_dm.c:1796:libxl__spawn_local_dm: Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with arguments:

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   /usr/lib64/xen/bin/qemu-system-i386

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -xen-domid

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   88

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-88,server,nowait

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -no-shutdown

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   chardev=libxl-cmd,mode=control

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-88,server,nowait

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   chardev=libxenstat-cmd,mode=control

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -nodefaults

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -name

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   basic

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -vnc

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   127.0.0.1:0,to=99

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -display

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   none

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -serial

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   pty

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   VGA,vgamem_mb=16

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -boot

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   order=c

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -smp

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4,maxcpus=4

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   rtl8139,id=nic0,netdev=net0,mac=00:16:3e:10:20:30

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -netdev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   type=tap,id=net0,ifname=vif88.0-emu,script=no,downscript=no

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -machine

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   xenfv

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -m

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4080

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -drive

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   file=/var/lib/xen/images/centos/xen_1241_hvm_domU3.img,if=ide,index=0,media=disk,format=raw,cache=writeback

libxl: debug: libxl_dm.c:1800:libxl__spawn_local_dm: Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with additional environment:

libxl: debug: libxl_dm.c:1802:libxl__spawn_local_dm:   XEN_QEMU_CONSOLE_LIMIT=1048576

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: register slotnum=3

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: event epath=/local/domain/0/device-model/88/state

libxl: debug: libxl_exec.c:399:spawn_watch_event: domain 88 device model: spawn watch p=(null)

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: deregister slotnum=3

libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 88 device model: spawn failed (rc=-3)

libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device model did not start: -3

libxl: error: libxl_dm.c:1987:kill_device_model: Device Model already exited

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: register slotnum=3

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:880:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 6 ok

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: deregister slotnum=3

libxl: debug: libxl_device.c:991:device_backend_callback: calling device_backend_cleanup

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581bc0: deregister unregistered

libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and environment ready

libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug script: /etc/xen/scripts/block remove

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/88/51712/state token=3/2: empty slot

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581cc0: deregister unregistered

libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec 1, not running hotplug scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581cc0: deregister unregistered

libxl: debug: libxl_linux.c:267:libxl__get_hotplug_script_info: backend_kind 6, no need to execute scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1582400: deregister unregistered

libxl: debug: libxl.c:1738:devices_destroy_cb: forked pid 19076 for destroy of domain 88

libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157ac00: complete, rc=-3

libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157ac00: destroy

libxl: debug: libxl.c:1477:libxl_domain_destroy: ao 0x157f7f0: create: how=(nil) callback=(nil) poller=0x157b2a0

libxl: error: libxl.c:1610:libxl__destroy_domid: non-existant domain 88

libxl: error: libxl.c:1568:domain_destroy_callback: unable to destroy guest with domid 88

libxl: error: libxl.c:1495:domain_destroy_cb: destruction of domain 88 failed

libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157f7f0: complete, rc=-21

libxl: debug: libxl.c:1486:libxl_domain_destroy: ao 0x157f7f0: inprogress: poller=0x157b2a0, flags=ic

libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157f7f0: destroy

xc: debug: hypercall buffer: total allocations:1185 total releases:1185

xc: debug: hypercall buffer: current allocations:0 maximum allocations:3

xc: debug: hypercall buffer: cache current size:3

xc: debug: hypercall buffer: cache hits:1170 misses:3 toobig:12


_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: can't start hvm/pvhvm on xen 4.4 or xen4.6

Mark Pryor
/usr/lib64/xen/bin/qemu-system-i386: symbol lookup error: /usr/lib64/xen/bin/qemu-system-i386: undefined symbol: libusb_free_ss_endpoint_companion_descriptor

This is the qemu used by Xen-4.6 and is configured in /etc/sysconfig/xen-common.

It might be missing a library to explain this error, so try:
ldd /usr/lib64/xen/bin/qemu-system-i386

looking for any `not found` lines.


On Thursday, April 20, 2017 1:10 PM, James Okken <[hidden email]> wrote:


These systems are pretty brand new Intel E5 –v3s
 
TXT is disabled in the BIOS.
 
[root@xen ~]# xl dmesg | grep -i virt
(XEN) I/O virtualisation enabled
(XEN)  - APIC MMIO access virtualisation
(XEN)  - Virtual-Processor Identifiers (VPID)
(XEN)  - Virtual NMI
(XEN) VIRTUAL MEMORY ARRANGEMENT:
 
 
[root@xen ~]# xl dmesg | grep -i hvm
(XEN) HVM: ASIDs enabled.
(XEN) HVM: VMX enabled
(XEN) HVM: Hardware Assisted Paging (HAP) detected
(XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB
 
[root@xen~]# xl info
host                   : xen
release                : 4.9.13-22.el7.x86_64
version                : #1 SMP Sun Feb 26 22:15:59 UTC 2017
machine                : x86_64
nr_cpus                : 32
max_cpu_id             : 31
nr_nodes               : 2
cores_per_socket       : 8
threads_per_core       : 2
cpu_mhz                : 2400
hw_caps                : bfebfbff:2c100800:00000000:00003f00:17bee3ff:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 65490
free_memory            : 63619
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 6
xen_extra              : .3-8.el7
xen_version            : 4.6.3-8.el7
xen_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
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Wed Feb 15 02:12:22 2017 -0600 git:149e51c-dirty
xen_commandline        : placeholder dom0_mem=1024M,max:1024M cpuinfo com1=115200,8n1 console=com1,tty loglvl=all guest_loglvl=all
cc_compiler            : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
cc_compile_by          : mockbuild
cc_compile_domain      : centos.org
cc_compile_date        : Tue Feb 28 14:33:09 UTC 2017
xend_config_format     : 4
 
James Okken
Lab Manager
Dialogic Research Inc.
4 Gatehall Drive
Parsippany
NJ 07054
USA

Tel:       973 967 5179
Email:   [hidden email]
Web:    www.dialogic.comThe Network Fuel Company

This e-mail is intended only for the named recipient(s) and may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. No waiver of privilege, confidence or otherwise is intended by virtue of communication via the internet. Any unauthorized use, dissemination or copying is strictly prohibited. If you have received this e-mail in error, or are not named as a recipient, please immediately notify the sender and destroy all copies of this e-mail.
 
From: James Okken
Sent: Thursday, April 20, 2017 11:27 AM
To: '[hidden email]'
Subject: RE: can't start hvm/pvhvm on xen 4.4 or xen4.6
 
Hi again
 
Just a bit more info
 
The same thing occurs when I use the hvm template cfg file: xlexample.hvm
Also “xl dmesg” does not show any messages.
 
 
And one quick question: do I need a hard drive or cdrom defined in order for a domain to start? Can I comment the disk  = [‘ line until I get the domain to start?
 
thanks
 
 
 
From: James Okken
Sent: Wednesday, April 19, 2017 1:29 PM
To: '[hidden email]'
Subject: can't start hvm/pvhvm on xen 4.4 or xen4.6
 
Hi all,
 
Sorry for the novice question which is probably answered somewhere I just can’t find.
 
I am trying create a hvm/pvhvm but keep getting errors. Any suggestions would be appreciated!
 
I’m using two hosts Ubuntu 14.4 with xen 4.4, and Centos 7.2 with xen4.6. Both seem to have the same error.
 
I’ve tried a number of different settings shown on different online threads, to no avail.
Usually I get the error:
libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 87 device model: spawn failed (rc=-3)
libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device model did not start: -3
 
 
here is one basic iteration of my cfg file, you can see by the commented out lines some of the settings I’ve tried.
(this is on the Centos 7.2 with xen4.6 host)
vi basic.cfg
builder="hvm"
vcpus=4
memory=4096
name="basic"
#bootloader="pygrub"
#firmware_override = "/usr/lib64/xen/boot/hvmloader"
#device_model_version="qemu-xen-traditional"
#device_model = 'qemu-dm'
#device_model_override = '/usr/lib64/xen/bin/qemu-dm'
vif = ["mac=00:15:3f:11:21:30,bridge=xenbr0,rate=100Mb/s"]
disk = [ "raw:/var/lib/xen/images/centos/xen_hvm.img,ioemu:xvda,w" ]
vfb = [ "type=vnc,vnclisten=127.0.0.1,vncdisplay=14,vncpasswd=password" ]
serial="pty"
boot = "c"
sdl=0
monitor=1
pae=1
acpi=1
apic=1
localtime=0
#xen_platform_pci=1
stdvga=1
videoram=16
gfx_passthru=0
on_poweroff="destroy"
on_reboot="restart"
on_crash="restart"
 
 
cat qemu-dm-basic.log
/usr/lib64/xen/bin/qemu-system-i386: symbol lookup error: /usr/lib64/xen/bin/qemu-system-i386: undefined symbol: libusb_free_ss_endpoint_companion_descriptor
 
 
Some command outputs
[root@ xen]# rpm -qa | grep qemu
libvirt-daemon-driver-qemu-1.1.1-29.el7.x86_64
ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch
qemu-kvm-1.5.3-60.el7.x86_64
qemu-kvm-common-1.5.3-60.el7.x86_64
qemu-img-1.5.3-60.el7.x86_64
 
[root@xen]# /usr/libexec/qemu-kvm -version
(process:22014): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported
QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7), Copyright (c) 2003-2008 Fabrice Bellard
[root@sut-1241 xen]#
 
 
 
Finally, the full output of the create:
[root@ xen]# xl -vvvv create -c /etc/xen/basic.cfg
Parsing config from /etc/xen/basic.cfg
libxl: debug: libxl_create.c:1563:do_domain_create: ao 0x157ac00: create: how=(nil) callback=(nil) poller=0x157b2a0
libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=unknown
libxl: debug: libxl_device.c:366:libxl__device_disk_set_backend: Disk vdev=xvda, using backend phy
libxl: debug: libxl_create.c:947:initiate_domain_create: running bootloader
libxl: debug: libxl_bootloader.c:324:libxl__bootloader_run: not a PV domain, skipping bootloader
libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157cf08: deregister unregistered
libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=16, nr_vcpus=36, free_memkb=32127
libxl: detail: libxl_dom.c:181:numa_place_domain: NUMA placement candidate with 1 nodes, 16 cpus and 32127 KB free selected
xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xbad44
xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1bad44
xc: detail: VIRTUAL MEMORY ARRANGEMENT:
xc: detail:   Loader:   0000000000100000->00000000001bad44
xc: detail:   Modules:  0000000000000000->0000000000000000
xc: detail:   TOTAL:    0000000000000000->00000000ff000000
xc: detail:   ENTRY:    0000000000100610
xc: detail: PHYSICAL MEMORY ALLOCATION:
xc: detail:   4KB PAGES: 0x0000000000000200
xc: detail:   2MB PAGES: 0x00000000000003f7
xc: detail:   1GB PAGES: 0x0000000000000002
xc: detail: elf_load_binary: phdr 0 at 0x7f0c606da000 -> 0x7f0c6078b191
domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0x10f000
libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy
libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: register slotnum=3
libxl: debug: libxl_create.c:1586:do_domain_create: ao 0x157ac00: inprogress: poller=0x157b2a0, flags=i
libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/88/51712/state
libxl: debug: libxl_event.c:884:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 2 still waiting state 1
libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/88/51712/state
libxl: debug: libxl_event.c:880:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 2 ok
libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: deregister slotnum=3
libxl: debug: libxl_device.c:991:device_backend_callback: calling device_backend_cleanup
libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157df30: deregister unregistered
libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and environment ready
libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /etc/xen/scripts/block add
libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157e030: deregister unregistered
libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec 1, not running hotplug scripts
libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute
libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157e030: deregister unregistered
libxl: debug: libxl_dm.c:1796:libxl__spawn_local_dm: Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   /usr/lib64/xen/bin/qemu-system-i386
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -xen-domid
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   88
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-88,server,nowait
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -no-shutdown
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-88,server,nowait
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   chardev=libxenstat-cmd,mode=control
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -nodefaults
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -name
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   basic
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -vnc
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   127.0.0.1:0,to=99
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -display
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   none
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -serial
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   pty
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   VGA,vgamem_mb=16
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -boot
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   order=c
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -smp
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4,maxcpus=4
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   rtl8139,id=nic0,netdev=net0,mac=00:16:3e:10:20:30
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -netdev
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   type=tap,id=net0,ifname=vif88.0-emu,script=no,downscript=no
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -machine
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   xenfv
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -m
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4080
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -drive
libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   file=/var/lib/xen/images/centos/xen_1241_hvm_domU3.img,if=ide,index=0,media=disk,format=raw,cache=writeback
libxl: debug: libxl_dm.c:1800:libxl__spawn_local_dm: Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with additional environment:
libxl: debug: libxl_dm.c:1802:libxl__spawn_local_dm:   XEN_QEMU_CONSOLE_LIMIT=1048576
libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: register slotnum=3
libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: event epath=/local/domain/0/device-model/88/state
libxl: debug: libxl_exec.c:399:spawn_watch_event: domain 88 device model: spawn watch p=(null)
libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: deregister slotnum=3
libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 88 device model: spawn failed (rc=-3)
libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device model did not start: -3
libxl: error: libxl_dm.c:1987:kill_device_model: Device Model already exited
libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: register slotnum=3
libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: event epath=/local/domain/0/backend/vbd/88/51712/state
libxl: debug: libxl_event.c:880:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 6 ok
libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: deregister slotnum=3
libxl: debug: libxl_device.c:991:device_backend_callback: calling device_backend_cleanup
libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581bc0: deregister unregistered
libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and environment ready
libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug script: /etc/xen/scripts/block remove
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/88/51712/state token=3/2: empty slot
libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581cc0: deregister unregistered
libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec 1, not running hotplug scripts
libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute
libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581cc0: deregister unregistered
libxl: debug: libxl_linux.c:267:libxl__get_hotplug_script_info: backend_kind 6, no need to execute scripts
libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute
libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1582400: deregister unregistered
libxl: debug: libxl.c:1738:devices_destroy_cb: forked pid 19076 for destroy of domain 88
libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157ac00: complete, rc=-3
libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157ac00: destroy
libxl: debug: libxl.c:1477:libxl_domain_destroy: ao 0x157f7f0: create: how=(nil) callback=(nil) poller=0x157b2a0
libxl: error: libxl.c:1610:libxl__destroy_domid: non-existant domain 88
libxl: error: libxl.c:1568:domain_destroy_callback: unable to destroy guest with domid 88
libxl: error: libxl.c:1495:domain_destroy_cb: destruction of domain 88 failed
libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157f7f0: complete, rc=-21
libxl: debug: libxl.c:1486:libxl_domain_destroy: ao 0x157f7f0: inprogress: poller=0x157b2a0, flags=ic
libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157f7f0: destroy
xc: debug: hypercall buffer: total allocations:1185 total releases:1185
xc: debug: hypercall buffer: current allocations:0 maximum allocations:3
xc: debug: hypercall buffer: cache current size:3
xc: debug: hypercall buffer: cache hits:1170 misses:3 toobig:12
_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users



_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: can't start hvm/pvhvm on xen 4.4 or xen4.6

James Okken

Thanks for the reply Mark.

 

I don’t see any “not found” in the ldd output. Any other thoughts? Thanks!

 

[root@xen ~]# ldd /usr/lib64/xen/bin/qemu-system-i386

        linux-vdso.so.1 =>  (0x00007ffd087a7000)

        libssl3.so => /lib64/libssl3.so (0x00007f7216b4f000)

        libsmime3.so => /lib64/libsmime3.so (0x00007f7216921000)

        libnss3.so => /lib64/libnss3.so (0x00007f72165db000)

        libnssutil3.so => /lib64/libnssutil3.so (0x00007f72163af000)

        libplds4.so => /lib64/libplds4.so (0x00007f72161aa000)

        libplc4.so => /lib64/libplc4.so (0x00007f7215fa5000)

        libnspr4.so => /lib64/libnspr4.so (0x00007f7215d67000)

        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7215b4a000)

        libdl.so.2 => /lib64/libdl.so.2 (0x00007f7215946000)

        libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f7215744000)

        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f721540c000)

        libz.so.1 => /lib64/libz.so.1 (0x00007f72151f6000)

        libaio.so.1 => /lib64/libaio.so.1 (0x00007f7214ff4000)

        libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f7214d8a000)

        librt.so.1 => /lib64/librt.so.1 (0x00007f7214b82000)

        libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f72148d5000)

        libutil.so.1 => /lib64/libutil.so.1 (0x00007f72146d1000)

        libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f72144aa000)

        libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f7214280000)

        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f721407a000)

        libpng15.so.15 => /lib64/libpng15.so.15 (0x00007f7213e4f000)

        libgnutls.so.28 => /lib64/libgnutls.so.28 (0x00007f7213b3f000)

        libSDL-1.2.so.0 => /lib64/libSDL-1.2.so.0 (0x00007f72138a5000)

        libX11.so.6 => /lib64/libX11.so.6 (0x00007f7213567000)

        libgtk-x11-2.0.so.0 => /lib64/libgtk-x11-2.0.so.0 (0x00007f7212ee6000)

        libgdk-x11-2.0.so.0 => /lib64/libgdk-x11-2.0.so.0 (0x00007f7212c25000)

        libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007f7212a02000)

        libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f7212682000)

        libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007f721246c000)

        libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00007f721225f000)

        libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007f721203c000)

        libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f7211d18000)

        libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f7211ace000)

        libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007f7211892000)

        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f7211641000)

        libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f721139c000)

        libxenstore.so.3.0 => /lib64/libxenstore.so.3.0 (0x00007f7211192000)

        libxenctrl.so.4.6 => /lib64/libxenctrl.so.4.6 (0x00007f7210f61000)

        libxenguest.so.4.6 => /lib64/libxenguest.so.4.6 (0x00007f7210d36000)

        libspice-server.so.1 => /lib64/libspice-server.so.1 (0x00007f7210a12000)

        libusb-1.0.so.0 => /lib64/libusb-1.0.so.0 (0x00007f72107fe000)

        libusbredirparser.so.1 => /lib64/libusbredirparser.so.1 (0x00007f72105f6000)

        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f72102ef000)

        libm.so.6 => /lib64/libm.so.6 (0x00007f720ffec000)

        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f720fdd6000)

        libc.so.6 => /lib64/libc.so.6 (0x00007f720fa15000)

        /lib64/ld-linux-x86-64.so.2 (0x000055ea95216000)

        libidn.so.11 => /lib64/libidn.so.11 (0x00007f720f7e1000)

        libssh2.so.1 => /lib64/libssh2.so.1 (0x00007f720f5b7000)

        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f720f36c000)

        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f720f08c000)

        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f720ee57000)

        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f720ec52000)

        liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f720ea43000)

        libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f720e7f0000)

        libp11-kit.so.0 => /lib64/libp11-kit.so.0 (0x00007f720e5cd000)

        libtasn1.so.6 => /lib64/libtasn1.so.6 (0x00007f720e3b9000)

        libnettle.so.4 => /lib64/libnettle.so.4 (0x00007f720e188000)

        libhogweed.so.2 => /lib64/libhogweed.so.2 (0x00007f720df60000)

        libgmp.so.10 => /lib64/libgmp.so.10 (0x00007f720dce9000)

        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f720dac8000)

        libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f720d8c3000)

        libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f720d6bd000)

        libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f720d4b3000)

        libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007f720d2af000)

        libXi.so.6 => /lib64/libXi.so.6 (0x00007f720d09f000)

        libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f720ce95000)

        libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007f720cc89000)

        libXcomposite.so.1 => /lib64/libXcomposite.so.1 (0x00007f720ca86000)

        libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007f720c883000)

        libXext.so.6 => /lib64/libXext.so.6 (0x00007f720c670000)

        libffi.so.6 => /lib64/libffi.so.6 (0x00007f720c468000)

        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f720c243000)

        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f720c028000)

        libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f720bdd5000)

        libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f720bbb6000)

        libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f720b9b3000)

        libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007f720b7a9000)

        libGL.so.1 => /lib64/libGL.so.1 (0x00007f720b541000)

        libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f720b317000)

        libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f720b2ee000)

        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f720b0de000)

        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f720aeb9000)

        libcelt051.so.0 => /lib64/libcelt051.so.0 (0x00007f720aca9000)

        libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007f720aa54000)

        libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f720a837000)

        libssl.so.10 => /lib64/libssl.so.10 (0x00007f720a5c8000)

        libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f720a1de000)

        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f7209fcf000)

        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f7209dcb000)

        libfreebl3.so => /lib64/libfreebl3.so (0x00007f7209b4b000)

        libXau.so.6 => /lib64/libXau.so.6 (0x00007f7209947000)

        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f72096e5000)

        libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f72094c9000)

        libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x00007f72092c7000)

        libxcb-dri2.so.0 => /lib64/libxcb-dri2.so.0 (0x00007f72090c1000)

        libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x00007f7208eba000)

        libxcb-shape.so.0 => /lib64/libxcb-shape.so.0 (0x00007f7208cb6000)

        libgbm.so.1 => /lib64/libgbm.so.1 (0x00007f7208aaf000)

        libglapi.so.0 => /lib64/libglapi.so.0 (0x00007f7208889000)

        libudev.so.1 => /lib64/libudev.so.1 (0x00007f7208874000)

        libdrm.so.2 => /lib64/libdrm.so.2 (0x00007f7208667000)

        libxcb-glx.so.0 => /lib64/libxcb-glx.so.0 (0x00007f720844d000)

        libXxf86vm.so.1 => /lib64/libXxf86vm.so.1 (0x00007f7208247000)

        libcap.so.2 => /lib64/libcap.so.2 (0x00007f7208041000)

        libgcrypt.so.11 => /lib64/libgcrypt.so.11 (0x00007f7207dc6000)

        libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f7207bc1000)

        libdw.so.1 => /lib64/libdw.so.1 (0x00007f7207978000)

        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f7207741000)

        libattr.so.1 => /lib64/libattr.so.1 (0x00007f720753b000)

        libelf.so.1 => /lib64/libelf.so.1 (0x00007f7207323000)

 

 

From: Mark Pryor [mailto:[hidden email]]
Sent: Thursday, April 20, 2017 6:19 PM
To: James Okken; [hidden email]
Subject: Re: [Xen-users] can't start hvm/pvhvm on xen 4.4 or xen4.6

 

/usr/lib64/xen/bin/qemu-system-i386: symbol lookup error: /usr/lib64/xen/bin/qemu-system-i386: undefined symbol: libusb_free_ss_endpoint_companion_descriptor

 

This is the qemu used by Xen-4.6 and is configured in /etc/sysconfig/xen-common.



It might be missing a library to explain this error, so try:

ldd /usr/lib64/xen/bin/qemu-system-i386



looking for any `not found` lines.

 

On Thursday, April 20, 2017 1:10 PM, James Okken <[hidden email]> wrote:

 

These systems are pretty brand new Intel E5 –v3s

 

TXT is disabled in the BIOS.

 

[root@xen ~]# xl dmesg | grep -i virt

(XEN) I/O virtualisation enabled

(XEN)  - APIC MMIO access virtualisation

(XEN)  - Virtual-Processor Identifiers (VPID)

(XEN)  - Virtual NMI

(XEN) VIRTUAL MEMORY ARRANGEMENT:

 

 

[root@xen ~]# xl dmesg | grep -i hvm

(XEN) HVM: ASIDs enabled.

(XEN) HVM: VMX enabled

(XEN) HVM: Hardware Assisted Paging (HAP) detected

(XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB

 

[root@xen~]# xl info

host                   : xen

release                : 4.9.13-22.el7.x86_64

version                : #1 SMP Sun Feb 26 22:15:59 UTC 2017

machine                : x86_64

nr_cpus                : 32

max_cpu_id             : 31

nr_nodes               : 2

cores_per_socket       : 8

threads_per_core       : 2

cpu_mhz                : 2400

hw_caps                : bfebfbff:2c100800:00000000:00003f00:17bee3ff:00000000:00000001:00000000

virt_caps              : hvm hvm_directio

total_memory           : 65490

free_memory            : 63619

sharing_freed_memory   : 0

sharing_used_memory    : 0

outstanding_claims     : 0

free_cpus              : 0

xen_major              : 4

xen_minor              : 6

xen_extra              : .3-8.el7

xen_version            : 4.6.3-8.el7

xen_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

xen_scheduler          : credit

xen_pagesize           : 4096

platform_params        : virt_start=0xffff800000000000

xen_changeset          : Wed Feb 15 02:12:22 2017 -0600 git:149e51c-dirty

xen_commandline        : placeholder dom0_mem=1024M,max:1024M cpuinfo com1=115200,8n1 console=com1,tty loglvl=all guest_loglvl=all

cc_compiler            : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)

cc_compile_by          : mockbuild

cc_compile_domain      : centos.org

cc_compile_date        : Tue Feb 28 14:33:09 UTC 2017

xend_config_format     : 4

 

James Okken

Lab Manager

Dialogic Research Inc.
4 Gatehall Drive

Parsippany
NJ 07054
USA

Tel:       973 967 5179
Email:   [hidden email]

Web:    www.dialogic.com The Network Fuel Company

This e-mail is intended only for the named recipient(s) and may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. No waiver of privilege, confidence or otherwise is intended by virtue of communication via the internet. Any unauthorized use, dissemination or copying is strictly prohibited. If you have received this e-mail in error, or are not named as a recipient, please immediately notify the sender and destroy all copies of this e-mail.

 

From: James Okken
Sent: Thursday, April 20, 2017 11:27 AM
To: '[hidden email]'
Subject: RE: can't start hvm/pvhvm on xen 4.4 or xen4.6

 

Hi again

 

Just a bit more info

 

The same thing occurs when I use the hvm template cfg file: xlexample.hvm

Also “xl dmesg” does not show any messages.

 

 

And one quick question: do I need a hard drive or cdrom defined in order for a domain to start? Can I comment the disk  = [‘ line until I get the domain to start?

 

thanks

 

 

 

From: James Okken
Sent: Wednesday, April 19, 2017 1:29 PM
To: '[hidden email]'
Subject: can't start hvm/pvhvm on xen 4.4 or xen4.6

 

Hi all,

 

Sorry for the novice question which is probably answered somewhere I just can’t find.

 

I am trying create a hvm/pvhvm but keep getting errors. Any suggestions would be appreciated!

 

I’m using two hosts Ubuntu 14.4 with xen 4.4, and Centos 7.2 with xen4.6. Both seem to have the same error.

 

I’ve tried a number of different settings shown on different online threads, to no avail.

Usually I get the error:

libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 87 device model: spawn failed (rc=-3)

libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device model did not start: -3

 

 

here is one basic iteration of my cfg file, you can see by the commented out lines some of the settings I’ve tried.

(this is on the Centos 7.2 with xen4.6 host)

vi basic.cfg

builder="hvm"

vcpus=4

memory=4096

name="basic"

#bootloader="pygrub"

#firmware_override = "/usr/lib64/xen/boot/hvmloader"

#device_model_version="qemu-xen-traditional"

#device_model = 'qemu-dm'

#device_model_override = '/usr/lib64/xen/bin/qemu-dm'

vif = ["mac=00:15:3f:11:21:30,bridge=xenbr0,rate=100Mb/s"]

disk = [ "raw:/var/lib/xen/images/centos/xen_hvm.img,ioemu:xvda,w" ]

vfb = [ "type=vnc,vnclisten=127.0.0.1,vncdisplay=14,vncpasswd=password" ]

serial="pty"

boot = "c"

sdl=0

monitor=1

pae=1

acpi=1

apic=1

localtime=0

#xen_platform_pci=1

stdvga=1

videoram=16

gfx_passthru=0

on_poweroff="destroy"

on_reboot="restart"

on_crash="restart"

 

 

cat qemu-dm-basic.log

/usr/lib64/xen/bin/qemu-system-i386: symbol lookup error: /usr/lib64/xen/bin/qemu-system-i386: undefined symbol: libusb_free_ss_endpoint_companion_descriptor

 

 

Some command outputs

[root@ xen]# rpm -qa | grep qemu

libvirt-daemon-driver-qemu-1.1.1-29.el7.x86_64

ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch

qemu-kvm-1.5.3-60.el7.x86_64

qemu-kvm-common-1.5.3-60.el7.x86_64

qemu-img-1.5.3-60.el7.x86_64

 

[root@xen]# /usr/libexec/qemu-kvm -version

(process:22014): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported

QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7), Copyright (c) 2003-2008 Fabrice Bellard

[root@sut-1241 xen]#

 

 

 

Finally, the full output of the create:

[root@ xen]# xl -vvvv create -c /etc/xen/basic.cfg

Parsing config from /etc/xen/basic.cfg

libxl: debug: libxl_create.c:1563:do_domain_create: ao 0x157ac00: create: how=(nil) callback=(nil) poller=0x157b2a0

libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=unknown

libxl: debug: libxl_device.c:366:libxl__device_disk_set_backend: Disk vdev=xvda, using backend phy

libxl: debug: libxl_create.c:947:initiate_domain_create: running bootloader

libxl: debug: libxl_bootloader.c:324:libxl__bootloader_run: not a PV domain, skipping bootloader

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157cf08: deregister unregistered

libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=16, nr_vcpus=36, free_memkb=32127

libxl: detail: libxl_dom.c:181:numa_place_domain: NUMA placement candidate with 1 nodes, 16 cpus and 32127 KB free selected

xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xbad44

xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1bad44

xc: detail: VIRTUAL MEMORY ARRANGEMENT:

xc: detail:   Loader:   0000000000100000->00000000001bad44

xc: detail:   Modules:  0000000000000000->0000000000000000

xc: detail:   TOTAL:    0000000000000000->00000000ff000000

xc: detail:   ENTRY:    0000000000100610

xc: detail: PHYSICAL MEMORY ALLOCATION:

xc: detail:   4KB PAGES: 0x0000000000000200

xc: detail:   2MB PAGES: 0x00000000000003f7

xc: detail:   1GB PAGES: 0x0000000000000002

xc: detail: elf_load_binary: phdr 0 at 0x7f0c606da000 -> 0x7f0c6078b191

domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0x10f000

libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: register slotnum=3

libxl: debug: libxl_create.c:1586:do_domain_create: ao 0x157ac00: inprogress: poller=0x157b2a0, flags=i

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:884:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 2 still waiting state 1

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:880:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 2 ok

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: deregister slotnum=3

libxl: debug: libxl_device.c:991:device_backend_callback: calling device_backend_cleanup

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157df30: deregister unregistered

libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and environment ready

libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug script: /etc/xen/scripts/block add

libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /etc/xen/scripts/block add

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157e030: deregister unregistered

libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec 1, not running hotplug scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x157e030: deregister unregistered

libxl: debug: libxl_dm.c:1796:libxl__spawn_local_dm: Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with arguments:

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   /usr/lib64/xen/bin/qemu-system-i386

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -xen-domid

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   88

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-88,server,nowait

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -no-shutdown

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   chardev=libxl-cmd,mode=control

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-88,server,nowait

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   chardev=libxenstat-cmd,mode=control

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -nodefaults

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -name

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   basic

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -vnc

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   127.0.0.1:0,to=99

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -display

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   none

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -serial

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   pty

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   VGA,vgamem_mb=16

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -boot

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   order=c

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -smp

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4,maxcpus=4

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   rtl8139,id=nic0,netdev=net0,mac=00:16:3e:10:20:30

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -netdev

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   type=tap,id=net0,ifname=vif88.0-emu,script=no,downscript=no

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -machine

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   xenfv

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -m

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4080

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -drive

libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   file=/var/lib/xen/images/centos/xen_1241_hvm_domU3.img,if=ide,index=0,media=disk,format=raw,cache=writeback

libxl: debug: libxl_dm.c:1800:libxl__spawn_local_dm: Spawning device-model /usr/lib64/xen/bin/qemu-system-i386 with additional environment:

libxl: debug: libxl_dm.c:1802:libxl__spawn_local_dm:   XEN_QEMU_CONSOLE_LIMIT=1048576

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: register slotnum=3

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: event epath=/local/domain/0/device-model/88/state

libxl: debug: libxl_exec.c:399:spawn_watch_event: domain 88 device model: spawn watch p=(null)

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1: deregister slotnum=3

libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 88 device model: spawn failed (rc=-3)

libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device model did not start: -3

libxl: error: libxl_dm.c:1987:kill_device_model: Device Model already exited

libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: register slotnum=3

libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: event epath=/local/domain/0/backend/vbd/88/51712/state

libxl: debug: libxl_event.c:880:devstate_callback: backend /local/domain/0/backend/vbd/88/51712/state wanted state 6 ok

libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: deregister slotnum=3

libxl: debug: libxl_device.c:991:device_backend_callback: calling device_backend_cleanup

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581bc0: deregister unregistered

libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and environment ready

libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug script: /etc/xen/scripts/block remove

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/88/51712/state token=3/2: empty slot

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581cc0: deregister unregistered

libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec 1, not running hotplug scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1581cc0: deregister unregistered

libxl: debug: libxl_linux.c:267:libxl__get_hotplug_script_info: backend_kind 6, no need to execute scripts

libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to execute

libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1582400: deregister unregistered

libxl: debug: libxl.c:1738:devices_destroy_cb: forked pid 19076 for destroy of domain 88

libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157ac00: complete, rc=-3

libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157ac00: destroy

libxl: debug: libxl.c:1477:libxl_domain_destroy: ao 0x157f7f0: create: how=(nil) callback=(nil) poller=0x157b2a0

libxl: error: libxl.c:1610:libxl__destroy_domid: non-existant domain 88

libxl: error: libxl.c:1568:domain_destroy_callback: unable to destroy guest with domid 88

libxl: error: libxl.c:1495:domain_destroy_cb: destruction of domain 88 failed

libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157f7f0: complete, rc=-21

libxl: debug: libxl.c:1486:libxl_domain_destroy: ao 0x157f7f0: inprogress: poller=0x157b2a0, flags=ic

libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157f7f0: destroy

xc: debug: hypercall buffer: total allocations:1185 total releases:1185

xc: debug: hypercall buffer: current allocations:0 maximum allocations:3

xc: debug: hypercall buffer: cache current size:3

xc: debug: hypercall buffer: cache hits:1170 misses:3 toobig:12

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users

 


_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: can't start hvm/pvhvm on xen 4.4 or xen4.6

Manfred Haertel, DB3HM
Probably your libusb is too old.

James Okken schrieb:

> Thanks for the reply Mark.
>
>
>
> I don’t see any “not found” in the ldd output. Any other thoughts? Thanks!
>
>
>
> [root@xen ~]# ldd /usr/lib64/xen/bin/qemu-system-i386
>
>         linux-vdso.so.1 =>  (0x00007ffd087a7000)
>
>         libssl3.so => /lib64/libssl3.so (0x00007f7216b4f000)
>
>         libsmime3.so => /lib64/libsmime3.so (0x00007f7216921000)
>
>         libnss3.so => /lib64/libnss3.so (0x00007f72165db000)
>
>         libnssutil3.so => /lib64/libnssutil3.so (0x00007f72163af000)
>
>         libplds4.so => /lib64/libplds4.so (0x00007f72161aa000)
>
>         libplc4.so => /lib64/libplc4.so (0x00007f7215fa5000)
>
>         libnspr4.so => /lib64/libnspr4.so (0x00007f7215d67000)
>
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7215b4a000)
>
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007f7215946000)
>
>         libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0
> (0x00007f7215744000)
>
>         libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f721540c000)
>
>         libz.so.1 => /lib64/libz.so.1 (0x00007f72151f6000)
>
>         libaio.so.1 => /lib64/libaio.so.1 (0x00007f7214ff4000)
>
>         libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f7214d8a000)
>
>         librt.so.1 => /lib64/librt.so.1 (0x00007f7214b82000)
>
>         libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f72148d5000)
>
>         libutil.so.1 => /lib64/libutil.so.1 (0x00007f72146d1000)
>
>         libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f72144aa000)
>
>         libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f7214280000)
>
>         libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f721407a000)
>
>         libpng15.so.15 => /lib64/libpng15.so.15 (0x00007f7213e4f000)
>
>         libgnutls.so.28 => /lib64/libgnutls.so.28 (0x00007f7213b3f000)
>
>         libSDL-1.2.so.0 => /lib64/libSDL-1.2.so.0 (0x00007f72138a5000)
>
>         libX11.so.6 => /lib64/libX11.so.6 (0x00007f7213567000)
>
>         libgtk-x11-2.0.so.0 => /lib64/libgtk-x11-2.0.so.0
> (0x00007f7212ee6000)
>
>         libgdk-x11-2.0.so.0 => /lib64/libgdk-x11-2.0.so.0
> (0x00007f7212c25000)
>
>         libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007f7212a02000)
>
>         libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f7212682000)
>
>         libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0
> (0x00007f721246c000)
>
>         libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0
> (0x00007f721225f000)
>
>         libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0
> (0x00007f721203c000)
>
>         libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f7211d18000)
>
>         libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f7211ace000)
>
>         libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007f7211892000)
>
>         libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0
> (0x00007f7211641000)
>
>         libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f721139c000)
>
>         libxenstore.so.3.0 => /lib64/libxenstore.so.3.0 (0x00007f7211192000)
>
>         libxenctrl.so.4.6 => /lib64/libxenctrl.so.4.6 (0x00007f7210f61000)
>
>         libxenguest.so.4.6 => /lib64/libxenguest.so.4.6 (0x00007f7210d36000)
>
>         libspice-server.so.1 => /lib64/libspice-server.so.1
> (0x00007f7210a12000)
>
>         libusb-1.0.so.0 => /lib64/libusb-1.0.so.0 (0x00007f72107fe000)
>
>         libusbredirparser.so.1 => /lib64/libusbredirparser.so.1
> (0x00007f72105f6000)
>
>         libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f72102ef000)
>
>         libm.so.6 => /lib64/libm.so.6 (0x00007f720ffec000)
>
>         libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f720fdd6000)
>
>         libc.so.6 => /lib64/libc.so.6 (0x00007f720fa15000)
>
>         /lib64/ld-linux-x86-64.so.2 (0x000055ea95216000)
>
>         libidn.so.11 => /lib64/libidn.so.11 (0x00007f720f7e1000)
>
>         libssh2.so.1 => /lib64/libssh2.so.1 (0x00007f720f5b7000)
>
>         libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2
> (0x00007f720f36c000)
>
>         libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f720f08c000)
>
>         libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f720ee57000)
>
>         libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f720ec52000)
>
>         liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f720ea43000)
>
>         libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f720e7f0000)
>
>         libp11-kit.so.0 => /lib64/libp11-kit.so.0 (0x00007f720e5cd000)
>
>         libtasn1.so.6 => /lib64/libtasn1.so.6 (0x00007f720e3b9000)
>
>         libnettle.so.4 => /lib64/libnettle.so.4 (0x00007f720e188000)
>
>         libhogweed.so.2 => /lib64/libhogweed.so.2 (0x00007f720df60000)
>
>         libgmp.so.10 => /lib64/libgmp.so.10 (0x00007f720dce9000)
>
>         libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f720dac8000)
>
>         libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0
> (0x00007f720d8c3000)
>
>         libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f720d6bd000)
>
>         libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f720d4b3000)
>
>         libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007f720d2af000)
>
>         libXi.so.6 => /lib64/libXi.so.6 (0x00007f720d09f000)
>
>         libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f720ce95000)
>
>         libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007f720cc89000)
>
>         libXcomposite.so.1 => /lib64/libXcomposite.so.1 (0x00007f720ca86000)
>
>         libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007f720c883000)
>
>         libXext.so.6 => /lib64/libXext.so.6 (0x00007f720c670000)
>
>         libffi.so.6 => /lib64/libffi.so.6 (0x00007f720c468000)
>
>         libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f720c243000)
>
>         libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f720c028000)
>
>         libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f720bdd5000)
>
>         libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f720bbb6000)
>
>         libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f720b9b3000)
>
>         libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007f720b7a9000)
>
>         libGL.so.1 => /lib64/libGL.so.1 (0x00007f720b541000)
>
>         libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f720b317000)
>
>         libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f720b2ee000)
>
>         libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f720b0de000)
>
>         liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f720aeb9000)
>
>         libcelt051.so.0 => /lib64/libcelt051.so.0 (0x00007f720aca9000)
>
>         libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007f720aa54000)
>
>         libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f720a837000)
>
>         libssl.so.10 => /lib64/libssl.so.10 (0x00007f720a5c8000)
>
>         libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f720a1de000)
>
>         libkrb5support.so.0 => /lib64/libkrb5support.so.0
> (0x00007f7209fcf000)
>
>         libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f7209dcb000)
>
>         libfreebl3.so => /lib64/libfreebl3.so (0x00007f7209b4b000)
>
>         libXau.so.6 => /lib64/libXau.so.6 (0x00007f7209947000)
>
>         libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f72096e5000)
>
>         libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f72094c9000)
>
>         libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x00007f72092c7000)
>
>         libxcb-dri2.so.0 => /lib64/libxcb-dri2.so.0 (0x00007f72090c1000)
>
>         libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x00007f7208eba000)
>
>         libxcb-shape.so.0 => /lib64/libxcb-shape.so.0 (0x00007f7208cb6000)
>
>         libgbm.so.1 => /lib64/libgbm.so.1 (0x00007f7208aaf000)
>
>         libglapi.so.0 => /lib64/libglapi.so.0 (0x00007f7208889000)
>
>         libudev.so.1 => /lib64/libudev.so.1 (0x00007f7208874000)
>
>         libdrm.so.2 => /lib64/libdrm.so.2 (0x00007f7208667000)
>
>         libxcb-glx.so.0 => /lib64/libxcb-glx.so.0 (0x00007f720844d000)
>
>         libXxf86vm.so.1 => /lib64/libXxf86vm.so.1 (0x00007f7208247000)
>
>         libcap.so.2 => /lib64/libcap.so.2 (0x00007f7208041000)
>
>         libgcrypt.so.11 => /lib64/libgcrypt.so.11 (0x00007f7207dc6000)
>
>         libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f7207bc1000)
>
>         libdw.so.1 => /lib64/libdw.so.1 (0x00007f7207978000)
>
>         libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f7207741000)
>
>         libattr.so.1 => /lib64/libattr.so.1 (0x00007f720753b000)
>
>         libelf.so.1 => /lib64/libelf.so.1 (0x00007f7207323000)
>
>
>
>
>
> *From:*Mark Pryor [mailto:[hidden email]]
> *Sent:* Thursday, April 20, 2017 6:19 PM
> *To:* James Okken; [hidden email]
> *Subject:* Re: [Xen-users] can't start hvm/pvhvm on xen 4.4 or xen4.6
>
>
>
> /usr/lib64/xen/bin/qemu-system-i386: symbol lookup error:
> /usr/lib64/xen/bin/qemu-system-i386: undefined symbol:
> libusb_free_ss_endpoint_companion_descriptor
>
>
>
> This is the qemu used by Xen-4.6 and is configured in
> /etc/sysconfig/xen-common.
>
>
>
> It might be missing a library to explain this error, so try:
>
> ldd /usr/lib64/xen/bin/qemu-system-i386
>
>
>
> looking for any `not found` lines.
>
>
>
> On Thursday, April 20, 2017 1:10 PM, James Okken
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>
>
> These systems are pretty brand new Intel E5 –v3s
>
>
>
> TXT is disabled in the BIOS.
>
>
>
> [root@xen ~]# xl dmesg | grep -i virt
>
> (XEN) I/O virtualisation enabled
>
> (XEN)  - APIC MMIO access virtualisation
>
> (XEN)  - Virtual-Processor Identifiers (VPID)
>
> (XEN)  - Virtual NMI
>
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
>
>
>
>
>
> [root@xen ~]# xl dmesg | grep -i hvm
>
> (XEN) HVM: ASIDs enabled.
>
> (XEN) HVM: VMX enabled
>
> (XEN) HVM: Hardware Assisted Paging (HAP) detected
>
> (XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB
>
>
>
> [root@xen~]# xl info
>
> host                   : xen
>
> release                : 4.9.13-22.el7.x86_64
>
> version                : #1 SMP Sun Feb 26 22:15:59 UTC 2017
>
> machine                : x86_64
>
> nr_cpus                : 32
>
> max_cpu_id             : 31
>
> nr_nodes               : 2
>
> cores_per_socket       : 8
>
> threads_per_core       : 2
>
> cpu_mhz                : 2400
>
> hw_caps                :
> bfebfbff:2c100800:00000000:00003f00:17bee3ff:00000000:00000001:00000000
>
> virt_caps              : hvm hvm_directio
>
> total_memory           : 65490
>
> free_memory            : 63619
>
> sharing_freed_memory   : 0
>
> sharing_used_memory    : 0
>
> outstanding_claims     : 0
>
> free_cpus              : 0
>
> xen_major              : 4
>
> xen_minor              : 6
>
> xen_extra              : .3-8.el7
>
> xen_version            : 4.6.3-8.el7
>
> xen_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
>
> xen_scheduler          : credit
>
> xen_pagesize           : 4096
>
> platform_params        : virt_start=0xffff800000000000
>
> xen_changeset          : Wed Feb 15 02:12:22 2017 -0600 git:149e51c-dirty
>
> xen_commandline        : placeholder dom0_mem=1024M,max:1024M cpuinfo
> com1=115200,8n1 console=com1,tty loglvl=all guest_loglvl=all
>
> cc_compiler            : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
>
> cc_compile_by          : mockbuild
>
> cc_compile_domain      : centos.org
>
> cc_compile_date        : Tue Feb 28 14:33:09 UTC 2017
>
> xend_config_format     : 4
>
>
>
> James Okken
>
> Lab Manager
>
> Dialogic Research Inc.
> 4 Gatehall Drive
>
> Parsippany
> NJ 07054
> USA
>
> Tel:      973 967 5179
> Email:  [hidden email] <mailto:[hidden email]>
>
> Web:    www.dialogic.com <http://www.dialogic.com/> – The Network Fuel
> Company <http://www.dialogic.com/en/landing/itw.aspx>
>
> This e-mail is intended only for the named recipient(s) and may contain
> information that is privileged, confidential and/or exempt from
> disclosure under applicable law. No waiver of privilege, confidence or
> otherwise is intended by virtue of communication via the internet. Any
> unauthorized use, dissemination or copying is strictly prohibited. If
> you have received this e-mail in error, or are not named as a recipient,
> please immediately notify the sender and destroy all copies of this e-mail.
>
>
>
> *From:*James Okken
> *Sent:* Thursday, April 20, 2017 11:27 AM
> *To:* '[hidden email]'
> *Subject:* RE: can't start hvm/pvhvm on xen 4.4 or xen4.6
>
>
>
> Hi again
>
>
>
> Just a bit more info
>
>
>
> The same thing occurs when I use the hvm template cfg file: xlexample.hvm
>
> Also “xl dmesg” does not show any messages.
>
>
>
>
>
> And one quick question: do I need a hard drive or cdrom defined in order
> for a domain to start? Can I comment the disk  = [‘ line until I get the
> domain to start?
>
>
>
> thanks
>
>
>
>
>
>
>
> *From:*James Okken
> *Sent:* Wednesday, April 19, 2017 1:29 PM
> *To:* '[hidden email]'
> *Subject:* can't start hvm/pvhvm on xen 4.4 or xen4.6
>
>
>
> Hi all,
>
>
>
> Sorry for the novice question which is probably answered somewhere I
> just can’t find.
>
>
>
> I am trying create a hvm/pvhvm but keep getting errors. Any suggestions
> would be appreciated!
>
>
>
> I’m using two hosts Ubuntu14.4 with xen 4.4, and Centos 7.2 with xen4.6.
> Both seem to have the same error.
>
>
>
> I’ve tried a number of different settings shown on different online
> threads, to no avail.
>
> Usually I get the error:
>
> libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 87
> device model: spawn failed (rc=-3)
>
> libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device
> model did not start: -3
>
>
>
>
>
> here is one basic iteration of my cfg file, you can see by the commented
> out lines some of the settings I’ve tried.
>
> (this is on the Centos 7.2 with xen4.6 host)
>
> vi basic.cfg
>
> builder="hvm"
>
> vcpus=4
>
> memory=4096
>
> name="basic"
>
> #bootloader="pygrub"
>
> #firmware_override = "/usr/lib64/xen/boot/hvmloader"
>
> #device_model_version="qemu-xen-traditional"
>
> #device_model = 'qemu-dm'
>
> #device_model_override = '/usr/lib64/xen/bin/qemu-dm'
>
> vif = ["mac=00:15:3f:11:21:30,bridge=xenbr0,rate=100Mb/s"]
>
> disk = [ "raw:/var/lib/xen/images/centos/xen_hvm.img,ioemu:xvda,w" ]
>
> vfb = [ "type=vnc,vnclisten=127.0.0.1,vncdisplay=14,vncpasswd=password" ]
>
> serial="pty"
>
> boot = "c"
>
> sdl=0
>
> monitor=1
>
> pae=1
>
> acpi=1
>
> apic=1
>
> localtime=0
>
> #xen_platform_pci=1
>
> stdvga=1
>
> videoram=16
>
> gfx_passthru=0
>
> on_poweroff="destroy"
>
> on_reboot="restart"
>
> on_crash="restart"
>
>
>
>
>
> cat qemu-dm-basic.log
>
> /usr/lib64/xen/bin/qemu-system-i386: symbol lookup error:
> /usr/lib64/xen/bin/qemu-system-i386: undefined symbol:
> libusb_free_ss_endpoint_companion_descriptor
>
>
>
>
>
> Some command outputs
>
> [root@ xen]# rpm -qa | grep qemu
>
> libvirt-daemon-driver-qemu-1.1.1-29.el7.x86_64
>
> ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch
>
> qemu-kvm-1.5.3-60.el7.x86_64
>
> qemu-kvm-common-1.5.3-60.el7.x86_64
>
> qemu-img-1.5.3-60.el7.x86_64
>
>
>
> [root@xen]# /usr/libexec/qemu-kvm -version
>
> (process:22014): GLib-WARNING **: gmem.c:482: custom memory allocation
> vtable not supported
>
> QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7), Copyright (c)
> 2003-2008 Fabrice Bellard
>
> [root@sut-1241 xen]#
>
>
>
>
>
>
>
> Finally, the full output of the create:
>
> [root@ xen]# xl -vvvv create -c /etc/xen/basic.cfg
>
> Parsing config from /etc/xen/basic.cfg
>
> libxl: debug: libxl_create.c:1563:do_domain_create: ao 0x157ac00:
> create: how=(nil) callback=(nil) poller=0x157b2a0
>
> libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk
> vdev=xvda spec.backend=unknown
>
> libxl: debug: libxl_device.c:366:libxl__device_disk_set_backend: Disk
> vdev=xvda, using backend phy
>
> libxl: debug: libxl_create.c:947:initiate_domain_create: running bootloader
>
> libxl: debug: libxl_bootloader.c:324:libxl__bootloader_run: not a PV
> domain, skipping bootloader
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x157cf08: deregister unregistered
>
> libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best NUMA
> placement candidate found: nr_nodes=1, nr_cpus=16, nr_vcpus=36,
> free_memkb=32127
>
> libxl: detail: libxl_dom.c:181:numa_place_domain: NUMA placement
> candidate with 1 nodes, 16 cpus and 32127 KB free selected
>
> xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xbad44
>
> xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1bad44
>
> xc: detail: VIRTUAL MEMORY ARRANGEMENT:
>
> xc: detail:   Loader:   0000000000100000->00000000001bad44
>
> xc: detail:   Modules:  0000000000000000->0000000000000000
>
> xc: detail:   TOTAL:    0000000000000000->00000000ff000000
>
> xc: detail:   ENTRY:    0000000000100610
>
> xc: detail: PHYSICAL MEMORY ALLOCATION:
>
> xc: detail:   4KB PAGES: 0x0000000000000200
>
> xc: detail:   2MB PAGES: 0x00000000000003f7
>
> xc: detail:   1GB PAGES: 0x0000000000000002
>
> xc: detail: elf_load_binary: phdr 0 at 0x7f0c606da000 -> 0x7f0c6078b191
>
> domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0x10f000
>
> libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk
> vdev=xvda spec.backend=phy
>
> libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch
> w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0:
> register slotnum=3
>
> libxl: debug: libxl_create.c:1586:do_domain_create: ao 0x157ac00:
> inprogress: poller=0x157b2a0, flags=i
>
> libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30
> wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event
> epath=/local/domain/0/backend/vbd/88/51712/state
>
> libxl: debug: libxl_event.c:884:devstate_callback: backend
> /local/domain/0/backend/vbd/88/51712/state wanted state 2 still waiting
> state 1
>
> libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30
> wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event
> epath=/local/domain/0/backend/vbd/88/51712/state
>
> libxl: debug: libxl_event.c:880:devstate_callback: backend
> /local/domain/0/backend/vbd/88/51712/state wanted state 2 ok
>
> libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch
> w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0:
> deregister slotnum=3
>
> libxl: debug: libxl_device.c:991:device_backend_callback: calling
> device_backend_cleanup
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x157df30: deregister unregistered
>
> libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and
> environment ready
>
> libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug
> script: /etc/xen/scripts/block add
>
> libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to
> execute: /etc/xen/scripts/block add
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x157e030: deregister unregistered
>
> libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec
> 1, not running hotplug scripts
>
> libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to
> execute
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x157e030: deregister unregistered
>
> libxl: debug: libxl_dm.c:1796:libxl__spawn_local_dm: Spawning
> device-model /usr/lib64/xen/bin/qemu-system-i386 with arguments:
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> /usr/lib64/xen/bin/qemu-system-i386
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -xen-domid
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   88
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-88,server,nowait
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -no-shutdown
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> chardev=libxl-cmd,mode=control
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-88,server,nowait
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> chardev=libxenstat-cmd,mode=control
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -nodefaults
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -name
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   basic
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -vnc
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   127.0.0.1:0,to=99
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -display
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   none
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -serial
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   pty
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   VGA,vgamem_mb=16
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -boot
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   order=c
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -smp
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4,maxcpus=4
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> rtl8139,id=nic0,netdev=net0,mac=00:16:3e:10:20:30
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -netdev
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> type=tap,id=net0,ifname=vif88.0-emu,script=no,downscript=no
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -machine
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   xenfv
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -m
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4080
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -drive
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> file=/var/lib/xen/images/centos/xen_1241_hvm_domU3.img,if=ide,index=0,media=disk,format=raw,cache=writeback
>
> libxl: debug: libxl_dm.c:1800:libxl__spawn_local_dm: Spawning
> device-model /usr/lib64/xen/bin/qemu-system-i386 with additional
> environment:
>
> libxl: debug: libxl_dm.c:1802:libxl__spawn_local_dm:
> XEN_QEMU_CONSOLE_LIMIT=1048576
>
> libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch
> w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1:
> register slotnum=3
>
> libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157d200
> wpath=/local/domain/0/device-model/88/state token=3/1: event
> epath=/local/domain/0/device-model/88/state
>
> libxl: debug: libxl_exec.c:399:spawn_watch_event: domain 88 device
> model: spawn watch p=(null)
>
> libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch
> w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1:
> deregister slotnum=3
>
> libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 88
> device model: spawn failed (rc=-3)
>
> libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device
> model did not start: -3
>
> libxl: error: libxl_dm.c:1987:kill_device_model: Device Model already exited
>
> libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch
> w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2:
> register slotnum=3
>
> libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x1581bc0
> wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: event
> epath=/local/domain/0/backend/vbd/88/51712/state
>
> libxl: debug: libxl_event.c:880:devstate_callback: backend
> /local/domain/0/backend/vbd/88/51712/state wanted state 6 ok
>
> libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch
> w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2:
> deregister slotnum=3
>
> libxl: debug: libxl_device.c:991:device_backend_callback: calling
> device_backend_cleanup
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x1581bc0: deregister unregistered
>
> libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and
> environment ready
>
> libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug
> script: /etc/xen/scripts/block remove
>
> 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/88/51712/state token=3/2: empty slot
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x1581cc0: deregister unregistered
>
> libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info: num_exec
> 1, not running hotplug scripts
>
> libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to
> execute
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x1581cc0: deregister unregistered
>
> libxl: debug: libxl_linux.c:267:libxl__get_hotplug_script_info:
> backend_kind 6, no need to execute scripts
>
> libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to
> execute
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x1582400: deregister unregistered
>
> libxl: debug: libxl.c:1738:devices_destroy_cb: forked pid 19076 for
> destroy of domain 88
>
> libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157ac00:
> complete, rc=-3
>
> libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157ac00: destroy
>
> libxl: debug: libxl.c:1477:libxl_domain_destroy: ao 0x157f7f0: create:
> how=(nil) callback=(nil) poller=0x157b2a0
>
> libxl: error: libxl.c:1610:libxl__destroy_domid: non-existant domain 88
>
> libxl: error: libxl.c:1568:domain_destroy_callback: unable to destroy
> guest with domid 88
>
> libxl: error: libxl.c:1495:domain_destroy_cb: destruction of domain 88
> failed
>
> libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157f7f0:
> complete, rc=-21
>
> libxl: debug: libxl.c:1486:libxl_domain_destroy: ao 0x157f7f0:
> inprogress: poller=0x157b2a0, flags=ic
>
> libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157f7f0: destroy
>
> xc: debug: hypercall buffer: total allocations:1185 total releases:1185
>
> xc: debug: hypercall buffer: current allocations:0 maximum allocations:3
>
> xc: debug: hypercall buffer: cache current size:3
>
> xc: debug: hypercall buffer: cache hits:1170 misses:3 toobig:12
>
> _______________________________________________
> Xen-users mailing list
> [hidden email] <mailto:[hidden email]>
> https://lists.xen.org/xen-users
>
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> [hidden email]
> https://lists.xen.org/xen-users
>


--
Manfred Härtel, DB3HM    mailto:[hidden email]
                          http://rz-home.de/mhaertel

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: can't start hvm/pvhvm on xen 4.4 or xen4.6

James Okken
I tried a great number of things to get a HVM VM running.

I definitely had a incompatibility with the libusb or libusbx.

Eventually I upgraded to qemu-kvm-ev-2.6.0-28 (I was at qemu-kvm-1.5.3-126)

First yum installed
centos-release-qemu-ev

And then yum installed:
qemu-kvm-tools-ev-2.6.0-28.el7_3.9.1.x86_64
qemu-kvm-ev-2.6.0-28.el7_3.9.1.x86_64
qemu-kvm-common-ev-2.6.0-28.el7_3.9.1.x86_64
qemu-img-ev-2.6.0-28.el7_3.9.1.x86_64

Then the HVM VM started with no " libusb_free_ss_endpoint_companion_descriptor" error.  

But next, I could  not get output on the serial console pty/tty. After trying for a long time I decided HVMs were intended to use vncviewer, more than the serial console for the console.

I decided this because using "vncviewer localhost :0" in X windows of the Xen server was supposed to get me to the HVMs console

But I found out that X windows no longer worked on this system! Seems that the updates I had done broke X windows (maybe it was the upgrade to kernel 4.9?)

Finally stumbled on how to start X windows using VNC as the display. VNC'd to X windows from my windows laptop.
And then ran vncviewer localhost :0 from in that VNC session, and got connected to the HVM's console and did a OS install!!

Im sure there was other ways to do all of this but that was my journey...

-----Original Message-----
From: Xen-users [mailto:[hidden email]] On Behalf Of Manfred Haertel, DB3HM
Sent: Friday, April 21, 2017 1:56 PM
To: [hidden email]
Subject: Re: [Xen-users] can't start hvm/pvhvm on xen 4.4 or xen4.6

Probably your libusb is too old.

James Okken schrieb:

> Thanks for the reply Mark.
>
>
>
> I don’t see any “not found” in the ldd output. Any other thoughts? Thanks!
>
>
>
> [root@xen ~]# ldd /usr/lib64/xen/bin/qemu-system-i386
>
>         linux-vdso.so.1 =>  (0x00007ffd087a7000)
>
>         libssl3.so => /lib64/libssl3.so (0x00007f7216b4f000)
>
>         libsmime3.so => /lib64/libsmime3.so (0x00007f7216921000)
>
>         libnss3.so => /lib64/libnss3.so (0x00007f72165db000)
>
>         libnssutil3.so => /lib64/libnssutil3.so (0x00007f72163af000)
>
>         libplds4.so => /lib64/libplds4.so (0x00007f72161aa000)
>
>         libplc4.so => /lib64/libplc4.so (0x00007f7215fa5000)
>
>         libnspr4.so => /lib64/libnspr4.so (0x00007f7215d67000)
>
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7215b4a000)
>
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007f7215946000)
>
>         libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0
> (0x00007f7215744000)
>
>         libglib-2.0.so.0 => /lib64/libglib-2.0.so.0
> (0x00007f721540c000)
>
>         libz.so.1 => /lib64/libz.so.1 (0x00007f72151f6000)
>
>         libaio.so.1 => /lib64/libaio.so.1 (0x00007f7214ff4000)
>
>         libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f7214d8a000)
>
>         librt.so.1 => /lib64/librt.so.1 (0x00007f7214b82000)
>
>         libpixman-1.so.0 => /lib64/libpixman-1.so.0
> (0x00007f72148d5000)
>
>         libutil.so.1 => /lib64/libutil.so.1 (0x00007f72146d1000)
>
>         libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f72144aa000)
>
>         libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f7214280000)
>
>         libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f721407a000)
>
>         libpng15.so.15 => /lib64/libpng15.so.15 (0x00007f7213e4f000)
>
>         libgnutls.so.28 => /lib64/libgnutls.so.28 (0x00007f7213b3f000)
>
>         libSDL-1.2.so.0 => /lib64/libSDL-1.2.so.0 (0x00007f72138a5000)
>
>         libX11.so.6 => /lib64/libX11.so.6 (0x00007f7213567000)
>
>         libgtk-x11-2.0.so.0 => /lib64/libgtk-x11-2.0.so.0
> (0x00007f7212ee6000)
>
>         libgdk-x11-2.0.so.0 => /lib64/libgdk-x11-2.0.so.0
> (0x00007f7212c25000)
>
>         libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007f7212a02000)
>
>         libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f7212682000)
>
>         libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0
> (0x00007f721246c000)
>
>         libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0
> (0x00007f721225f000)
>
>         libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0
> (0x00007f721203c000)
>
>         libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f7211d18000)
>
>         libpango-1.0.so.0 => /lib64/libpango-1.0.so.0
> (0x00007f7211ace000)
>
>         libfontconfig.so.1 => /lib64/libfontconfig.so.1
> (0x00007f7211892000)
>
>         libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0
> (0x00007f7211641000)
>
>         libfreetype.so.6 => /lib64/libfreetype.so.6
> (0x00007f721139c000)
>
>         libxenstore.so.3.0 => /lib64/libxenstore.so.3.0
> (0x00007f7211192000)
>
>         libxenctrl.so.4.6 => /lib64/libxenctrl.so.4.6
> (0x00007f7210f61000)
>
>         libxenguest.so.4.6 => /lib64/libxenguest.so.4.6
> (0x00007f7210d36000)
>
>         libspice-server.so.1 => /lib64/libspice-server.so.1
> (0x00007f7210a12000)
>
>         libusb-1.0.so.0 => /lib64/libusb-1.0.so.0 (0x00007f72107fe000)
>
>         libusbredirparser.so.1 => /lib64/libusbredirparser.so.1
> (0x00007f72105f6000)
>
>         libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f72102ef000)
>
>         libm.so.6 => /lib64/libm.so.6 (0x00007f720ffec000)
>
>         libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f720fdd6000)
>
>         libc.so.6 => /lib64/libc.so.6 (0x00007f720fa15000)
>
>         /lib64/ld-linux-x86-64.so.2 (0x000055ea95216000)
>
>         libidn.so.11 => /lib64/libidn.so.11 (0x00007f720f7e1000)
>
>         libssh2.so.1 => /lib64/libssh2.so.1 (0x00007f720f5b7000)
>
>         libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2
> (0x00007f720f36c000)
>
>         libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f720f08c000)
>
>         libk5crypto.so.3 => /lib64/libk5crypto.so.3
> (0x00007f720ee57000)
>
>         libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f720ec52000)
>
>         liblber-2.4.so.2 => /lib64/liblber-2.4.so.2
> (0x00007f720ea43000)
>
>         libldap-2.4.so.2 => /lib64/libldap-2.4.so.2
> (0x00007f720e7f0000)
>
>         libp11-kit.so.0 => /lib64/libp11-kit.so.0 (0x00007f720e5cd000)
>
>         libtasn1.so.6 => /lib64/libtasn1.so.6 (0x00007f720e3b9000)
>
>         libnettle.so.4 => /lib64/libnettle.so.4 (0x00007f720e188000)
>
>         libhogweed.so.2 => /lib64/libhogweed.so.2 (0x00007f720df60000)
>
>         libgmp.so.10 => /lib64/libgmp.so.10 (0x00007f720dce9000)
>
>         libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f720dac8000)
>
>         libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0
> (0x00007f720d8c3000)
>
>         libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f720d6bd000)
>
>         libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f720d4b3000)
>
>         libXinerama.so.1 => /lib64/libXinerama.so.1
> (0x00007f720d2af000)
>
>         libXi.so.6 => /lib64/libXi.so.6 (0x00007f720d09f000)
>
>         libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f720ce95000)
>
>         libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007f720cc89000)
>
>         libXcomposite.so.1 => /lib64/libXcomposite.so.1
> (0x00007f720ca86000)
>
>         libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007f720c883000)
>
>         libXext.so.6 => /lib64/libXext.so.6 (0x00007f720c670000)
>
>         libffi.so.6 => /lib64/libffi.so.6 (0x00007f720c468000)
>
>         libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f720c243000)
>
>         libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f720c028000)
>
>         libharfbuzz.so.0 => /lib64/libharfbuzz.so.0
> (0x00007f720bdd5000)
>
>         libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f720bbb6000)
>
>         libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f720b9b3000)
>
>         libxcb-render.so.0 => /lib64/libxcb-render.so.0
> (0x00007f720b7a9000)
>
>         libGL.so.1 => /lib64/libGL.so.1 (0x00007f720b541000)
>
>         libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f720b317000)
>
>         libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f720b2ee000)
>
>         libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f720b0de000)
>
>         liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f720aeb9000)
>
>         libcelt051.so.0 => /lib64/libcelt051.so.0 (0x00007f720aca9000)
>
>         libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007f720aa54000)
>
>         libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f720a837000)
>
>         libssl.so.10 => /lib64/libssl.so.10 (0x00007f720a5c8000)
>
>         libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f720a1de000)
>
>         libkrb5support.so.0 => /lib64/libkrb5support.so.0
> (0x00007f7209fcf000)
>
>         libkeyutils.so.1 => /lib64/libkeyutils.so.1
> (0x00007f7209dcb000)
>
>         libfreebl3.so => /lib64/libfreebl3.so (0x00007f7209b4b000)
>
>         libXau.so.6 => /lib64/libXau.so.6 (0x00007f7209947000)
>
>         libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f72096e5000)
>
>         libgraphite2.so.3 => /lib64/libgraphite2.so.3
> (0x00007f72094c9000)
>
>         libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x00007f72092c7000)
>
>         libxcb-dri2.so.0 => /lib64/libxcb-dri2.so.0
> (0x00007f72090c1000)
>
>         libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0
> (0x00007f7208eba000)
>
>         libxcb-shape.so.0 => /lib64/libxcb-shape.so.0
> (0x00007f7208cb6000)
>
>         libgbm.so.1 => /lib64/libgbm.so.1 (0x00007f7208aaf000)
>
>         libglapi.so.0 => /lib64/libglapi.so.0 (0x00007f7208889000)
>
>         libudev.so.1 => /lib64/libudev.so.1 (0x00007f7208874000)
>
>         libdrm.so.2 => /lib64/libdrm.so.2 (0x00007f7208667000)
>
>         libxcb-glx.so.0 => /lib64/libxcb-glx.so.0 (0x00007f720844d000)
>
>         libXxf86vm.so.1 => /lib64/libXxf86vm.so.1 (0x00007f7208247000)
>
>         libcap.so.2 => /lib64/libcap.so.2 (0x00007f7208041000)
>
>         libgcrypt.so.11 => /lib64/libgcrypt.so.11 (0x00007f7207dc6000)
>
>         libgpg-error.so.0 => /lib64/libgpg-error.so.0
> (0x00007f7207bc1000)
>
>         libdw.so.1 => /lib64/libdw.so.1 (0x00007f7207978000)
>
>         libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f7207741000)
>
>         libattr.so.1 => /lib64/libattr.so.1 (0x00007f720753b000)
>
>         libelf.so.1 => /lib64/libelf.so.1 (0x00007f7207323000)
>
>
>
>
>
> *From:*Mark Pryor [mailto:[hidden email]]
> *Sent:* Thursday, April 20, 2017 6:19 PM
> *To:* James Okken; [hidden email]
> *Subject:* Re: [Xen-users] can't start hvm/pvhvm on xen 4.4 or xen4.6
>
>
>
> /usr/lib64/xen/bin/qemu-system-i386: symbol lookup error:
> /usr/lib64/xen/bin/qemu-system-i386: undefined symbol:
> libusb_free_ss_endpoint_companion_descriptor
>
>
>
> This is the qemu used by Xen-4.6 and is configured in
> /etc/sysconfig/xen-common.
>
>
>
> It might be missing a library to explain this error, so try:
>
> ldd /usr/lib64/xen/bin/qemu-system-i386
>
>
>
> looking for any `not found` lines.
>
>
>
> On Thursday, April 20, 2017 1:10 PM, James Okken
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>
>
> These systems are pretty brand new Intel E5 –v3s
>
>
>
> TXT is disabled in the BIOS.
>
>
>
> [root@xen ~]# xl dmesg | grep -i virt
>
> (XEN) I/O virtualisation enabled
>
> (XEN)  - APIC MMIO access virtualisation
>
> (XEN)  - Virtual-Processor Identifiers (VPID)
>
> (XEN)  - Virtual NMI
>
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
>
>
>
>
>
> [root@xen ~]# xl dmesg | grep -i hvm
>
> (XEN) HVM: ASIDs enabled.
>
> (XEN) HVM: VMX enabled
>
> (XEN) HVM: Hardware Assisted Paging (HAP) detected
>
> (XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB
>
>
>
> [root@xen~]# xl info
>
> host                   : xen
>
> release                : 4.9.13-22.el7.x86_64
>
> version                : #1 SMP Sun Feb 26 22:15:59 UTC 2017
>
> machine                : x86_64
>
> nr_cpus                : 32
>
> max_cpu_id             : 31
>
> nr_nodes               : 2
>
> cores_per_socket       : 8
>
> threads_per_core       : 2
>
> cpu_mhz                : 2400
>
> hw_caps                :
> bfebfbff:2c100800:00000000:00003f00:17bee3ff:00000000:00000001:0000000
> 0
>
> virt_caps              : hvm hvm_directio
>
> total_memory           : 65490
>
> free_memory            : 63619
>
> sharing_freed_memory   : 0
>
> sharing_used_memory    : 0
>
> outstanding_claims     : 0
>
> free_cpus              : 0
>
> xen_major              : 4
>
> xen_minor              : 6
>
> xen_extra              : .3-8.el7
>
> xen_version            : 4.6.3-8.el7
>
> xen_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
>
> xen_scheduler          : credit
>
> xen_pagesize           : 4096
>
> platform_params        : virt_start=0xffff800000000000
>
> xen_changeset          : Wed Feb 15 02:12:22 2017 -0600 git:149e51c-dirty
>
> xen_commandline        : placeholder dom0_mem=1024M,max:1024M cpuinfo
> com1=115200,8n1 console=com1,tty loglvl=all guest_loglvl=all
>
> cc_compiler            : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
>
> cc_compile_by          : mockbuild
>
> cc_compile_domain      : centos.org
>
> cc_compile_date        : Tue Feb 28 14:33:09 UTC 2017
>
> xend_config_format     : 4
>
>
>
> James Okken
>
> Lab Manager
>
> Dialogic Research Inc.
> 4 Gatehall Drive
>
> Parsippany
> NJ 07054
> USA
>
> Tel:      973 967 5179
> Email:  [hidden email] <mailto:[hidden email]>
>
> Web:    www.dialogic.com <http://www.dialogic.com/> – The Network Fuel
> Company <http://www.dialogic.com/en/landing/itw.aspx>
>
> This e-mail is intended only for the named recipient(s) and may
> contain information that is privileged, confidential and/or exempt
> from disclosure under applicable law. No waiver of privilege,
> confidence or otherwise is intended by virtue of communication via the
> internet. Any unauthorized use, dissemination or copying is strictly
> prohibited. If you have received this e-mail in error, or are not
> named as a recipient, please immediately notify the sender and destroy all copies of this e-mail.
>
>
>
> *From:*James Okken
> *Sent:* Thursday, April 20, 2017 11:27 AM
> *To:* '[hidden email]'
> *Subject:* RE: can't start hvm/pvhvm on xen 4.4 or xen4.6
>
>
>
> Hi again
>
>
>
> Just a bit more info
>
>
>
> The same thing occurs when I use the hvm template cfg file:
> xlexample.hvm
>
> Also “xl dmesg” does not show any messages.
>
>
>
>
>
> And one quick question: do I need a hard drive or cdrom defined in
> order for a domain to start? Can I comment the disk  = [‘ line until I
> get the domain to start?
>
>
>
> thanks
>
>
>
>
>
>
>
> *From:*James Okken
> *Sent:* Wednesday, April 19, 2017 1:29 PM
> *To:* '[hidden email]'
> *Subject:* can't start hvm/pvhvm on xen 4.4 or xen4.6
>
>
>
> Hi all,
>
>
>
> Sorry for the novice question which is probably answered somewhere I
> just can’t find.
>
>
>
> I am trying create a hvm/pvhvm but keep getting errors. Any
> suggestions would be appreciated!
>
>
>
> I’m using two hosts Ubuntu14.4 with xen 4.4, and Centos 7.2 with xen4.6.
> Both seem to have the same error.
>
>
>
> I’ve tried a number of different settings shown on different online
> threads, to no avail.
>
> Usually I get the error:
>
> libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 87
> device model: spawn failed (rc=-3)
>
> libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device
> model did not start: -3
>
>
>
>
>
> here is one basic iteration of my cfg file, you can see by the
> commented out lines some of the settings I’ve tried.
>
> (this is on the Centos 7.2 with xen4.6 host)
>
> vi basic.cfg
>
> builder="hvm"
>
> vcpus=4
>
> memory=4096
>
> name="basic"
>
> #bootloader="pygrub"
>
> #firmware_override = "/usr/lib64/xen/boot/hvmloader"
>
> #device_model_version="qemu-xen-traditional"
>
> #device_model = 'qemu-dm'
>
> #device_model_override = '/usr/lib64/xen/bin/qemu-dm'
>
> vif = ["mac=00:15:3f:11:21:30,bridge=xenbr0,rate=100Mb/s"]
>
> disk = [ "raw:/var/lib/xen/images/centos/xen_hvm.img,ioemu:xvda,w" ]
>
> vfb = [
> "type=vnc,vnclisten=127.0.0.1,vncdisplay=14,vncpasswd=password" ]
>
> serial="pty"
>
> boot = "c"
>
> sdl=0
>
> monitor=1
>
> pae=1
>
> acpi=1
>
> apic=1
>
> localtime=0
>
> #xen_platform_pci=1
>
> stdvga=1
>
> videoram=16
>
> gfx_passthru=0
>
> on_poweroff="destroy"
>
> on_reboot="restart"
>
> on_crash="restart"
>
>
>
>
>
> cat qemu-dm-basic.log
>
> /usr/lib64/xen/bin/qemu-system-i386: symbol lookup error:
> /usr/lib64/xen/bin/qemu-system-i386: undefined symbol:
> libusb_free_ss_endpoint_companion_descriptor
>
>
>
>
>
> Some command outputs
>
> [root@ xen]# rpm -qa | grep qemu
>
> libvirt-daemon-driver-qemu-1.1.1-29.el7.x86_64
>
> ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch
>
> qemu-kvm-1.5.3-60.el7.x86_64
>
> qemu-kvm-common-1.5.3-60.el7.x86_64
>
> qemu-img-1.5.3-60.el7.x86_64
>
>
>
> [root@xen]# /usr/libexec/qemu-kvm -version
>
> (process:22014): GLib-WARNING **: gmem.c:482: custom memory allocation
> vtable not supported
>
> QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7), Copyright (c)
> 2003-2008 Fabrice Bellard
>
> [root@sut-1241 xen]#
>
>
>
>
>
>
>
> Finally, the full output of the create:
>
> [root@ xen]# xl -vvvv create -c /etc/xen/basic.cfg
>
> Parsing config from /etc/xen/basic.cfg
>
> libxl: debug: libxl_create.c:1563:do_domain_create: ao 0x157ac00:
> create: how=(nil) callback=(nil) poller=0x157b2a0
>
> libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk
> vdev=xvda spec.backend=unknown
>
> libxl: debug: libxl_device.c:366:libxl__device_disk_set_backend: Disk
> vdev=xvda, using backend phy
>
> libxl: debug: libxl_create.c:947:initiate_domain_create: running
> bootloader
>
> libxl: debug: libxl_bootloader.c:324:libxl__bootloader_run: not a PV
> domain, skipping bootloader
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x157cf08: deregister unregistered
>
> libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best
> NUMA placement candidate found: nr_nodes=1, nr_cpus=16, nr_vcpus=36,
> free_memkb=32127
>
> libxl: detail: libxl_dom.c:181:numa_place_domain: NUMA placement
> candidate with 1 nodes, 16 cpus and 32127 KB free selected
>
> xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xbad44
>
> xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1bad44
>
> xc: detail: VIRTUAL MEMORY ARRANGEMENT:
>
> xc: detail:   Loader:   0000000000100000->00000000001bad44
>
> xc: detail:   Modules:  0000000000000000->0000000000000000
>
> xc: detail:   TOTAL:    0000000000000000->00000000ff000000
>
> xc: detail:   ENTRY:    0000000000100610
>
> xc: detail: PHYSICAL MEMORY ALLOCATION:
>
> xc: detail:   4KB PAGES: 0x0000000000000200
>
> xc: detail:   2MB PAGES: 0x00000000000003f7
>
> xc: detail:   1GB PAGES: 0x0000000000000002
>
> xc: detail: elf_load_binary: phdr 0 at 0x7f0c606da000 ->
> 0x7f0c6078b191
>
> domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0x10f000
>
> libxl: debug: libxl_device.c:337:libxl__device_disk_set_backend: Disk
> vdev=xvda spec.backend=phy
>
> libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch
> w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0:
> register slotnum=3
>
> libxl: debug: libxl_create.c:1586:do_domain_create: ao 0x157ac00:
> inprogress: poller=0x157b2a0, flags=i
>
> libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30
> wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event
> epath=/local/domain/0/backend/vbd/88/51712/state
>
> libxl: debug: libxl_event.c:884:devstate_callback: backend
> /local/domain/0/backend/vbd/88/51712/state wanted state 2 still
> waiting state 1
>
> libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157df30
> wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0: event
> epath=/local/domain/0/backend/vbd/88/51712/state
>
> libxl: debug: libxl_event.c:880:devstate_callback: backend
> /local/domain/0/backend/vbd/88/51712/state wanted state 2 ok
>
> libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch
> w=0x157df30 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/0:
> deregister slotnum=3
>
> libxl: debug: libxl_device.c:991:device_backend_callback: calling
> device_backend_cleanup
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x157df30: deregister unregistered
>
> libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and
> environment ready
>
> libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug
> script: /etc/xen/scripts/block add
>
> libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to
> execute: /etc/xen/scripts/block add
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x157e030: deregister unregistered
>
> libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info:
> num_exec 1, not running hotplug scripts
>
> libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to
> execute
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x157e030: deregister unregistered
>
> libxl: debug: libxl_dm.c:1796:libxl__spawn_local_dm: Spawning
> device-model /usr/lib64/xen/bin/qemu-system-i386 with arguments:
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> /usr/lib64/xen/bin/qemu-system-i386
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -xen-domid
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   88
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-88,server,nowait
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -no-shutdown
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> chardev=libxl-cmd,mode=control
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -chardev
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-88,server,no
> wait
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -mon
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> chardev=libxenstat-cmd,mode=control
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -nodefaults
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -name
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   basic
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -vnc
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   127.0.0.1:0,to=99
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -display
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   none
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -serial
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   pty
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   VGA,vgamem_mb=16
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -boot
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   order=c
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -smp
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4,maxcpus=4
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -device
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> rtl8139,id=nic0,netdev=net0,mac=00:16:3e:10:20:30
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -netdev
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> type=tap,id=net0,ifname=vif88.0-emu,script=no,downscript=no
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -machine
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   xenfv
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -m
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   4080
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:   -drive
>
> libxl: debug: libxl_dm.c:1798:libxl__spawn_local_dm:
> file=/var/lib/xen/images/centos/xen_1241_hvm_domU3.img,if=ide,index=0,
> media=disk,format=raw,cache=writeback
>
> libxl: debug: libxl_dm.c:1800:libxl__spawn_local_dm: Spawning
> device-model /usr/lib64/xen/bin/qemu-system-i386 with additional
> environment:
>
> libxl: debug: libxl_dm.c:1802:libxl__spawn_local_dm:
> XEN_QEMU_CONSOLE_LIMIT=1048576
>
> libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch
> w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1:
> register slotnum=3
>
> libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x157d200
> wpath=/local/domain/0/device-model/88/state token=3/1: event
> epath=/local/domain/0/device-model/88/state
>
> libxl: debug: libxl_exec.c:399:spawn_watch_event: domain 88 device
> model: spawn watch p=(null)
>
> libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch
> w=0x157d200 wpath=/local/domain/0/device-model/88/state token=3/1:
> deregister slotnum=3
>
> libxl: error: libxl_dm.c:1872:device_model_spawn_outcome: domain 88
> device model: spawn failed (rc=-3)
>
> libxl: error: libxl_create.c:1344:domcreate_devmodel_started: device
> model did not start: -3
>
> libxl: error: libxl_dm.c:1987:kill_device_model: Device Model already
> exited
>
> libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch
> w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2:
> register slotnum=3
>
> libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x1581bc0
> wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2: event
> epath=/local/domain/0/backend/vbd/88/51712/state
>
> libxl: debug: libxl_event.c:880:devstate_callback: backend
> /local/domain/0/backend/vbd/88/51712/state wanted state 6 ok
>
> libxl: debug: libxl_event.c:677:libxl__ev_xswatch_deregister: watch
> w=0x1581bc0 wpath=/local/domain/0/backend/vbd/88/51712/state token=3/2:
> deregister slotnum=3
>
> libxl: debug: libxl_device.c:991:device_backend_callback: calling
> device_backend_cleanup
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x1581bc0: deregister unregistered
>
> libxl: debug: libxl_linux.c:229:libxl__hotplug_disk: Args and
> environment ready
>
> libxl: debug: libxl_device.c:1088:device_hotplug: calling hotplug
> script: /etc/xen/scripts/block remove
>
> 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/88/51712/state token=3/2: empty slot
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x1581cc0: deregister unregistered
>
> libxl: debug: libxl_linux.c:246:libxl__get_hotplug_script_info:
> num_exec 1, not running hotplug scripts
>
> libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to
> execute
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x1581cc0: deregister unregistered
>
> libxl: debug: libxl_linux.c:267:libxl__get_hotplug_script_info:
> backend_kind 6, no need to execute scripts
>
> libxl: debug: libxl_device.c:1075:device_hotplug: No hotplug script to
> execute
>
> libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch
> w=0x1582400: deregister unregistered
>
> libxl: debug: libxl.c:1738:devices_destroy_cb: forked pid 19076 for
> destroy of domain 88
>
> libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157ac00:
> complete, rc=-3
>
> libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157ac00:
> destroy
>
> libxl: debug: libxl.c:1477:libxl_domain_destroy: ao 0x157f7f0: create:
> how=(nil) callback=(nil) poller=0x157b2a0
>
> libxl: error: libxl.c:1610:libxl__destroy_domid: non-existant domain
> 88
>
> libxl: error: libxl.c:1568:domain_destroy_callback: unable to destroy
> guest with domid 88
>
> libxl: error: libxl.c:1495:domain_destroy_cb: destruction of domain 88
> failed
>
> libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x157f7f0:
> complete, rc=-21
>
> libxl: debug: libxl.c:1486:libxl_domain_destroy: ao 0x157f7f0:
> inprogress: poller=0x157b2a0, flags=ic
>
> libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x157f7f0:
> destroy
>
> xc: debug: hypercall buffer: total allocations:1185 total
> releases:1185
>
> xc: debug: hypercall buffer: current allocations:0 maximum
> allocations:3
>
> xc: debug: hypercall buffer: cache current size:3
>
> xc: debug: hypercall buffer: cache hits:1170 misses:3 toobig:12
>
> _______________________________________________
> Xen-users mailing list
> [hidden email] <mailto:[hidden email]>
> https://lists.xen.org/xen-users
>
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> [hidden email]
> https://lists.xen.org/xen-users
>


--
Manfred Härtel, DB3HM    mailto:[hidden email]
                          http://rz-home.de/mhaertel

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users