Solaris 2.5.1 PowerPC on QEMU w/GCC and Mosaic!

(This is a guest post by Antoni Sawicki aka Tenox)

Last month I featured Windows NT 4.0 PowerPC and OS/2 PowerPC Edition on QEMU’s IBM 40P. The same machine has one more rare guest: Solaris 2.5.1 for PowerPC! Back in 2020 PA8600 wrote a great post about PowerPC Solaris on the RS/6000. That was on a real 40P, with screen captures from a VGA2USB card, because “emulators cannot run anything but AIX”. Not anymore!

Most of the heavy lifting was done by Ørjan Malde: the Weitek P9100 video card, the PReP little-endian mode, SCSI fixes, and a timer fix that made the Solaris keyboard work. On top of that I fixed a few more things in LEMU, my QEMU fork:

  • OpenWindows at 1280×1024! It used to hang at the splash screen, and moving windows left garbage text behind.
  • Networking! Bigger packets to the guest were lost, so NFS hung. Now NFS mounts just work.
  • CPU idle detection! An idle VM uses about 3% of one host core.

Behold! Solaris 2.5.1 for PowerPC in 1280×1024 on an emulated IBM RS/6000 7020-40P with a PowerPC 604 and a Weitek P9100 video card:

The xdm login screen of Solaris 2.5.1 for PowerPC in 1280x1024
The xdm login screen

Log in as root and you get OpenWindows 3.5.1:

OpenWindows 3.5.1 desktop on Solaris 2.5.1 PowerPC with File Manager, a shell tool showing uname -a and prtconf output, a clock and a CPU meter
OpenWindows 3.5.1 with uname -a and prtconf

Specs: IBM 7020-40P (PReP), PowerPC 604, 128MB RAM, Weitek P9100 1280x1024 256 colors, NCR 53C810 SCSI, AMD PCnet

Let’s look at some cool apps!

NCSA Mosaic 2.7b5! There is no HTTPS of course, but plain http:// sites like theoldnet.com and 68k.news work great. You can always use WRP or VNC Brave for modern websites.

OpenWindows desktop on Solaris 2.5.1 PowerPC: NCSA Mosaic 2.7b5 showing Sun's home page from October 1996 via theoldnet.com, a shell tool with uname -a output, and a clock
Sun’s home page from October 1996, in NCSA Mosaic 2.7b5

SimCity! No Unix workstation is complete without it. This is Micropolis Legacy with the original DUX SimCity 2.17 data files:

OpenWindows desktop on Solaris 2.5.1 PowerPC: SimCity in the Tokyo 1957 scenario with the monster's trail of fires in the city editor, the overall map, the controls window, and a shell tool with uname -a output
SimCity, Tokyo 1957: the monster’s trail of destruction

The VM also comes with TenoxVNC, a VNC viewer, and SNG, a system and network grapher.

There is more under the hood: Sun WorkShop Compilers 4.2 (cc and CC), and the GNU tools that I built right in the guest: bash 3.2.57, make 3.81, grep 2.5.4, gzip 1.3.12 and tar 1.15.1, then binutils 2.16.1 and GCC 2.95.3 for C and C++. binutils and GCC needed a few fixes for this platform; the README has the details. There is also Wabi 2.1, an evaluation copy from 1995 that has long expired, but see the update below!

Shell tool on the OpenWindows desktop of Solaris 2.5.1 PowerPC with uname -a, a hello world built and run with GCC 2.95.3, and the GNU bash, make and tar versions, next to a CPU meter and a clock
GCC 2.95.3 and the GNU tools

All of it is also on osarchive, with the sources and patches: the GNU tools and GCC, and NCSA Mosaic next to NCSA’s own 2.7b5 builds.

As usual I have prepared a ready to run, portable image with QEMU binaries for macOS (Apple Silicon), Linux and Windows. Just unpack and run run.sh (or run.cmd on Windows), and log in as root without a password. Mosaic, SimCity and the other apps are in the Programs menu: right-click the desktop.

Download: https://files.42718.net/mirror/tenox/os/sunos/Virtual/qemu/powerpc/sol251powerpc-lemu.tar.lz

Source (LEMU, my QEMU fork): https://github.com/tenox7/lemu

Have Fun with Virtualization!

PS You may also be interested in AIX 4.1.5 on QEMU, on the same 40P.

Updates:

Wabi works with the clock in 1995: ./run.sh -rtc base=2095-12-15

OpenWindows desktop on Solaris 2.5.1 PowerPC: Wabi 2.1 running Windows for Workgroups 3.11 with Program Manager, Solitaire and the Clock showing 12/15/95, next to a shell tool with uname -a and a date in December 1995
Wabi 2.1 and Windows for Workgroups 3.11, back in December 1995

