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] likely cause for xm restore failure?

To: "Kip Macy" <kip.macy@xxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] likely cause for xm restore failure?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Fri, 27 May 2005 14:28:38 +0100
Delivery-date: Fri, 27 May 2005 13:27:56 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Thread-index: AcViCOpEzT1sFUBZQTSnKzN5q75yHwAtiMqQ
Thread-topic: [Xen-devel] likely cause for xm restore failure?
 
> I'm seeing the following when trying to restore a variant of 
> linux on xen, is this most likely to be caused by a bug in 
> P2M handling in the guest that is being saved?

The restore code probably doesn't handle linear pt's as used by FreeBSD
correctly. This is actually a bit icky, as we need to make sure that the
subject L2's is pinned before the linear mapping is created, otherwise
the pin will fail. Given that we process the pages as soon as they
arrive, this is hard to ensure. The easiest soloution would be to just
defer the pagetable procesing for guests that use linear mapping, or
have code to clean up if a type chck fails.

Ian   
 
>       -Kip
> 
> 
> (XEN) DOM0: (file=memory.c, line=917) Bad type (saw 20000000 != exp
> e0000000) for pfn 00001ab9
> (XEN)
> (XEN) DOM0: (file=memory.c, line=952) Error while validating 
> pfn 000011b0 for type 27de0000. caf=80000003 taf=27de0001
> (XEN)
> (XEN) DOM0: (file=memory.c, line=387) Attempt to create linear p.t.
> with write perms
> (XEN) DOM0: (file=memory.c, line=952) Error while validating 
> pfn 0007ffbd for type 40000000. caf=80000002 taf=40000001
> (XEN)
> (XEN) DOM0: (file=memory.c, line=356) Bad page type for pfn 
> 0007ffbd (00000000)
> (XEN) DOM0: (file=memory.c, line=995) Error while pinning pfn 0007ffbd
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 

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

<Prev in Thread] Current Thread [Next in Thread>