Note · seedling
Redox runs on a real Indy, in 32 MB and with no disk
- Stage
- seedling
- Links
- 4 out, 1 in
On 18 November 2026 I sat at one of my SGI Indys, typed root at a login prompt and ran ls. The system answering was Redox, an operating system written in Rust that had never run on this kind of machine. The work had started two days earlier.
There is no practical reason for it. I wanted an operating system written entirely in Rust running on a computer from 1993, because that is a cool thing to have, and I wanted to build every tool it takes to get there along the way.
What Redox is, and why it did not fit
Redox is a complete operating system: its own kernel, drivers, shell and programs, nearly all in Rust. It runs on PCs and on two newer families of processor. It had nothing for MIPS, the family the Indy uses, and nothing for a machine that stores its numbers the other way round, most significant byte first.
It also expects room. Redox’s own test settings give it 1 or 2 GB of memory. The working Indy from Two Indys out of storage: one boots, the XZ board does not has 32 MB.
So this is a port to exactly one machine: an Indy with an R4600 processor at 133 MHz and 32 MB. It lives in irix7/redox, a fork of Redox.
No disk anywhere
The Indy’s hard disk is not touched. An Indy can ask the network for a file when it is switched on, load it and run it, and that is the whole way in. The file is about 5.5 MB and holds the kernel, the network driver and very little else.
Everything after that comes from a web server. The 109 programs of the system, 126 MB of them, sit on another computer as a pile of small files, each named by a fingerprint of its own contents. When the Indy needs a program it downloads the pieces and checks every one against its name, so a damaged or stale piece is refused. I called this webfs. Nothing like it was planned at the start; it came from the memory limit, because anything loaded with the kernel stays in memory for good.
Where the memory went
The first build that reached a login prompt had 3 MB free, and listing a directory could use it up.
The cause was one thing stored three times. The small set of start-up programs arrived inside the file from the network, the kernel made a second copy to hand to the first program, and then the programs themselves were loaded from it. Two of the three are now given back once the system is up. At the login prompt on the real machine, 13.1 MB of 28.5 MB is free.
What the emulator did not show
Everything was built against an emulated Indy first, and each step had to pass there before it counted. The real machine still disagreed three times.
The first boot showed nothing. The Indy loaded the file, jumped into it, and the screen stayed as it was. The kernel had been writing to the serial port, which is what the emulator was watching. It had to learn to write to the screen.
The clock ran at half speed. The kernel assumed a timer rate that was right for the emulator. The real processor’s timer counts twice as fast, so every pause lasted half as long as asked. The machine’s own firmware knows the true rate, and the kernel now asks it.
The processor’s cache needed care the emulator had not asked for. With the simplest safe fix, the machine was slow. Arranging memory so that the problem mostly cannot arise made reading a file about twice as fast: checking a 1 MB file went from 22 to 25 seconds down to 11 or 12.
What is not right yet
- The machine has no idea what the date is and reports 1970.
- From restart to answering on the network takes 160 seconds.
- Every program is loaded whole into memory before it starts, so two large ones at once can still run out.
- The web server that holds the system is started by hand.
Where the code can go
As with SGI Indy, AI agents wrote the code and I directed and tested it. The Redox project does not accept contributions written that way, so none of this is offered to it. It stays in the fork, under Redox’s own MIT licence.
The port was quick because IRIX 7 had already answered the hard questions about the machine: how to build Rust for this processor (A Rust target for big-endian MIPS III n32), what kind of file the Indy will load from the network, and how to test a kernel on an emulated Indy. Those were read and written again, not copied, because the two projects have different licences.
Projects
- SGI IndyA Rust operating system for the SGI Indy, meant to run IRIX 6.5 applications unchanged.
Notes
Code
- irix7/redoxMirror of https://gitlab.redox-os.org/redox-os/redox
Projects
- SGI IndyA Rust operating system for the SGI Indy, meant to run IRIX 6.5 applications unchanged.