All of lore.kernel.org
 help / color / mirror / Atom feed
* likely cause for xm restore failure?
@ 2005-05-26 15:37 Kip Macy
  0 siblings, 0 replies; 2+ messages in thread
From: Kip Macy @ 2005-05-26 15:37 UTC (permalink / raw)
  To: xen-devel

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?

      -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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: likely cause for xm restore failure?
@ 2005-05-27 13:28 Ian Pratt
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Pratt @ 2005-05-27 13:28 UTC (permalink / raw)
  To: Kip Macy, xen-devel

 
> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-27 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-26 15:37 likely cause for xm restore failure? Kip Macy
  -- strict thread matches above, loose matches on Subject: below --
2005-05-27 13:28 Ian Pratt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.