I have similar problems. Fresh 64bit install of 2006.1 on a Core2Duo, Xen 3.0.3 from the link above with xen-sources 2.6.18. Dom0 loads without problems (well, I ran onto the nvidia-drivers incompatibility issue, but that's another story), but I can not initiate an already installed WinXP as a DomU. I have a suspicion that something is wrong with the "disk" section of the config file, but since I found almost no documentation on running a DomU from a different disk instead of az image file, I can not be sure. My other suspicion is in connection with the first one, as the 2.6.18 kernel does not fully support the AHCI SATA controller of my P965-DS4. Kernel 2.6.19 is fine, but does not exist as xen-sources yet.
Code: Select all
szakadt-3 xen # xm create test.hvm
Using config file "test.hvm".
Started domain WinXP
szakadt-3 xen #
And that's it. No error messages, no reply from Xen or WinXP, no new window in X, nothing. The DomU seems to run, but there is no indication about it's status.
Code: Select all
szakadt-3 xen # xm list -l
(domain
(domid 0)
(uuid 00000000-0000-0000-0000-000000000000)
(vcpus 2)
(cpu_weight 1.0)
(memory 961)
(shadow_memory 0)
(maxmem 1882)
(features )
(name Domain-0)
(on_poweroff destroy)
(on_reboot restart)
(on_crash restart)
(state r-----)
(shutdown_reason poweroff)
(cpu_time 409.341401806)
(online_vcpus 2)
)
(domain
(domid 9)
(uuid 26c65a65-34b0-3868-06ef-86d9fdb8feb3)
(vcpus 1)
(cpu_weight 1.0)
(memory 1024)
(shadow_memory 8)
(maxmem 1024)
(features )
(name WinXP)
(on_poweroff destroy)
(on_reboot restart)
(on_crash restart)
(image
(hvm
(kernel /usr/lib/xen/boot/hvmloader)
(root '/dev/sda1 rw')
(device_model /usr/lib64/xen/bin/qemu-dm)
(vcpus 1)
(boot b)
(serial pty)
(vncunused 1)
(sdl 1)
(display :0.0)
(xauthority /root/.xauthTGdqst)
(usb 1)
(usbdevice tablet)
)
)
(device
(vif
(backend 0)
(script vif-bridge)
(bridge xenbr0)
(mac 00:16:3e:74:32:ad)
(type ioemu)
)
)
(device (vbd (backend 0) (dev hdd:disk) (uname phy:/dev/sda1) (mode w)))
(state ------)
(shutdown_reason poweroff)
(cpu_time 0.003646571)
(online_vcpus 1)
(up_time 8.81830096245)
(start_time 1168352415.12)
(store_mfn 85737)
)
szakadt-3 xen #
Code: Select all
szakadt-3 xen # cat /etc/xen/test.hvm
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
shadow_memory = 8
name = "WinXP"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = ['phy:/dev/sda1,ioemu:hdd,w']
root = "/dev/sda1 rw"
cdrom='/dev/cdroms/cdrom0'
boot='b'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
#console='ttyS0'
sdl=1
vnc=0
stdvga=0
serial='pty'
usb=1
usbdevice='tablet'
szakadt-3 xen #
Code: Select all
szakadt-3 xen # emerge --info
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-xen x86_64)
=================================================================
System uname: 2.6.18-xen x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 09 Jan 2007 08:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /usr/X11R6/bin/startx"
CXXFLAGS="-march=nocona -O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ ftp://gentoo.inf.elte.hu/ ftp://ftp.nyx.hu/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo "
LANG="hu_HU@euro"
LC_ALL="hu_HU@euro"
LINGUAS="en hu"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mozilla /usr/portage/local/layman/xen"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa alsa_cards_hda_intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache apache2 apm arts berkdb bitmap-fonts bzip2 cddb cdr cli cracklib crypt cups dlloader dri dts dvd dvdr elibc_glibc exif fortran ftp gdbm gpm gtk gtk2 hal ieee1394 input_devices_keyboard input_devices_mouse isdnlog java javascript kde kernel_linux libg++ linguas_en linguas_hu lm_sensors mp3 mpi mplayer msn mysql ncurses nls nptl nptlonly nvidia opengl pam pcre pdf perl php ppds pppd python qt qt2 qt3 readline reflection samba sdl sensord session spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa xml xorg zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
szakadt-3 xen #
Any ideas?