The Ultimate Windows NT MIPS VM

(This is a guest post by Antoni Sawicki aka Tenox)

In my previous posts I covered NT MIPS on QEMU Jazz and on the Siemens RM-200. Time for the ultimate one!

Behold! Windows NT 4.0 Server with 4-way MIPS SMP!

Windows NT 4.0 Server MIPS Task Manager with 4 CPUs at 100% and NTFETCH showing 4 x MIPS R4400
4 CPUs, all busy

Specs: Siemens Nixdorf RM300-C, 4 x MIPS R4400, 128MB RAM, Cirrus 1280x1024 256 colors, AMD PCnet

Each guest CPU runs on its own separate host core. Real R4400 boards had at most 2 CPUs, but the firmware and the NT HAL handle 4 just fine. It has to be Windows Server, as Workstation only supports 2 CPUs.

Windows NT 4.0 MIPS boot screen: 4 System Processors [128 MB Memory] MultiProcessor Kernel

CPU idle detection! NT’s idle loop just spins. LEMU detects it and halts the CPU instead. On my Mac the idle VM uses ~10% of one host core. Without it the same idle desktop burns 3 full cores!

Seamless mouse! Remember the mouse issues from the Jazz post? All solved now thanks to the vmmouse driver. No more mouse grab, the pointer just moves in and out of the window, and the scroll wheel works!

Animation: the mouse pointer moves in and out of the QEMU window running Windows NT 4.0 MIPS without a mouse grab
Look ma, no mouse grab!

Ready to run portable image for macOS (Apple Silicon), Linux x64 and Windows x64. Unpack and run run.sh or run.cmd. At “Hit any key to continue” press Enter twice. NT logs on by itself as Administrator / password.

Download: https://files.42718.net/mirror/tenox/os/winnt/VMs/qemu-mips/nt4srv-rm300-smp4-lemu.tar.lz

Source (LEMU, my QEMU fork): https://github.com/tenox7/lemu

Have Fun with Virtualization!

AIX 4.3.3, 5.1, 5.3, 6.1, 7.1 on QEMU w/Graphics!

(This is a guest post by Antoni Sawicki aka Tenox)

AIX on QEMU is nothing new. Neozeed ran AIX 4.3.3 years ago on Artyom Tarasenko’s QEMU 40p fork — but it was serial console only, no graphics, and the emulated CPU pinned your host at 100%. Recently I did AIX 3.2.5 and AIX 4.1.5 with a local graphics console. Now we have the rest of the line!

Behold! AIX 4.3.3 all the way to 7.1, every one booting to a graphical CDE login on the emulated framebuffer. AIX 7.2 is only serial console.

AIX 4.3.3 graphical CDE login screen
AIX 4.3.3
AIX 5.1 graphical CDE login screen
AIX 5.1
AIX 5.3 graphical CDE login screen
AIX 5.3
AIX 6.1 graphical CDE login screen
AIX 6.1
AIX 7.1 graphical CDE login screen
AIX 7.1

The older releases (4.3.3, 5.1) run on the emulated RS/6000 7020-40P, the newer ones (5.3, 6.1, 7.1, 7.2) on an emulated pSeries. And no more burning 100% CPU, we have full IDLE detection.

All images are ready to run and portable, with QEMU binaries for Linux, macOS and Windows. Just unpack and run. Grab whichever you fancy:

Have Fun with Virtualization!

AIX 4.1.5 on QEMU

(This is a guest post by Antoni Sawicki aka Tenox)

AIX on QEMU is hardly any news. It has been done over and over again. Especially thanks to Artyom Tarasenko and subject to even more posts by Neozeed. However it was mostly plagued by having only serial console and using outdated QEMU. For a long time I wasn’t able to run it. Had to fire up some IBM rust if I wanted to build/test something on AIX. Lack of local UI was also pain. AIX 4.1.5 is full of cool GUI software, CATIA, Corel Draw, Word Perfect, FrameMaker, Lotus Notes, not to mention VisualAge! I know that you can connect to it via Xephyr/Xnest etc, but having a local console is way better!

Behold! AIX 4.1.5 in a full glory on emulated IBM RS/6000 7020-40P with PowerPC 604 and GXT110P video adapter. Also featuring front the panel display:

Balls of AIX!

Let’s look at some cool apps!

Acrobat Exchange
FrameMaker
Corel Word Perfect
WABI
SoftWindows
SimCity on AIX
VisualAge IDE
Lotus Notes 4

