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

[Xen-users] Problems creating a simple hvm domU


  • To: xen-users@xxxxxxxxxxxxx
  • From: Matthew Dean <mcd40@xxxxxxxxx>
  • Date: Wed, 06 Mar 2013 14:43:10 +0000
  • Delivery-date: Wed, 06 Mar 2013 14:46:36 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

I'm probably doing something stupid but I've been pulling my hair out trying to create my first hvm domU. I have xen 4.2.1 installed (from source) on Ubuntu 12.10. My config file for the vm is as follows:

#windows.cfg

builder='hvm'
memory = 2048
name = "Windows7Test"
disk = [ 'file:/xen-guests/img/windows7Test.img,hda,w' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'destroy'
boot="c"
sdl=0
vnc=1
vnclisten="127.0.0.1"
vncunused=1
vncconsole=0
vncpasswd=""
stdvga=1
serial='pty'
keymap='gb'

I've made this as simple as possible whilst enabling vnc so that I should be able to view the vm. Note at this stage I don't even want to get to a windows install, I just want to start the vm.

Calling xl -vvv create -c windows.cfg gives

Parsing config from windowsTest.cfg
libxl: debug: libxl_create.c:1174:do_domain_create: ao 0x89fc10: create: how=(nil) callback=(nil) poller=0x89fa10 libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=unknown libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=hda, backend phy unsuitable as phys path not a block device libxl: debug: libxl_device.c:184:disk_try_backend: Disk vdev=hda, backend tap unsuitable because blktap not available libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=hda, using backend qdisk
libxl: debug: libxl_create.c:677:initiate_domain_create: running bootloader
libxl: debug: libxl_bootloader.c:321:libxl__bootloader_run: not a PV domain, skipping bootloader libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch w=0x89ffc0: deregister unregistered libxl: debug: libxl_numa.c:435:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=12, nr_vcpus=25, free_memkb=2816 libxl: detail: libxl_dom.c:192:numa_place_domain: NUMA placement candidate with 1 nodes, 12 cpus and 2816 KB free selected
xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0x9df68
xc: detail: elf_parse_binary: memory: 0x100000 -> 0x19df68
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000019df68
  TOTAL:         0000000000000000->000000007f800000
  ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000003fb
  1GB PAGES: 0x0000000000000000
xc: detail: elf_load_binary: phdr 0 at 0x0x7f20001ff000 -> 0x0x7f2000293df5
libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=qdisk libxl: debug: libxl_dm.c:1142:libxl__spawn_local_dm: Spawning device-model /usr/lib/xen/bin/qemu-dm with arguments: libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: /usr/lib/xen/bin/qemu-dm
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -d
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   20
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -domain-name
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   Windows7Test
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -vnc
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   127.0.0.1:0
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -vncunused
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -k
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   gb
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -serial
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   pty
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -videoram
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   8
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -std-vga
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -boot
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   c
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -acpi
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -vcpu_avail
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   0x01
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -net
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   none
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   -M
libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm:   xenfv
libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch w=0x8a01f8 wpath=/local/domain/0/device-model/20/state token=3/0: register slotnum=3 libxl: debug: libxl_create.c:1187:do_domain_create: ao 0x89fc10: inprogress: poller=0x89fa10, flags=i libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x8a01f8 wpath=/local/domain/0/device-model/20/state token=3/0: event epath=/local/domain/0/device-model/20/state libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch w=0x8a01f8 wpath=/local/domain/0/device-model/20/state token=3/0: deregister slotnum=3 libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 20 device model: spawn failed (rc=-3) libxl: debug: libxl_event.c:1677:libxl__ao_progress_report: ao 0x89fc10: progress report: callback queued aop=0x8a33f0 libxl: debug: libxl_event.c:1499:libxl__ao_complete: ao 0x89fc10: complete, rc=0 libxl: debug: libxl_event.c:1090:egc_run_callbacks: ao 0x89fc10: progress report: callback aop=0x8a33f0
libxl: debug: libxl_event.c:1471:libxl__ao__destroy: ao 0x89fc10: destroy
Daemon running with PID 5631
xenconsole: Could not read tty from store: No such file or directory
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [0] exited with error status 2
xc: debug: hypercall buffer: total allocations:1154 total releases:1154
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:1145 misses:4 toobig:5

A domain is created and can be seen with xl list but it is not running. I do not know how to get any more debug information than this and all I can discern is that the spawn failed (rc=-3).

Any help would be greatly appreciated.

Matt


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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