From: Christian Limpach <chris@pin.lu>
To: Kip Macy <kmacy@fsmware.com>, Ian Pratt <Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: problems with recursively mapping page directory as a page table
Date: Mon, 23 Feb 2004 14:15:47 +0100 [thread overview]
Message-ID: <141801c3fa0f$27bdf600$070414ac@pin> (raw)
In-Reply-To: 20040222153215.G84871@demos.bsdclusters.com
> The following code:
> /* install a pde recursively mapping page directory as a page table */
> FILLKPT(IdlePTD, PTDPTDI, 1, IdlePTD, L2_PROT_RO);
>
> Which basically sets IdlePTD[PTDPTDI] = IdlePTD | LT_PROT_RO appears to
> be causing the error below. Any thoughts?
>
> (file=/u/kmacy/xen/xeno-unstable.bk.home/xen/include/xeno/mm.h,line=243)
Unexpected type (saw 40000000 != exp 20000000) for pfDOM0:
> (file=memory.c, line=339) Bad page type for pfn 0001228d (40000001)
I think it's not an error: get_page_from_l2e first tries to validate the PD
entry as a regular PD entry (i.e. the page it points to should be an L1
pagetable page, PGT_l1_page_table type) and if this fails, it tries to
validate it as a linear pagetable mapping (the page it points to should be
an L2 pagetable page, PGT_l2_page_table type). You could add a test around
the warnings to check for this condition and then not output the warnings.
christian
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
next prev parent reply other threads:[~2004-02-23 13:15 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-22 20:46 dumping a domain's core Kip Macy
2004-02-22 21:02 ` Ian Pratt
2004-02-22 21:17 ` Kip Macy
2004-02-22 21:38 ` Ian Pratt
2004-02-22 22:02 ` DEBUG output starving network requests Kip Macy
2004-02-22 22:23 ` Keir Fraser
2004-02-22 23:35 ` problems with recursively mapping page directory as a page table Kip Macy
2004-02-23 13:15 ` Christian Limpach [this message]
2004-02-23 21:02 ` refcount errors then crash on XenoLinux with the latest source Kip Macy
2004-02-23 21:36 ` Kip Macy
2004-02-23 23:35 ` Keir Fraser
2004-02-24 1:11 ` Kip Macy
2004-02-24 3:44 ` Kip Macy
2004-02-24 8:15 ` Ian Pratt
2004-02-24 8:35 ` Keir Fraser
2004-02-24 17:21 ` Kip Macy
2004-02-24 17:45 ` Ian Pratt
2004-02-24 8:40 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='141801c3fa0f$27bdf600$070414ac@pin' \
--to=chris@pin.lu \
--cc=Ian.Pratt@cl.cam.ac.uk \
--cc=kmacy@fsmware.com \
--cc=xen-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.