* Linux on Indigo2 (IP28) - R10000
@ 2003-06-10 17:52 mleopold
2003-06-10 18:11 ` Thiemo Seufer
0 siblings, 1 reply; 11+ messages in thread
From: mleopold @ 2003-06-10 17:52 UTC (permalink / raw)
To: linux-mips
Hi All.
I just got my hands on an old SGI Indigo2 and I would like to install Linux
on it (preferably Debian). I've searched a few places and I get contradicting
signals on whether this might work or not. The machine is an Indigo2 (IP28)
175MHz R10000.
I've tried booting over the net using bootp and tftp following the instructionsin
the debian-howto.. The machine gets an IP and immediately writes "execute
format error" (using the r4k-ip22/tftpboot.img image). I'm guessing that
this is and 32/64 bit problem, but I really haven't got a clue. I found
an other image looking like it might be a 64 bit image (from Kumba, the
Gentoo guy), it downloads and then freezes the machine.
Can anybody give me some hints here: what I'm I suppose to do? Will this
ever work? I don't really care about installation method (network, cd, etc).
There was some talk in Febuary on a guy got Linux up and running on an Origin
200 - and some bootable cd's. That sounded prety interesting =]
Btw: I also got my hands on an Octane (IP30) with an R10000 (195 Mhz) -
I haven't tried to install on this one, but that might be interesting too..
--
Regards Martin Leopold.
Dept. of Computer Science, University of Copenhagen
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Linux on Indigo2 (IP28) - R10000
2003-06-10 17:52 Linux on Indigo2 (IP28) - R10000 mleopold
@ 2003-06-10 18:11 ` Thiemo Seufer
2003-06-10 18:38 ` mleopold
2003-06-10 18:56 ` ilya
0 siblings, 2 replies; 11+ messages in thread
From: Thiemo Seufer @ 2003-06-10 18:11 UTC (permalink / raw)
To: mleopold; +Cc: linux-mips
mleopold@tiscali.dk wrote:
> Hi All.
> I just got my hands on an old SGI Indigo2 and I would like to install Linux
> on it (preferably Debian). I've searched a few places and I get contradicting
> signals on whether this might work or not. The machine is an Indigo2 (IP28)
> 175MHz R10000.
I have such a machine, too. Short summary: It won't work yet.
> I've tried booting over the net using bootp and tftp following the instructionsin
> the debian-howto.. The machine gets an IP and immediately writes "execute
> format error" (using the r4k-ip22/tftpboot.img image). I'm guessing that
> this is and 32/64 bit problem, but I really haven't got a clue.
That's because the R10000 Firmware wnats only ELF64 objects.
> I found
> an other image looking like it might be a 64 bit image (from Kumba, the
> Gentoo guy), it downloads and then freezes the machine.
>
> Can anybody give me some hints here: what I'm I suppose to do? Will this
> ever work? I don't really care about installation method (network, cd, etc).
Some SGI uniprocessor R10000 machines are non-I/O-coherent, specifically
the IP28 ans the IP32. The R10000 has a bug/performance feature which
leads to erraneously marked dirty cachelines, which wreaks havoc on those
machines for DMA transfers.
The solution is to use a special kernel with compiled in cache barriers
(needs a not-yet written compiler patch) and careful managing of page
table accesses from userspace (needs rmap, and thus 2.5 Kernel).
I'm working slowly on it, but I get constantly distracted by toolchain
issues. :-)
> There was some talk in Febuary on a guy got Linux up and running on an Origin
> 200 - and some bootable cd's. That sounded prety interesting =]
The Origin is easier to support, it has coherent I/O.
> Btw: I also got my hands on an Octane (IP30) with an R10000 (195 Mhz) -
> I haven't tried to install on this one, but that might be interesting too..
This one is also I/O coherent, so chances are much better than for IP28.
Thiemo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Linux on Indigo2 (IP28) - R10000
2003-06-10 18:11 ` Thiemo Seufer
@ 2003-06-10 18:38 ` mleopold
2003-06-10 18:59 ` Thiemo Seufer
2003-06-10 19:37 ` Erik J. Green
2003-06-10 18:56 ` ilya
1 sibling, 2 replies; 11+ messages in thread
From: mleopold @ 2003-06-10 18:38 UTC (permalink / raw)
To: linux-mips; +Cc: Thiemo Seufer
Hi Thiemo.
> The solution is to use a special kernel with compiled in cache barriers
> (needs a not-yet written compiler patch) and careful managing of page
> table accesses from userspace (needs rmap, and thus 2.5 Kernel).
I noticed this guy talking about O2 and having some patches and precompiled
kernels. Are these in anyway related to what you are talking about?
http://www.linux-mips.org/~glaurung/
> I'm working sowly on it, but I get constantly distracted by toolchain
> issues. :-)
I looked arround your website and saw "mips64-linux-ip28-2002-06-28.tar.gz"
whoo.. Sounds exiting =]
> > There was some talk in Febuary on a guy got Linux up and running on
an
> > Origin 200 - and some bootable cd's. That sounded prety interesting
=]
> The Origin is easier to suppot, it has coherent I/O.
And you are probably going to tell me that this is the same reson that the
O2 is working, right?
> > Btw: I also got my hands on an Octane (IP30) with an R10000 (195 Mhz)
-
> > I haven't tried to install on this one, but that might be interesting
too..
> This one is also I/O coherent, so chances are much better than for IP28.
Are you saying I might get this one working with the Debian boot-images
that I already tried, or?
--
Regards Martin Leopold.
Dept. of Computer Science, University of Copenhagen
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Linux on Indigo2 (IP28) - R10000
2003-06-10 18:38 ` mleopold
@ 2003-06-10 18:59 ` Thiemo Seufer
2003-06-10 19:14 ` Ralf Baechle
2003-06-11 20:35 ` Martin Leopold
2003-06-10 19:37 ` Erik J. Green
1 sibling, 2 replies; 11+ messages in thread
From: Thiemo Seufer @ 2003-06-10 18:59 UTC (permalink / raw)
To: mleopold; +Cc: linux-mips
mleopold@tiscali.dk wrote:
> Hi Thiemo.
> > The solution is to use a special kernel with compiled in cache barriers
> > (needs a not-yet written compiler patch) and careful managing of page
> > table accesses from userspace (needs rmap, and thus 2.5 Kernel).
>
> I noticed this guy talking about O2 and having some patches and precompiled
> kernels. Are these in anyway related to what you are talking about?
>
> http://www.linux-mips.org/~glaurung/
Partially yes, the O2 as a ELF32 machine allows a different (and more
performant) solution for the speculative store problem.
> > I'm working sowly on it, but I get constantly distracted by toolchain
> > issues. :-)
>
> I looked arround your website and saw "mips64-linux-ip28-2002-06-28.tar.gz"
> whoo.. Sounds exiting =]
I know it's somewhat outdated. :-)
> > > There was some talk in Febuary on a guy got Linux up and running on an
> > > Origin 200 - and some bootable cd's. That sounded prety interesting =]
> > The Origin is easier to suppot, it has coherent I/O.
>
> And you are probably going to tell me that this is the same reson that the
> O2 is working, right?
Only the R5000 O2 is working. The R10000 O2 is the problematic one.
> > > Btw: I also got my hands on an Octane (IP30) with an R10000 (195 Mhz) -
> > > I haven't tried to install on this one, but that might be interesting too..
> > This one is also I/O coherent, so chances are much better than for IP28.
>
> Are you saying I might get this one working with the Debian boot-images
> that I already tried, or?
It might work, but I know way to little about the Octane to say something
definitive.
Thiemo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Linux on Indigo2 (IP28) - R10000
2003-06-10 18:59 ` Thiemo Seufer
@ 2003-06-10 19:14 ` Ralf Baechle
2003-06-11 20:35 ` Martin Leopold
1 sibling, 0 replies; 11+ messages in thread
From: Ralf Baechle @ 2003-06-10 19:14 UTC (permalink / raw)
To: Thiemo Seufer; +Cc: mleopold, linux-mips
On Tue, Jun 10, 2003 at 08:59:27PM +0200, Thiemo Seufer wrote:
> > Are you saying I might get this one working with the Debian boot-images
> > that I already tried, or?
>
> It might work, but I know way to little about the Octane to say something
> definitive.
The Octane is yet unsupported but apprently architecturally very similar
to a single-node Origin 200 so supporting it shouldn't be too hard. That
excludes the Octane's graphics subsystem about which I know nothing at all.
Ralf
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Linux on Indigo2 (IP28) - R10000
2003-06-10 18:59 ` Thiemo Seufer
2003-06-10 19:14 ` Ralf Baechle
@ 2003-06-11 20:35 ` Martin Leopold
2003-06-11 20:41 ` Thiemo Seufer
1 sibling, 1 reply; 11+ messages in thread
From: Martin Leopold @ 2003-06-11 20:35 UTC (permalink / raw)
To: linux-mips; +Cc: mleopold
On 2003.06.10 20:59 Thiemo Seufer wrote:
> > I looked arround your website and saw
> > "mips64-linux-ip28-2002-06-28.tar.gz"
> > whoo.. Sounds exiting =]
> I know it's somewhat outdated. :-)
Hehe.. I tried it, and it booted. Whopee.. However the kernel-level-IP
configuration (BOOTP) fails!? I'm not really sure why - the DHCP server
just gave the IP and kernel-image a moment ago. This make me wonder:
how far could I get with this kernel? Is it possible that I could
actually boot an entire system with this kernel, or is that pushing it
a bit?
--
Regards Martin Leopold.
Dept. of Computer Science, University of Copenhagen
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Linux on Indigo2 (IP28) - R10000
2003-06-11 20:35 ` Martin Leopold
@ 2003-06-11 20:41 ` Thiemo Seufer
2003-06-12 11:06 ` Maciej W. Rozycki
0 siblings, 1 reply; 11+ messages in thread
From: Thiemo Seufer @ 2003-06-11 20:41 UTC (permalink / raw)
To: Martin Leopold; +Cc: linux-mips
Martin Leopold wrote:
>
> On 2003.06.10 20:59 Thiemo Seufer wrote:
> > > I looked arround your website and saw
> > > "mips64-linux-ip28-2002-06-28.tar.gz"
> > > whoo.. Sounds exiting =]
> > I know it's somewhat outdated. :-)
>
> Hehe.. I tried it, and it booted. Whopee.. However the kernel-level-IP
> configuration (BOOTP) fails!? I'm not really sure why - the DHCP server
> just gave the IP and kernel-image a moment ago. This make me wonder:
> how far could I get with this kernel? Is it possible that I could
> actually boot an entire system with this kernel, or is that pushing it
> a bit?
It happens to work by accident, because the cachelines destoyed
due to the speculative stores don't hit anything important. The
2.5 kernel fails much earlier.
Thiemo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Linux on Indigo2 (IP28) - R10000
2003-06-11 20:41 ` Thiemo Seufer
@ 2003-06-12 11:06 ` Maciej W. Rozycki
0 siblings, 0 replies; 11+ messages in thread
From: Maciej W. Rozycki @ 2003-06-12 11:06 UTC (permalink / raw)
To: Thiemo Seufer; +Cc: Martin Leopold, linux-mips
On Wed, 11 Jun 2003, Thiemo Seufer wrote:
> > > > I looked arround your website and saw
> > > > "mips64-linux-ip28-2002-06-28.tar.gz"
> > > > whoo.. Sounds exiting =]
> > > I know it's somewhat outdated. :-)
> >
> > Hehe.. I tried it, and it booted. Whopee.. However the kernel-level-IP
> > configuration (BOOTP) fails!? I'm not really sure why - the DHCP server
> > just gave the IP and kernel-image a moment ago. This make me wonder:
> > how far could I get with this kernel? Is it possible that I could
> > actually boot an entire system with this kernel, or is that pushing it
> > a bit?
>
> It happens to work by accident, because the cachelines destoyed
> due to the speculative stores don't hit anything important. The
> 2.5 kernel fails much earlier.
I recall fixing an IP checksum calculation bug in the 64-bit kernel last
year -- this may possibly be another reason of BOOTP failing (well, it
used to fail for me because of this problem back then).
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Linux on Indigo2 (IP28) - R10000
2003-06-10 18:38 ` mleopold
2003-06-10 18:59 ` Thiemo Seufer
@ 2003-06-10 19:37 ` Erik J. Green
1 sibling, 0 replies; 11+ messages in thread
From: Erik J. Green @ 2003-06-10 19:37 UTC (permalink / raw)
To: linux-mips@linux-mips.org; +Cc: Thiemo Seufer
Quoting "mleopold@tiscali.dk" <mleopold@tiscali.dk>:
> > > Btw: I also got my hands on an Octane (IP30) with an R10000 (195 Mhz)
> -
> > > I haven't tried to install on this one, but that might be interesting
> too..
> > This one is also I/O coherent, so chances are much better than for IP28.
>
> Are you saying I might get this one working with the Debian boot-images
> that I already tried, or?
That's pretty unlikely. I am currently working on the Octane in what little
spare time I can wrest away from work. On the good side, the octane peripherals
seem generally the same as the Origin, so I'm finding a lot of similarities in
the hardware for console and network (IOC3 chip), for instance. The memory map
is different though, which means that barring some kernel hacking you won't get
a kernel to boot on it from any existing boot image. I haven't gotten to the
point of trying to make the video hardware work, although I do have a PCI
shoebox I might try a Radeon PCI card in eventually.
Feel free to join in hacking on it, you might be better at it than I am =)
Erik
--
Erik J. Green
erik@greendragon.org
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Linux on Indigo2 (IP28) - R10000
2003-06-10 18:11 ` Thiemo Seufer
2003-06-10 18:38 ` mleopold
@ 2003-06-10 18:56 ` ilya
2003-06-10 20:21 ` Keith M Wesolowski
1 sibling, 1 reply; 11+ messages in thread
From: ilya @ 2003-06-10 18:56 UTC (permalink / raw)
To: Thiemo Seufer; +Cc: mleopold, linux-mips
[-- Attachment #1: Type: text/plain, Size: 453 bytes --]
On Tue, Jun 10, 2003 at 08:11:00PM +0200, Thiemo Seufer wrote:
> mleopold@tiscali.dk wrote:
> > Btw: I also got my hands on an Octane (IP30) with an R10000 (195 Mhz) -
> > I haven't tried to install on this one, but that might be interesting too..
>
> This one is also I/O coherent, so chances are much better than for IP28.
And Keith Wesolowsky is even working on it. Only problem is complete absence
of documentation.
>
>
> Thiemo
>
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Linux on Indigo2 (IP28) - R10000
2003-06-10 18:56 ` ilya
@ 2003-06-10 20:21 ` Keith M Wesolowski
0 siblings, 0 replies; 11+ messages in thread
From: Keith M Wesolowski @ 2003-06-10 20:21 UTC (permalink / raw)
To: ilya; +Cc: Thiemo Seufer, mleopold, linux-mips
On Tue, Jun 10, 2003 at 11:56:27AM -0700, ilya@theIlya.com wrote:
> And Keith Wesolowsky is even working on it. Only problem is complete absence
> of documentation.
Well, for values of "working" that involve reading headers and
pondering, yeah. We have the memory map from the irix headers;
otherwise as Ralf points out it should have been called Origin 100.
Getting a serial-only port going should not be terribly hard. The
problem, as always, is finding time to work on these things. Any of
you who are students will probably get to this long before we working
stiffs do, so have at it...
--
Keith M Wesolowski <wesolows@foobazco.org> http://foobazco.org/~wesolows
------(( Project Foobazco Coordinator and Network Administrator ))------
"May Buddha bless all stubborn people!"
-- Uliassutai Karakorum Blake
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-06-12 11:06 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-10 17:52 Linux on Indigo2 (IP28) - R10000 mleopold
2003-06-10 18:11 ` Thiemo Seufer
2003-06-10 18:38 ` mleopold
2003-06-10 18:59 ` Thiemo Seufer
2003-06-10 19:14 ` Ralf Baechle
2003-06-11 20:35 ` Martin Leopold
2003-06-11 20:41 ` Thiemo Seufer
2003-06-12 11:06 ` Maciej W. Rozycki
2003-06-10 19:37 ` Erik J. Green
2003-06-10 18:56 ` ilya
2003-06-10 20:21 ` Keith M Wesolowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).