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-devel

Re: [Xen-devel] Remus stopped with full protection

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, brendan@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Remus stopped with full protection
From: 张铭嘉 <zhangninja@xxxxxxxxx>
Date: Sun, 24 Jan 2010 12:39:49 +0800
Cc:
Delivery-date: Sat, 23 Jan 2010 20:40:39 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=pKYgeqSU0sUzy57wGG1JQLmIxdYWHD3wsoLcG+L/EcE=; b=VR7UYEd981YTPT7NBoECUGWVS7KcX0hdM2HI0f0jKSqrfHNbFMdckTHw6I1LZFV2je NZSTP2qkvVKAoDFAe6LvCIoH/4iHMnCWTqeEggHUlaYzJLiiOWHxs8VfBJVJ1BHXGh76 SMGz3GvesY/i8kBEByF7HaRTpsyYTO1DfxPKg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=yCGUzshsujDiPwWo+WzuEZ1N6OPmzTMuZQEvDlLGtCLPA0C9SCdiVUbgMGnaE9INlu 7YdoxIdIxrUzM9+/0Lp6/ZH2Ef/OvhNGiDb4DfuQXUN3WRSBO2BaiTFhue6C0xCYhFov cDGJRqnvsa6PcvIjOUwfHVVTQ6JmWVsL7mOSE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C77E29E3.701F%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <e6453e8f1001182357x7ea77136j172207385d7bfe39@xxxxxxxxxxxxxx> <C77E29E3.701F%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thank you very much for your reply.

I create hvm using spicified remus configuration file(add 'tap:remus'):

[root@server1 img]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2046     8     r-----   1505.3
Rhel5-hvm1                                   2   512     1     ------     28.2

The state of HVM first appears as 'r',then after a while it turns into 'no status' like above.Since Remus claims that it will will block writes to disk until I start the remus script, so I guess this is the normal condition.(I tested the image with common operation like 'xm create' without using "tap:remus"  and logging in with vnc. it is ok)

Following is the contents of xend.log since I create a HVM and run remus script. it seems that there is no infor about running '#remus myvm backuphost' but only infor on creating hvm. 

I notice that there is an error "AttributeError: 'NoneType' object has no attribute 'memory_sharing'" at line 2483. I don't know whether it is the reason that causes remus failed. Maybe I should fix this problem first.

Brendan has posted "HVM live migration error, probably related to 20691:054042ba73b6 " on 21, Jan. The problem is much like that I encountered, yet the version of my xen-unstable is 20550. 

