From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Itamar Reis Peixoto" Subject: Re: error creating domain in xen 3.0.5 Date: Mon, 30 Apr 2007 12:18:56 -0200 Message-ID: <004101c78b32$800c1690$fe00a8c0@ispbrasil> References: <9392A06CB0FDC847B3A530B3DC174E7B02736289@mse10be1.mse10.exchange.ms> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0599423197==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Guy Zana , xen-users@lists.xensource.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0599423197== Content-Type: multipart/alternative; boundary="----=_NextPart_000_003E_01C78B21.B9B58090" This is a multi-part message in MIME format. ------=_NextPart_000_003E_01C78B21.B9B58090 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable grub entry --> title Xen-Kernel (2.6.18-xen) root (hd0,0) kernel /xen.gz com1=3D115200,8n1 dom0_mem=3D256M module /vmlinuz-2.6.18-xen ro root=3D/dev/VolGroup00/LogVol00 = selinux=3D0 console=3DttyS0,115200 console=3Dtty0 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=20 icq: 81053601 +55 34 3238 3845 +55 11 4063 5033 ----- Original Message -----=20 From: Guy Zana=20 To: Itamar Reis Peixoto ; xen-users@lists.xensource.com=20 Cc: xen-devel@lists.xensource.com=20 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=3D0 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=3D8 [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=3DNone [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=20 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 ------=_NextPart_000_003E_01C78B21.B9B58090 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
grub entry -->
 
title Xen-Kernel=20 (2.6.18-xen)
        root=20 (hd0,0)
        kernel /xen.gz=20 com1=3D115200,8n1 = dom0_mem=3D256M
       =20 module /vmlinuz-2.6.18-xen ro root=3D/dev/VolGroup00/LogVol00 = selinux=3D0=20 console=3DttyS0,115200 = console=3Dtty0
       =20 module /initrd-2.6.18-xen
meminfo -->
 
[root@vps xen]# cat=20 /proc/meminfo
MemTotal:       262336=20 kB
MemFree:        199704=20 kB
Buffers:          = 6984=20 kB
Cached:          = 24648=20 kB
SwapCached:          = 0=20 kB
Active:          = 29820=20 kB
Inactive:        12976=20 kB
HighTotal:         &nb= sp; 0=20 kB
HighFree:         &nbs= p; =20 0 kB
LowTotal:       262336=20 kB
LowFree:        199704=20 kB
SwapTotal:     2031608=20 kB
SwapFree:      2031608=20 kB
Dirty:          &= nbsp;  =20 96 = kB
Writeback:         &nb= sp;=20 0 kB
AnonPages:       11140=20 kB
Mapped:          = 4300=20 kB
Slab:          &n= bsp; =20 7040 kB
PageTables:        552=20 kB
NFS_Unstable:        0=20 kB
Bounce:          =    =20 0 kB
CommitLimit:   2162776 = kB
Committed_AS:   =20 86216 kB
VmallocTotal:   591864=20 kB
VmallocUsed:      3488=20 kB
VmallocChunk:   588180 kB
[root@vps = xen]#
--------------------
 
Itamar Reis Peixoto
 
e-mail: itamar@ispbrasil.com.br
ms= n: itamarjp@starmedia.com
skyp= e:=20 itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033
----- Original Message -----
From:=20 Guy = Zana
To: Itamar Reis Peixoto ; xen-users@lists.xensource.c= om=20
Cc: xen-devel@lists.xensource.c= om=20
Sent: Monday, April 30, 2007 = 11:54=20 AM
Subject: RE: [Xen-users] error = creating=20 domain in xen 3.0.5

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


