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/
Home Products Support Community News


Re: [Xen-devel] XENFEAT_writable_pagetables vs VMASST_TYPE_writable_page

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

Xen-devel mailing list