Port-xen archive

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

Could not open channel to DOM0



Hi, 

I am trying to get working xen and I am having some issues when I 
try to create DOMUs.

I boot my system with these options:

  root(hd0,0)
  kernel (hd0,a)/xen.gz dom0_mem=65536 
  module (hd0,a)/netbsd-XEN0 root=/dev/hda1 ro console=tty0 

I am using this version of xen: xen-2.0.6-install-x86_32.tgz  

Regarding to nebsd-XEN0:

NetBSD xen 3.99.3 NetBSD 3.99.3 (XEN0) #0: Thu Apr 21

I am using this snapshot: 

ftp://ftp.netbsd.org/pub/NetBSD/arch/i386/snapshot/20050421-3.99.3/

I installed xentools from an uptodate pkgsrc tree. 

Ok. Xen + netbsd-xen0 boot perfectly.

I have created the xen device and I have started xend. 

Then I use this config file to create a netbsd domain:

xen:/usr/pkg/etc/xen # cat netbsd 
kernel = "/root/xenstuff/kernels/netbsd-XENU.gz"
memory = 32
name = "netbsd"
cpu = -1  
nics=1
vif = [ 'mac=aa:00:00:50:02:f0, bridge=10.0.0.254 netmask 255.255.255.0' ]
disk = [ 'phy:/dev/wd0e,wd0d,w' ]
root = "/dev/wd0d"
#extra = ""
#autorestart = True

/dev/wd0e doesn't exists yet but this is just a test config file. That
shouldn't be a problem, right?

Then I try to start the new domain:

xen:/usr/pkg/etc/xen # xm create -c /usr/pkg/etc/xen/netbsd
Using config file "/usr/pkg/etc/xen/netbsd".
Error: Error creating domain: Could not open channel to DOM0

If I list the domains:

xen:/usr/pkg/etc/xen # xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       64    0  r----     36.5        
Domain-9           9       32    0  --p--      0.0        

If I try to remove the new domain:

xen:/usr/pkg/etc/xen # xm destroy Domain-9
Error: Internal Server Error

So I have to restart xend and then it works:

xen:/usr/pkg/etc/xen # /usr/pkg/share/examples/rc.d/xend  restart
Stopping xend.
Waiting for PIDS: 616.
Starting xend.
xen:/usr/pkg/etc/xen # xm destroy Domain-9
xen:/usr/pkg/etc/xen # xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       64    0  r----     42.2        

Can anyone tell me what is the problem here? Can the problem be 
that I am using an "old version" of netbsd-current and recent 
versions of xen and xentools?

Thanks,

David








Home | Main Index | Thread Index | Old Index