WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] RE: [Xen-users] error creating domain in xen 3.0.5

To: "Itamar Reis Peixoto" <itamar@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] RE: [Xen-users] error creating domain in xen 3.0.5
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Mon, 30 Apr 2007 16:30:22 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 30 Apr 2007 07:29:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <004b01c78b32$c5329280$fe00a8c0@ispbrasil>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceLM0koEz8yGXE5TxWb4bxONYan7AAAGcrw
Thread-topic: [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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel