public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@davemloft.net>
To: "David S. Miller" <davem@davemloft.net>
Cc: tony.luck@intel.com, linux-kernel@vger.kernel.org,
	linux-ia64@vger.kernel.org, hugh@veritas.com
Subject: Re: bad pgd/pmd in latest BK on ia64
Date: Mon, 14 Mar 2005 23:11:42 +0000	[thread overview]
Message-ID: <20050314151142.716903cb.davem@davemloft.net> (raw)
In-Reply-To: <20050314143442.2ab086c9.davem@davemloft.net>

On Mon, 14 Mar 2005 14:34:42 -0800
"David S. Miller" <davem@davemloft.net> wrote:

> On Mon, 14 Mar 2005 14:06:09 -0800
> "Luck, Tony" <tony.luck@intel.com> wrote:
> 
> > Trying to boot a build of the latest BK on ia64 I see
> > a series of messages like this:
> > 
> > mm/memory.c:99: bad pgd e0000001feba4000.
> > mm/memory.c:99: bad pgd e0000001febac000.
> > mm/memory.c:99: bad pgd e0000001febc0d10.
> 
> Things are similarly busted on sparc64 for me as well.
> Things instantly reboot right after the kernel tries
> to open an initial console.

As a followup, when I get an instant reboot like this
it usually means that some loop walking over memory
doesn't terminate properly.  Once the first access to
bogus I/O addresses (past the end of physical RAM)
happens, the machine soft reboots.

I therefore suspect the pgwalk patches.

One thing to note on sparc64 (I'm not sure on ia64) is
that the address passed into handle_mm_fault() can have
non-PAGE_MASK bits set in it (these are state bits from
the MMU miss handlers).

Does ia64 cause something similar to happen?

This never caused problems before, but it may be causing
troubles with the new pgwalk macros.  For example, the
new do { } while() loops test for exactness in the loop
termination test.  If there are low bits set in "addr",
we'll walk right past "end" in the loops and go on like
that forever.

I cannot, however, yet see a path where the handle_mm_fault()
address gets passed into the new pgwalk macro loops.  That
is what I'm searching for now :-)

  reply	other threads:[~2005-03-14 23:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-14 22:06 bad pgd/pmd in latest BK on ia64 Luck, Tony
2005-03-14 22:34 ` David S. Miller
2005-03-14 23:11   ` David S. Miller [this message]
2005-03-14 23:31     ` David S. Miller
2005-03-15  7:17       ` Benjamin Herrenschmidt
2005-03-15 13:24   ` Martin Hicks
2005-03-15 18:40     ` David S. Miller

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=20050314151142.716903cb.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=hugh@veritas.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox