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

Re: [Xen-users] Live migration on xen 4.0.1 fails

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Live migration on xen 4.0.1 fails
From: Mark Dokter <dokter@xxxxxxxxxxxxx>
Date: Tue, 26 Apr 2011 13:14:33 +0200
Delivery-date: Tue, 26 Apr 2011 04:16:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tugraz.at; s=mailrelay; t=1303816476; i=@xxxxxxxxxxxxx; bh=Z9Z9/hkWCiYWhCSN4FfLB8G/VyPNJWUg1+jQU6Arexs=; h=Message-ID:Date:From:Reply-To:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=q5g9OdMZ7pssgwZ4ROhhiVKFG8HiMrMhi71j/I7H0sILoFa24AqEbj8v42810kGiG kqr0HEDlTyDV1bV+qdNfUoaSp2MLufDUYgo4Nqzyi2eI/Io0Ld/oGsU99egmRPgjFM 0GUcol/hWaoKXMczUVTJ6Gr56RDp+hj/6CE0lMZg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimjoCNeu6tUMFUJtFRt2MELnbhWbA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Institute for Computer Graphics and Vision
References: <4DA42BC8.4060104@xxxxxxxxxxxxx> <BANLkTin+RyMVMxeWWzFD8qc=Z66chngzBw@xxxxxxxxxxxxxx> <4DA55229.3010002@xxxxxxxxxxxxx> <BANLkTimjoCNeu6tUMFUJtFRt2MELnbhWbA@xxxxxxxxxxxxxx>
Reply-to: dokter@xxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8
On 04/13/2011 08:11 PM, Todd Deshane wrote:
> 
> There have been some fixes (not sure if they are related) to the PV on
> HVM drivers recently. Take a look at:
> 
> http://xen.markmail.org/search/?q=rc3+from:"Stefano+Stabellini"#query:rc3%20from%3A%22Stefano%20Stabellini%22+page:1+mid:fnbwmyqwsspi46gi+state:results
> 

I'll try a 2.6.39rc4 domU kernel next.

> Also the releases of Xen 4.1 and 4.0.2 (likely final RC) might have
> some developments that change things too.
> 
> http://xen.markmail.org/search/?q=from:keir#query:from%3Akeir%20date%3A201104%20+page:1+mid:4cj4itzfe34jay4f+state:results
> 
> http://wiki.xensource.com/xenwiki/Xen4.1
> 
> 
> We just need to narrow down where things where things don't and find
> out if it is specific to your setup or kernel, or xen version, etc. In
> general things are being tested so migration not working is likely
> some combination of your setup.
> 

I have set up a xen 4.1 box now (Debian kernel image
linux-image-2.6.32-5-xen-amd64 from squeeze and xen 4.1 from source).

I tried to migrate a Ubuntu Natty test domU from the xen 4.0.1 box to
the 4.1 box and unfortunately it failed again. The domU was created on
the target machine, but it doesn't respond.

The xend.log from the source (4.0.1) machine:

