[Fedora-xen] NetBSD 3.1 on fc6 xen 3.0.3

Daniel P. Berrange berrange at redhat.com
Tue Jan 9 22:30:03 UTC 2007


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 at testlab netbsd]# cp netbsd.cfg /etc/xen/netbsd.cfg
> 
> [root at 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.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the Fedora-xen mailing list