WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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@xxxxxxxxxxxxxxxx
msn: itamarjp@xxxxxxxxxxxxx
skype: itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033
----- Original Message -----
From: Guy Zana
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@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Itamar Reis Peixoto
Sent: Monday, April 30, 2007 4:36 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] error creating domain in xen 3.0.5

anyone can help-me ?
 
I am using fedora devel (6.92)
 
 
[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@xxxxxxxxxxxxxxxx
msn: itamarjp@xxxxxxxxxxxxx
skype: itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033


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