On Fri, 11 Jan 2008 12:49:49 -0500, Gregor Waltz <gregor.waltz@raritan.com>
wrote:
> I built linux-2.6.23.9 with the above, but the results are still the
> same and the EPC is not in System.map.
Are you searching the exact EPC value in System.map?
Usually you should find a function symbol which contains the EPC value in it.
Or you can do "mipsel-linux-objdump -d vmlinux" and search the EPC value.
> Exception! EPC=8005625c CAUSE=30000008(TLBL)
> 8005625c 8e020098 lw v0,152(s0) # 0x98
>
> I presume that 8e020098 is the full instruction, so I have tried
> searching for it in vmlinux.bin. The first occurrence is around 0x869b,
> which is more than 32k into the file. There is also nearly 1k worth of
> zero padding at the start of vmlinux.bin.
The 1k zero padding is normal. Please refer arch/mips/kernel/head.S.
---
Atsushi Nemoto
|