From: Mark Williamson <mark.williamson@cl.cam.ac.uk>
To: xen-users@lists.xensource.com
Cc: "Petersson, Mats" <Mats.Petersson@amd.com>,
xen-devel@lists.xensource.com,
Itamar Reis Peixoto <itamar@ispbrasil.com.br>
Subject: Re: error creating domain in xen 3.0.5
Date: Mon, 30 Apr 2007 15:49:03 +0100 [thread overview]
Message-ID: <200704301549.03633.mark.williamson@cl.cam.ac.uk> (raw)
In-Reply-To: <009a01c78b34$8a612110$fe00a8c0@ispbrasil>
Hi,
Xen seems to think you don't have much memory free, even though you should do.
Please post the output of xm dmesg and xm info.
Cheers,
Mark
On Monday 30 April 2007, Itamar Reis Peixoto wrote:
> 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
>
> e-mail: itamar@ispbrasil.com.br
> msn: itamarjp@starmedia.com
> skype: 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>;
> <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 xen 3.0.5
>
> > -----Original Message-----
> > From: Itamar Reis Peixoto [mailto:itamar@ispbrasil.com.br]
> > 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
> >
> > 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@ispbrasil.com.br <mailto:itamar@ispbrasil.com.br>
> > msn: itamarjp@starmedia.com <mailto:itamarjp@starmedia.com>
> > skype: itamarjp
> > icq: 81053601
> > +55 34 3238 3845
> > +55 11 4063 5033
> > ----- Original Message -----
> > From: "Petersson, Mats" <Mats.Petersson@amd.com
> > <mailto:Mats.Petersson@amd.com> >
> > To: "Itamar Reis Peixoto" <itamar@ispbrasil.com.br
> > <mailto:itamar@ispbrasil.com.br> >;
> > <xen-users@lists.xensource.com
> > <mailto:xen-users@lists.xensource.com> >
> > Cc: <xen-devel@lists.xensource.com
> > <mailto:xen-devel@lists.xensource.com> >
> > 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@lists.xensource.com
> >
> > <mailto:xen-users-bounces@lists.xensource.com>
> >
> > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of
> > > Itamar Reis Peixoto
> > > Sent: 30 April 2007 14:36
> > > To: xen-users@lists.xensource.com
> >
> > <mailto:xen-users@lists.xensource.com>
> >
> > > Cc: xen-devel@lists.xensource.com
> >
> > <mailto:xen-devel@lists.xensource.com>
> >
> > > 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@lists.xensource.com <mailto:Xen-users@lists.xensource.com>
> > http://lists.xensource.com/xen-users
> > <http://lists.xensource.com/xen-users>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
--
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
next prev parent reply other threads:[~2007-04-30 14:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <004b01c78b32$c5329280$fe00a8c0@ispbrasil>
2007-04-30 14:30 ` [Xen-users] error creating domain in xen 3.0.5 Petersson, Mats
2007-04-30 14:33 ` Itamar Reis Peixoto
2007-04-30 14:46 ` [Xen-users] " Petersson, Mats
2007-04-30 14:43 ` Itamar Reis Peixoto
2007-04-30 14:49 ` Mark Williamson [this message]
2007-04-30 14:45 ` [Xen-users] " Itamar Reis Peixoto
[not found] ` <002001c78b36$30e1fcc0$fe00a8c0@ispbrasil>
2007-04-30 15:00 ` Mark Williamson
2007-04-30 15:18 ` [Xen-users] " Itamar Reis Peixoto
2007-04-30 14:54 ` Guy Zana
2007-04-30 21:52 ` [Xen-devel] " Keir Fraser
2007-04-30 23:32 ` Re: [Xen-users] " Itamar Reis Peixoto
[not found] <000e01c78b2c$8f562d80$fe00a8c0@ispbrasil>
2007-04-30 13:54 ` Guy Zana
2007-04-30 14:18 ` Itamar Reis Peixoto
2007-04-30 13:36 Itamar Reis Peixoto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200704301549.03633.mark.williamson@cl.cam.ac.uk \
--to=mark.williamson@cl.cam.ac.uk \
--cc=Mats.Petersson@amd.com \
--cc=itamar@ispbrasil.com.br \
--cc=xen-devel@lists.xensource.com \
--cc=xen-users@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.