From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Itamar Reis Peixoto" Subject: Re: error creating domain in xen 3.0.5 Date: Mon, 30 Apr 2007 12:33:28 -0200 Message-ID: <009a01c78b34$8a612110$fe00a8c0@ispbrasil> References: <907625E08839C4409CE5768403633E0B018E1C76@sefsexmb1.amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1741415557==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: "Petersson, Mats" , xen-users@lists.xensource.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============1741415557== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0095_01C78B23.C1441810" This is a multi-part message in MIME format. ------=_NextPart_000_0095_01C78B23.C1441810 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have 2 gb of memory on this machine, and in my domU config I have set = mem=3D32 [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 e-mail: itamar@ispbrasil.com.br msn: itamarjp@starmedia.com skype: itamarjp=20 icq: 81053601 +55 34 3238 3845 +55 11 4063 5033 ----- Original Message -----=20 From: "Petersson, Mats" To: "Itamar Reis Peixoto" ; = Cc: 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@ispbrasil.com.br]=20 > Sent: 30 April 2007 15:21 > To: Petersson, Mats; xen-users@lists.xensource.com > Cc: xen-devel@lists.xensource.com > Subject: Re: [Xen-users] error creating domain in xen 3.0.5 >=20 > I am using 3.0.5 RC4 > =20 > 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.=20 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=20 > -------------------- > =20 > Itamar Reis Peixoto > =20 > e-mail: itamar@ispbrasil.com.br =20 > msn: itamarjp@starmedia.com =20 > skype: itamarjp=20 > icq: 81053601 > +55 34 3238 3845 > +55 11 4063 5033 > ----- Original Message -----=20 > From: "Petersson, Mats" > > To: "Itamar Reis Peixoto" >;=20 > > > Cc: > > Sent: Monday, April 30, 2007 11:54 AM > Subject: RE: [Xen-users] error creating domain in xen 3.0.5 >=20 >=20 >=20 > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com=20 > =20 > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of=20 > > Itamar Reis Peixoto > > Sent: 30 April 2007 14:36 > > To: xen-users@lists.xensource.com=20 > =20 > > Cc: xen-devel@lists.xensource.com=20 > =20 > > Subject: [Xen-users] error creating domain in xen 3.0.5 > >=20 > > anyone can help-me ? > > =20 > > I am using fedora devel (6.92) >=20 >=20 > What version of Xen is that with?=20 >=20 > Daniel Berrange submitted a patch that is in 3.0.5-RC4 to fix=20 > a problem > with auto-balloning of Dom0. That fixes a problem that is very similar > to yours (if not the same).=20 >=20 > The workaround is to assign a fixed amount of memory to Dom0 with > "dom0_mem=3Dxxx" on the xen.gz boot line in your boot config file.=20 >=20 > > > [2007-04-30 09:27:00 xend.XendDomainInfo 5143] DEBUG=20 > > (XendDomainInfo:1330) XendDomainInfo.initDomain: 8 256 > > [2007-04-30 09:27:00 xend 5143] DEBUG (balloon:133) Balloon:=20 > > 0 KiB free; 0 to scrub; need 262144; retries: 20. > > [2007-04-30 09:27:21 xend.XendDomainInfo 5143] ERROR=20 > > (XendDomainInfo:397) VM start failed > > Traceback (most recent call last): > > File=20 > > "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", > > line 385, in start > > self._initDomain() > > File=20 > > "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", > > line 1375, in _initDomain > > balloon.free(memory + shadow) > > File=20 > > "/usr/lib/python2.5/site-packages/xen/xend/balloon.py", line=20 > > 170, in free > > free_mem + scrub_mem + dom0_alloc - dom0_min_mem)) > > VmError: I need 262144 KiB, but dom0_min_mem is 200704 and=20 > =20 >=20 > -- > Mats >=20 >=20 >=20 > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com =20 > http://lists.xensource.com/xen-users=20 > =20 >=20 >=20 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users ------=_NextPart_000_0095_01C78B23.C1441810 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have 2 gb of memory on this machine, = and in my=20 domU config I have set mem=3D32
 
[root@vps auto]#=20 pwd
/etc/xen/auto
 
[root@vps auto]# xm=20 list
Name          &= nbsp;           &n= bsp;           &nb= sp;  =20 ID   Mem VCPUs      State   = Time(s)
Domain-0         =             &= nbsp;           &n= bsp;=20 0   256     1    =20 r-----     98.9
[root@vps auto]# xm mem-set 0=20 32
 
[root@vps auto]# xm=20 list
Name          &= nbsp;           &n= bsp;           &nb= sp;  =20 ID   Mem VCPUs      State   = Time(s)
Domain-0         =             &= nbsp;           &n= bsp;=20 0    32     1     = r-----    101.4
 
[root@vps = auto]# xm create=20 ispbrasil
Using config file "./ispbrasil".
Error: I need 32768 = KiB, but=20 dom0_min_mem is 200704 and shrinking to 200704 KiB would leave only = -167936 KiB=20 free.
[root@vps auto]#

 
 
--------------------
 
Itamar Reis Peixoto
 
e-mail: itamar@ispbrasil.com.br
msn:=20 itamarjp@starmedia.com
skype:=20 itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 = 5033
----- Original Message -----
From: "Petersson, Mats" <Mats.Petersson@amd.com>
To: "Itamar Reis Peixoto" <itamar@ispbrasil.com.br>;=20 <xen-users@lists.xensource.com>
Cc: <xen-devel@lists.xensource.com>
Sent: Monday, April 30, 2007 12:30 = PM
Subject: RE: [Xen-users] error creating = domain in=20 xen 3.0.5

> -----Original Message-----
> From: Itamar Reis = Peixoto=20 [mailto:itamar@ispbrasil.com.br]
> Sent: 30 April 2007 = 15:21
> To:=20 Petersson, Mats;
xen-users@lists.xensource.com
> Cc: xen-devel@lists.xensource.com
> Subject: Re: [Xen-users] error creating domain in xen = 3.0.5
>=20
> I am using 3.0.5 RC4

>=20 total_memory           = :=20 530810
>=20 free_memory          &n= bsp; :=20 0

So, it looks like you've got 256MB given to Dom0 and abouot = 512MB of=20 RAM
total in the machine.

I think you may have problems = fitting a=20 256MB Dom0, Xen Hypevisor and a
256MB guest in 512MB. Perhaps you can = reduce=20 the Dom0 memory by some
20-30MB and get it to fit?

--
Mats=20

> --------------------

> Itamar Reis=20 Peixoto

> e-mail:
itamar@ispbrasil.com.br = <mailto:itamar@ispbrasil.com.br>=20
> msn:
itamarjp@starmedia.com = <mailto:itamarjp@starmedia.com>=20
> skype: itamarjp
> icq: 81053601
> +55 34 3238 = 3845
>=20 +55 11 4063 5033
> ----- Original Message -----
> From: = "Petersson,=20 Mats" <
Mats.Petersson@amd.com =
>=20 <
mailto:Mats.Petersson@amd.com>=20 >
> To: "Itamar Reis Peixoto" <
itamar@ispbrasil.com.br =
>=20 <
mailto:itamar@ispbrasil.com.br>=20 >;
> <
xen-users@lists.xensource.com
> <
mailto:xen-users@lists.xensource.com> >
> Cc: <xen-devel@lists.xensource.com
>=20 <
mailto:xen-devel@lists.xensource.com> >
> Sent: Monday, April 30, 2007 11:54 AM
> = Subject:=20 RE: [Xen-users] error creating domain in xen 3.0.5
>
> =
>=20
> > -----Original Message-----
> > From:
xen-users-bounces@lists.xensource.com=20
> <
mailto:xen-users-bounces@lists.xensource.com
> >=20 [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of
> = > Itamar=20 Reis Peixoto
> > Sent: 30 April 2007 14:36
> > To: = xen-users@lists.xensource.com
>=20 <
mailto:xen-users@lists.xensource.com>
> > Cc:
xen-devel@lists.xensource.com
>=20 <
mailto:xen-devel@lists.xensource.com>
> > Subject: [Xen-users] error creating domain = in xen=20 3.0.5
> >
> > anyone can help-me ?
> >  =
> > I am using fedora devel (6.92)
>
>
> = What=20 version of Xen is that with?
>
> Daniel Berrange submitted = a patch=20 that is in 3.0.5-RC4 to fix
> a problem
> with = auto-balloning of=20 Dom0. That fixes a problem that is very similar
> to yours (if not = the=20 same).
>
> The workaround is to assign a fixed amount of = memory to=20 Dom0 with
> "dom0_mem=3Dxxx" on the xen.gz boot line in your boot = config=20 file.
>
> <snip big log>
> > [2007-04-30 = 09:27:00=20 xend.XendDomainInfo 5143] DEBUG
> > (XendDomainInfo:1330)=20 XendDomainInfo.initDomain: 8 256
> > [2007-04-30 09:27:00 xend = 5143]=20 DEBUG (balloon:133) Balloon:
> > 0 KiB free; 0 to scrub; need = 262144;=20 retries: 20.
> > [2007-04-30 09:27:21 xend.XendDomainInfo 5143] = ERROR=20
> > (XendDomainInfo:397) VM start failed
> > = Traceback (most=20 recent call last):
> >   File
> >=20 "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
>=20 >  line 385, in start
> >    =20 self._initDomain()
> >   File
> >=20 "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
>=20 >  line 1375, in _initDomain
> = >    =20 balloon.free(memory + shadow)
> >   File
> = >=20 "/usr/lib/python2.5/site-packages/xen/xend/balloon.py", line
> = > 170,=20 in free
> >     free_mem + scrub_mem + = dom0_alloc -=20 dom0_min_mem))
> > VmError: I need 262144 KiB, but dom0_min_mem = is=20 200704 and
> <snip another copy of same error message> =
>=20
> --
> Mats
>
>
>
>=20 _______________________________________________
> Xen-users = mailing=20 list
>
Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com>
> http://lists.xensource.com/xen-users=20
> <
http://lists.xensource.com/xen-users>
>
>=20



_______________________________________________
Xen-us= ers=20 mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
------=_NextPart_000_0095_01C78B23.C1441810-- --===============1741415557== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1741415557==--