From: Mark Williamson Subject: Re: Grant Tables & mm.c Date: Wed, 4 Jul 2007 15:13:08 +0100 Message-ID: <200707041513.08346.mark.williamson@cl.cam.ac.uk> References: <843247.49816.qm@web94111.mail.in2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <843247.49816.qm@web94111.mail.in2.yahoo.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Koripella Srinivas , Keir Fraser List-Id: xen-devel@lists.xenproject.org > 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!