All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [Xen-users] error creating domain in xen 3.0.5
  2007-04-30 14:33 ` Itamar Reis Peixoto
@ 2007-04-30 14:46 Petersson, Mats
  2007-04-30 14:43 ` Itamar Reis Peixoto
  1 sibling, 1 reply; 11+ messages in thread
From: Petersson, Mats @ 2007-04-30 14:46 UTC (permalink / raw)
  To: Itamar Reis Peixoto, xen-users; +Cc: xen-devel

 

> -----Original Message-----
> From: Itamar Reis Peixoto [mailto:itamar@ispbrasil.com.br] 
> Sent: 30 April 2007 15:33
> 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 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.

Can you post the config file?

--
Mats
> [root@vps auto]#
> 
>  
>  
> --------------------
>  
> 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 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 
> <mailto:xen-users@lists.xensource.com> 
> > Cc: xen-devel@lists.xensource.com 
> <mailto: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>  
> <mailto:itamar@ispbrasil.com.br <mailto:itamar@ispbrasil.com.br> > 
> > msn: itamarjp@starmedia.com <mailto:itamarjp@starmedia.com> 
>  <mailto: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>  
> > <mailto:Mats.Petersson@amd.com <mailto:Mats.Petersson@amd.com> > >
> > To: "Itamar Reis Peixoto" <itamar@ispbrasil.com.br 
> <mailto:itamar@ispbrasil.com.br>  
> > <mailto:itamar@ispbrasil.com.br 
> <mailto:itamar@ispbrasil.com.br> > >; 
> > <xen-users@lists.xensource.com 
> <mailto:xen-users@lists.xensource.com>  
> > <mailto:xen-users@lists.xensource.com 
> <mailto:xen-users@lists.xensource.com> > >
> > Cc: <xen-devel@lists.xensource.com 
> <mailto:xen-devel@lists.xensource.com>  
> > <mailto: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 
> <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>  
> > <mailto:xen-users@lists.xensource.com 
> <mailto:xen-users@lists.xensource.com> > 
> > > Cc: xen-devel@lists.xensource.com 
> <mailto:xen-devel@lists.xensource.com>  
> > <mailto: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>  
> <mailto:Xen-users@lists.xensource.com 
> <mailto:Xen-users@lists.xensource.com> > 
> > http://lists.xensource.com/xen-users 
> <http://lists.xensource.com/xen-users>  
> > <http://lists.xensource.com/xen-users 
> <http://lists.xensource.com/xen-users> > 
> > 
> > 
> 
> 
> 
> _______________________________________________
> 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> 
> 
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: [Xen-users] error creating domain in xen 3.0.5
@ 2007-04-30 14:30 Petersson, Mats
  2007-04-30 14:33 ` Itamar Reis Peixoto
  0 siblings, 1 reply; 11+ messages in thread
From: Petersson, Mats @ 2007-04-30 14:30 UTC (permalink / raw)
  To: Itamar Reis Peixoto, xen-users; +Cc: xen-devel

> -----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> 
> 
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread
* error creating domain in xen 3.0.5
@ 2007-04-30 13:36 Itamar Reis Peixoto
  0 siblings, 0 replies; 11+ messages in thread
From: Itamar Reis Peixoto @ 2007-04-30 13:36 UTC (permalink / raw)
  To: xen-users; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 4712 bytes --]

anyone can help-me ?

I am using fedora devel (6.92)


[2007-04-30 09:26:30 xend 5126] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support.
[2007-04-30 09:26:30 xend 5143] INFO (SrvDaemon:322) Xend Daemon started
[2007-04-30 09:26:30 xend 5143] INFO (SrvDaemon:326) Xend changeset: Sun Apr 29 09:39:33 2007 +0100 14993:bf96999a2ffd.
[2007-04-30 09:26:30 xend 5143] INFO (SrvDaemon:333) Xend version: Unknown.
[2007-04-30 09:26:31 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:121) XendDomainInfo.recreate({'max_vcpu_id': 0, 'cpu_time': 2992415071427L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 1, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': -4, 'shutdown': 0, 'mem_kb': 262144, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'Domain-0'})
[2007-04-30 09:26:31 xend.XendDomainInfo 5143] INFO (XendDomainInfo:136) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2007-04-30 09:26:31 xend 5143] DEBUG (XendDomain:428) Adding Domain: 0
[2007-04-30 09:26:31 xend 5143] DEBUG (XendDomain:372) number of vcpus to use is 0
[2007-04-30 09:26:31 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch
[2007-04-30 09:26:31 xend 5143] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock.
[2007-04-30 09:26:31 xend 5143] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.
[2007-04-30 09:26:32 xend 5159] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support.
[2007-04-30 09:27:00 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:94) XendDomainInfo.create(['vm', ['name', 'ispbrasil'], ['memory', 256], ['on_poweroff', 'restart'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/boot/Kernel-xenU'], ['ramdisk', '/boot/initrd-ext3-xenU'], ['root', '/dev/hda1'], ['args', 'ro selinux=0 3']]], ['device', ['vbd', ['uname', 'phy:/dev/disco2/vps1_root_reiser'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/disco2/vps1_swap'], ['dev', 'hda2'], ['mode', 'w']]], ['device', ['vif']]])
[2007-04-30 09:27:00 xend.XendConfig 5143] WARNING (XendConfig:607) Unconverted key: cpus
[2007-04-30 09:27:00 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain
[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 shrinking to 200704 KiB would leave only 61440 KiB free.
[2007-04-30 09:27:21 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=8
[2007-04-30 09:27:21 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(8)
[2007-04-30 09:27:21 xend.XendDomainInfo 5143] ERROR (XendDomainInfo:99) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 97, in create
    vm.start()
  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 shrinking to 200704 KiB would leave only 61440 KiB free.
[2007-04-30 09:27:21 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None
[2007-04-30 09:27:21 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None)



--------------------

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

[-- Attachment #1.2: Type: text/html, Size: 5939 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-04-30 15:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <000e01c78b2c$8f562d80$fe00a8c0@ispbrasil>
2007-04-30 13:54 ` error creating domain in xen 3.0.5 Guy Zana
2007-04-30 14:18   ` Itamar Reis Peixoto
2007-04-30 13:54 ` [Xen-users] " Petersson, Mats
2007-04-30 14:20   ` Itamar Reis Peixoto
2007-04-30 14:21   ` Itamar Reis Peixoto
2007-04-30 14:46 Petersson, Mats
2007-04-30 14:43 ` Itamar Reis Peixoto
  -- strict thread matches above, loose matches on Subject: below --
2007-04-30 14:30 [Xen-users] " Petersson, Mats
2007-04-30 14:33 ` Itamar Reis Peixoto
2007-04-30 14:49   ` Mark Williamson
     [not found]     ` <002001c78b36$30e1fcc0$fe00a8c0@ispbrasil>
2007-04-30 15:00       ` Mark Williamson
2007-04-30 14:54   ` Guy Zana
2007-04-30 13:36 Itamar Reis Peixoto

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.