1 Jul 2009 00:22
Re: Crosscompiling NetBSD for Fonera not working with HEAD?
Fredrik Pettai <pettai <at> nordu.net>
2009-06-30 22:22:22 GMT
2009-06-30 22:22:22 GMT
On Jun 30, 2009, at 10:53 PM, Arnaud Lacombe wrote: > On Tue, Jun 30, 2009 at 4:40 PM, Fredrik Pettai<pettai <at> nordu.net> > wrote: >> db> trace >> PC 0x1bb958f6: not in kernel space >> 0+1bb958f6 (a87f0000,b0000000,c003020,4) ra 0 sz 0 >> User-level: pid 0.1 >> > could you dumps register contents ? with a bit of luck, we will be > able to get the stack pointer and examine further. Is this what you asked for? db> show registers at 0xffffffe0 v0 0 v1 0x2000 a0 0xa87f0000 a1 0xb0000000 a2 0xc003020 a3 0x4 t0 0 t1 0x2 t2 0x14 t3 0xffffffff t4 0 t5 0 t6 0xffffffff t7 0xffffffff s0 0x6004(Continue reading)
Since the broken address is also in t9, it looks like it's gotten a
bogus function pointer from the GOT. Which is probably because the
kernel doesn't have one. Kernel bits are supposed to be compiled with
-mno-abicalls, which is normally handled by Makefile.MIPS.
Is there something involved that's compiled with custom CFLAGS?
(Finding out where ra is pointing like I suggested in the PR will
probably identify it.)
RSS Feed