I am running a home server for testing purposes that has Citrix XenServer installed. The hardware is not capable of HVM and can only support PV.
I downloaded a prebuilt VM in .img format from Stacklet (www.stacklet.com) to use for testing purposes and copied it to /xen/images/. This .img already has the modules for Xen installed and the initramfs-linux.img has been compiled in order to make it run in PV mode. However, when I run the command listed in the "Error" section, I receive the error also listed in this same section. No logs have been populated in /var/log/xen/ after this command has been run, which further makes me scratch my head.
Odd thing is that this same VM will boot on another VM of XenServer I have running in VMWare Workstation, with the exact same configuration files, etc. The reason for setting up a Hypervisor as a VM is because it eliminates HVM support and gives me a near identical testing environment.
Can anybody help me with this?
~~~~~Dom0 Host~~~~~
XenServer: 6.0
-=[ Error ]=-
[root@xen1 ~]# xl create -c -d /etc/xen/arch.stacklet
Parsing config file /etc/xen/arch.stacklet
(domain
(domid -1)
(create_info)
(hvm 0)
(hap 1)
(oos 1)
(ssidref 0)
(name arch.stacklet)
(uuid <unknown>)
(cpupool Pool-0)
(xsdata (null))
(platformdata (null))
(build_info)
(max_vcpus 1)
(tsc_mode 0)
(max_memkb 524288)
(target_memkb 524288)
(nomigrate 0)
(bootloader /usr/bin/pygrub)
(image
(linux 0)
(kernel (null))
(cmdline root=/dev/xvda fastboot)
(ramdisk (null))
)
)
(device
(tap
(backend_domid 0)
(frontend_domid 0)
(physpath /xen/images/arch.stacklet.img)
(phystype 2)
(virtpath xvda)
(unpluggable 0)
(readwrite 1)
(is_cdrom 0)
)
)
(device
(vif
(backend_domid 0)
(frontend_domid 0)
(devid 0)
(mtu 1492)
(model rtl8139)
(mac 00163e31e3b9)
)
)
)
libxl: error: libxl_create.c:317:libxl__domain_make domain creation fail
cannot make domain: -3
libxl: error: libxl.c:711:libxl_domain_destroy non-existant domain -1
-=[ /etc/xen/arch.stacklet ]=-
[root@xen1 ~]# cat /etc/xen/arch.stacklet
bootloader = "/usr/bin/pygrub"
memory = 512
name = "arch.stacklet"
vif = [ '' ]
disk = ['file:/xen/images/arch.stacklet.img,xvda,w']
root = "/dev/xvda"
extra = "fastboot"
-=[ .img Location ]=-
[root@xen1 ~]# ll /xen/images
total 809900
-rw-r--r-- 1 root root 206291872 Nov 25 00:38 arch.2012-09.x86-64.20120826.img.tar.bz2
-rw-r--r-- 1 root root 10738466816 Nov 25 12:15 arch.stacklet.img
drwx------ 2 root root 16384 Nov 25 00:33 lost+found
-=[ /var/log/xen/ ]=-
[root@xen1 ~]# ll /var/log/xen
total 0
~~~~~Dom0 Host~~~~~
-=[ /boot/grub/menu.lst ]=-
default=0
timeout=10
title vmlinuz-linux
root (hd0,0)
kernel /boot/vmlinux-linux root=/dev/xvda ro quiet
initrd /boot/initramfs-linux.img
-=[ /etc/fstab ]=-
/dev/xvda / ext4 defaults,barrier=0 1 1
-=[ /etc/mkinitcpio.conf ]=-
MODULES="xen_blkfront"
BINARIES=""
FILES=""
HOOKS="base udev autodetect pata scsi sata filesystems usbinput fsck"
-=[ /etc/inittab ]=-
id:3:initdefault:
hvc0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux
xvc0:2345:respawn:/sbin/agetty -8 -s 38400 xvc0 linux
-=[ /etc/secretty ]=-
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
hvc0
-Mike
]]>