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

Re: [Xen-devel] 3.0.5 rc3 paravirt save failures ?

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



Xen-devel mailing list



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