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
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
Petersson, Mats
2007-Apr-30 13:54 UTC
[Xen-devel] 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-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Itamar Reis Peixoto
2007-Apr-30 14:18 UTC
Re: [Xen-users] error creating domain in xen 3.0.5
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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Itamar Reis Peixoto
2007-Apr-30 14:20 UTC
Re: [Xen-users] error creating domain in xen 3.0.5
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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Itamar Reis Peixoto
2007-Apr-30 14:21 UTC
Re: [Xen-users] error creating domain in xen 3.0.5
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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Apr-30 14:30 UTC
[Xen-devel] 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 : 0So, 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-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Itamar Reis Peixoto
2007-Apr-30 14:33 UTC
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 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 : 0So, 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Itamar Reis Peixoto
2007-Apr-30 14:43 UTC
Re: [Xen-users] error creating domain in xen 3.0.5
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]#_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Itamar Reis Peixoto
2007-Apr-30 14:45 UTC
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@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! >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Apr-30 14:46 UTC
[Xen-devel] 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: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> > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/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! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Itamar Reis Peixoto
2007-Apr-30 15:18 UTC
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@ispbrasil.com.br) (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@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: "Petersson, Mats" <Mats.Petersson@amd.com>; <xen-devel@lists.xensource.com>; "Itamar Reis Peixoto" <itamar@ispbrasil.com.br> 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! > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keir Fraser
2007-Apr-30 21:52 UTC
Re: [Xen-devel] Re: [Xen-users] error creating domain in xen 3.0.5
On 30/4/07 15:20, "Itamar Reis Peixoto" <itamar@ispbrasil.com.br> wrote:> I am using 3.0.5 RC4 > > xend_config_format : 3Your tools must be out of sync with Xen. The xend_config_format is now 4. -- Keir _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Itamar Reis Peixoto
2007-Apr-30 23:32 UTC
Re: [Xen-devel] Re: [Xen-users] error creating domain in xen 3.0.5
Re: [Xen-devel] Re: [Xen-users] error creating domain in xen 3.0.5problem fixed, now my domU are up. I have tried to reinstall tools, but only worked after I removed the xen rpms packages and reinstall tools again. -------------------- 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: Keir Fraser To: Itamar Reis Peixoto ; Petersson, Mats ; xen-users@lists.xensource.com Cc: xen-devel@lists.xensource.com Sent: Monday, April 30, 2007 7:52 PM Subject: Re: [Xen-devel] Re: [Xen-users] error creating domain in xen 3.0.5 On 30/4/07 15:20, "Itamar Reis Peixoto" <itamar@ispbrasil.com.br> wrote: I am using 3.0.5 RC4 xend_config_format : 3 Your tools must be out of sync with Xen. The xend_config_format is now 4. -- Keir ------------------------------------------------------------------------------ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users