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

Re: [Xen-users] Cannot run Stub domain in Ubuntu



Thanks for your reply.

I install Xen 4.2 with ubuntu 12.04 server 64bit.

I follow the installation guide  here
<http://wiki.xen.org/mediawiki/images/b/b6/Building_and_Installing_Xen_4.x_and_Linux_Kernel_3.x_on_Ubuntu_and_Debian_Linux_-_Version_2.0_-_REDUCED.pdf>
  

I can run hvm with qemu-dm.

But, I still can not run hvm with stub domain.

==== configure file ====
cat xl-exe 

firmware_override = "/usr/lib/xen/boot/hvmloader"

builder="hvm"
name="full-1"
device_model_version="qemu-xen-traditional"
device_model_override = '/usr/lib/xen/bin/stubdom-dm'
device_model_stubdomain_override = 1

vcpus=2
memory=2048
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"

disk = [ 'file:/home/rtes-big/guestfull1/ubuntu.img,hda,w',
'file:/home/rtes-big/image/ubuntu-12.04.1-server-amd64.iso,hdc:cdrom,r' ]

boot="c"
acpi=0
stdvga=0

vnc=1
vnclisten="localhost"
vncpasswd="passwd"
sdl=0
usb=1
gfx_passthru=0
vncconsole=1
serial='pty'




cat xl-exe-dm

mem=128
disk = [ 'file:/home/rtes-big/guestfull1/ubuntu.img,hda,w', ]
kernel = "/usr/lib/xen/boot/ioemu-stubdom.gz"
vif = [ 'bridge=xenbr0', ]
serial='pty'

vnc=1
vnclisten="localhost"
vncpasswd="passwd"
sdl=0
usb=1
vncconsole=1

==== Create HVM ====
sudo xl create -c xl-exe

Parsing config from xl-exe
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000019db48
  TOTAL:         0000000000000000->000000007f800000
  ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000003fb
  1GB PAGES: 0x0000000000000000
libxl: error: libxl_exec.c:436:spawn_middle_death: domain 84 device model
[20048]: unexpectedly exited with exit status 0, when we were waiting for it
to confirm startup
libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 84 device
model: spawn failed (rc=-3)
Daemon running with PID 20092
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


==== Log ====
less /var/log/xen/xl-full-1.log
Waiting for domain full-1 (domid 83) to die [pid 20093]

less /var/log/xen/qemu-dm-full-1-dm.log
xenstore-ls: xs_directory (/local/domain/84/device/vif): No such file or
directory
mkfifo: cannot create fifo `/tmp/full-1-dm-dm': File exists
Error: Block device type "qdisk" is invalid.
Using config file "/etc/xen/stubdoms/full-1-dm-dm".
Using config file "/etc/xen/stubdoms/full-1-dm-dm".



--
View this message in context: 
http://xen.1045712.n5.nabble.com/Cannot-run-Stub-domain-in-Ubuntu-tp5712254p5712325.html
Sent from the Xen - User mailing list archive at Nabble.com.

_______________________________________________
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®.