From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Knorr Subject: Re: unstable network trouble Date: Fri, 28 Oct 2005 11:06:13 +0200 Message-ID: <4361EA05.2040402@suse.de> References: <4360DCDE.6000207@suse.de> <20051027151234.GX13783@leeni.uk.xensource.com> <4360F5AA.20207@suse.de> <20051027155755.GZ13783@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070706070304010102000508" Return-path: In-Reply-To: <20051027155755.GZ13783@leeni.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ewan Mellor Cc: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------070706070304010102000508 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Ewan Mellor wrote: > On Thu, Oct 27, 2005 at 05:43:38PM +0200, Gerd Knorr wrote: > > That one really is odd. Could you post your /var/log/xend.log when that > happens? Attached. The "error: (12, 'Cannot allocate memory')" line looks strange. The domain has 128 MB assigned. Now (after the failed reboot) it looks like this: master-xen root ~# xm info | grep memory memory : 983 free_memory : 132 Should be enougth memory. I also have "(dom0-min-mem 256)" configured for xend, so it should happily take away memory from dom0 in case it needs more ... cheers, Gerd --------------070706070304010102000508 Content-Type: text/x-log; name="xend.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="xend.log" [2005-10-28 10:54:16 xend] INFO (SrvDaemon:269) Xend Daemon started [2005-10-28 10:54:16 xend] INFO (SrvDaemon:273) Xend changeset: Thu Oct 2= 7 11:53:02 2005 +0100 7502:e70ea9465b31. [2005-10-28 10:54:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:168) Xend= DomainInfo.recreate({'paused': 0, 'cpu_time': 8738451167L, 'ssidref': 0, = 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'shutdown_rea= son': 0, 'dying': 0, 'dom': 0, 'mem_kb': 972800, 'maxmem_kb': -4, 'max_vc= pu_id': 1, 'crashed': 0, 'running': 1, 'shutdown': 0, 'online_vcpus': 2, = 'blocked': 0}) [2005-10-28 10:54:16 xend.XendDomainInfo] INFO (XendDomainInfo:180) Recre= ating domain 0, UUID 00000000-0000-0000-0000-000000000000. [2005-10-28 10:54:16 xend.XendDomainInfo] WARNING (XendDomainInfo:202) No= vm path in store for existing domain 0 [2005-10-28 10:54:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:589) Stor= ing VM details: {'ssidref': '0', 'uuid': '00000000-0000-0000-0000-0000000= 00000', 'on_reboot': 'restart', 'on_poweroff': 'destroy', 'vcpus': '1', '= on_crash': 'restart', 'memory/target': '972800', 'vcpu_avail': '1', 'name= ': 'Domain-0'} [2005-10-28 10:54:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:614) Stor= ing domain details: {'cpu/0/availability': 'online', 'memory/target': '97= 2800', 'name': 'Domain-0', 'console/limit': '1048576', 'vm': '/vm/0000000= 0-0000-0000-0000-000000000000', 'domid': '0'} [2005-10-28 10:54:16 xend] DEBUG (XendDomain:140) number of vcpus to use = is 0 [2005-10-28 10:54:16 xend] INFO (SrvServer:112) unix path=3D/var/lib/xend= /xend-socket [2005-10-28 10:54:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:147) Xend= DomainInfo.create(['vm', ['name', 'debian'], ['memory', '128'], ['ssidref= ', '0'], ['image', ['linux', ['kernel', '/vm/debian/vmlinuz3'], ['ip', ':= 1.2.3.4::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['vcpus', '1'], ['vcpus= ', '1'], ['boot', 'c']]], ['device', ['vbd', ['uname', 'phy:xen/debian'],= ['dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/vm/= debian/disk.img'], ['dev', 'hdb'], ['mode', 'w']]], ['device', ['vif', ['= mac', 'aa:00:57:4f:25:a7']]]]) [2005-10-28 10:54:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:250) pars= eConfig: config is ['vm', ['name', 'debian'], ['memory', '128'], ['ssidre= f', '0'], ['image', ['linux', ['kernel', '/vm/debian/vmlinuz3'], ['ip', '= :1.2.3.4::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['vcpus', '1'], ['vcpu= s', '1'], ['boot', 'c']]], ['device', ['vbd', ['uname', 'phy:xen/debian']= , ['dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/vm= /debian/disk.img'], ['dev', 'hdb'], ['mode', 'w']]], ['device', ['vif', [= 'mac', 'aa:00:57:4f:25:a7']]]] [2005-10-28 10:54:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:308) pars= eConfig: result is {'ssidref': 0, 'name': 'debian', 'on_reboot': None, 'm= axmem': None, 'on_poweroff': None, 'mem_kb': None, 'maxmem_kb': None, 'on= _crash': None, 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail= ': None, 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 'phy:xen/deb= ian'], ['dev', 'hda'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/= vm/debian/disk.img'], ['dev', 'hdb'], ['mode', 'w']]), ('vif', ['vif', ['= mac', 'aa:00:57:4f:25:a7']])], 'bootloader': None, 'image': ['linux', ['k= ernel', '/vm/debian/vmlinuz3'], ['ip', ':1.2.3.4::::eth0:dhcp'], ['root',= '/dev/hda1 ro'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']], 'cpu': = None, 'uuid': None} [2005-10-28 10:54:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:1047) Xen= dDomainInfo.construct: None 0 [2005-10-28 10:54:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:1077) Xen= dDomainInfo.initDomain: 1 131072 1.0 [2005-10-28 10:54:32 xend] INFO (image:131) buildDomain os=3Dlinux dom=3D= 1 vcpus=3D1 [2005-10-28 10:54:32 xend] DEBUG (image:169) dom =3D 1 [2005-10-28 10:54:32 xend] DEBUG (image:170) image =3D /vm/debia= n/vmlinuz3 [2005-10-28 10:54:32 xend] DEBUG (image:171) store_evtchn =3D 1 [2005-10-28 10:54:32 xend] DEBUG (image:172) console_evtchn =3D 2 [2005-10-28 10:54:32 xend] DEBUG (image:173) cmdline =3D ip=3D:1.= 2.3.4::::eth0:dhcp root=3D/dev/hda1 ro [2005-10-28 10:54:32 xend] DEBUG (image:174) ramdisk =3D=20 [2005-10-28 10:54:32 xend] DEBUG (image:175) vcpus =3D 1 [2005-10-28 10:54:32 xend] DEBUG (DevController:230) DevController: writi= ng {'virtual-device': '768', 'backend-id': '0', 'backend': '/local/domain= /0/backend/vbd/1/768'} to /local/domain/1/device/vbd/768. [2005-10-28 10:54:32 xend] DEBUG (DevController:232) DevController: writi= ng {'domain': 'debian', 'params': 'xen/debian', 'frontend-id': '1', 'type= ': 'phy', 'dev': 'hda', 'frontend': '/local/domain/1/device/vbd/768'} to = /local/domain/0/backend/vbd/1/768. [2005-10-28 10:54:32 xend] DEBUG (blkif:24) exception looking up device n= umber for hdb: [Errno 2] No such file or directory: '/dev/hdb' [2005-10-28 10:54:32 xend] DEBUG (DevController:230) DevController: writi= ng {'virtual-device': '832', 'backend-id': '0', 'backend': '/local/domain= /0/backend/vbd/1/832'} to /local/domain/1/device/vbd/832. [2005-10-28 10:54:32 xend] DEBUG (DevController:232) DevController: writi= ng {'domain': 'debian', 'params': '/vm/debian/disk.img', 'frontend-id': '= 1', 'type': 'file', 'dev': 'hdb', 'frontend': '/local/domain/1/device/vbd= /832'} to /local/domain/0/backend/vbd/1/832. [2005-10-28 10:54:32 xend] DEBUG (DevController:230) DevController: writi= ng {'backend-id': '0', 'mac': 'aa:00:57:4f:25:a7', 'handle': '0', 'backen= d': '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0. [2005-10-28 10:54:32 xend] DEBUG (DevController:232) DevController: writi= ng {'bridge': 'xenbr0', 'mac': 'aa:00:57:4f:25:a7', 'handle': '0', 'scrip= t': '/etc/xen/scripts/vif-bridge', 'frontend-id': '1', 'domain': 'debian'= , 'frontend': '/local/domain/1/device/vif/0'} to /local/domain/0/backend/= vif/1/0. [2005-10-28 10:54:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:589) Stor= ing VM details: {'ssidref': '0', 'uuid': '36e0c3fb-a7c3-b33d-3006-4cba42f= 26e79', 'on_reboot': 'restart', 'image': "(linux (kernel /vm/debian/vmlin= uz3) (ip :1.2.3.4::::eth0:dhcp) (root '/dev/hda1 ro') (vcpus 1) (vcpus 1)= (boot c))", 'on_poweroff': 'destroy', 'vcpus': '1', 'on_crash': 'restart= ', 'memory/target': '131072', 'vcpu_avail': '1', 'name': 'debian'} [2005-10-28 10:54:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:614) Stor= ing domain details: {'console/ring-ref': '145391', 'console/port': '2', '= name': 'debian', 'console/limit': '1048576', 'vm': '/vm/36e0c3fb-a7c3-b33= d-3006-4cba42f26e79', 'domid': '1', 'cpu/0/availability': 'online', 'memo= ry/target': '131072', 'store/ring-ref': '145392', 'store/port': '1'} [2005-10-28 10:54:33 xend] INFO (XendDomain:349) Domain debian (1) unpaus= ed. [2005-10-28 10:55:49 xend.XendDomainInfo] INFO (XendDomainInfo:741) Domai= n has shutdown: name=3Ddebian id=3D1 reason=3Dreboot. [2005-10-28 10:55:49 xend.XendDomainInfo] ERROR (XendDomainInfo:1278) Non= e [2005-10-28 10:55:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164) Xen= dDomainInfo.destroyDomain(1) [2005-10-28 10:55:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:147) Xend= DomainInfo.create(['domain', ['domid', 1], ['memory', 127], ['name', 'deb= ian'], ['uuid', '36e0c3fb-a7c3-b33d-3006-4cba42f26e79'], ['ssidref', 0], = ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['on_poweroff', 'de= stroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['maxmem', 12= 7], ['image', ['linux', ['kernel', '/vm/debian/vmlinuz3'], ['ip', ':1.2.3= =2E4::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['vcpus', '1'], ['vcpus', = '1'], ['boot', 'c']]], ['device', ['vbd', ['uname', 'phy:xen/debian'], ['= dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/vm/deb= ian/disk.img'], ['dev', 'hdb'], ['mode', 'w']]], ['device', ['vif', ['mac= ', 'aa:00:57:4f:25:a7']]], ['state', '---s--'], ['shutdown_reason', 'rebo= ot'], ['cpu_time', 7.3716442630000003], ['vcpus', 1], ['up_time', '76.401= 7469883'], ['start_time', '1130489672.99'], ['store_mfn', 145392], ['cons= ole_mfn', 145391]]) [2005-10-28 10:55:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:250) pars= eConfig: config is ['domain', ['domid', 1], ['memory', 127], ['name', 'de= bian'], ['uuid', '36e0c3fb-a7c3-b33d-3006-4cba42f26e79'], ['ssidref', 0],= ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['on_poweroff', 'd= estroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['maxmem', 1= 27], ['image', ['linux', ['kernel', '/vm/debian/vmlinuz3'], ['ip', ':1.2.= 3.4::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['vcpus', '1'], ['vcpus', '= 1'], ['boot', 'c']]], ['device', ['vbd', ['uname', 'phy:xen/debian'], ['d= ev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/vm/debi= an/disk.img'], ['dev', 'hdb'], ['mode', 'w']]], ['device', ['vif', ['mac'= , 'aa:00:57:4f:25:a7']]], ['state', '---s--'], ['shutdown_reason', 'reboo= t'], ['cpu_time', 7.3716442630000003], ['vcpus', 1], ['up_time', '76.4017= 469883'], ['start_time', '1130489672.99'], ['store_mfn', 145392], ['conso= le_mfn', 145391]] [2005-10-28 10:55:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:308) pars= eConfig: result is {'ssidref': 0, 'name': 'debian', 'on_reboot': 'restart= ', 'maxmem': 127, 'on_poweroff': 'destroy', 'mem_kb': None, 'maxmem_kb': = None, 'on_crash': 'restart', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0= , 'vcpu_avail': 1, 'memory': 127, 'device': [('vbd', ['vbd', ['uname', 'p= hy:xen/debian'], ['dev', 'hda'], ['mode', 'w']]), ('vbd', ['vbd', ['uname= ', 'file:/vm/debian/disk.img'], ['dev', 'hdb'], ['mode', 'w']]), ('vif', = ['vif', ['mac', 'aa:00:57:4f:25:a7']])], 'bootloader': None, 'image': ['l= inux', ['kernel', '/vm/debian/vmlinuz3'], ['ip', ':1.2.3.4::::eth0:dhcp']= , ['root', '/dev/hda1 ro'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']= ], 'cpu': None, 'uuid': '36e0c3fb-a7c3-b33d-3006-4cba42f26e79'} [2005-10-28 10:55:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:1047) Xen= dDomainInfo.construct: None 0 [2005-10-28 10:55:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:1077) Xen= dDomainInfo.initDomain: 2 130048 1.0 [2005-10-28 10:55:49 xend.XendDomainInfo] ERROR (XendDomainInfo:158) Doma= in construction failed Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 152, in create= vm.initDomain() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1093, in initD= omain xc.domain_memory_increase_reservation(self.domid, m, 0, 0) error: (12, 'Cannot allocate memory') [2005-10-28 10:55:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:1156) Xen= dDomainInfo.destroy: domid=3D2 [2005-10-28 10:55:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164) Xen= dDomainInfo.destroyDomain(2) [2005-10-28 10:55:49 xend.XendDomainInfo] ERROR (XendDomainInfo:1307) Fai= led to restart domain 1. Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1300, in resta= rt new_dom =3D xd.domain_create(config) File "//usr/lib/python/xen/xend/XendDomain.py", line 215, in domain_cre= ate dominfo =3D XendDomainInfo.create(config) File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 152, in create= vm.initDomain() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1093, in initD= omain xc.domain_memory_increase_reservation(self.domid, m, 0, 0) error: (12, 'Cannot allocate memory') --------------070706070304010102000508 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------070706070304010102000508--