Port-xen archive

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

Re: Re: Error: Error creating domain: (0, 'Error')



woops - I'm just damm stupid...

trying your 'vnconfig' method, and the error still being there, I
re-read the whole HOWTO and checked my VM configuration file...
the 'kernel = ' file was pointing to the conf file (and not a kernel
file) }:-(

now that's it's pointing to a *** real *** kernel file, it is much
better. the install process ran, saw and formatted the disk.

and BTW, using 'file: ' does work now my conf file is correct.
maybe the patches you talked about where submitted.

thanks for the help and sorry for the noise.
        Jo

Dans l'épisode précédent (Tue, Jan 03 2006 - 19:49), Manuel Bouyer nous 
apprenait que :
> On Tue, Jan 03, 2006 at 05:46:37PM +0100, Joel CARNAT wrote:
> > 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@localhost:/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        
> 
> Did the kernel print something on the console ?
> 
> > 
> > xen# cat /home/xen/netbsd-3
> > name = "nbsd3"
> > kernel = "/home/xen/netbsd-3"
> > memory = 128
> > disk = [ 'file:/home/xen/netbsd-3.dsk,wd0d,w' ]
> 
> I'm not sure file: will work out of the box on NetBSD.
> Try attaching this file to vnd0 (vnconfig vnd0 /home/xen/netbsd-3.dsk)
> and change file:/home/xen/netbsd-3.dsk to /dev/vnd0d
> 
> I think some patches were posted here to make xend attach the file to a
> vnd automatically but AFAIK they were not integrated to the package.
> 
> -- 
> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
>      NetBSD: 26 ans d'experience feront toujours la difference
> --



Home | Main Index | Thread Index | Old Index