All of lore.kernel.org
 help / color / mirror / Atom feed
* 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

* RE: error creating domain in xen 3.0.5
       [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:54 ` [Xen-users] " Petersson, Mats
  1 sibling, 1 reply; 11+ messages in thread
From: Guy Zana @ 2007-04-30 13:54 UTC (permalink / raw)
  To: Itamar Reis Peixoto, xen-users; +Cc: xen-devel


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

What is the output of
cat /proc/meminfo
 
?
 
Thanks,
Guy.


________________________________

	From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Itamar Reis Peixoto
	Sent: Monday, April 30, 2007 4:36 PM
	To: xen-users@lists.xensource.com
	Cc: 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)
	 
	 
	[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: 7635 bytes --]

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

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
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
       [not found] <000e01c78b2c$8f562d80$fe00a8c0@ispbrasil>
  2007-04-30 13:54 ` error creating domain in xen 3.0.5 Guy Zana
@ 2007-04-30 13:54 ` Petersson, Mats
  2007-04-30 14:20   ` Itamar Reis Peixoto
  2007-04-30 14:21   ` Itamar Reis Peixoto
  1 sibling, 2 replies; 11+ messages in thread
From: Petersson, Mats @ 2007-04-30 13:54 UTC (permalink / raw)
  To: Itamar Reis Peixoto, xen-users; +Cc: xen-devel


> -----Original Message-----
> From: 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
> Cc: 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

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

* Re: error creating domain in xen 3.0.5
  2007-04-30 13:54 ` error creating domain in xen 3.0.5 Guy Zana
@ 2007-04-30 14:18   ` Itamar Reis Peixoto
  0 siblings, 0 replies; 11+ messages in thread
From: Itamar Reis Peixoto @ 2007-04-30 14:18 UTC (permalink / raw)
  To: Guy Zana, xen-users; +Cc: xen-devel


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

grub entry -->

title Xen-Kernel (2.6.18-xen)
        root (hd0,0)
        kernel /xen.gz com1=115200,8n1 dom0_mem=256M
        module /vmlinuz-2.6.18-xen ro root=/dev/VolGroup00/LogVol00 selinux=0 console=ttyS0,115200 console=tty0
        module /initrd-2.6.18-xen

meminfo -->

[root@vps xen]# cat /proc/meminfo
MemTotal:       262336 kB
MemFree:        199704 kB
Buffers:          6984 kB
Cached:          24648 kB
SwapCached:          0 kB
Active:          29820 kB
Inactive:        12976 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       262336 kB
LowFree:        199704 kB
SwapTotal:     2031608 kB
SwapFree:      2031608 kB
Dirty:              96 kB
Writeback:           0 kB
AnonPages:       11140 kB
Mapped:           4300 kB
Slab:             7040 kB
PageTables:        552 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   2162776 kB
Committed_AS:    86216 kB
VmallocTotal:   591864 kB
VmallocUsed:      3488 kB
VmallocChunk:   588180 kB
[root@vps xen]#

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

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: Guy Zana 
  To: Itamar Reis Peixoto ; xen-users@lists.xensource.com 
  Cc: 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


  What is the output of
  cat /proc/meminfo

  ?

  Thanks,
  Guy.



----------------------------------------------------------------------------
    From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Itamar Reis Peixoto
    Sent: Monday, April 30, 2007 4:36 PM
    To: xen-users@lists.xensource.com
    Cc: 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)


    [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


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


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

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

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

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
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 13:54 ` [Xen-users] " Petersson, Mats
@ 2007-04-30 14:20   ` Itamar Reis Peixoto
  2007-04-30 14:21   ` Itamar Reis Peixoto
  1 sibling, 0 replies; 11+ messages in thread
From: Itamar Reis Peixoto @ 2007-04-30 14:20 UTC (permalink / raw)
  To: Petersson, Mats, xen-users; +Cc: xen-devel


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

I am using 3.0.5 RC4

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           : 530810
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@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 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] On Behalf Of 
> Itamar Reis Peixoto
> Sent: 30 April 2007 14:36
> To: xen-users@lists.xensource.com
> Cc: 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
http://lists.xensource.com/xen-users

[-- Attachment #1.2: Type: text/html, Size: 7503 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

* Re: [Xen-users] error creating domain in xen 3.0.5
  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
  1 sibling, 0 replies; 11+ messages in thread
From: Itamar Reis Peixoto @ 2007-04-30 14:21 UTC (permalink / raw)
  To: Petersson, Mats, xen-users; +Cc: xen-devel

dom0_mem doesn't fix the problem.


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

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 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] On Behalf Of
> Itamar Reis Peixoto
> Sent: 30 April 2007 14:36
> To: xen-users@lists.xensource.com
> Cc: 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
http://lists.xensource.com/xen-users

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

