From: Steven Hand Subject: Re: 3.0.5 rc3 paravirt save failures ? Date: Tue, 01 May 2007 13:47:39 +0100 Message-ID: References: Return-path: In-Reply-To: Message from "Daniel P. Berrange" of "Tue, 01 May 2007 12:55:02 BST." <20070501115502.GA27924@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" Cc: xen-devel@lists.xensource.com, Steven.Hand@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org >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.