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
|