xend.log
2460 [2010-01-22 08:59:34 5217] DEBUG (XendDomainInfo:234) XendDomainInfo.restore(['domain', ['domid', '2'], ['cpu_weight', '256'], ['cpu_cap', '0'], ['on_crash', 'restart'] , ['uuid', '16f79681-fc24-24f8-b338-0da5dbb2e298'], ['bootloader_args'], ['vcpus', '     1'], ['name', 'Rhel5-hvm1'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], [     'cpus', [[]]], ['description'], ['bootloader'], ['maxmem', '512'], ['memory', '512']     , ['shadow_memory', '5'], ['features'], ['on_xend_start', 'ignore'], ['on_xend_stop'     , 'ignore'], ['start_time', '1264125126.21'], ['cpu_time', '28.154313158'], ['online     _vcpus', '1'], ['image', ['hvm', ['kernel'], ['superpages', '0'], ['tsc_mode', '0'],      ['videoram', '4'], ['hpet', '0'], ['stdvga', '0'], ['vnclisten', '0.0.0.0'], ['load     er', '/usr/lib/xen/boot/hvmloader'], ['serial', 'pty'], ['vncunused', '1'], ['xen_pl     atform_pci', '1'], ['opengl', '1'], ['boot', 'c'], ['rtc_timeoffset', '0'], ['pci',      []], ['pae', '1'], ['vpt_align', '1'], ['hap', '1'], ['viridian', '0'], ['acpi', '1'     ], ['localtime', '0'], ['timer_mode', '1'], ['vnc', '1'], ['nographic', '0'], ['gues     t_os_type', 'default'], ['vncdisplay', '2'], ['pci_msitranslate', '1'], ['oos', '1']     , ['apic', '1'], ['sdl', '0'], ['nomigrate', '0'], ['monitor', '1'], ['device_model'     , '/usr/lib/xen/bin/qemu-dm'], ['pci_power_mgmt', '0'], ['usb', '0'], ['xauthority',      '/root/.Xauthority'], ['isa', '0'], ['display', 'localhost:11.0'], 
['notes', ['SUSP     END_CANCEL', '1']]]], ['status', '2'], ['state', '------'], ['store_mfn', '1044476']     , ['device', ['vif', ['mac', 
'00:1c:3e:17:22:13'], ['script', '/etc/xen/scripts/vif-     bridge'], ['type', 'ioemu'], ['uuid', 'c73b15f1-c6d8-4bf3-8153-73c951b7381c'], ['bac     kend', '0']]], ['device', ['vfb', ['vncunused', '1'], ['vnc', '1'], ['uuid', 'bc4db1     5b-1057-31ec-9f30-de6f1c3d8a75'], ['vnclisten', '0.0.0.0'], ['vncdisplay', '2'], ['l     ocation', '0.0.0.0:5902']]], ['device', ['console', ['protocol', 'vt100'], ['locatio     n', '3'], ['uuid', '672e5b39-38ea-68af-1dcd-0304fe286476']]], ['device', ['tap2', ['     protocol', 'x86_32-abi'], ['uuid', '640b4fd4-c6fa-8851-5e48-26d29df33e0e'], ['bootab     le', '1'], ['dev', 'hda:disk'], ['uname', 'tap:remus:server2:9000|aio:/dev/vgxen/hvm     snap'], ['mode', 'w'], ['backend', '0'], ['VDI']]]])
2461 [2010-01-22 08:59:34 5217] WARNING (XendConfig:873) Unconverted key: Description
2462 [2010-01-22 08:59:34 5217] DEBUG (XendDomainInfo:2450) XendDomainInfo.constructDomai     n
2463 [2010-01-22 08:59:34 5217] DEBUG (balloon:220) Balloon: 1745776 KiB free; need 4096;      done.
2464 [2010-01-22 08:59:34 5217] DEBUG (XendDomain:464) Adding Domain: 9
2465 [2010-01-22 08:59:34 5217] DEBUG (XendDomainInfo:3341) Storing VM details: {'on_xend     _stop': 'ignore', 'shadow_memory': '5', 'uuid': '16f79681-fc24-24f8-b338-0da5dbb2e29     8', 'on_reboot': 'restart', 'start_time': '1264125126.21', 'on_poweroff': 'destroy',      'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/rest     art_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': '(hvm (     kernel ) (superpages 0) (tsc_mode 0) (videoram 4) (hpet 0) (stdvga 0) (vnclisten 0.0     .0.0) (loader /usr/lib/xen/boot/hvmloader) (serial pty) (vncunused 1) (xen_platform_  pci 1) (opengl 1) (boot c) (rtc_timeoffset 0) (pci ()) (pae 1) (vpt_align 1) (hap 1)      (viridian 0) (acpi 1) (localtime 0) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_     type default) (vncdisplay 2) (pci_msitranslate 1) (oos 1) (apic 1) (sdl 0) (nomigrat     e 0) (monitor 1) (device_model /usr/lib/xen/bin/qemu-dm) (pci_power_mgmt 0) (usb 0)      (xauthority /root/.Xauthority) (isa 0) (display localhost:11.0) (notes (SUSPEND_CANC     EL 1)))', 
'name': 'Rhel5-hvm1'}
2466 [2010-01-22 08:59:34 5217] INFO (XendDomainInfo:2313) createDevice: vfb : {'vncunuse     d': '1', 'other_config': {'vncunused': '1', 'vnclisten': 
'0.0.0.0', 'vnc': '1', 'vnc     display': '2'}, 'vnc': '1', 'uuid': 'bc4db15b-1057-31ec-9f30-de6f1c3d8a75', 'vnclist     en': '0.0.0.0', 'vncdisplay': '2', 
'location': '0.0.0.0:5902'}
2467 [2010-01-22 08:59:34 5217] DEBUG (DevController:95) DevController: writing {'state':      '1', 'backend-id': '0', 'backend': 
'/local/domain/0/backend/vfb/9/0'} to /local/dom     ain/9/device/vfb/0.
2468 [2010-01-22 08:59:34 5217] DEBUG (DevController:97) DevController: writing {'vncunus     ed': '1', 'domain': 'Rhel5-hvm1', 'vnc': '1', 'uuid': 
'bc4db15b-1057-31ec-9f30-de6f1     c3d8a75', 'frontend-id': '9', 'vnclisten': '0.0.0.0', 'vncdisplay': '2', 'state': '1     ', 'location': '0.0.0.0:5902', 
'online': '1', 'frontend': '/local/domain/9/device/vf     b/0'} to /local/domain/0/backend/vfb/9/0.2469 [2010-01-22 08:59:34 5217] INFO (XendDomainInfo:2313) 
createDevice: console : {'prot     ocol': 'vt100', 'location': '3', 'uuid': '672e5b39-38ea-68af-1dcd-0304fe286476'}2470 [2010-01-22 08:59:34 5217] DEBUG 
(DevController:95) DevController: writing {'state':      '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/9/0'} to /local     
/domain/9/device/console/0.2471 [2010-01-22 08:59:34 5217] DEBUG (DevController:97) DevController: writing {'domain'     : 'Rhel5-hvm1', 'frontend': 
'/local/domain/9/device/console/0', 'uuid': '672e5b39-38     ea-68af-1dcd-0304fe286476', 'frontend-id': '9', 'state': '1', 'location': '3', 'onli     ne': 
'1', 'protocol': 'vt100'} to /local/domain/0/backend/console/9/0.2472 [2010-01-22 08:59:34 5217] INFO (XendDomainInfo:2313) createDevice: tap2 : {'protoco    
 l': 'x86_32-abi', 'uuid': '640b4fd4-c6fa-8851-5e48-26d29df33e0e', 'bootable': 1, 'de     v': 'hda:disk', 'uname': 
'tap:remus:server2:9000|aio:/dev/vgxen/hvmsnap', 'mode': 'w     ', 'backend': '0'}
2469 [2010-01-22 08:59:34 5217] INFO (XendDomainInfo:2313) createDevice: console : {'prot     ocol': 'vt100', 'location': '3', 'uuid': '672e5b39-38ea-68af-
1dcd-0304fe286476'}
2470 [2010-01-22 08:59:34 5217] DEBUG (DevController:95) DevController: writing {'state':      '1', 'backend-id': '0', 'backend': 
'/local/domain/0/backend/console/9/0'} to /local     /domain/9/device/console/0.
2471 [2010-01-22 08:59:34 5217] DEBUG (DevController:97) DevController: writing {'domain'     : 'Rhel5-hvm1', 'frontend': '/local/domain/9/device/console/0', 
'uuid': '672e5b39-38     ea-68af-1dcd-0304fe286476', 'frontend-id': '9', 'state': '1', 'location': '3', 'onli     ne': '1', 'protocol': 'vt100'} to 
/local/domain/0/backend/console/9/0.
2472 [2010-01-22 08:59:34 5217] INFO (XendDomainInfo:2313) createDevice: tap2 : {'protoco     l': 'x86_32-abi', 'uuid': '640b4fd4-c6fa-8851-5e48-
26d29df33e0e', 'bootable': 1, 'de     v': 'hda:disk', 'uname': 'tap:remus:server2:9000|aio:/dev/vgxen/hvmsnap', 'mode': 'w     ', 'backend': '0'}
2473 [2010-01-22 08:59:34 5217] ERROR (XendDomainInfo:501) VM resume failed
2474 Traceback (most recent call last):
2475   File "usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 497, in re     sume
2476     self._createDevices()
2477   File "usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2316, in _     createDevices
2478     devid = self._createDevice(devclass, config)
2479   File "usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2282, in _     createDevice
2480     return self.getDeviceController(deviceClass).createDevice(devConfig)
2481   File "usr/lib/python2.4/site-packages/xen/xend/server/BlktapController.py", line 2     01, in createDevice
2482     if self.vm.image.memory_sharing:
2483 AttributeError: 'NoneType' object has no attribute 'memory_sharing'
2484 [2010-01-22 08:59:34 5217] DEBUG (XendDomainInfo:2994) XendDomainInfo.destroy: domid     =9
2485 [2010-01-22 08:59:34 5217] DEBUG (XendDomainInfo:2358) No device model
2486 [2010-01-22 08:59:34 5217] DEBUG (XendDomainInfo:2360) Releasing devices
2487 [2010-01-22 08:59:34 5217] DEBUG (XendDomainInfo:2366) Removing vfb/0
2488 [2010-01-22 08:59:34 5217] DEBUG (XendDomainInfo:1237) XendDomainInfo.destroyDevice:      deviceClass = vfb, device = vfb/0
2489 [2010-01-22 08:59:34 5217] DEBUG (XendDomainInfo:2366) Removing console/0
2490 [2010-01-22 08:59:34 5217] DEBUG (XendDomainInfo:1237) XendDomainInfo.destroyDevice:      deviceClass = console, device = console/0
2491 [2010-01-22 08:59:34 5217] ERROR (XendDomain:1181) Restore failed
2492 Traceback (most recent call last):
2493   File "usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 1159, in domai     n_restore_fd
2494     dominfo = XendCheckpoint.restore(self, fd, paused=paused, relocating=relocating)
2495   File "usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 227, in re     store
2496     dominfo = xd.restore_(vmconfig)
2497   File "usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 521, in restor     e_
2498     dominfo = XendDomainInfo.restore(config)
2499   File "usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 238, in re     store
2500     vm.resume()
2501   File "usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 497, in re     sume
2502     self._createDevices()
2503   File "usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2316, in _     createDevices
2504     devid = self._createDevice(devclass, config)
2505   File "usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2282, in _     createDevice
2506     return self.getDeviceController(deviceClass).createDevice(devConfig)
2507   File "usr/lib/python2.4/site-packages/xen/xend/server/BlktapController.py", line 2     01, in createDevice
2508     if self.vm.image.memory_sharing:
2509 AttributeError: 'NoneType' object has no attribute 'memory_sharing'
2510 [2010-01-22 09:02:34 5217] WARNING (XendConfig:873) Unconverted key: Description
2511 [2010-01-22 09:02:34 5217] DEBUG (XendDomainInfo:100) XendDomainInfo.create(['vm', [     'name', 'Rhel5-hvm1'], ['memory', '512'], ['on_xend_start', 
'ignore'], ['on_xend_sto     p', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen/     boot/hvmloader'], ['videoram', 4], 
['serial', 'pty'], ['monitor', 1], ['acpi', 1], [     'apic', 1], ['boot', 'c'], ['cpuid', []], ['cpuid_check', []], ['device_model', '/us     
r/lib/xen/bin/qemu-dm'], ['display', 'localhost:10.0'], ['fda', ''], ['fdb', ''], ['     guest_os_type', 'default'], ['hap', 1], ['hpet', 0], ['isa', 0], 
['keymap', ''], ['l     ocaltime', 0], ['nographic', 0], ['opengl', 1], ['oos', 1], ['pae', 1], ['pci', []],      ['pci_msitranslate', 1], ['pci_power_mgmt', 
0], ['rtc_timeoffset', 0], ['sdl', 0],      ['soundhw', ''], ['stdvga', 0], ['timer_mode', 1], ['usb', 0], ['usbdevice', ''], ['     vcpus', 1], ['vnc', 1], 
['vncdisplay', 2], ['vnclisten', '0.0.0.0'], ['vncunused', 1     ], ['viridian', 0], ['vpt_align', 1], ['xauthority', '/root/.Xauthority'], ['xen_pla     
tform_pci', 1], ['memory_sharing', 0], ['vncpasswd', 'XXXXXXXX'], ['tsc_mode', 0], [     'nomigrate', 0]]], ['s3_integrity', 1], ['device', ['tap2', 
['uname', 'tap:remus:ser     ver1:9000|aio:/dev/vgxen/hvmsnap'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['vi     f', ['mac', '00:1c:3e:17:22:13'], 

['type', 'ioemu']]]])
2512 [2010-01-22 09:02:34 5217] DEBUG (XendDomainInfo:2450) XendDomainInfo.constructDomai     n 2513 [2010-01-22 09:02:34 5217] DEBUG (balloon:220) Balloon: 

1745776 KiB free; need 4096;      done.
2514 [2010-01-22 09:02:34 5217] DEBUG (XendDomain:464) Adding Domain: 102515 [2010-01-22 09:02:34 5217] DEBUG (XendDomainInfo:2759) 

XendDomainInfo.initDomain: 10      256
2516 [2010-01-22 09:02:34 5217] DEBUG (image:339) No VNC passwd configured for vfb access
2517 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: boot, val: c 
2518 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: fda, val: None
2519 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: fdb, val: None
2520 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: soundhw, val: None
2521 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: localtime, val: 0
2522 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: serial, val: ['pty']
2523 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: std-vga, val: 0
2524 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: isa, val: 0
2525 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: acpi, val: 1
2526 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: usb, val: 0
2527 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: usbdevice, val: None
2528 [2010-01-22 09:02:34 5217] DEBUG (image:891) args: gfx_passthru, val: None
2529 [2010-01-22 09:02:34 5217] INFO (image:824) Need to create platform device.[domid:10     ]
2530 [2010-01-22 09:02:34 5217] DEBUG (XendDomainInfo:2786) _initDomain:shadow_memory=0x0     , memory_static_max=0x20000000, memory_static_min=0x0.
2531 [2010-01-22 09:02:34 5217] INFO (image:182) buildDomain os=hvm dom=10 vcpus=1
2532 [2010-01-22 09:02:34 5217] DEBUG (image:949) domid          = 10
2533 [2010-01-22 09:02:34 5217] DEBUG (image:950) image          = /usr/lib/xen/boot/hvml     oader
2534 [2010-01-22 09:02:34 5217] DEBUG (image:951) store_evtchn   = 2
2535 [2010-01-22 09:02:34 5217] DEBUG (image:952) memsize        = 512
2536 [2010-01-22 09:02:34 5217] DEBUG (image:953) target         = 512
2537 [2010-01-22 09:02:34 5217] DEBUG (image:954) vcpus          = 1
2538 [2010-01-22 09:02:34 5217] DEBUG (image:955) vcpu_avail     = 1
2539 [2010-01-22 09:02:34 5217] DEBUG (image:956) acpi           = 1
2540 [2010-01-22 09:02:34 5217] DEBUG (image:957) apic           = 1
2541 [2010-01-22 09:02:34 5217] INFO (XendDomainInfo:2313) createDevice: vfb : {'vncunuse     d': 1, 'other_config': {'vncunused': 1, 'vnclisten': '0.0.0.0', 

'vnc': '1', 'vncdisp     lay': 2}, 'vnc': '1', 'uuid': 'ae373736-f85a-e7a3-60aa-30d6f3a68118', 'vnclisten': '     0.0.0.0', 'vncdisplay': 2} 
2542 [2010-01-22 09:02:34 5217] DEBUG (DevController:95) DevController: writing {'state':      '1', 'backend-id': '0', 'backend': 

'/local/domain/0/backend/vfb/10/0'} to /local/do     main/10/device/vfb/0.
2543 [2010-01-22 09:02:34 5217] DEBUG (DevController:97) DevController: writing {'vncunus     ed': '1', 'domain': 'Rhel5-hvm1', 'vnc': '1', 'uuid': 

'ae373736-f85a-e7a3-60aa-30d6f     3a68118', 'frontend-id': '10', 'vnclisten': '0.0.0.0', 'vncdisplay': '2', 'state': '     1', 'online': '1', 'frontend': 

'/local/domain/10/device/vfb/0'} to /local/domain/0/b     ackend/vfb/10/0.
2544 [2010-01-22 09:02:34 5217] INFO (XendDomainInfo:2313) createDevice: tap2 : {'bootabl     e': 1, 'uname': 

'tap:remus:server1:9000|aio:/dev/vgxen/hvmsnap', 'mode': 'w', 'dev':      'hda', 'uuid': 'b5fd6bdd-ab5d-1f8b-7142-e45656cfaea0'} 
2545 [2010-01-22 09:02:34 5217] DEBUG (DevController:95) DevController: writing {'backend     -id': '0', 'virtual-device': '768', 'device-type': 'disk', 

'state': '1', 'backend':      '/local/domain/0/backend/vbd/10/768'} to /local/domain/10/device/vbd/768.
2546 [2010-01-22 09:02:34 5217] DEBUG (DevController:97) DevController: writing {'domain'     : 'Rhel5-hvm1', 'frontend': '/local/domain/10/device/vbd/768', 

'uuid': 'b5fd6bdd-ab5     d-1f8b-7142-e45656cfaea0', 'bootable': '1', 'dev': 'hda', 'state': '1', 'params': '/     dev/xen/blktap-2/tapdev0', 'mode': 'w', 

'online': '1', 'frontend-id': '10', 'type':      'phy', 'tapdisk-params': 'remus:server1:9000|aio:/dev/vgxen/hvmsnap'} to /local/doma     

in/0/backend/vbd/10/768.
2547 [2010-01-22 09:02:34 5217] INFO (XendDomainInfo:2313) createDevice: vif : {'mac': '0     0:1c:3e:17:22:13', 'type': 'ioemu', 'uuid': '3dbaa2b3-97d7-

cc9d-51e7-09bcf7c5fc4b'}
2548 [2010-01-22 09:02:34 5217] DEBUG (DevController:95) DevController: writing {'state':      '1', 'backend-id': '0', 'backend': 

'/local/domain/0/backend/vif/10/0'} to /local/do     main/10/device/vif/0.
2549 [2010-01-22 09:02:34 5217] DEBUG (DevController:97) DevController: writing {'domain'     : 'Rhel5-hvm1', 'frontend': '/local/domain/10/device/vif/0', 

'uuid': '3dbaa2b3-97d7-     cc9d-51e7-09bcf7c5fc4b', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:1c:3e:1     7:22:13', 'frontend-id': '10', 'state': 

'1', 'online': '1', 'handle': '0', 'type': '     ioemu'} to /local/domain/0/backend/vif/10/0.
2550 [2010-01-22 09:02:34 5217] INFO (image:420) spawning device models: /usr/lib/xen/bin     /qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '10', '-domain-

name', 'Rhel5-hvm1', '-vi     deoram', '4', '-vnc', '0.0.0.0:2', '-vncunused', '-monitor', 'vc', '-vcpus', '1', '-     boot', 'c', '-serial', 'pty', '-acpi', 

'-net', 'nic,vlan=1,macaddr=00:1c:3e:17:22:13     ,model=rtl8139', '-net', 'tap,vlan=1,ifname=tap10.0,bridge=xenbr0', '-M', 'xenfv']
2551 [2010-01-22 09:02:34 5217] INFO (image:469) device model pid: 7322
2552 [2010-01-22 09:02:34 5217] INFO (image:592) waiting for sentinel_fifo
2553 [2010-01-22 09:02:34 5217] DEBUG (XendDomainInfo:3341) Storing VM details: {'on_xend     _stop': 'ignore', 'shadow_memory': '5', 'uuid': 'fcc2e15d-ee63

-dbf1-118a-9c3f1e2865e     6', 'on_reboot': 'restart', 'start_time': '1264122154.95', 'on_poweroff': 'destroy',      'bootloader_args': '', 'on_xend_start': 

'ignore', 'on_crash': 'restart', 'xend/rest     art_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': '(hvm (     kernel ) (superpages 

0) (tsc_mode 0) (videoram 4) (hpet 0) (stdvga 0) (vnclisten 0.0     .0.0) (loader /usr/lib/xen/boot/hvmloader) (serial pty) (vncunused 1) (xen_platform_     

pci 1) (opengl 1) (boot c) (rtc_timeoffset 0) (pci ()) (pae 1) (vpt_align 1) (hap 1)      (viridian 0) (acpi 1) (localtime 0) (timer_mode 1) (vnc 1) 

(nographic 0) (guest_os_     type default) (vncdisplay 2) (pci_msitranslate 1) (oos 1) (apic 1) (sdl 0) (nomigrat     e 0) (monitor 1) (device_model 

/usr/lib/xen/bin/qemu-dm) (pci_power_mgmt 0) (usb 0)      (xauthority /root/.Xauthority) (isa 0) (display localhost:10.0) (notes (SUSPEND_CANC     EL 1)))', 

'name': 'Rhel5-hvm1'}
2554 [2010-01-22 09:02:34 5217] DEBUG (XendDomainInfo:1750) Storing domain details: {'con     sole/port': '3', 'description': '', 'console/limit': '1048576', 

'store/port': '2', '     vm': '/vm/fcc2e15d-ee63-dbf1-118a-9c3f1e2865e6', 'domid': '10', 'image/suspend-cance     l': '1', 'cpu/0/availability': 'online', 

'memory/target': '524288', 'control/platfor     m-feature-multiprocessor-suspend': '1', 'store/ring-ref': '1044476', 'console/type':      'ioemu', 'name': 

'Rhel5-hvm1'}
2555 [2010-01-22 09:02:35 5217] DEBUG (DevController:95) DevController: writing {'state':      '1', 'backend-id': '0', 'backend': 

'/local/domain/0/backend/console/10/0'} to /loca     l/domain/10/device/console/0.
2556 [2010-01-22 09:02:35 5217] DEBUG (DevController:97) DevController: writing {'domain'     : 'Rhel5-hvm1', 'frontend': 

'/local/domain/10/device/console/0', 'uuid': '237d70b3-1     10a-09e0-0aa5-96b986d1714f', 'frontend-id': '10', 'state': '1', 'location': '3', 'on     line': 

'1', 'protocol': 'vt100'} to /local/domain/0/backend/console/10/0.
2557 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices vif2.
2558 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices vif.
2559 [2010-01-22 09:02:35 5217] DEBUG (DevController:144) Waiting for 0.
2560 [2010-01-22 09:02:35 5217] DEBUG (XendDomainInfo:1837) XendDomainInfo.handleShutdown     Watch
2561 [2010-01-22 09:02:35 5217] DEBUG (DevController:628) hotplugStatusCallback /local/do     main/0/backend/vif/10/0/hotplug-status.
2562 [2010-01-22 09:02:35 5217] DEBUG (DevController:628) hotplugStatusCallback /local/do     main/0/backend/vif/10/0/hotplug-status.
2563 [2010-01-22 09:02:35 5217] DEBUG (DevController:642) hotplugStatusCallback 1.
2564 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices vscsi.
2565 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices vbd.
2566 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices ioports.
2567 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices irq.
2568 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices vkbd.
2569 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices vfb.
2570 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices console.
2571 [2010-01-22 09:02:35 5217] DEBUG (DevController:144) Waiting for 0.
2572 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices pci.
2573 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices tap2.
2574 [2010-01-22 09:02:35 5217] DEBUG (DevController:144) Waiting for 768.
2575 [2010-01-22 09:02:35 5217] DEBUG (DevController:628) hotplugStatusCallback /local/do     main/0/backend/vbd/10/768/hotplug-status.
2576 [2010-01-22 09:02:35 5217] DEBUG (DevController:642) hotplugStatusCallback 1.
2577 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices tap.
2578 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices vusb.
2579 [2010-01-22 09:02:35 5217] DEBUG (DevController:139) Waiting for devices vtpm.
2580 [2010-01-22 09:02:35 5217] INFO (XendDomain:1206) Domain Rhel5-hvm1 (10) unpaused.


2010/1/21 Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
On 19/01/2010 07:57, "张铭嘉" <zhangninja@xxxxxxxxx> wrote:

> Saving memory pages: iter 1   0%ERROR Internal error: Error when writing to
> state file
> (4a) (errno 104)
> Save exit rc=1
> qemu logdirty mode: disable
> then the program stops.
>
> The error is located at line1361 xc_domain_save.c. The errno 104 standard for
> "connection reset by peers".
> I'm not sure whether there there are some mistake about the network socket.
>
> I've been stunked by this for two weeks. Do I miss something or could anybody
> tell what I should do next.

Are here any errors in /var/log/xen/xend.log on either host?

 -- Keir





--
--
Best Regards

Minjia Zhang

Huazhong University of Science and Technology

Room 328,Dong 8 Building 8, No.1037 Luoyu Road, Wuhan 430074, P.R.C.

Tel: +86-159-2625-3437

Email:zhangninja@xxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>