(This is a guest post by Tenox)
Last year I wrote about installing HP-UX 11.11 on QEMU. Time to go back in time!
HP-UX 10.20 has run in QEMU for a while (see openpa.net), but slow and on one CPU. 9.05 and 9.07 did not run at all, until last week when Helge Deller and Keith Monahan got 9.05 booting on the 715. I picked it up from there in LEMU, my QEMU fork, and fixed whatever was still broken:
- Idle CPU! HP-UX never halts the CPU, its idle loop just spins. LEMU detects it and puts the vCPU to sleep. 9.05 went from 93% of a host core to 2%, 10.20 with 4 CPUs from 400% to 3%.
- 4 CPUs on 10.20, each on its own host core. Fork and exec were 4x slower on 4 CPUs than on 1, fixed.
- No more
-d nochainfrom the 11.11 post, about 3x faster. - VUE login often never came up on a fast host: the X server divided by zero in its timer calibration. Paced now.
- Graphics artifacts: FrameMaker text was unreadable, Battalion had wrong colours and streaks, closed windows left bits of their frames behind, the cursor leaked pixels to the left edge, PEX crashed QEMU.
- FPU: Netscape hung at start,
fmpyaddgave wrong results, 10.20 panicked on 4 CPUs. - SoftPC died with “Internal error (Signal 04)”, now boots MS-DOS with VGA graphics.
- SCSI and LAN on the 715 fixed for 9.x, and snapshots work.
Behold! HP-UX 9.05 with HP VUE 3.0 on an emulated HP 9000/715:

Specs: HP 9000/715, PA-7100LC, 128MB RAM, Artist 1280x1024, NCR710 SCSI, i82596 LAN
9.07 works too:

And HP-UX 10.20 on an emulated HP B160L with 4 CPUs:

Specs: HP B160L, 4 x PA-7300LC, 512MB RAM, Artist 1280x1024, Tulip LAN
Let’s look at some cool apps! First HP-UX 9.05:







And HP-UX 10.20:








Ready to run, portable images for macOS (Apple Silicon), Linux (x86_64, aarch64) and Windows x64. Unpack and run run.sh or run.cmd. Login root, no password on 9.x, root / root on 10.20.
- HP-UX 9.05: https://files.42718.net/mirror/tenox/os/hpux/Qemu/hpux905-715-lemu.tar.lz
- HP-UX 9.07: https://files.42718.net/mirror/tenox/os/hpux/Qemu/hpux907-715-lemu.tar.lz
- HP-UX 10.20: https://files.42718.net/mirror/tenox/os/hpux/Qemu/hpux1020b160l-lemu.tar.lz
Gory details: https://github.com/tenox7/lemu/tree/master/machines/hppa
Have Fun with Virtualization!
Can you please upload this blue-ish wallpaper somewhere, please?
WABI 2.2!!!!
I was always impressed how fast Wabi/Win31 was on those hp/sun workstations; it was really great because of the number of apps present in the win31 ecosystem.
Hey, Keith Monahan here!
Thanks for posting about this. There are actually about (10) more fixes coming that improves the reliability and better support for more operating systems. One thing I built, which was a pretty big effort, was a replacement ncr53c710 scsi model. This is a massive improvement over the existing GSoC model that was in place.
I am surprised you got 9.05 booting on the 715 without my improved model. The existing model doesn’t support HP-UX, and it doesn’t work (without modification). I’ve got a ton of testing done on my model, including 9.05, 10.20 (about 6 different variants), NetBSD (a few recent versions), and Debian. All working reliably on the 715.
The upstream process can be a bit slow, but there has been recent motion. More things are coming!
Thanks
I made modifications and fixes! But they are in my fork of qemu. I gave up on the upstream and just permanently forked it. https://github.com/tenox7/lemu please send PRs with your fixes!
Well done!
Is it possible with LEMU to run Solaris 8 on a 64bit Sun4u architecture with two hme network interface cards ?
Not right now, maybe in future. I know someone who is working on 64bit ultra sparc