All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trammell Hudson <hudson@osresearch.net>
To: xen-devel@lists.xensource.com
Subject: Re: Page fault on mapped pages with reserved bits set
Date: Wed, 20 Jun 2007 18:23:00 -0400	[thread overview]
Message-ID: <20070620222300.GG13971@osresearch.net> (raw)
In-Reply-To: <C29F6456.97D2%Keir.Fraser@cl.cam.ac.uk>

On Wed, Jun 20, 2007 at 11:10:14PM +0100, Keir Fraser wrote:
> It's a protection violation on a write, because none of your page directory
> entries have bit 1 (_PAGE_RW) set. That bit gets ANDed down the entire page
> walk, so it needs to be set at every level for the page to actually be
> writable.

Super!  That was it.

The kernel was originally written for a CPU and system that allowed
the ring 0 code to write to memory, even if it was flagged as
non-writable.  Moving it into ring 3 has been problematic in other
areas, too, so it isn't booting all the way yet, but is making much
quicker progress now!

-- Trammell

      reply	other threads:[~2007-06-20 22:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-20 21:59 Page fault on mapped pages with reserved bits set Trammell Hudson
2007-06-20 22:10 ` Keir Fraser
2007-06-20 22:23   ` Trammell Hudson [this message]

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=20070620222300.GG13971@osresearch.net \
    --to=hudson@osresearch.net \
    --cc=xen-devel@lists.xensource.com \
    /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.