linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@mvista.com>
To: Adam Wozniak <adam.wozniak@comdev.cc>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: mmu problems
Date: Fri, 13 Jul 2001 16:36:57 -0400	[thread overview]
Message-ID: <3B4F5BE9.6258498B@mvista.com> (raw)
In-Reply-To: 3B4F412F.99A14D9E@comdev.cc


Adam Wozniak wrote:

> I suspect there's something about the MMU that's not being configured
> properly, but I don't really know where to start.

Everyone assumes there are bugs in things they don't understand.
While there is always the possibility of something wrong, there are
lots of 8260s running Linux without trouble.  The same MMU code is
used on all 6xx platforms, which includes lots of Macs that have
been running for years.

I suspect you have a memory controller or other hardware design
problem with your board.  I have worked with many hardware engineers
debugging memory interface problems once Linux is running.  There
just aren't any diagnostics that exercise a system like Linux does.
The combination of cache, burst cycles, dma, and other simultaneous
resource uses always show design/implementation bugs you have never
seen before.  You are describing the classic symtoms some of us have
seen many times before.

Adam Wozniak wrote:

> NIP: C0005F80 XER: 00000000 LR: C000CF9C SP: C3417D30 REGS: c3417c80
> TRAP: 0700 MSR: 00089032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11

You forgot the most important function from System.map, the one
at NIP.  Also, that MSR is bogus.  Somewhere, something was fetched
from memory that had bit 12 set.  We never do this in software, and
the hardware should always have it cleared.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-07-13 20:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-13 18:42 mmu problems Adam Wozniak
2001-07-13 20:36 ` Dan Malek [this message]
2001-07-16 15:58   ` Adam Wozniak
2001-07-16 16:56     ` Adam Wozniak
2001-07-16 18:10       ` Cal Erickson
2001-07-17 23:29         ` Adam Wozniak
2001-07-27  6:53 ` Peter Ryser

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=3B4F5BE9.6258498B@mvista.com \
    --to=dan@mvista.com \
    --cc=adam.wozniak@comdev.cc \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).