* Re: error creating domain in xen 3.0.5
  2007-04-30 14:30 [Xen-users] " Petersson, Mats
@ 2007-04-30 14:33 ` Itamar Reis Peixoto
  2007-04-30 14:49   ` Mark Williamson
  2007-04-30 14:54   ` Guy Zana
  0 siblings, 2 replies; 11+ messages in thread
From: Itamar Reis Peixoto @ 2007-04-30 14:33 UTC (permalink / raw)
  To: Petersson, Mats, xen-users; +Cc: xen-devel


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

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

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

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

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

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

* Re: error creating domain in xen 3.0.5
  2007-04-30 14:46 Petersson, Mats
@ 2007-04-30 14:43 ` Itamar Reis Peixoto
  0 siblings, 0 replies; 11+ messages in thread
From: Itamar Reis Peixoto @ 2007-04-30 14:43 UTC (permalink / raw)
  To: Petersson, Mats, xen-users; +Cc: xen-devel


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


domU config


[root@vps auto]# cat ispbrasil
kernel = "/boot/Kernel-xenU"
ramdisk = "/boot/initrd-ext3-xenU"
memory = 32
name = "ispbrasil"
disk = ['phy:/dev/disco2/vps1_root_reiser,hda1,w','phy:/dev/disco2/vps1_swap,hda2,w']
root = "/dev/hda1"
extra = "ro selinux=0 3"
vif = ['']
on_poweroff = 'restart'
on_reboot   = 'restart'
on_crash    = 'restart'

---
ls -lia /boot |grep xenU

10042 lrwxrwxrwx  1 root root      30 2007-04-29 22:36 initrd-ext3-xenU -> initrd-2.6.18-xen-isp-ext3.img
10041 lrwxrwxrwx  1 root root      18 2007-04-29 22:35 Kernel-xenU -> vmlinuz-2.6.18-xen

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

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
> [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]#

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

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

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

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

* Re: error creating domain in xen 3.0.5
  2007-04-30 14:33 ` Itamar Reis Peixoto
@ 2007-04-30 14:49   ` Mark Williamson
       [not found]     ` <002001c78b36$30e1fcc0$fe00a8c0@ispbrasil>
  2007-04-30 14:54   ` Guy Zana
  1 sibling, 1 reply; 11+ messages in thread
From: Mark Williamson @ 2007-04-30 14:49 UTC (permalink / raw)
  To: xen-users; +Cc: Petersson, Mats, xen-devel, Itamar Reis Peixoto

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!

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

* RE: error creating domain in xen 3.0.5
  2007-04-30 14:33 ` Itamar Reis Peixoto
  2007-04-30 14:49   ` Mark Williamson
@ 2007-04-30 14:54   ` Guy Zana
  1 sibling, 0 replies; 11+ messages in thread
From: Guy Zana @ 2007-04-30 14:54 UTC (permalink / raw)
  To: Itamar Reis Peixoto, Petersson, Mats, xen-users; +Cc: xen-devel


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

Try to compile the tools/python directory with XEN_PYTHON_NATIVE_INSTALL
make clean && make install XEN_PYTHON_NATIVE_INSTALL=y
It might be that you are using an old version of the tools...
 
Guy.


________________________________

	From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Itamar Reis Peixoto
	Sent: Monday, April 30, 2007 5:33 PM
	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.
	[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> 
	


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

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

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

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

* Re: error creating domain in xen 3.0.5
       [not found]     ` <002001c78b36$30e1fcc0$fe00a8c0@ispbrasil>
@ 2007-04-30 15:00       ` Mark Williamson
  0 siblings, 0 replies; 11+ messages in thread
From: Mark Williamson @ 2007-04-30 15:00 UTC (permalink / raw)
  To: Itamar Reis Peixoto; +Cc: Petersson, Mats, xen-devel, xen-users

> 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

^^^ Xen seems to think you only have 0.5G, which is weird.  We could still do 
with seeing the output from xm dmesg, maybe there'll be some kind of clue in 
the memory map.

Cheers,
Mark


> 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@ispbrasil.com.br
> msn: itamarjp@starmedia.com
> skype: itamarjp
> icq: 81053601
> +55 34 3238 3845
> +55 11 4063 5033
> ----- Original Message -----
> From: "Mark Williamson" <mark.williamson@cl.cam.ac.uk>
> To: <xen-users@lists.xensource.com>
> Cc: "Itamar Reis Peixoto" <itamar@ispbrasil.com.br>; "Petersson, Mats"
> <Mats.Petersson@amd.com>; <xen-devel@lists.xensource.com> 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@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!



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

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