Subject: Error: Error creating domain: (0, 'Error')
To: NetBSD/xen <port-xen@NetBSD.org>
From: Joel CARNAT <joel@carnat.net>
List: port-xen
Date: 01/03/2006 17:46:37
Hi,
I'm trying to start a netbsd (3-release) into netbsd/xen (3.0) too.
I read and did accordingly to
http://www.netbsd.org/Ports/xen/howto.html.
At the point of creating my first domain, I get :
Error: Error creating domain: (0, 'Error')
Didn't found any interesting info on google...
Any idea what I do wrong ?
Here's a few things about my conf.
xen# uname -a
NetBSD xen.tumfatig.net 3.0_STABLE NetBSD 3.0_STABLE
(PE2850-XEN0-$Revision: 1.0.0 $) #0: Tue Jan 3 18:32:56 CET 2006
root@xen.tumfatig.net:/home/cvs/src/sys/arch/i386/compile/PE2850 i386
xen# /etc/rc.d/xend start
Starting xend.
/usr/pkg/lib/python2.3/site-packages/xen/xend/server/SrvDir.py:3:
DeprecationWarning: twisted.protocols.http has moved to
twisted.web.http. See http://twistedmatrix.com/projects/web.
from twisted.protocols import http
log> [2006-01-03 19:40:47 xend] INFO (SrvDaemon:610) Xend Daemon started
log> [2006-01-03 19:40:47 xend] INFO (XendRoot:113) EVENT> xend.start 0
xen# xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 64 0 r---- 348.1
xen# xm create -c /home/xen/netbsd-3
Using config file "/home/xen/netbsd-3".
Error: Error creating domain: (0, 'Error')
log> [2006-01-03 19:42:23 xend] DEBUG (XendDomainInfo:720) init_domain>
Created domain=5 name=nbsd3 memory=128
log> [2006-01-03 19:42:23 xend] INFO (console:94) Created console id=19
domain=5 port=9605
log> [2006-01-03 19:42:23 xend] ERROR (SrvBase:162) op=create: Error creating
domain: (0, 'Error')
Traceback (most recent call last):
File
"/usr/pkg/lib/python2.3/site-packages/xen/xend/server/SrvBase.py", line
107, in _perform
val = op_method(op, req)
File
"/usr/pkg/lib/python2.3/site-packages/xen/xend/server/SrvDomainDir.py",
line 71, in op_create
raise XendError("Error creating domain: " + str(ex))
XendError: Error creating domain: (0, 'Error')
log> [2006-01-03 19:42:23 xend] INFO (XendRoot:113) EVENT>
xend.console.create [19, 5, 9605]
xen# xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 64 0 r---- 348.5
Domain-5 5 128 1 --p-- 0.0
log> [2006-01-03 19:43:09 xend] INFO (XendRoot:113) EVENT>
xend.domain.create ['Domain-5', '5']
xen# cat /home/xen/netbsd-3
name = "nbsd3"
kernel = "/home/xen/netbsd-3"
memory = 128
disk = [ 'file:/home/xen/netbsd-3.dsk,wd0d,w' ]
vif = [ 'bridge=bridge0' ]
xen# cat /etc/ifconfig.bridge0
create
!brconfig $int add wm0 up
"/home/xen/netbsd-3.dsk" was created with "dd if=/dev/zero
of=/home/xen/netbsd-3.dsk bs=1024k count=512"
TIA,
Jo