linux-mips
[Top] [All Lists]

Re: Do_ade

To: hermit <hermitcranecn@yahoo.com.cn>
Subject: Re: Do_ade
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 23 Dec 2009 12:40:29 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <26897656.post@talk.nabble.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <26871250.post@talk.nabble.com> <20091223004130.GA31076@dvomlehn-lnx2.corp.sa.net> <26897656.post@talk.nabble.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-08-17)
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

<Prev in Thread] Current Thread [Next in Thread>