On Tue, Jan 09, 2007 at 04:24:03PM -0600, Timothy D. Keanini Sr. wrote:
Hello, I've been trying to setup a instance of NetBSD-3.1 on a fc6xen Dom-0 Linux testlab 2.6.18-1.2849.fc6xen #1 SMP Fri Nov 10 12:57:36 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
# main configuration name = "netbsd31" kernel = "/data/xenimages/netbsd/netbsd-INSTALL_XEN3_DOMU" root="/dev/hda1" memory = 512 disk = [ 'phy:/dev/vg/lvnetbsd31,0x3,w' ]
#network information ip = "10.10.80.60" netmask = "255.255.255.0" gateway = "10.10.80.1"
#####
[root@testlab netbsd]# cp netbsd.cfg /etc/xen/netbsd.cfg
[root@testlab netbsd]# xm create -c /etc/xen/netbsd.cfg Using config file "/etc/xen/netbsd.cfg". Error: (22, 'Invalid argument')
This basically says your kernel image is invalid
### xend-debug.log output ## ERROR: Kernel not a Xen-compatible Elf image. ERROR: Error constructing guest OS ERROR: Kernel not a Xen-compatible Elf image. ERROR: Error constructing guest OS ERROR: Kernel not a Xen-compatible Elf image. ERROR: Error constructing guest OS
This confirms that the kernel image you're trying to boot is incompatible with your host OS.
Are you sure that
/data/xenimages/netbsd/netbsd-INSTALL_XEN3_DOMU
Is a kernel image, and not a virtual disk image ? If it really is a krenel image, make sure it is the same architecture as your dom0 - ie x86_64.
Regards, Dan.