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] Live migration fails under heavy network use

To: "John Levon" <levon@xxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Live migration fails under heavy network use
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 20 Feb 2007 23:48:14 -0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 Feb 2007 15:48:03 -0800
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>
References: <20070220215039.GA28903@xxxxxxxxxxxxxxxxxxxxxxx> <8A87A9A84C201449A0C56B728ACF491E0B9AD2@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <20070220230447.GA31928@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdVQ0GxLk38nH1qSRO1gYAaZzNlDgAAHFLQ
Thread-topic: [Xen-devel] Live migration fails under heavy network use
> > The freeing in-use page messages may be unrelated to the actual
problem
> > -- AFAIK that's a relatively new printk that could occur benignly
during
> > a live migrate of an rx-flip guest.
> 
> We're failing here:
> 
> [2007-02-20 13:39:50 xend 100401] INFO (XendCheckpoint:247) Saving
memory
> pages: iter 2   0%ERROR Internal error: Error when writing to state
file
> (5) (errno 14)
> [2007-02-20 13:39:50 xend 100401] INFO (XendCheckpoint:247) Save exit
rc=1
> [2007-02-20 13:39:50 xend 100401] ERROR (XendCheckpoint:111) Save
failed on
> domain fedora64 (2).
> 
> 1049                     /* We have a normal page: just write it
directly.
> */
> 1050                     if (ratewrite(io_fd, spage, PAGE_SIZE) !=
> PAGE_SIZE) {
> 1051                         ERROR("Error when writing to state file
(5)"
> 
> IOW, we're faulting (EFAULT) on the domain's MFN due to the above
error.

Urk. Checkout line 204 of privcmd.c 
That doesn't look too 64b clean to me....

The top nibble is supposed to be set if its not possible to map the
frame correctly. This will be propagated through the
xc_get_pfn_type_batch call, hence skipping the frame.


Ian




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