[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.