Skip to contentSkip to conversation

R5000 Linux

DISCUSSION Clarence Donath 3 participants 4 messages Apr 17, 2003 MIPS

lore
Share & tools
lore
#0 lore raw

Hello,

Is there a Linux kernel for the R5000 IP32? I would like to get involved.

I've successfully configured this SGI O2 to boot the available R4000 IP22 kernel so I'm ready to go with IP32 if someone would be so kind as to point me to an existing kernel.

Thank you,
Clarence Donath

#1 lore raw
Quoted 1 line · Clarence Donath

Is there a Linux kernel for the R5000 IP32? I would like to get involved.

I can send you a binary image if that's what you're looking for (although I'm definitely not the right person to offer this since I have almost 0 knowledge about the O2). I'd recommend to start from the sources which are available through linux-mips.org's cvs repository. See:
http://www.linux-mips.org/kernel.html
and the patches for the O2 for 2.5 are here:
http://www.linux-mips.org/~glaurung/
You'll also find a cross toolchain there. The major show stopper for me is currently the "do_cpu invoked from kernel context!" problem which I didn't find any time to look into yet. I wonder wether I'm the only person seeing this?

Quoted 4 lines

I've successfully configured this SGI O2 to boot the available R4000 IP22 kernel so I'm ready to go with IP32 if someone would be so kind as to point me to an existing kernel.

Check out the excellent Linux O2 howto (but if you've done that for IP22 alreay this will be easy):
http://www.total-knowledge.com/progs/mips/o2-howto.shtml
Regards,
-- Guido

#2 lore raw
Quoted 4 lines · Guido Guenther

You'll also find a cross toolchain there. The major show stopper for me is currently the "do_cpu invoked from kernel context!" problem which I didn't find any time to look into yet. I wonder wether I'm the only person seeing this?

I was able to reproduce it with following simple sequence of events:
#(while true; do true; done)>/dev/zero
As soon as I interrupt this, do_cpu oops happened. Problem occurs somewhere in signeal handlin code. I didn't investoigate further yet, as for what I am doing at the moment it is not a problem.

What is a problem, is memory leak in 2.5.47. Every time *any* process is forked, system permenently looses few K of memory. Modifying above loop to run cat</proc/meminfo will bring down system to its knees in about 5-10 minutes.

#3 lore raw
In reply to Clarence Donath

O2-HOWTO: http://www.total-knowledge.com/progs/mips/o2-howto.shtml
more on the subject + kernel binaries + patches at
http://www.linux-mips.org/~glaurung/

Quoted 11 lines · Clarence Donath

Hello,

Is there a Linux kernel for the R5000 IP32? I would like to get involved.

I've successfully configured this SGI O2 to boot the available R4000 IP22 kernel so I'm ready to go with IP32 if someone would be so kind as to point me to an existing kernel.

Thank you,
Clarence Donath