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] Grant Tables & mm.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Grant Tables & mm.c
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 4 Jul 2007 15:13:08 +0100
Cc: Koripella Srinivas <talkwithsrinivas@xxxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Delivery-date: Wed, 04 Jul 2007 07:11:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <843247.49816.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <843247.49816.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
> I am using grant tables to set up a shared memory between two guests.
> One problem i am facing is that as soon as the shared memory is set up one
> of the domain crashes with the log message "Attempt to implicitly unmap a
> granted PTE".
> the message is from function "put_page_from_l1e" in mm.c(arch/x86).
>
> what could be the reason? Any pointers would be of great help

This means that something is attempting to zero the PTE pointing to the 
granted page without doing an explicit grant unmap hypercall; this is not 
allowed by Xen.

Do you have any idea what might be causing this?  Are you mapping pages to 
userspace?  Linux tends to zap userspace page mappings quite cheerfully 
unless you do something to stop it, could this be your problem?

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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