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

[Xen-devel] Problem creating x86_64 PVH mini-os domain

Hi all,


I was trying to create mini-os PVH instances both x86_32 and x86_64. I have no issue with x86_32 but when trying to ‘xl create’ x86_64 type I get the following error:

root@debianxen:/home/balvisio# xl -vvv create minios_pvh.cfg

Parsing config from minios_pvh.cfg

libxl: debug: libxl_create.c:1646:do_domain_create: Domain 0:ao 0x558d17c32c70: create: how=(nil) callback=(nil) poller=0x558d17c32b30

libxl: debug: libxl_create.c:987:initiate_domain_create: Domain 24:running bootloader

libxl: debug: libxl_bootloader.c:335:libxl__bootloader_run: Domain 24:no bootloader configured, using user supplied kernel

libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x558d17c33d20: deregister unregistered

domainbuilder: detail: xc_dom_allocate: cmdline="", features=""

domainbuilder: detail: xc_dom_kernel_file: filename="/home/balvisio/mini-os/mini-os"

domainbuilder: detail: xc_dom_malloc_filemap    : 2367 kB

domainbuilder: detail: xc_dom_boot_xen_init: ver 4.10, 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: error: panic: xc_dom_hvmloader.c:113: xc_dom_parse_hvm_kernel: ELF image is not 32bit: Invalid kernel

libxl: error: libxl_dom.c:718:libxl__build_dom: xc_dom_parse_image failed: No such file or directory

domainbuilder: detail: xc_dom_release: called

libxl: error: libxl_create.c:1246:domcreate_rebuild_done: Domain 24:cannot (re-)build domain: -3

libxl: debug: libxl_domain.c:1138:devices_destroy_cb: Domain 24:Forked pid 23698 for destroy of domain

libxl: debug: libxl_create.c:1683:do_domain_create: Domain 0:ao 0x558d17c32c70: inprogress: poller=0x558d17c32b30, flags=i

libxl: debug: libxl_event.c:1869:libxl__ao_complete: ao 0x558d17c32c70: complete, rc=-3

libxl: debug: libxl_event.c:1838:libxl__ao__destroy: ao 0x558d17c32c70: destroy

libxl: debug: libxl_domain.c:868:libxl_domain_destroy: Domain 24:ao 0x558d17c32c70: create: how=(nil) callback=(nil) poller=0x558d17c32b30

libxl: error: libxl_domain.c:1000:libxl__destroy_domid: Domain 24:Non-existant domain

libxl: error: libxl_domain.c:959:domain_destroy_callback: Domain 24:Unable to destroy guest

libxl: error: libxl_domain.c:886:domain_destroy_cb: Domain 24:Destruction of domain failed

libxl: debug: libxl_event.c:1869:libxl__ao_complete: ao 0x558d17c32c70: complete, rc=-21

libxl: debug: libxl_domain.c:877:libxl_domain_destroy: Domain 24:ao 0x558d17c32c70: inprogress: poller=0x558d17c32b30, flags=ic

libxl: debug: libxl_event.c:1838:libxl__ao__destroy: ao 0x558d17c32c70: destroy

xencall:buffer: debug: total allocations:78 total releases:78

xencall:buffer: debug: current allocations:0 maximum allocations:3

xencall:buffer: debug: cache current size:3

xencall:buffer: debug: cache hits:64 misses:3 toobig:11

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


The config file used is:








The minios elf file header is:


root@debianxen:/home/balvisio/mini-os# readelf -a mini-os

ELF Header:

  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00

  Class:                             ELF64

  Data:                              2's complement, little endian

  Version:                           1 (current)

  OS/ABI:                            UNIX - System V

  ABI Version:                       0

  Type:                              EXEC (Executable file)

  Machine:                           Advanced Micro Devices X86-64

  Version:                           0x1

  Entry point address:               0x0

  Start of program headers:          64 (bytes into file)

  Start of section headers:          2422464 (bytes into file)

  Flags:                             0x0

  Size of this header:               64 (bytes)

  Size of program headers:           56 (bytes)

  Number of program headers:         2

  Size of section headers:           64 (bytes)

  Number of section headers:         22

  Section header string table index: 21


Is there any extra setup needed to launch this type of domain?

Just in case, my host system is an x86_64 system.


Happy New Year!





Xen-devel mailing list



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