From: xen-users-bounces@l= ists.xensource.com=20 [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of = Itamar=20 Reis Peixoto
Sent: Monday, April 30, 2007 4:36 = PM
To: xen-users@lists.xensource.c= om
Cc:=20 xen-devel@lists.xensource.c= om
Subject:=20 [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=20 (XendAuthSessions:27) python-pam is required for XenAPI=20 support.
[2007-04-30 09:26:30 xend 5143] INFO (SrvDaemon:322) = Xend Daemon=20 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=20 09:26:30 xend 5143] INFO (SrvDaemon:333) Xend version:=20 Unknown.
[2007-04-30 09:26:31 xend.XendDomainInfo 5143] DEBUG=20 (XendDomainInfo:121) XendDomainInfo.recreate({'max_vcpu_id': 0, = 'cpu_time':=20 2992415071427L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, = 'dying': 0,=20 'online_vcpus': 1, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': = 1,=20 'maxmem_kb': -4, 'shutdown': 0, 'mem_kb': 262144, 'handle': [0, 0, = 0, 0, 0,=20 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name':=20 'Domain-0'})
[2007-04-30 09:26:31 xend.XendDomainInfo 5143] INFO=20 (XendDomainInfo:136) Recreating domain 0, UUID=20 00000000-0000-0000-0000-000000000000. at = /local/domain/0
[2007-04-30=20 09:26:31 xend 5143] DEBUG (XendDomain:428) Adding Domain: = 0
[2007-04-30=20 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=20 (XendDomainInfo:798) = XendDomainInfo.handleShutdownWatch
[2007-04-30=20 09:26:31 xend 5143] INFO (XMLRPCServer:121) Opening Unix domain = socket=20 XML-RPC server on /var/run/xend/xen-api.sock.
[2007-04-30 = 09:26:31 xend=20 5143] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC = server on=20 /var/run/xend/xmlrpc.sock.
[2007-04-30 09:26:32 xend 5159] = WARNING=20 (XendAuthSessions:27) python-pam is required for XenAPI=20 support.
[2007-04-30 09:27:00 xend.XendDomainInfo 5143] DEBUG=20 (XendDomainInfo:94) XendDomainInfo.create(['vm', ['name', = 'ispbrasil'],=20 ['memory', 256], ['on_poweroff', 'restart'], ['on_reboot', = 'restart'],=20 ['on_crash', 'restart'], ['vcpus', 1], ['on_xend_start', 'ignore'],=20 ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel',=20 '/boot/Kernel-xenU'], ['ramdisk', '/boot/initrd-ext3-xenU'], = ['root',=20 '/dev/hda1'], ['args', 'ro selinux=3D0 3']]], ['device', ['vbd', = ['uname',=20 'phy:/dev/disco2/vps1_root_reiser'], ['dev', 'hda1'], ['mode', = 'w']]],=20 ['device', ['vbd', ['uname', 'phy:/dev/disco2/vps1_swap'], ['dev', = 'hda2'],=20 ['mode', 'w']]], ['device', ['vif']]])
[2007-04-30 09:27:00=20 xend.XendConfig 5143] WARNING (XendConfig:607) Unconverted key:=20 cpus
[2007-04-30 09:27:00 xend.XendDomainInfo 5143] DEBUG=20 (XendDomainInfo:1284) XendDomainInfo.constructDomain
[2007-04-30 = 09:27:00=20 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:1330)=20 XendDomainInfo.initDomain: 8 256
[2007-04-30 09:27:00 xend 5143] = DEBUG=20 (balloon:133) Balloon: 0 KiB free; 0 to scrub; need 262144; retries: = 20.
[2007-04-30 09:27:21 xend.XendDomainInfo 5143] ERROR=20 (XendDomainInfo:397) VM start failed
Traceback (most recent call=20 last):
  File=20 "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line = 385, in=20 start
    self._initDomain()
  File=20 "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line = 1375, in=20 _initDomain
    balloon.free(memory + = shadow)
 =20 File "/usr/lib/python2.5/site-packages/xen/xend/balloon.py", line = 170, in=20 free
    free_mem + scrub_mem + dom0_alloc -=20 dom0_min_mem))
VmError: I need 262144 KiB, but dom0_min_mem is = 200704 and=20 shrinking to 200704 KiB would leave only 61440 KiB = free.
[2007-04-30=20 09:27:21 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:1483)=20 XendDomainInfo.destroy: domid=3D8
[2007-04-30 09:27:21 = xend.XendDomainInfo=20 5143] DEBUG (XendDomainInfo:1491)=20 XendDomainInfo.destroyDomain(8)
[2007-04-30 09:27:21 = xend.XendDomainInfo=20 5143] ERROR (XendDomainInfo:99) Domain construction = failed
Traceback=20 (most recent call last):
  File=20 "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line = 97, in=20 create
    vm.start()
  File=20 "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line = 385, in=20 start
    self._initDomain()
  File=20 "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line = 1375, in=20 _initDomain
    balloon.free(memory + = shadow)
 =20 File "/usr/lib/python2.5/site-packages/xen/xend/balloon.py", line = 170, in=20 free
    free_mem + scrub_mem + dom0_alloc -=20 dom0_min_mem))
VmError: I need 262144 KiB, but dom0_min_mem is = 200704 and=20 shrinking to 200704 KiB would leave only 61440 KiB = free.
[2007-04-30=20 09:27:21 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:1483)=20 XendDomainInfo.destroy: domid=3DNone
[2007-04-30 09:27:21=20 xend.XendDomainInfo 5143] DEBUG (XendDomainInfo:1491)=20 XendDomainInfo.destroyDomain(None)
 
 
--------------------
 
Itamar Reis Peixoto
 
e-mail: itamar@ispbrasil.com.br
ms= n: itamarjp@starmedia.com
skyp= e:=20 itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063=20 5033


_______________________________________________
Xen-users = mailing=20 = list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-u= sers ------=_NextPart_000_003E_01C78B21.B9B58090-- --===============0599423197== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============0599423197==--