linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Sébastien Côté <scote1@matrox.com>
To: Jim Potter <jrp@wvi.com>, linuxppc-embedded@lists.linuxppc.org
Subject: Re: mm in user space
Date: Fri, 02 Feb 2001 14:39:39 -0500	[thread overview]
Message-ID: <3A7B0CFB.6BAB81F3@matrox.com> (raw)
In-Reply-To: 3A79EBF9.6534E50D@wvi.com


Jim Potter wrote:
>
> > I got exactly the same problem, did you manage to fix it?
> Yes, I did (blushing).
> While doing the early boot-tasks I had installed a custom DSI trap
> handler, to alert me to all the stupid mistakes that sometimes get made
> when bringing up Linux on a new hardware platform.  When I got to the
> "user space" task of create_elf_tables(), it's *supposed* to take the
> regular DSI trap to fixup the TLB, pagetables, etc...
>
> After restoring the default DSI trap handler in head.S, it worked fine.
>
> What kind of problem are you having with your system?

I lose the system in create_elf_tables, when NEW_AUX_ENT is first called
but I don't really know what happens then because the debugger screws
up.

Today, I noticed that the values of PAGE_OFFSET (from which KERNELBASE
is set) and KERNELLOAD had been changed to 0x0 on the system..  This
seemed very bad to me so I set them back to 0xc0000000 but then the
debugger doesn't want to load the kernel image in memory (it tries to
load it at 0xc0000000 which isn't possible).. Then I just changed
KERNELLOAD back to 0x0 and kept KERNELBASE to 0xc0000000.

Now the system locks up at the very beginning (prom_init) but since
KERNELLOAD and KERNELBASE are different, I wasn't hoping for much (not
really beacuse they differ, but because the linker used 0x0).

Do you think it would be possible to get everything to work with
KERNELBASE and KERNELLOAD = 0x0 ?

Sébastien Côté

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

       reply	other threads:[~2001-02-02 19:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3A79EBF9.6534E50D@wvi.com>
2001-02-02 19:39 ` Sébastien Côté [this message]
2001-02-01 22:20 mm in user space Sébastien Côté
  -- strict thread matches above, loose matches on Subject: below --
2001-01-23  2:05 Jim Potter
2001-01-24 19:19 ` Jim Potter

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=3A7B0CFB.6BAB81F3@matrox.com \
    --to=scote1@matrox.com \
    --cc=jrp@wvi.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).