From: Keir Fraser Subject: Re: XENFEAT_writable_pagetables vs VMASST_TYPE_writable_pagetables Date: Wed, 31 May 2006 16:39:46 +0100 Message-ID: <2fa2245a8dcd271bedf578ff29b5681d@cl.cam.ac.uk> References: <8e5c0a72f56dc3168831c47cbbf0a216@cl.cam.ac.uk> <0575028a60acc51ed3711e1be664f62b@cl.cam.ac.uk> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jacob Gorm Hansen Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 31 May 2006, at 16:24, Jacob Gorm Hansen wrote: > (XEN) DOM66: (file=mm.c, line=1522) Bad type (saw f0000001 != exp > 20200000) for mfn e41 (pfn 75a) > (XEN) DOM66: (file=mm.c, line=428) Attempt to create linear p.t. with > write perms > (XEN) DOM66: (file=mm.c, line=868) Failure in alloc_l2_table: entry 32 > (XEN) DOM66: (file=mm.c, line=1567) Error while validating mfn e40 > (pfn 75b) for type 40000000: caf=80000003 taf=40000001 This doesn't look like the result of a pmd_clear() call. Looks like a L2 (pgd) is being allocated -- perhaps due to pinning or changing %cr3. It's failing because one of the L1 pages it references is writable by the guest (ie. the guest has a writable mapping of that L1 page somewhere). -- Keir