From: Borlizzi Giacomo <giacomo.borlizzi@tei.ericsson.se>
To: Dan Malek <dan@mvista.com>
Cc: "linuxppc-embedded@lists.linuxppc.org"
<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: get_pgd_slow() function
Date: Thu, 08 Feb 2001 17:08:07 +0100 [thread overview]
Message-ID: <3A82C466.5DB031B6@tei.ericsson.se> (raw)
In-Reply-To: 3A81B333.D638A423@mvista.com
I'm using an 860 processor running at 80MHz.
The problem that I have is that the shell don't start.
During the debugging phase made on the 2.2.13
the code executed the function exec_mmap(). Inside on it was
executed the macro SET_PAGE_DIR and after this execution the code
was crashed.
Investigating on that I discovered that code was crash immediately when
the
MTWB register was changed.
.....
That because MMU interrupt routine was accessing to some bad memory area.
Investigating on reasons for that I have made the Hypothesis that MMU
table was not well initialized, from this I made some changes on the
get_pgd_slow function.
Some day ago during the porting on linux-2.4.1 the same problem happens
so now it is time to resolve and understand why it happen
I like your hypothesis on cache, I have the cache configured with
COPYBACK
disabled so:
# CONFIG_8xx_COPYBACK is not set
and I'll try to change it....
But many doubt remaining....
Ciao,
/Giacomo
Dan Malek wrote:
> Borlizzi Giacomo wrote:
>
> > but I've modified with:
>
> What made you think you need to do this?
> Something isn't right. The 'memcpy' you added just copies zero values
> from the init pgd into the new pgd, which the 'memset' already did
> for you. Either the 'memset' you are using isn't correct, or the
> act of copying that much data flushed cache lines. What kind of
> processor do you have?
>
> -- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2001-02-08 16:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-07 9:55 get_pgd_slow() function Borlizzi Giacomo
2001-02-07 20:42 ` Dan Malek
2001-02-08 16:08 ` Borlizzi Giacomo [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=3A82C466.5DB031B6@tei.ericsson.se \
--to=giacomo.borlizzi@tei.ericsson.se \
--cc=dan@mvista.com \
--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).