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

[Xen-devel] Xen Live Migration Fail

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen Live Migration Fail
From: 涂小訓 <iwantplay@xxxxxxxxx>
Date: Sat, 20 Nov 2010 18:49:03 +0800
Delivery-date: Mon, 22 Nov 2010 05:27:13 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=0nKsw4WhfRnKoGy27HMdqPGBQNb+w6Otp77uGViRJyY=; b=pDFSi5Vf6LKxgSFAAunvoVzzE9QeqCZLZVYykd5taBuk0Yyv27r0ZDBCqAHIUikCF4 RrCzAJPQ4sc6p70u/kLSLwmR+SnBlDVf0KA6mi3SfLjYaBTxzpOBfRDIjKLc2WLe/smF 6nWQX9kWr9+HovNgagXMk4rTNNnPawxzdqqJA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q3Yhq9ouLuzrAFW+3rDIgMa8nxiB3/zgfuLuecZDkIcnMZMZO0IAX4UBUX//EE1W8N NQDI27NIuE4O6f8JeenWCra78iXL+WnY6KtPo6NgOS8vbBvoQFuzcRx+lUJnznapY3ov v5pvuXbGg2+LYZu3ls57v15kAjI4tBlBRsUGw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Dear all:

      I am trying to migrate a WinXP HVM (64M memory) from a machine
(sender) to another machine (receiver) through AoE disk, however,
there are some errors when do the following command:
(My xen version is xen-4.0.1-rc5.hg, kernel 2.6.31.13, xen xen-4.0.1-rc6-pre,
 Both sender and receiver are the same xen version)

      xm migrate --live domain_id receiver_ip

===============================================
      The error message at sender side is:

Error: timed out
Usage: xm migrate <Domain> <Host>
...
===============================================


     Then, I read the xend.log (sender) and find this error message:

===============================================
[2010-11-20 18:12:45 4667] INFO (XendDomain:1206) Domain
WinXP_HVM_Migrate (1) unpaused.
[2010-11-20 18:14:06 4667] DEBUG (XendCheckpoint:124) [xc_save]:
/usr/lib/xen/bin/xc_save 35 1 0 0 5
[2010-11-20 18:14:06 4667] INFO (XendCheckpoint:423) xc_save: failed
to get the suspend evtchn port
...
[2010-11-20 18:14:33 4667] WARNING (image:552) domain
migrating-WinXP_HVM_Migrate: device model failure: pid 4871: died due
to signal 6; see /var/log/xen/qemu-dm-WinXP_HVM_Migrate.log
[2010-11-20 18:14:33 4667] INFO (XendDomainInfo:2088) Domain has
shutdown: name=migrating-WinXP_HVM_Migrate id=1 reason=suspend.
[2010-11-20 18:14:43 4667] INFO (XendCheckpoint:423) ERROR Internal
error: Suspend request failed
[2010-11-20 18:14:43 4667] INFO (XendCheckpoint:423) ERROR Internal
error: Domain appears not to have suspended
[2010-11-20 18:14:48 4667] INFO (XendCheckpoint:423) xc_save: timed
out waiting for qemu logdirty response.
...
===============================================


       And the qemu-dm.log gives a "buffer overflow" message as following:

===============================================
...
device model saving state
*** buffer overflow detected ***: /usr/lib64/xen/bin/qemu-dm terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7fecab467217]
/lib/libc.so.6(+0xfe0d0)[0x7fecab4660d0]
/lib/libc.so.6(+0xfd539)[0x7fecab465539]
/lib/libc.so.6(_IO_default_xsputn+0xcc)[0x7fecab3ddd1c]
/lib/libc.so.6(_IO_vfprintf+0x14c)[0x7fecab3ad4ec]
===============================================


     The logs are also attached. Any ideas or patches to fix this problem ?
Thanks!

Best Regards,
Tang-Hsun Tu

Attachment: xend_sender.log
Description: Binary data

Attachment: xend_receiver.log
Description: Binary data

Attachment: qemu-dm-WinXP_HVM_Migrate.log
Description: Binary data

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