All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: hermit <hermitcranecn@yahoo.com.cn>
Cc: linux-mips@linux-mips.org
Subject: Re: Do_ade
Date: Wed, 23 Dec 2009 12:40:29 +0000	[thread overview]
Message-ID: <20091223124029.GA11295@linux-mips.org> (raw)
In-Reply-To: <26897656.post@talk.nabble.com>

On Wed, Dec 23, 2009 at 02:42:48AM -0800, hermit wrote:

>        My GCC version is 4.2.3. it seems that it is not too old. I believe
> there is bad pointer arithmetic. 
>        Here is the do_ade print:
>        do_ade, 542 address error exception occurs! MediaPlayerServ(pid:839)
>         (a0 == 7edff5b6 a1 == 302daaca a2 == 00000002 a3 == 302daaca)
>         (gp == 302e2730 sp == 7edff578 t9 == 2afb4640)
>         (epc == 302c3250, ra == 302c3388)
>         Suppose we can find which function cause "bad pointer arithmetic". 
>         I am new to MIPS, anybody can tell me how i can find the function?
>         Thanks!

This is not the normal kernel printout.  It would seem that somebody who
didn't know about the existence of the logging code added this code.  The
number 542 presumably is a line number and do_ade is in
arch/mips/kernel/unaligned.c.  So look around line 542 in that file.

  Ralf

  reply	other threads:[~2009-12-23 12:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21  8:47 Do_ade hermit
2009-12-23  0:41 ` Do_ade David VomLehn
2009-12-23 10:42   ` Do_ade hermit
2009-12-23 12:40     ` Ralf Baechle [this message]
2009-12-23 18:15       ` Do_ade David VomLehn

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=20091223124029.GA11295@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=hermitcranecn@yahoo.com.cn \
    --cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.