Skip to contentSkip to conversation

r3000 instruction set

DISCUSSION Mark and Janice Juszczec 2 participants 2 messages Feb 23, 2004 MIPS

lore
Share & tools
lore
#0 lore raw

Kevin

Its been a few weeks since I built this version of kaffe. The configure output says I did specify --with-engine=intrp. I'll delete the compiled stuff, reconfigure (double checking that I give it --with-engine=intrp), recompile and retest.

I'll post my results.

Mark

Quoted 25 lines

From: "Kevin D. Kissell" <[email protected]>
To: "Mark and Janice Juszczec" <[email protected]>, <[email protected]>
CC: <[email protected]>, <[email protected]>, <[email protected]>
Subject: Re: r3000 instruction set
Date: Mon, 23 Feb 2004 18:21:19 +0100

Quoted 8 lines

Someone suggested posting the message I get. Here it is:

Quoted 1 line

./kaffe-bin FirstClass

[kaffe-bin:6] Illgal instruction 674696a at 2abb034, ra=2adbffd0, P0_STATUS=0000500
pid 6: killed (signal 4)

Quoted 1 line

Reading command line: Try again

Kernel panic: Attmpted to kill int!

Let me guess. You are running little-endian. The instruction word in memory would be 0x6a697406. Do you think it's a coincidence that 0x6a6974 spells "jit" in ASCII? ;o)

The reported address range looks like that where kaffe builds its JITted instruciton buffers in MIPS/Linux. And, like I say, JIT is somewhat broken for MIPS in Kaffe. Which version of the kaffe sources are you building, and have you tried configuring with --with-engine=intrp as I suggested?

Quoted 3 lines

Regards,

Kevin K.

_________________________________________________________________
Click, drag and drop. My MSN is the simple way to design your homepage. http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/

#1 lore raw

Kaffe's makefiles won't pick up on configuration changes, so any time you re-configure for a different engine or debug level, you need to do a make clean. At least, that's the way it was the last time I worked on it. If you had a partial build with JIT, then changed to intrp, then you could get all kinds of strange behavior. The address range of your error us a dead giveaway. It's too high to be the kaffe code segment, but too low to be a shared library. It's where I'd expect the heap to be, and where I remember the JIT buffers being allocated when I was trying to debug that stuff.

Quoted 46 lines

Its been a few weeks since I built this version of kaffe. The configure output says I did specify --with-engine=intrp. I'll delete the compiled stuff, reconfigure (double checking that I give it --with-engine=intrp), recompile and retest.

I'll post my results.

Mark

Quoted 26 lines

From: "Kevin D. Kissell" <[email protected]>
To: "Mark and Janice Juszczec" <[email protected]>, <[email protected]>
CC: <[email protected]>, <[email protected]>, <[email protected]>
Subject: Re: r3000 instruction set
Date: Mon, 23 Feb 2004 18:21:19 +0100

Quoted 8 lines

Someone suggested posting the message I get. Here it is:

Quoted 1 line

./kaffe-bin FirstClass

[kaffe-bin:6] Illgal instruction 674696a at 2abb034, ra=2adbffd0, P0_STATUS=0000500
pid 6: killed (signal 4)

Quoted 1 line

Reading command line: Try again

Kernel panic: Attmpted to kill int!

Let me guess. You are running little-endian. The instruction word in memory would be 0x6a697406. Do you think it's a coincidence that 0x6a6974 spells "jit" in ASCII? ;o)

The reported address range looks like that where kaffe builds its JITted instruciton buffers in MIPS/Linux. And, like I say, JIT is somewhat broken for MIPS in Kaffe. Which version of the kaffe sources are you building, and have you tried configuring with --with-engine=intrp as I suggested?

Quoted 3 lines

Regards,

Kevin K.

_________________________________________________________________
Click, drag and drop. My MSN is the simple way to design your homepage.
http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/