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] Migrating a 32 bit DomU from a 64 bit machine to a 32 bit ma

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Migrating a 32 bit DomU from a 64 bit machine to a 32 bit machine?
From: "sanjay kushwaha" <sanjay.kushwaha@xxxxxxxxx>
Date: Mon, 28 Apr 2008 21:12:33 -0400
Delivery-date: Mon, 28 Apr 2008 18:12:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=aI+wefxkgXk3JIUGkk8CRBXuG82U1PD2eZDX/uiEsDU=; b=pwJcN/JWc+fZUUcCfpYTwR0X96F7CRm8ORkZfqWMRI2gSxEmmiaZ/yXykTbEpvXqvrvtL/AML+WaBZMIrGGwcJO6k1Y7g3AkGdNDF33oziNEI09RqhRjTTm8qyXkti5Azg0sXjPlrdJfVPrXIuw7WLDmqAr5EjNBmPbw62T1f2I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=v/HOwLATr+PtVmIsz/XnVdiudc/bXl6V/9f0JBYEfxka24Q44/UWoJTotuSi8RN2OuGJvbyXET0cI/GunSiSpU+HUARpO0nWgzzD5ClGrVYR3yJLq/74kJJz+Oe89fMDlT22mWQer1u15y+8lfRa+vWg9FU8YJT2EiqlOUN13Mg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Folks,
I am trying to live migrate a 32 bit linux DomU from a 64-bit machine running 64-bit dom0 to a 32 bit machine running 32-bit dom0.
Apparently the live migration fails with the following error.

[root@vt3 xen]# xm migrate --live 1 143.215.138.73
Error: /usr/lib64/xen/bin/xc_save 23 1 0 0 1 failed
Usage: xm migrate <Domain> <Host>

Migrate a domain to another machine.

Options:

-h, --help           Print this help.
-l, --live           Use live migration.
-p=portnum, --port=portnum
                     Use specified port for migration.
-n=nodenum, --node=nodenum
                     Use specified NUMA node on target.
-r=MBIT, --resource=MBIT
                     Set level of resource usage for migration.

[root@vt3 xen]#

The /var/log/xend.log say the following

[2008-04-28 20:49:00 6254] DEBUG (XendCheckpoint:105) [xc_save]: /usr/lib64/xen/bin/xc_save 23 1 0 0 1
[2008-04-28 20:49:00 6254] INFO (XendCheckpoint:411) domctl ret 0
[2008-04-28 20:49:00 6254] INFO (XendCheckpoint:411) domctl ret 0
[2008-04-28 20:49:00 6254] INFO (XendCheckpoint:411) domctl ret 0
[2008-04-28 20:49:00 6254] INFO (XendCheckpoint:411) domctl ret 0
[2008-04-28 20:49:00 6254] INFO (XendCheckpoint:411) Had 0 unexplained entries in p2m table
[2008-04-28 20:49:00 6254] INFO (XendCheckpoint:411) domctl ret 0
[2008-04-28 20:49:00 6254] INFO (XendCheckpoint:411) domctl ret 0
[2008-04-28 20:49:00 6254] INFO (XendCheckpoint:411) Saving memory pages: iter 1   0%domctl ret 0
[2008-04-28 20:49:00 6254] INFO (XendCheckpoint:411) domctl ret 0
[2008-04-28 20:49:24 6254] INFO (XendCheckpoint:411) ERROR Internal error: Error when writing to state file (4a) (errno 104)
[2008-04-28 20:49:24 6254] INFO (XendCheckpoint:411) domctl ret 0
[2008-04-28 20:49:24 6254] INFO (XendCheckpoint:411) Save exit rc=1
[2008-04-28 20:49:24 6254] ERROR (XendCheckpoint:158) Save failed on domain DebianVM (1).
Traceback (most recent call last):
  File "//usr/lib64/python/xen/xend/XendCheckpoint.py", line 126, in save
    forkHelper(cmd, fd, saveInputHandler, False)
  File "//usr/lib64/python/xen/xend/XendCheckpoint.py", line 399, in forkHelper
    raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib64/xen/bin/xc_save 23 1 0 0 1 failed

Could someone please let me know if it is possible to migrate VMs between 64 bit and 32 bit machines? I am using the latest xen tree.

Thanks,
Sanjay

--
----------------------
PhD Candidate, Georgia Tech
http://www.cc.gatech.edu/~ksanjay/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>