I have prepared a ready to run, portable QEMU image with binaries for MacOS/Linux/Windows. Download and run: https://files.42718.net/mirror/tenox/os/aix/Virtual/aix415rs6k-lemu.tar.lz

Have Fun with Virtualization!

PS You may also be interested in AIX 3.2.5 in QEMU

AIX 3.2.5 in QEMU

(This is a guest post by Antoni Sawicki aka Tenox)

Behold! AIX 3.2.5 now runs in QEMU!

Along with full X11 AIXwindows Desktop support on emulated GXT150L.

Also featuring the 3 digit diag display with key switch for service mode! The display is addressable from the os via /usr/lib/methods/showled.

There are some gnu/pds apps in /usr/local/bin.

The exact machine emulated is 7006-41T (POWERstation 41T, 1994) + GXT150L

LEMU (a QEMU fork): github.com/tenox7/lemu

Ready to run portable QEMU image: http://files.42718.net/mirror/tenox/os/aix/Virtual/aix325rs6000-lemu.tar.lz

Have fun with Virtualization!

https://virtuallyfun.com/2026/10/27/personal-computer-simulator-6000/

Updates:

PC Simulator/6000 – PC emulator on AIX 3.2.5

CorelDRAW on AIX!
PCSIM – PC Simulator!
PCSIM VGA graphical mode!
Mathematica 2.2 on AIX 3.2.5

OS/2 PowerPC Edition on QEMU

(This is a guest post by Antoni Sawicki aka Tenox)

Yesterday I featured a LEMU fork capable of booting Windows NT PowerPC. I was asked in comments if this by any chance also supports OS/2 on this architecture. The answer is: YES!

Here is the result:

Here is a link to a ready to run image: http://files.42718.net/mirror/tenox/os/os2/virtual/os2powerpc-lemu.tar.lz – it takes a little bit of time appearing stuck on PowerPC logo with a warning sign, but not too worry it will boot up.

LEMU (a QEMU fork): github.com/tenox7/lemu

You can learn more about OS/2 PowerPC edition at OS/2 Museum.

Windows NT 3.1 on Alpha AXP Jensen QEMU

(This is a guest post by Antoni Sawicki aka Tenox)

In the previous post I build at NT 3.1 MIPS based QEMU image based on Jazz architecture.

Today another NT 3.1 but on Jensen! An early Alpha XP NT DEC box – I have an entire blog post about it.

1280×1024 resolution, networking, SP3, Alpha SDK preinstalled!

Ready to run image: http://files.42718.net/mirror/tenox/os/winnt/VMs/qemu-axp/nt31axp-lemu.tar.lz

LEMU (a QEMU fork): github.com/tenox7/lemu

More software apps etc in the previous post.

Have fun with virtualization!

Windows NT 4.0 MIPS on Siemens RM-200 emulated in QEMU

(This is a guest post from Antoni Sawicki aka Tenox)

In my previous post I featured SINIX-N on MIPS based Siemens RM-200 emulated in QEMU.

Since I did some work on RM-200 QEMU and this system is also capable of running Windows NT MIPS in Lite Endian mode (the CPU can switch endianness) I decided to also get it working:

I have previously covered NT on MIPS QEMU Jazz emulated machine. This is not that much different and fundamentally very close. Just a different machine with different firmware and peripherals. Also much newer QEMU version.

LEMU (a QEMU fork): github.com/tenox7/lemu

Ready to run image: http://files.42718.net/mirror/tenox/os/winnt/VMs/qemu-mips/nt4-rm200-lemu.tar.lz

Windows XP 2002 for the Itanium: Unbridled rage

Windows XP ia64 build 2600 in all it’s glory

This is exciting news, there is a fork of Qemu that has workable Itanium Merced emulation, and it’s good enough to run Windows XP/2003! Enter Malte Kuhlmann‘s Qemu fork of syunnPC‘s AI Itanium infused Qemu fork.

I’m sure at some point there will be some kind of merger. As always things move fast when they are interesting.

At any rate, I had nothing but incredible issues getting this to build. I should have written the steps down for the Qemu Alpha for that can run Alph64 Windows! … .however I didn’t so I kind of lost (hopefully temperarily) the recipies needed.

Instead, I’m jumping back to my mac mini, as of course macOS is just enough UNIX to be useful but mainstream enough to have real application. And part of the reason is that I wanted to build the firmware as I had a feeling that this was some important ‘lockstep’ thing I was missing.

Building cross compilers isn’t that new for me or this blog. As a matter of fact, I’ve got two at the moment from other various projects:

