xen-users
RE: [Xen-users] error creating domain in xen 3.0.5
Try to compile the tools/python directory with
XEN_PYTHON_NATIVE_INSTALL
make clean && make install
XEN_PYTHON_NATIVE_INSTALL=y
It might be that you are using an old version of the
tools...
Guy.
I have 2 gb of memory on this machine, and in my
domU config I have set mem=32
[root@vps auto]#
pwd /etc/xen/auto
[root@vps auto]# xm
list Name
ID Mem VCPUs State
Time(s) Domain-0
0 256 1
r----- 98.9 [root@vps auto]# xm mem-set 0
32
[root@vps auto]# xm
list Name
ID Mem VCPUs State
Time(s) Domain-0
0 32 1
r----- 101.4
[root@vps auto]# xm
create ispbrasil Using config file "./ispbrasil". Error: I need 32768
KiB, but dom0_min_mem is 200704 and shrinking to 200704 KiB would leave only
-167936 KiB free. [root@vps auto]#
--------------------
Itamar Reis Peixoto
----- Original Message -----
Sent: Monday, April 30, 2007 12:30
PM
Subject: RE: [Xen-users] error creating domain in
xen 3.0.5
> -----Original Message----- > From: Itamar Reis Peixoto
[mailto:itamar@xxxxxxxxxxxxxxxx] > Sent: 30 April 2007 15:21 >
To: Petersson, Mats; xen-users@xxxxxxxxxxxxxxxxxxx > Cc: xen-devel@xxxxxxxxxxxxxxxxxxx > Subject: Re: [Xen-users] error creating domain in xen
3.0.5 > > I am using 3.0.5 RC4 > >
total_memory :
530810 >
free_memory
: 0
So, it looks like you've got 256MB given to Dom0 and abouot 512MB
of RAM total in the machine.
I think you may have problems fitting
a 256MB Dom0, Xen Hypevisor and a 256MB guest in 512MB. Perhaps you can
reduce the Dom0 memory by some 20-30MB and get it to fit?
-- Mats
> -------------------- > > Itamar Reis
Peixoto > > e-mail: itamar@xxxxxxxxxxxxxxxx
<mailto:itamar@xxxxxxxxxxxxxxxx>
> msn: itamarjp@xxxxxxxxxxxxx <mailto:itamarjp@xxxxxxxxxxxxx>
> skype: itamarjp > icq: 81053601 > +55 34 3238
3845 > +55 11 4063 5033 > ----- Original Message ----- >
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx >
<mailto:Mats.Petersson@xxxxxxx>
> > To: "Itamar Reis Peixoto" <itamar@xxxxxxxxxxxxxxxx >
<mailto:itamar@xxxxxxxxxxxxxxxx>
>; > <xen-users@xxxxxxxxxxxxxxxxxxx > <mailto:xen-users@xxxxxxxxxxxxxxxxxxx> > > Cc: <xen-devel@xxxxxxxxxxxxxxxxxxx
> <mailto:xen-devel@xxxxxxxxxxxxxxxxxxx> > > Sent: Monday, April 30, 2007 11:54
AM > Subject: RE: [Xen-users] error creating domain in xen 3.0.5 >
> > > > -----Original Message----- > > From:
xen-users-bounces@xxxxxxxxxxxxxxxxxxx > <mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx> > > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx]
On Behalf Of > > Itamar Reis Peixoto > > Sent: 30 April
2007 14:36 > > To: xen-users@xxxxxxxxxxxxxxxxxxx
> <mailto:xen-users@xxxxxxxxxxxxxxxxxxx> > > Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> <mailto:xen-devel@xxxxxxxxxxxxxxxxxxx> > > Subject: [Xen-users] error creating
domain in xen 3.0.5 > > > > anyone can help-me ? >
> > > I am using fedora devel (6.92) > >
> What version of Xen is that with? > > Daniel Berrange
submitted a patch that is in 3.0.5-RC4 to fix > a problem > with
auto-balloning of Dom0. That fixes a problem that is very similar > to
yours (if not the same). > > The workaround is to assign a fixed
amount of memory to Dom0 with > "dom0_mem=xxx" on the xen.gz boot line
in your boot config file. > > <snip big log> > >
[2007-04-30 09:27:00 xend.XendDomainInfo 5143] DEBUG > >
(XendDomainInfo:1330) XendDomainInfo.initDomain: 8 256 > >
[2007-04-30 09:27:00 xend 5143] DEBUG (balloon:133) Balloon: > > 0
KiB free; 0 to scrub; need 262144; retries: 20. > > [2007-04-30
09:27:21 xend.XendDomainInfo 5143] ERROR > > (XendDomainInfo:397) VM
start failed > > Traceback (most recent call last): >
> File > >
"/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >
> line 385, in start > >
self._initDomain() > > File > >
"/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >
> line 1375, in _initDomain > >
balloon.free(memory + shadow) > > File > >
"/usr/lib/python2.5/site-packages/xen/xend/balloon.py", line > >
170, in free > > free_mem + scrub_mem +
dom0_alloc - dom0_min_mem)) > > VmError: I need 262144 KiB, but
dom0_min_mem is 200704 and > <snip another copy of same error
message> > > -- > Mats > > >
> _______________________________________________ > Xen-users
mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx
<mailto:Xen-users@xxxxxxxxxxxxxxxxxxx> > http://lists.xensource.com/xen-users
> <http://lists.xensource.com/xen-users> > >
_______________________________________________ Xen-users
mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|