error creating domain in xen 3.0.5
What is the output of
cat /proc/meminfo
?
Thanks,
Guy.
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Itamar Reis Peixoto Sent: Monday, April 30, 2007 4:36 PM To: [email protected] Cc: [email protected] 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: [email protected] msn: [email protected] skype: itamarjp icq: 81053601 +55 34 3238 3845 +55 11 4063 5033
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Quoted 10 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Itamar Reis Peixoto
Sent: 30 April 2007 14:36
To: [email protected]
Cc: [email protected]
Subject: [Xen-users] error creating domain in xen 3.0.5
Quoted 3 lines
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>
Quoted 12 lines
[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
Quoted 8 lines
"
/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, butdom0_min_memis 200704 and
<snip another copy of same error message>
--
Mats
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-xenmeminfo -->
[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: [email protected]
msn: [email protected]
skype: itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033
----- Original Message -----
From: Guy Zana
To: Itamar Reis Peixoto ; [email protected]
Cc: [email protected]
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: [email protected] [mailto:[email protected]] On Behalf Of Itamar Reis Peixoto Sent: Monday, April 30, 2007 4:36 PM To: [email protected] Cc: [email protected] 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: [email protected] msn: [email protected] skype: itamarjp icq: 81053601 +55 34 3238 3845 +55 11 4063 5033
------------------------------------------------------------------------------
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
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 : i686nr_cpus : 1nr_nodes : 1sockets_per_node : 1cores_per_socket : 1threads_per_core : 1cpu_mhz : 2388hw_caps : 00000000:bfebfbff:00000000:00000000:00000080:00004400total_memory : 530810free_memory : 0xen_major : 3xen_minor : 0xen_extra : .5-rc4xen_caps : xen-3.0-x86_32pxen_pagesize : 4096platform_params : virt_start=0xf5800000xen_changeset : Sun Apr 29 09:39:33 2007 +0100 14993:bf96999a2ffdcc_compiler : gcc version 4.1.2 20070424 (Red Hat 4.1.2-11)cc_compile_by : rootcc_compile_domain : ispbrasil.com.brcc_compile_date : Mon Apr 30 08:41:09 EDT 2007xend_config_format : 3
--------------------
Itamar Reis Peixoto
e-mail: [email protected]
msn: [email protected]
skype: itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033
----- Original Message -----
From: "Petersson, Mats" <[email protected]>
To: "Itamar Reis Peixoto" <[email protected]>; <[email protected]>
Cc: <[email protected]>
Sent: Monday, April 30, 2007 11:54 AM
Subject: RE: [Xen-users] error creating domain in xen 3.0.5
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Itamar Reis Peixoto
Sent: 30 April 2007 14:36
To: [email protected]
Cc: [email protected]
Subject: [Xen-users] error creating domain in xen 3.0.5
Quoted 3 lines
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>
Quoted 12 lines
[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
Quoted 8 lines
"
/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, butdom0_min_memis 200704 and
<snip another copy of same error message>
--
Mats
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
dom0_mem doesn't fix the problem.
--------------------
Itamar Reis Peixoto
e-mail: [email protected]
msn: [email protected]
skype: itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033
----- Original Message ----- From: "Petersson, Mats" <[email protected]>
To: "Itamar Reis Peixoto" <[email protected]>; <[email protected]>
Cc: <[email protected]>
Sent: Monday, April 30, 2007 11:54 AM
Subject: RE: [Xen-users] error creating domain in xen 3.0.5
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Itamar Reis Peixoto
Sent: 30 April 2007 14:36
To: [email protected]
Cc: [email protected]
Subject: [Xen-users] error creating domain in xen 3.0.5
Quoted 3 lines
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>
Quoted 12 lines
[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
Quoted 8 lines
"
/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, butdom0_min_memis 200704 and
<snip another copy of same error message>
--
Mats
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users