Subject: Re: can't start domU on Xen3
To: Joel CARNAT <joel@carnat.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 06/08/2006 21:14:56
On Thu, Jun 08, 2006 at 07:54:35PM +0200, Joel CARNAT wrote:
> Hi,
> 
> I can't start a NetBSD domU on Xen3.
> As I've never done xen/linux before I may miss something trivial but I
> don't get what (I'm only used to netbsd/xenU on netbsd/xen0 :) The doc I
> followed are:
> 	http://julien.danjou.info/xen.html
> 	http://www.howtoforge.com/perfect_setup_xen3_debian
> 
> Here's what I get:
> ########################################################################
> #  sudo xm create -c /home/xen/netbsd.conf
> Using config file "/home/xen/netbsd.conf".
> Error: (22, 'Invalid argument')
> [...]
> 
> #  file /home/xen/netbsd-INSTALL_XENU /home/xen/netbsd.img
> /home/xen/netbsd-INSTALL_XENU: ELF 32-bit LSB executable, Intel 80386,

please make sure you're using a Xen-3 kernel. Use:
objdump -s -j __xen_guest netbsd-INSTALL_XENU

You should have XEN_VER=3.0 in there; if you see XEN_VER=2.0 it's the
wrong kernel.
If that's not the issue then it may be that your tools are too old.
Grab new Xen kernel and tools from
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--