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] 3.0.5 rc3 paravirt save failures ?

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] 3.0.5 rc3 paravirt save failures ?
From: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Date: Tue, 01 May 2007 13:47:39 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Steven.Hand@xxxxxxxxxxxx
Delivery-date: Tue, 01 May 2007 05:46:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: Message from "Daniel P. Berrange" <berrange@xxxxxxxxxx> of "Tue, 01 May 2007 12:55:02 BST." <20070501115502.GA27924@xxxxxxxxxx>
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
>I'm seeing a fairly frequent problem when trying to save paravirt domains.
>xc_save is failing, and logging the following error:
>
>(XendCheckpoint:349) ERROR Internal error: Frame# in pfn-to-mfn frame list is 
not in pseudophys
>(XendCheckpoint:349) ERROR Internal error: entry 206848: p2m_frame_list[404] i
s 0x0
>(XendCheckpoint:349) ERROR Internal error: Failed to map/save the p2m frame li
st
>
>Save/restore of fullyvirt on the same box is working pretty well. Anyone
>have ideas on what the error message might be trying to tell me.... ? 

Looks like you're running off the top of the p2m ; your domain has 800Mb 
'maxmem' and hence should have a p2m covering 800 + 8 (slack) = 808Mb. 
However entry 206868 is for the physical page just beyond that. 

Can you check the value you're getting for p2m_size in xc_domain_save.c, 
e.g. apply the following? 

diff -r d79436447a05 tools/libxc/xc_domain_save.c
--- a/tools/libxc/xc_domain_save.c      Fri Apr 27 16:17:54 2007 +0100
+++ b/tools/libxc/xc_domain_save.c      Tue May 01 13:46:26 2007 +0100
@@ -871,6 +871,7 @@ int xc_domain_save(int xc_handle, int io
 
     /* Get the size of the P2M table */
     p2m_size = xc_memory_op(xc_handle, XENMEM_maximum_gpfn, &dom) + 1;
+    DPRINTF("DBG - got size of p2m table as %ld\n", p2m_size);
 
     /* Domain is still running at this point */
     if ( live )



cheers,

S.


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