| WARNING! |
| You are viewing Stuart Longland's DRAFT documentation repository. Documentation here may be incomplete, out of date, be inaccurate, or straight plain wrong. Please see the official documentation site. |
Gentoo Linux/MIPS Frequently Asked Questions
1. About this document
This FAQ is intended to answer frequently asked questions about Gentoo/MIPS and Linux/MIPS that we receive from various users. It's aimed at both new users and experienced users alike. It has been split into a number of categories to make navigation easier.
If you have anything to contribute to the FAQ or, having read this guide, you still have questions that are left unanswered, feel free to drop us a line.
About the Gentoo/MIPS project
MIPS Hardware FAQs
MIPS Software FAQs
Silicon Graphics Specific FAQs
Cobalt Specific FAQs
2. About the Gentoo/MIPS Project
Gentoo/MIPS is a small project within the Gentoo Foundation, responsible for looking after the MIPS port of Gentoo Linux. We currently look after two main sub architectures of the MIPS family specifically: Silicon Graphics systems and MIPS-based Cobalt servers.
Why install Gentoo Linux on MIPS?
Okay, sure, some MIPS machines aren't the fastest boxes on the block these days. However, despite the age of some of these beasts, they still can make very functional, useful machines. A Cobalt Qube 2 could make a very nice broadband Internet router, capable of hosting websites, email, IRC and numerous other tasks. There are a number of reasons why you'd want to install Linux on this sort of hardware.
Why don't you port Gentoo to NetBSD/MIPS or IRIX?
Hey, great idea. Unfortunately, a lot of the Gentoo/MIPS team already have their hands full looking after Linux/MIPS as well as other commitments. However, you're welcome to give it a try. May I suggest raising this on the Gentoo Forums and see what the interest is first. Also, have a look at some of the other threads on porting Gentoo to other architectures such as Solaris/SPARC, IBM OS/2 and Microsoft Services For Unix for hints on how to proceed. If after some hacking you get something useful out of it... chances are a few developers will pick up on this and help you get it to the next stage.
3. MIPS Hardware FAQs
MIPS Technologies is a company that produce a number of RISC CPU cores which implement the MIPS Instruction Set Architecture. These processors appear in all sorts of hardware ranging from small embedded devices to large servers.
It also happens to be an acronym; Millions of Instructions Per Second.
What sort of hardware uses MIPS processors?
Good question. In short... Heaps. MIPS Processors see use inside all sorts of machines, ranging from small PDAs (such as the early Windows CE powered Casio PDAs), X Terminals (e.g. Tektronix TekXPress XP330 series), through to workstations such as the Silicon Graphics Indy and O2 and even high end servers such as the Silicon Graphics Origin 2000.
Here is a list of some of the more famous MIPS-based systems in use. A more comprehensive list can be found on the Linux/MIPS website
| Sony Game Consoles |
PlayStation PlayStation 2 PlayStation Pocket |
| Nintendo Game Consoles | Nintendo 64 |
| Silicon Graphics Machines |
Iris Indigo Challenge Onyx Indy Indigo 2 Challenge S Origin 200 Origin 2000 Onyx 2 Octane Octane 2 O2 Fuel Origin 3000 Origin 300 Origin 350 Tezro |
| DECStations |
rPC44 Tyne |
| Cobalt Microservers |
Qube 2700 Qube 2800 RaQ RaQ 2 |
|
Broadcom-based 802.11g Broadband Internet Routers |
Linksys WRT54G |
... and that's only just scratching the surface. These machines are wide and varied. Many of them do not currently run Linux. Of those that do, we only support a handful, although you're welcome to port Gentoo/MIPS to any MIPS machine if you so wish. Some of these machines are also the focus of the Embedded Gentoo Project such as the Linksys WRT54G.
This question is difficult to answer. Your machine could fall into one of three different baskets:
For the first one an easy way to find out is to have a look at the Gentoo/MIPS requirements page. This will tell you if the system you've got can theoretically run Gentoo/MIPS. Stuart has also written a hardware support database in which users may contribute their experiences. This can help measure how well Gentoo/MIPS runs on a particular machine.
If you don't find your machine listed there, you may wish to have a look on the Linux/MIPS website to find it there. Installation won't be straightforward however, as the actual process of producing a kernel and suitable boot media for your hardware will have to be done largely by yourself. Naturally though, we'll try to help where we can.
Why don't you support machine X
If you've looked at the Gentoo/MIPS Hardware Requirements page, you've probably noticed there are a LOT of machines we don't support. In the case of SGI hardware, very little is known about some of them, not enough to successfully port Linux to them.
If you managed to get Linux working on a box currently listed as unsupported however, feel free to tell us. We'd be interested to know.
4. MIPS Software FAQs
This will depend on the CPU type running in your system. The stage filename is named as follows:
Code listing 4.1: Stage Tarball Naming Scheme |
stage3-mipsel4-2005.0.tar.bz2
\____/ \_____/ \____/
| | |
| | `--- Gentoo Release (e.g. 1.4, 2004.3, 2005.0)
| |
| `----------- Endianness and ISA Level
| mips ==> Big Endian
| mipsel ==> Little Endian
|
| R3xxx and earlier: ISA Level 1
| R4xxx series: ISA Level 3
| R5000 and above: ISA Level 4
|
`------------------ Stage Tarball type: 1, 2 or 3.
|
So for those of you who are running R4000-class CPUs, try a mips3 or mipsel3 stage tarball.
For those running R5000-class or later CPUs, try a mips4 or mipsel4 stage tarball.
Sometimes the filename will have n32 or n64 in the filename as well. These refer to 64-bit userland images. At the moment, support for 64-bit userlands is still quite flaky and a lot of packages are broken. I'd suggest leaving these alone unless you're particularly brave and don't mind a rather bumpy ride.
This is generally caused by using the wrong stage tarball. If you try to run a mips4 userland on a mips3 CPU, you'll get an illegal instruction error message. Likewise, if you have a Big Endian CPU and you try running Little Endian code on it, you'll get told cannot execute binary file.
The fix is simple... clean out your partition, then unpack the correct tarball. Which one is that I hear you ask? Have a read of the previous FAQ entry.
5. Silicon Graphics Specific FAQs
Why doesn't my SGI machine netboot?
This could be for any number of reasons, ranging from cabling issues, through to issues on the server. The best way to troubleshoot any problem is a step-by-step approach...
Unfortunately, not all graphics frame buffers are supported under Linux yet. This doesn't mean you can't use the machine... it just means you'll need a null-modem serial cable to interact with it. It is quite possible that the machine is in fact running, however, the system is outputting to the serial console rather than the screen.
6. Cobalt Specific FAQs
Why won't my Cobalt machine boot?
This could be for a number of reasons. Our easiest bet however is to run through a checklist and make sure everything is correct.
Why don't you support the Qube 2700?
The Qube 2700 was the first of the Cobalt servers. While they are very nice machines, unfortunately, they lack a serial port. In other words, any interaction with the machine has to be done through a network. At present, our netboot images do not support this, although plans are in the works that may enable support for this machine.