jsteve@Jasons-Mac-mini gcc % /usr/local/os2/bin/i386-pc-linux-gnuaout-gcc -v
Reading specs from /usr/local/os2/lib/gcc-lib/i386-pc-linux-gnuaout/2.8.1/specs
gcc version 2.8.1
jsteve@Jasons-Mac-mini gcc % /usr/local/i586-linux2/bin/i586-linux-gcc -v
Reading specs from /usr/local/i586-linux2/lib/gcc-lib/i586-linux/2.8.1/specs
gcc version 2.8.1

Since GCC 2.8.1 seems to run ‘okay’ as a macOS arm64 binary to cross compile to the i386… But that’s not for here. Since this is a ‘modern’ build, there was no need for any funny business. Things just worked. Surprisngly, I know. Obviously for people years later this won’t hold true.

Binutils

Nothing much to see or say, just used binutils 2.46.0, and it configured/built out of the box. Nice.

../binutils-2.46.0/configure --target=ia64-linux-gnu --prefix=/usr/local/ia64-linux-gnu

GCC

This is a bit weird as, the Itanium is not a dying platform, but a very dead one. Although thanks to a single user, René Rebe keeping the flame alive, I just chose to use the mentioned version, 15 to see if it still works. Spoiler, it did!

Building on macOS also means I do have homebrew installed, and that instead of building so many dependancies from hand, I could just brew the dependancies for GCC. That did make configuring it a little more involved.

../gcc-15.3.0/configure \
  --target=ia64-linux-gnu \
  --prefix=/usr/local/ia64-linux-gnu \
  --disable-bootstrap \
  --disable-multilib \
  --enable-languages=c \
  --with-gmp=/opt/homebrew \
  --with-mpfr=/opt/homebrew \
  --with-mpc=/opt/homebrew \
  CPPFLAGS="-I/opt/homebrew/include" \
  LDFLAGS="-L/opt/homebrew/lib"

There is some weird duplicate define of fdopen that throws off the build, thanks to zlib. I know wtf.

In file included from ../../gcc-15.3.0/zlib/zutil.c:10:
In file included from ../../gcc-15.3.0/zlib/gzguts.h:21:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:322:7: error:
expected ')'
322 | FILE *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, _...
|   ^
../../gcc-15.3.0/zlib/zutil.h:140:33: note: expanded from
macro 'fdopen'
140 | # define fdopen(fd,mode) NULL /* No fdopen() */

The fix, of course is to comment out line 140 of zutil.h

After that, it’ll mostly build, (remember to have the binutils binary in your path!
export PATH=/usr/local/ia64-linux-gnu/bin:$PATH )

It’ll complain about missing pthread as it want’s to build all the Linux stuff, but we don’t care.

In file included from ../../../gcc-15.3.0/libgcc/gthr.h:157,
from ../../../gcc-15.3.0/libgcc/libgcov-interface.c:27:
./gthr-default.h:35:10: fatal error: pthread.h: No such file or directory
35 | #include <pthread.h>
| ^~~~~~~~~~~
compilation terminated.

I did have to manually copy libgcc.a however.

cp ia64-linux-gnu/libgcc/libgcc.a /usr/local/ia64-linux-gnu/ia64-linux-gnu/lib/libgcc.a'.

Then just cd to the gcc directory and run a make install.

And with that, I’ve now got an Itanium cross compiler, to build the firmware!.

jsteve@Jasons-Mac-mini gcc % /usr/local/ia64-linux-gnu/bin/ia64-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/ia64-linux-gnu/bin/ia64-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/local/ia64-linux-gnu/libexec/gcc/ia64-linux-gnu/15.3.0/lto-wrapper
Target: ia64-linux-gnu
Configured with: ../gcc-15.3.0/configure --target=ia64-linux-gnu --prefix=/usr/local/ia64-linux-gnu --disable-bootstrap --disable-multilib --enable-languages=c --with-gmp=/opt/homebrew --with-mpfr=/opt/homebrew --with-mpc=/opt/homebrew CPPFLAGS=-I/opt/homebrew/include LDFLAGS=-L/opt/homebrew/lib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 15.3.0 (GCC)

Neat!

Qemu

I’ve defiantly homebrewed some dependencies in the past, but I’ll be damned if I know what exactly.

First get the source (as of this moment, July 31st 2026)

git clone --branch merced --single-branch https://github.com/makuhlmann/qemu-system-ia64.git

Then make a build directory, as we don’t build in the source!

Configuring on macOS is of course…. weird.

../qemu-system-ia64/configure \
  --disable-qom-cast-debug \
  --disable-stack-protector \
  --extra-cflags='-O2 -fno-stack-protector -fzero-call-used-regs=skip -ftrivial-auto-var-init=uninitialized' \
