linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: shuaiye1999@sohu.com
To: "hi" <linuxppc-embedded@lists.linuxppc.org>
Subject: memory problem when using linuxppc-2.4.4 in mpc8260 board
Date: Wed, 16 Jul 2003 17:16:45 +0800 (CST)	[thread overview]
Message-ID: <1222072.1058347005274.JavaMail.postfix@mx49.mail.sohu.com> (raw)


hi,all:

     I have a bad headache of the memory problem of mpc8260 board using
linuxppc-2.4.4, the ELDK version.we got 32M ram,after booting,it seems
have 21000 K free,but when we use the system,it seems have little
memory.I did a simple test about this,and use bdi2000+gdb get some
data.and feel lost about the infomation.Can anybody give some infomation
about it? thx a lot.

==>the simple program is used to test:

sleep1.c:

main()
{
        while(1)
                sleep(1);
}

==>call it 12 times:

bash-2.05#./sleep1 &
[12] 229

==>just now ,it jump into the break point:

Breakpoint 4, bad_page_fault (regs=0xc1cd3ab0, address=2104558664, sig=2104558456) at fault.c:224
224             if ((fixup = search_exception_table(regs->nip)) != 0) {

(gdb) bt
#0  bad_page_fault (regs=0xc1cd3ab0, address=2104558664, sig=2104558456) at fault.c:224
#1  0xc000c964 in do_page_fault (regs=0xc1cd3ab0, address=2104558664, error_code=536870912) at fault.c:185
#2  0xc0003de4 in ret_from_except () at init/main.c:858
#3  0xc00fbec4 in udp_data_ready (sk=0xc0254680, len=2104558664) at xprt.c:654
#4  0xc00e9624 in udp_queue_rcv_skb (sk=0xc0254680, skb=0xc025d620)
    at /home/xdhe/begin/linux-2.4/include/net/sock.h:1191
#5  0xc00e9aa8 in udp_rcv (skb=0xc025d620) at udp.c:908
#6  0xc00ca1c0 in ip_local_deliver (skb=0xc025d620) at ip_input.c:265
#7  0xc00ca618 in ip_rcv (skb=0xc025d620, dev=0x7d710448, pt=0xb) at ip_input.c:372
#8  0xc00c037c in net_rx_action (h=0xc1cd3ab0) at dev.c:1485
#9  0xc0016880 in do_softirq () at softirq.c:78
#10 0xc0003e0c in do_bottom_half_ret () at init/main.c:858
#11 0xc002180c in do_wp_page (mm=0xc0004de8, vma=0xc19a5f20, address=269104860, page_table=0xc1b7a28c, pte=
      {pte = 25297283}) at memory.c:953
#12 0xc002226c in handle_mm_fault (mm=0xc02e8220, vma=0xc19a5f20, address=269104860, write_access=33554432)
    at memory.c:1312
#13 0xc000c860 in do_page_fault (regs=0xc1cd3e90, address=269104860, error_code=167772160) at fault.c:149
#14 0xc0003de4 in ret_from_except () at init/main.c:858
#15 0x10019804 in ?? ()

best regards.

shuaiye

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

             reply	other threads:[~2003-07-16  9:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16  9:16 shuaiye1999 [this message]
2003-07-16 15:10 ` memory problem when using linuxppc-2.4.4 in mpc8260 board Wolfgang Denk

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=1222072.1058347005274.JavaMail.postfix@mx49.mail.sohu.com \
    --to=shuaiye1999@sohu.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).