linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "dong in kang" <dkang@east.isi.edu>
To: <linuxppc-embedded@lists.linuxppc.org>
Subject: load_elf_bin problem
Date: Thu, 7 Aug 2003 09:22:23 -0400	[thread overview]
Message-ID: <000101c35ce6$f060b910$45a97241@Minjoo> (raw)
In-Reply-To: <OOEJKGLHOBHLNAIEBLEFAEMGKJAA.zjhzou@newrocktech.com>


 Hello,

 The linux kernel boot up well till the last stage to call /bin/sh.
It crashes inside of load_elf_bin.
More specifically

   load_elf_bin()  --> setup_arg_pages() --> put_dirty_page();

Inisde of put_dirty_page() routing, it crashes at
   if (!pte_none(pte)) {

The program accesses pte->pte, but the address of pte->pte is not translated
to physical address properly.
So machine exception occurs, and the kernel crashes.

 Is it paging problem?
I turned L1 and L2 cache off because those have defects.
Does it cause any problem to paging mechanism?

 I'll appreciate your help.

 Dong-In


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

  reply	other threads:[~2003-08-07 13:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-05 18:37 debugging IBM405GP with abatron bdi 2000 Steven Blakeslee
2003-08-05 19:12 ` Wolfgang Denk
2003-08-06 14:52   ` MPC8250 MCC driver Adam Kaczynski
2002-02-07  3:21     ` kernel memory mapping problem ZhongJun Zhou
2002-02-07  4:24       ` John Zhou
2003-08-07 13:22         ` dong in kang [this message]
2003-08-07 15:01       ` Peter Barada
2003-08-07 15:49         ` ZhongJun Zhou
2003-08-07 21:32           ` Wolfgang Denk
2002-02-13  6:32             ` This question may be simple for you, but it doesn't let me sleeping John Zhou
2003-08-28  9:53               ` how to use busybox to make a ramdisk? John Zhou
2003-08-29 16:42                 ` Brian Padalino
2003-08-29 14:50                   ` Dan Kegel
2003-08-29 14:52                     ` Wolfgang Denk
2003-08-08 14:09             ` Does Linux kernel use paging or BAT registers before running the first user-level program "/bin/sh"? dong in kang

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='000101c35ce6$f060b910$45a97241@Minjoo' \
    --to=dkang@east.isi.edu \
    --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).