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

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



ï
I have 2 gb of memory on this machine.
 
[root@vps auto]# xm info
host                   : vps.ispbrasil.com.br
release                : 2.6.18-xen
version                : #1 SMP Sun Apr 29 21:43:24 EDT 2007
machine                : i686
nr_cpus                : 1
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 2388
hw_caps                : 00000000:bfebfbff:00000000:00000000:00000080:00004400
total_memory           : 528363
free_memory            : 0
xen_major              : 3
xen_minor              : 0
xen_extra              : .5-rc4
xen_caps               : xen-3.0-x86_32p
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : Sun Apr 29 09:39:33 2007 +0100 14993:bf96999a2ffd
cc_compiler            : gcc version 4.1.2 20070424 (Red Hat 4.1.2-11)
cc_compile_by          : root
cc_compile_domain      : ispbrasil.com.br
cc_compile_date        : Mon Apr 30 08:41:09 EDT 2007
xend_config_format     : 3
[root@vps auto]# xm list
Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0  1866     1     r-----     33.9
 
 
--------------------
 
Itamar Reis Peixoto
 
e-mail: itamar@xxxxxxxxxxxxxxxx
msn: itamarjp@xxxxxxxxxxxxx
skype: itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033
----- Original Message -----
From: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
Cc: "Itamar Reis Peixoto" <itamar@xxxxxxxxxxxxxxxx>; "Petersson, Mats" <Mats.Petersson@xxxxxxx>; <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sent: Monday, April 30, 2007 12:49 PM
Subject: Re: [Xen-users] error creating domain in xen 3.0.5

> 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@xxxxxxxxxxxxxxxx
>> msn: itamarjp@xxxxxxxxxxxxx
>> skype: itamarjp
>> icq: 81053601
>> +55 34 3238 3845
>> +55 11 4063 5033
>> ----- Original Message -----
>> From: "Petersson, Mats" <
Mats.Petersson@xxxxxxx>
>> To: "Itamar Reis Peixoto" <
itamar@xxxxxxxxxxxxxxxx>;
>> <
xen-users@xxxxxxxxxxxxxxxxxxx> Cc: <xen-devel@xxxxxxxxxxxxxxxxxxx>
>> 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
>
>
>
> --
> 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!
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.