Date: Tue, 5 Feb 2019 07:17:55 +0000 From: Eric Bautsch <eric.bautsch@pobox.com> To: freebsd-xen@freebsd.org Subject: Issue getting my first Xen domU up Message-ID: <1a013128-9efd-9f9c-878c-32c3598734f3@pobox.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi. I'm trying to get a Xen domU up and running. I'm running FreeBSD 12.0. System is a new install. I'm following the instructions here: https://www.freebsd.org/doc/handbook/virtualization-host-xen.html My config file looks thus: builder = "hvm" name = "titania" memory = 8192 vcpus = 2 vif = [ 'mac=00:16:3E:11:11:21,bridge=bridge0' ] disk = [ '/dev/zvol/zroot/titania0,raw,hda,rw' ] vnc = 1 vnclisten = "0.0.0.0" serial = "pty" Upon trying to create the domU, I think it's trying to tell me that it's got issues with the storage, but that may be a red herring as the qemu command seems to include the storage. Nevertheless, I have also tried with sda and messed around with qcow2 (that one didn't work, but probably due to my wrong incantation). Anyway here's the output from the above config file. Any help would be greatly appreciated. Thanks. Eric root@bianca:/export/vm # xl -vvvv create /export/vm/titania.cfg Parsing config from /export/vm/titania.cfg libxl: debug: libxl_create.c:1670:do_domain_create: Domain 0:ao 0x8008eb0a0: create: how=0x0 callback=0x0 poller=0x8008e50a0 libxl: debug: libxl_device.c:397:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=unknown libxl: debug: libxl_device.c:432:libxl__device_disk_set_backend: Disk vdev=hda, using backend phy libxl: debug: libxl_create.c:1007:initiate_domain_create: Domain 3:running bootloader libxl: debug: libxl_bootloader.c:328:libxl__bootloader_run: Domain 3:not a PV/PVH domain, skipping bootloader libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x800915b70: deregister unregistered domainbuilder: detail: xc_dom_allocate: cmdline="", features="" domainbuilder: detail: xc_dom_kernel_file: filename="/usr/local/lib/xen/boot/hvmloader" domainbuilder: detail: xc_dom_malloc_filemap : 176 kB libxl: debug: libxl_dom.c:970:libxl__load_hvm_firmware_module: Loading BIOS: /usr/local/share/seabios/bios.bin domainbuilder: detail: xc_dom_boot_xen_init: ver 4.11, caps xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 domainbuilder: detail: xc_dom_parse_image: called domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ... domainbuilder: detail: loader probe failed domainbuilder: detail: xc_dom_find_loader: trying HVM-generic loader ... domainbuilder: detail: loader probe OK xc: detail: ELF: phdr: paddr=0x100000 memsz=0x337e8 xc: detail: ELF: memory: 0x100000 -> 0x1337e8 domainbuilder: detail: xc_dom_mem_init: mem 8184 MB, pages 0x1ff800 pages, 4k each domainbuilder: detail: xc_dom_mem_init: 0x1ff800 pages domainbuilder: detail: xc_dom_boot_mem_init: called domainbuilder: detail: range: start=0x0 end=0xf0000000 domainbuilder: detail: range: start=0x100000000 end=0x20f800000 domainbuilder: detail: xc_dom_malloc : 16880 kB xc: detail: PHYSICAL MEMORY ALLOCATION: xc: detail: 4KB PAGES: 0x0000000000000200 xc: detail: 2MB PAGES: 0x00000000000003fb xc: detail: 1GB PAGES: 0x0000000000000006 domainbuilder: detail: xc_dom_build_image: called domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x100+0x34 at 0x8009c6000 domainbuilder: detail: xc_dom_alloc_segment: kernel : 0x100000 -> 0x134000 (pfn 0x100 + 0x34 pages) xc: detail: ELF: phdr 0 at 0x802401000 -> 0x80242ad7c domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x134+0x40 at 0x802401000 domainbuilder: detail: xc_dom_alloc_segment: System Firmware module : 0x134000 -> 0x174000 (pfn 0x134 + 0x40 pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x174+0x1 at 0x8009fa000 domainbuilder: detail: xc_dom_alloc_segment: HVM start info : 0x174000 -> 0x175000 (pfn 0x174 + 0x1 pages) domainbuilder: detail: alloc_pgtables_hvm: doing nothing domainbuilder: detail: xc_dom_build_image : virt_alloc_end : 0x175000 domainbuilder: detail: xc_dom_build_image : virt_pgtab_end : 0x0 domainbuilder: detail: xc_dom_boot_image: called domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_64 domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_32p domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32 <= matches domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_64 domainbuilder: detail: domain builder memory footprint domainbuilder: detail: allocated domainbuilder: detail: malloc : 16885 kB domainbuilder: detail: anon mmap : 0 bytes domainbuilder: detail: mapped domainbuilder: detail: file mmap : 176 kB domainbuilder: detail: domU mmap : 468 kB domainbuilder: detail: vcpu_hvm: called domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0x20f800 domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0x20f801 domainbuilder: detail: xc_dom_release: called libxl: debug: libxl_device.c:397:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=phy libxl: debug: libxl_event.c:636:libxl__ev_xswatch_register: watch w=0x8009c23d0 wpath=/local/domain/0/backend/vbd/3/768/state token=3/0: register slotnum=3 libxl: debug: libxl_create.c:1707:do_domain_create: Domain 0:ao 0x8008eb0a0: inprogress: poller=0x8008e50a0, flags=i libxl: debug: libxl_event.c:573:watchfd_callback: watch w=0x8009c23d0 wpath=/local/domain/0/backend/vbd/3/768/state token=3/0: event epath=/local/domain/0/backend/vbd/3/768/state libxl: debug: libxl_event.c:878:devstate_callback: backend /local/domain/0/backend/vbd/3/768/state wanted state 2 still waiting state 1 libxl: debug: libxl_event.c:573:watchfd_callback: watch w=0x8009c23d0 wpath=/local/domain/0/backend/vbd/3/768/state token=3/0: event epath=/local/domain/0/backend/vbd/3/768/state libxl: debug: libxl_event.c:874:devstate_callback: backend /local/domain/0/backend/vbd/3/768/state wanted state 2 ok libxl: debug: libxl_event.c:673:libxl__ev_xswatch_deregister: watch w=0x8009c23d0 wpath=/local/domain/0/backend/vbd/3/768/state token=3/0: deregister slotnum=3 libxl: debug: libxl_device.c:1117:device_backend_callback: Domain 3:calling device_backend_cleanup libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x8009c23d0: deregister unregistered libxl: debug: libxl_device.c:1218:device_hotplug: Domain 3:calling hotplug script: /usr/local/etc/xen/scripts/block /local/domain/0/backend/vbd/3/768 libxl: debug: libxl_device.c:1219:device_hotplug: Domain 3:extra args: libxl: debug: libxl_device.c:1225:device_hotplug: Domain 3: add libxl: debug: libxl_device.c:1227:device_hotplug: Domain 3:env: libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /usr/local/etc/xen/scripts/block /local/domain/0/backend/vbd/3/768 libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x8009c24d0: deregister unregistered libxl: debug: libxl_device.c:1203:device_hotplug: Domain 3:No hotplug script to execute libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x8009c24d0: deregister unregistered libxl: debug: libxl_disk.c:918:libxl__device_disk_find_local_path: Directly accessing local RAW disk /dev/zvol/zroot/titania0 libxl: debug: libxl_dm.c:1656:libxl__build_device_model_args_new: Domain 3:dm_restrict disabled, starting QEMU as root libxl: debug: libxl_dm.c:2331:libxl__spawn_local_dm: Domain 3:Spawning device-model /usr/local/lib/xen/bin/qemu-system-i386 with arguments: libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: /usr/local/lib/xen/bin/qemu-system-i386 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -xen-domid libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: 3 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -chardev libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-3,server,nowait libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -no-shutdown libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -mon libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: chardev=libxl-cmd,mode=control libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -chardev libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-3,server,nowait libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -mon libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: chardev=libxenstat-cmd,mode=control libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -nodefaults libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -no-user-config libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -name libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: titania libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -vnc libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: 0.0.0.0:0,to=99 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -display libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: none libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -serial libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: pty libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -device libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: cirrus-vga,vgamem_mb=8 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -boot libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: order=cda libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -smp libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: 2,maxcpus=2 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -device libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: rtl8139,id=nic0,netdev=net0,mac=00:16:3e:11:11:21 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -netdev libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: type=tap,id=net0,ifname=xnb3.0-emu,script=no,downscript=no libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -machine libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: xenfv libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -m libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: 8184 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: -drive libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 3: file=/dev/zvol/zroot/titania0,if=ide,index=0,media=disk,format=raw,cache=writeback libxl: debug: libxl_dm.c:2335:libxl__spawn_local_dm: Domain 3:Spawning device-model /usr/local/lib/xen/bin/qemu-system-i386 with additional environment: libxl: debug: libxl_dm.c:2337:libxl__spawn_local_dm: Domain 3: XEN_QEMU_CONSOLE_LIMIT=1048576 libxl: debug: libxl_event.c:636:libxl__ev_xswatch_register: watch w=0x800915e68 wpath=/local/domain/0/device-model/3/state token=3/1: register slotnum=3 libxl: debug: libxl_event.c:573:watchfd_callback: watch w=0x800915e68 wpath=/local/domain/0/device-model/3/state token=3/1: event epath=/local/domain/0/device-model/3/state libxl: debug: libxl_exec.c:398:spawn_watch_event: domain 3 device model: spawn watch p=(null) libxl: debug: libxl_event.c:673:libxl__ev_xswatch_deregister: watch w=0x800915e68 wpath=/local/domain/0/device-model/3/state token=3/1: deregister slotnum=3 libxl: error: libxl_dm.c:2427:device_model_spawn_outcome: Domain 3:domain 3 device model: spawn failed (rc=-3) libxl: error: libxl_create.c:1562:domcreate_devmodel_started: Domain 3:device model did not start: -3 libxl: error: libxl_dm.c:2541:kill_device_model: Device Model already exited libxl: debug: libxl_event.c:636:libxl__ev_xswatch_register: watch w=0x8009c29d0 wpath=/local/domain/0/backend/vbd/3/768/state token=3/2: register slotnum=3 libxl: debug: libxl_event.c:573:watchfd_callback: watch w=0x8009c29d0 wpath=/local/domain/0/backend/vbd/3/768/state token=3/2: event epath=/local/domain/0/backend/vbd/3/768/state libxl: debug: libxl_event.c:874:devstate_callback: backend /local/domain/0/backend/vbd/3/768/state wanted state 6 ok libxl: debug: libxl_event.c:673:libxl__ev_xswatch_deregister: watch w=0x8009c29d0 wpath=/local/domain/0/backend/vbd/3/768/state token=3/2: deregister slotnum=3 libxl: debug: libxl_device.c:1117:device_backend_callback: Domain 3:calling device_backend_cleanup libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x8009c29d0: deregister unregistered libxl: debug: libxl_device.c:1218:device_hotplug: Domain 3:calling hotplug script: /usr/local/etc/xen/scripts/block /local/domain/0/backend/vbd/3/768 libxl: debug: libxl_device.c:1219:device_hotplug: Domain 3:extra args: libxl: debug: libxl_device.c:1225:device_hotplug: Domain 3: remove libxl: debug: libxl_device.c:1227:device_hotplug: Domain 3:env: libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /usr/local/etc/xen/scripts/block /local/domain/0/backend/vbd/3/768 libxl: debug: libxl_event.c:542:watchfd_callback: watch epath=/local/domain/0/backend/vbd/3/768/state token=3/2: empty slot libxl: debug: libxl_event.c:542:watchfd_callback: watch epath=/local/domain/0/backend/vbd/3/768/state token=3/2: empty slot libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x8009c2ad0: deregister unregistered libxl: debug: libxl_device.c:1203:device_hotplug: Domain 3:No hotplug script to execute libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x8009c2ad0: deregister unregistered libxl: debug: libxl_device.c:1203:device_hotplug: Domain 3:No hotplug script to execute libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x8009c2dd0: deregister unregistered libxl: debug: libxl_domain.c:1172:devices_destroy_cb: Domain 3:Forked pid 1427 for destroy of domain libxl: debug: libxl_event.c:1869:libxl__ao_complete: ao 0x8008eb0a0: complete, rc=-3 libxl: debug: libxl_event.c:1838:libxl__ao__destroy: ao 0x8008eb0a0: destroy libxl: debug: libxl_domain.c:902:libxl_domain_destroy: Domain 3:ao 0x8008eb0a0: create: how=0x0 callback=0x0 poller=0x8008e50a0 libxl: error: libxl_domain.c:1034:libxl__destroy_domid: Domain 3:Non-existant domain libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 3:Unable to destroy guest libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 3:Destruction of domain failed libxl: debug: libxl_event.c:1869:libxl__ao_complete: ao 0x8008eb0a0: complete, rc=-21 libxl: debug: libxl_domain.c:911:libxl_domain_destroy: Domain 3:ao 0x8008eb0a0: inprogress: poller=0x8008e50a0, flags=ic libxl: debug: libxl_event.c:1838:libxl__ao__destroy: ao 0x8008eb0a0: destroy xencall:buffer: debug: total allocations:691 total releases:691 xencall:buffer: debug: current allocations:0 maximum allocations:3 xencall:buffer: debug: cache current size:3 xencall:buffer: debug: cache hits:674 misses:3 toobig:14 xencall:buffer: debug: total allocations:0 total releases:0 xencall:buffer: debug: current allocations:0 maximum allocations:0 xencall:buffer: debug: cache current size:0 xencall:buffer: debug: cache hits:0 misses:0 toobig:0 root@bianca:/export/vm # -- ____ / . Eric A. Bautsch /-- __ ___ ______________________________________ / / / / / (_____/____(___(__________________/ email: eric.bautsch@pobox.com [-- Attachment #2 --] 0 *H 010 `He 0 *H R0b00\Ĝ0 *H=0R10 UES10U StartCom CA1-0+U$StartCom Certification Authority ECC0 170428080035Z 370428080035Z0i10 UES10U StartCom CA1)0'U StartCom Certification Authority10UStartCom CC2 ICA0v0*H=+ "b {V/3~^ݝƳ\ɔ&4!,ȡXX{ !j?u]rL})$T[W֒o;W?r0n0m+a0_05+0)http://aia.startcomca.com/certs/cacc2.crt0&+0http://ocsp.startcomca.com0U<މ&ZWЯ0jFf0U0 0U#0l3 !~}0AU :0806U 0.0,+ http://www.startcomca.com/policy07U00.0,*(&http://crl.startcomca.com/sfscacc2.crl0U0U%0++0 *H=h 0e1 Q w;Q7"? &;ceA%syub|0%4pDWIU e%яGIT:Qo]t030Xa0 *H=0i10 UES10U StartCom CA1)0'U StartCom Certification Authority10UStartCom CC2 ICA0 170703103729Z 190703024700Z0H1%0# *H eric.bautsch@pobox.com10Ueric.bautsch@pobox.com0"0 *H 0 ![G/!Hg#/ <%YX'jHQ:A4,V>jCm1xЍavliD:tDgoVU~J0w~@Bi;ϱ"Ϝcv{oG Z=aTȧa3t !A'_S^aK@dm)}=OHV j$SIa/T S@ 00t+h0f0<+00http://aia.startcomca.com/certs/sca.client22.crt0&+0http://ocsp.startcomca.com0UKS}.rNv.Cʜ0 U0 0U#0<މ&ZWЯ0jFf0HU A0?0=+70.0,+ http://www.startcomca.com/policy0;U40200.,*http://crl.startcomca.com/sca-client22.crl0U0U%0++0!U0eric.bautsch@pobox.com0 *H=i 0f1 /)xoe6c?&d_ݗ]dr611 ё$LL!Z{yUzsnw:P+&6~'8`Aa+00LmMY1lɋ^<Y0 *H 0}10 UIL10U StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0 170411073001Z 220411073001Z0R10 UES10U StartCom CA1-0+U$StartCom Certification Authority ECC0v0*H=+ "b mSL=M> Z|)w/Csoxb"I7;4C&@ptAMpsnehU^e_X: t}h!B2AZ#wr쫣0 0U0U002U+0)0'%#!http://crl.startssl.com/sfsca.crl0f+Z0X0$+0http://ocsp.startssl.com00+0$http://aia.startssl.com/certs/ca.crt0Ul3 !~}0U#0N@[i04hCA0 *H :Q=QvO`Z|uxa!T1`PV ONG+b_B֫@ƈ_oEXD{@zy0e%LNlK~{@&Jz&#nR2]ik4q qGYz%]z0bӎj?YuN]7 A`+2b?gF@TfiW ٸyBY/4Ձc, }z'f`g؋=jX| Jyj^sʽP{.NmYYuB9"QBa$$DcvMڀ|6AzaC;EC'SD8rh=gRcқF4S>4":w2,A+nCkvhI+ ;8-Z0._3YOmӚu^+nE!~` 7I100u0i10 UES10U StartCom CA1)0'U StartCom Certification Authority10UStartCom CC2 ICAXa0 `He 0 *H 1 *H 0 *H 1 190205071755Z0/ *H 1" 2\b/UOE4؆0l *H 1_0]0 `He*0 `He0 *H 0*H 0 *H @0+0 *H (0 +71w0u0i10 UES10U StartCom CA1)0'U StartCom Certification Authority10UStartCom CC2 ICAXa0*H 1wu0i10 UES10U StartCom CA1)0'U StartCom Certification Authority10UStartCom CC2 ICAXa0 *H \A%⧋3d5#.I_ϼqxCt Y67푗*49ZO|wEn6IRAn~όǢ$t73*>&