[2011-04-26 12:41:40 2612] INFO (XendDomain:1206) Domain Sandbox-Natty
(13) unpaused.
[2011-04-26 12:42:37 2612] DEBUG (XendCheckpoint:124) [xc_save]:
/usr/lib/xen/bin/xc_save 29 13 0 0 5
[2011-04-26 12:42:37 2612] INFO (XendCheckpoint:423) xc_save: failed to
get the suspend evtchn port
[2011-04-26 12:42:37 2612] INFO (XendCheckpoint:423)
[2011-04-26 12:42:49 2612] INFO (XendCheckpoint:423) Saving memory
pages: iter 1   0%^H^H^H^H  5%^H^H^H^H 10%^H^H^H^H 15%^H^H^H^H
20%^H^H^H^H 25%^H^H^H^H 30%^H^H^H^H 35%^H^H^H^H 40%^H^H^H^H 45%^H^H^H^H
50%^H^H^H^H 55%^H^H^H^H 60%^H^H^H^H 65%^H^H^H^H 70%^H^H^H^H 75%^H^H^H^H
80%^H^H^H^H 85%^H^H^H^H 90%^H^H^H^H 95%^M 1: sent 265216, skipped 1807,
delta 12446ms, dom0 0%, target 1%, sent 698Mb/s, dirtied 5Mb/s 1910 pages
[2011-04-26 12:42:49 2612] INFO (XendCheckpoint:423) Saving memory
pages: iter 2   0%^H^H^H^H 22%^M 2: sent 1886, skipped 24, delta 52ms,
dom0 0%, target 0%, sent 1188Mb/s, dirtied 35Mb/s 56 pages
[2011-04-26 12:42:49 2612] INFO (XendCheckpoint:423) Saving memory
pages: iter 3   0%^M 3: sent 56, skipped 0, delta 12ms, dom0 0%, target
0%, sent 152Mb/s, dirtied 133Mb/s 49 pages
[2011-04-26 12:42:49 2612] INFO (XendCheckpoint:423) Saving memory
pages: iter 4   0%^M 4: sent 49, skipped 0, Start last iteration
[2011-04-26 12:42:49 2612] DEBUG (XendCheckpoint:394) suspend
[2011-04-26 12:42:49 2612] DEBUG (XendCheckpoint:127) In
saveInputHandler suspend
[2011-04-26 12:42:49 2612] DEBUG (XendCheckpoint:129) Suspending 13 ...
[2011-04-26 12:42:49 2612] DEBUG (XendDomainInfo:519)
XendDomainInfo.shutdown(suspend)
[2011-04-26 12:42:49 2612] DEBUG (XendDomainInfo:1891)
XendDomainInfo.handleShutdownWatch
[2011-04-26 12:42:49 2612] DEBUG (XendDomainInfo:1891)
XendDomainInfo.handleShutdownWatch
[2011-04-26 12:42:49 2612] INFO (XendDomainInfo:2088) Domain has
shutdown: name=migrating-Sandbox-Natty id=13 reason=suspend.
[2011-04-26 12:42:49 2612] INFO (XendCheckpoint:135) Domain 13 suspended.
[2011-04-26 12:42:50 2612] INFO (image:538) signalDeviceModel:restore dm
state to running
[2011-04-26 12:42:50 2612] INFO (XendCheckpoint:423) SUSPEND shinfo 00001d05
[2011-04-26 12:42:50 2612] INFO (XendCheckpoint:423) delta 276ms, dom0
1%, target 1%, sent 5Mb/s, dirtied 38Mb/s 325 pages
[2011-04-26 12:42:50 2612] DEBUG (XendCheckpoint:144) Written done
[2011-04-26 12:42:50 2612] INFO (XendCheckpoint:423) Saving memory
pages: iter 5   0%^M 5: sent 325, skipped 0, delta 10ms, dom0 20%,
target 0%, sent 1064Mb/s, dirtied 1064Mb/s 325 pages
[2011-04-26 12:42:50 2612] INFO (XendCheckpoint:423) Total pages sent=
267532 (0.26x)
[2011-04-26 12:42:50 2612] INFO (XendCheckpoint:423) (of which 0 were
fixups)
[2011-04-26 12:42:50 2612] INFO (XendCheckpoint:423) All memory is saved
[2011-04-26 12:42:50 2612] INFO (XendCheckpoint:423) Save exit rc=0
[2011-04-26 12:42:50 2612] DEBUG (XendDomainInfo:3053)
XendDomainInfo.destroy: domid=13


The xend.log from the target (xen 4.1) machine:
[...]
[2011-04-26 12:42:25 29344] INFO (image:822) Need to create platform
device.[domid:26]
[2011-04-26 12:42:25 29344] DEBUG (XendCheckpoint:278)
restore:shadow=0xa, _static_max=0x40000000, _static_min=0x0,
[2011-04-26 12:42:25 29344] DEBUG (XendCheckpoint:305) [xc_restore]:
/usr/lib/xen/bin/xc_restore 18 26 3 4 1 1 1 0
[2011-04-26 12:42:39 29344] INFO (XendCheckpoint:423) xc: error:
0-length read: Internal error
[2011-04-26 12:42:39 29344] INFO (XendCheckpoint:423) xc: error:
read_exact_timed failed (read rc: 0, errno: 0): Internal error
[2011-04-26 12:42:39 29344] INFO (XendCheckpoint:423) xc: error: Error
when reading batch size (0 = Success): Internal error
[2011-04-26 12:42:39 29344] INFO (XendCheckpoint:423) xc: error: error
when buffering batch, finishing (0 = Success): Internal error
[2011-04-26 12:42:39 29344] DEBUG (XendCheckpoint:394) store-mfn 1044476
[2011-04-26 12:42:39 29344] DEBUG (XendDomainInfo:3010)
XendDomainInfo.completeRestore
[...]


> Thanks,
> Todd
> 


-- 
Mark Dokter - System Administrator
Institute for Computergraphics and Vision - http://www.icg.tugraz.at
Graz University of Technology, Inffeldgasse 16/II, 8010 Graz, Austria
Phone: +43/316/873-5036, Fax: +43/316/873-5050

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users