[kaffe] runtime error

Dalibor Topic robilad at kaffe.org
Sun Oct 31 09:15:10 PST 2004


程明 wrote:
> Hi,everyone.

Hi Cheng,

> I am trying to porting Kaffe's intrp engine to my CPU,which is called
> THUMP 107. The compile process seems ok. When I run it, the ported Linux
> shows the following message:

Cool! THUMP 107 seems to be a MIPS instruction set CPU, and as kaffe was
ported to MIPS, you should be able to get the interpreter working, at least.

> Unable to handle kernel paging request at virtual address 00000010, epc
> == 80108
> 044, ra == 80107b00
> Oops in fault.c:do_page_fault, line 205:
> $0 : 00000000 00000000 8129ff44 00000006 ac450000 0000000d 2ab348f4 00000001
> $8 : 1000fc01 1000001e 00000000 20656874 00000000 00000000 00000000 077905a6
> $16: 8129ff30 8129ff30 7fff7988 0000000f 100b9720 7fff79e0 00000000 00000000
> $24: 00000001 2ab82308 8129e000 8129fef8 7fff78d8 80107b00
> Hi : 00000000
> Lo : 00000010
> epc : 80108044 Not tainted
> Status: 1000fc03
> Cause : 0080000c
> Process kaffe-bin (pid: 395, stackpage=8129e000)
> Stack: 00000000 00000000 00000000 00000000 8129ff30 00000001 80107b00
> 2ad2ced4
> 2ad30490 00000001 2ad30490 2ad2ced4 7fff7988 801037d8 00000000 00000084
> 100ad000 100b00e4 ffffffff 00000000 00000000 2abe9938 0000000f 00000000
> 100e96cb 00000006 00000000 00000001 0000000c 00060250 00000000 20656874
> 00000000 00000000 00000000 077905a6 7fff7988 00000001 7fff7988 0000000f
> 100b9720 ...
> Call Trace: [<80107b00>] [<801037d8>]
> 
> Code: 00000000 00010a02 00000000 <a0a10003> 20a50001 00010a02 00000000 a0a1
> 0003 20a50001
> Segmentation fault
> # error 1
> 70xb4010000=fb6f0000
> 
> Please press Enter to activate this console.

That's a Linux kernel error message, it's not from Kaffe.


> My CPU can only use 32M RAM(the kernel leaves about 26M to application)
> and can't use Virtual Memory. Is it means that the kernel doesn't have
> enough memory to give Kaffe? How can I fix it?
> Thank you.

Kaffe should run fine for simple tests in 6M, probably less, depending
on the task at hand, of course.So 26M should be more than enough. I
think you'll have to get in touch with the kernel developers for your
board to decode the kernel error message.

Your patches and improvements to Kaffe are most welcome ;)

cheers,
dalibor topic




More information about the kaffe mailing list