Subject: Re: "Invalid kernel" error in netbsd 4 domU under xen 3.2, linux dom0
To: None <port-xen@netbsd.org>
From: Jim Cipar <jcipar@cs.cmu.edu>
List: port-xen
Date: 01/29/2008 14:36:25
On Jan 29, 2008, at 2:23 PM, Silas Silva wrote:

> Hello all.
>
> I just configured Linux to work with Xen, as my dom0 OS. I installed  
> NetBSD in
> another partition, wrote a config file and tryed to create the virtual
> machine, but I received an error:
>
> # xm create -c /etc/xen/mist
> Using config file "/etc/xen/mist".
> Error: (2, 'Invalid kernel', 'xc_dom_compat_check: guest type  
> xen-3.0-x86_32
> not supported by xen kernel, sorry\n')
>
> The configuration file for this machine is:
>
> # $Id$
>
> kernel = "/boot/netbsd-XEN3_DOMU"
> memory = 832
> name = "mist"
> vif = [ 'mac=aa:00:00:00:00:11']
> disk = [ 'phy:/dev/sda2,sd0a,w' ]
> root = "/dev/sd0a" # only for NetBSD
>
> The kernel is the default netbsd-XEN3_DOMU kernel that comes with  
> the NetBSD
> 4.0 release.
>
> Does anybody know anything? Thank you very much.

It looks like a PAE/Non-PAE mismatch.  If Xen is compiled for PAE, it  
can only boot PAE guests.  NetBSD Xen/PAE support was merged with  
current a few days ago (according to the mailing list, I haven't tried  
it).  The easiest solution is to use amd64 if you've got the hardware.


>
>
> -- 
> Silas Silva - http://www.purl.org/NET/silas/site
>