Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: What am I doing wrong?



On Mon, 30 Jun 2008 02:48:40 pm Eric Schnoebelen wrote:
> 
> I'm trying to bring up my first domU on a system..
> 
> The host is a SUN X2200-M2, which amusingly enough won't boot a
> GENERIC kernel, but runs just fine under the xen hypervisor. The
> system is running:
> 
>       NetBSD egsner.cirr.com 4.99.67 NetBSD 4.99.67 (XEN3_DOM0) #12: Fri Jun 
> 27 
13:54:02 CDT 2008  
eric@duke:/home/eric/work/eric/NetBSD-current/obj/amd64/sys/arch/amd64/compile/XEN3_DOM0
 
amd64
> 
> The userland is a few revs older:
> 
>       /sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for 
> NetBSD 
4.99.55, dynamically linked (uses shared libs), not stripped
> 
> xen tools are:
>       xenkernel3-3.1.4
>       xentools3-3.1.4
> 
> When I try to start my domU (which is a clone of an older
> machine, and going to run a i386 kernel) I get the following
> message:
> 
>       egsner-> sudo xm create -c /usr/pkg/etc/xen/egsner-i386 
>       Using config file "/usr/pkg/etc/xen/egsner-i386".
>       Error: [Errno 2] No such file or directory: '/proc/xen/balloon'
> 
> 
> No directory /proc/xen exists on my system.  A /kern/xen does,
> but it doesn't have a balloon file.
> 
> The configuration file I am using is:
> 
>       # all the comments have been stripped.
>       kernel = "/boot.d/xen-kernels/netbsd-4.0-i386"
>       memory = 1024
>       name = "egsner-i386"
>       vif = [ 'mac=00:16:3e:00:00:11, bridge=bridge0' ]
>       disk = [ 'phy:/dev/wd1a,0x1,w' ]
> 
> With all of the above, what am I doing wrong to get the error
> from xm??  
> 
> What additional information is needed to help get this working?

The most obvious problem (well to me that is) would be that you're running an 
amd64 dom0 and the domu kernel is not i386PAE or amd64. I'm not sure if this 
is documented but it is required.

I was going to say that balloon error is pretty typical, but looking on my 
system, it appears I no longer receive that error (it's not logged at least). 
I don't think it will prevent a domu from booting however.

Sarton


Home | Main Index | Thread Index | Old Index