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

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


take a look
 
(XEN) System RAM: 2015MB (2064000kB)
total_memory           : 534763
 
 
[root@vps auto]# xm dmesg
 __  __            _____  ___   ____              _  _
 \ \/ /___ _ __   |___ / / _ \ | ___|    _ __ ___| || |
  \  // _ \ '_ \    |_ \| | | ||___ \ __| '__/ __| || |_
  /  \  __/ | | |  ___) | |_| | ___) |__| | | (__|__   _|
 /_/\_\___|_| |_| |____(_)___(_)____/   |_|  \___|  |_|
 
 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory
 
 Xen version 3.0.5-rc4 (root@xxxxxxxxxxxxxxxx) (gcc version 4.1.2 20070424 (Red Hat 4.1.2-11)) Mon Apr 30 08:41:09 EDT 2007
 Latest ChangeSet: Sun Apr 29 09:39:33 2007 +0100 14993:bf96999a2ffd
 
(XEN) Command line: /xen.gz com1=115200,8n1
(XEN)  0000000000000000 - 00000000000a0000 (usable)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000007e000000 (usable)
(XEN)  00000000fec00000 - 0000000100000000 (reserved)
(XEN) System RAM: 2015MB (2064000kB)
(XEN) ACPI: Unable to locate RSDP
(XEN) Xen heap: 9MB (10228kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) PAE enabled, limit: 16 GB
(XEN) Processor #0 15:2 APIC version 17
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2388.354 MHz processor.
(XEN) CPU0: Intel(R) Celeron(R) CPU 2.40GHz stepping 09
(XEN) Mapping cpu 0 to node 255
(XEN) Total of 1 processors activated.
(XEN) ExtINT not setup in hardware but reported by MP table
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 1 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 32-bit, PAE, lsb
(XEN)  Dom0 kernel: 32-bit, PAE, lsb, paddr 0xc0100000 -> 0xc044553c
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   000000007c000000->000000007d000000 (473549 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c044553c
(XEN)  Init. ramdisk: c0446000->c0c87000
(XEN)  Phys-Mach map: c0c87000->c0e59734
(XEN)  Start info:    c0e5a000->c0e5a46c
(XEN)  Page tables:   c0e5b000->c0e68000
(XEN)  Boot stack:    c0e68000->c0e69000
(XEN)  TOTAL:         c0000000->c1000000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Dom0 has maximum 1 VCPUs
(XEN) Initrd len 0x841000, start at 0xc0446000
(XEN) Scrubbing Free RAM: .done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).

 
[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           : 534763
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
 
--------------------
 
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: "Petersson, Mats" <Mats.Petersson@xxxxxxx>; <xen-devel@xxxxxxxxxxxxxxxxxxx>; "Itamar Reis Peixoto" <itamar@xxxxxxxxxxxxxxxx>
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
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users