--disable-guest-agent-msi --disable-werror --enable-slirp \
--target-list=ia64-softmmu --disable-sdl  --python=/usr/bin/python3

Since I’m on macOS, I wanted to use the coca backend, so I don’t care about GTK+ or SDL.

From there it was just a matter of running make… I did a -j6 to use six cores it tore through the source, stopped after a few minutes with some weird error, I just typed in ‘make’ again and it finished…. Not sure what it’s hangup was, and I really don’t care.

**EDIT

Newer builds now require iasl from ACPICA

For this installation I’m using this image:

5.1.2600.0.xpclient.010817-1148_ia64fre_client-professional_retail_en-us-WXPIFPP_EN.iso

It’s got a MD5 checksum of : 604ee3141ed6a34391a89a33c0019702

As there are many versions of XP Itanium, but it’s so easy to get the wrong one.

Installing

Now for the ‘hard’ part. Getting this to actually install.

First create a hard disk, say 20GB ?

./merced-build/qemu-img create -f vmdk ia64-xp64-merced.vmdk 20G
Formatting 'ia64-xp64-merced.vmdk', fmt=vmdk size=21474836480 compat6=off hwversion=undefined

This is what I use, thanks to Roy Tam!

merced-build/qemu-system-ia64-unsigned \
    -bios ./merced-build/roms/ia64-firmware/ia64-firmware.bin \
    -machine ia64-vpc,i8042=off,nvram=ia64fw-nvram-merced.bin \
    -cdrom "5.1.2600.0.xpclient.010817-1148_ia64fre_client-professional_retail_en-us-WXPIFPP_EN.iso" \
    -hda "ia64-xp64-merced.vmdk" \
    -accel tcg,thread=multi,tb-size=2048 -smp 1 -m 1536 \
    -vga ati -cpu merced \
    -display cocoa,zoom-to-fit=on \
    -nic user,model=i82557a,hostfwd=tcp::3386-:3389

And with that, it’ll launch into the EFI firmware

Itanium EFI Firmware

Being greeted by the firmware image, is again confirmation that we can indeed cross compile the Itanium firmware with our GCC cross compiler!

And then the CD-ROM will prompt to hit any key to boot from CD

Press any key to boot from CD-ROM…..

At this point I should mention that Qemu doesn’t scale well with high resolution monitors. But since we enabled the zoom-to-fit option, we can resize the window so we can read it, or just maximize it.

From here it’s basically a normal XP install

Unlike the RISC of old, the creation of the system partition is now handled by the install program, like all the other EFI/UEFI platforms.

Which I have to say, is a nice change.

From there just select the remainder of the disk, I format mine as NTFS (quick) and from there it’ll start copying the files. For me this completed in under 5 minutes.

A quick reboot and you’ll now be in the graphical installer.

From here it could crash or lock hard. In that case, re-create the hard disk image, and re-try the installation. It took me 5 attempts. Although I should mention that I never could complete a single install using syunn’s fork.

XGCJ6-Q6XGJ-BQ2QQ-BRWJ7-67X7W

And when asked, I just chose the default networking settings.

In prior builds this would fail and/or hard lock at various moments, with an overall success rate of 1/5. Not the best. Although I’ve only installed XP 2600 once today, and it was a 1:1 rate in 30-40 minutes, so I guess I can say that as always, things are in motion, and getting way better!

On my m4, it took about another 30 minutes, and then It’s done.

And there we go!

I’d highly suggest setting up RDP, and using a remote desktop application, as the arrow keys currently tend to repeat far too often making typing a chore. Plus it’ll fix any coca video scaling issues.

Future?

Well what about the 2003 version of Windows XP?

Namely: 5.2.3790.0.srv03_rtm.030324-2048_ia64fre_client-professional_retail_en-us-NRMPIFPP_EN.iso

Using the same config, different ISO, yeah it installed in about 40 minutes on my m4 Mac Mini.

Windows Server build 2462

Why, even the earliest Windows Server Itanium build that’s available, 5.1.2462 installs and runs! Of course, install it prior to August 2001.

What about other operating systems?

As of now I don’t think anything else works. Monterey didn’t do much, nor HPUX, VMS etc.

Where to go from here? Compilers! and whatnot. Needless to say, since this is 1st gen Itanium, all the stuff I’d built when I had an Itanium won’t run as it was Itanium2. Don’t you love broken binary compatiblity?

This is why 80386 is just as relevant in 2026 as it was in 1987.

Of course, Apple will break it, just because they can.