Gregor Waltz wrote:
> Atsushi Nemoto wrote:
>> 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.
>>
>
>
> The current error is:
> Exception! EPC=80026290 CAUSE=00000020(Sys)
> 80026290 0000000c syscall
>
> 80026290 is not in System.map, however, the objdump is much more
> informative and does contain that value. That particular syscall is in:
>
> 8002628c <kernel_execve>:
> 8002628c: 24020fab li v0,4011
> 80026290: 0000000c syscall
> 80026294: 00401821 move v1,v0
> 80026298: 14e00003 bnez a3,800262a8 <kernel_execve+0x1c>
> 8002629c: 00000000 nop
> 800262a0: 03e00008 jr ra
> 800262a4: 00601021 move v0,v1
> 800262a8: 03e00008 jr ra
> 800262ac: 00031023 negu v0,v1
>
> Does that provide any clues?
The kernel failed to set up the general exception handler correctly.
It should have done that before attempting to start the first kernel
thread.
Thiemo
|