On 2/20/2024 10:10 PM, Garry Jean Pierre wrote:
I'm looking for a way to achieve the followings.
1. Steps to Configure and adapt Qemu images to replicate SunStation 5
SPARC and HP-UX PARISC servers
2. Steps to Create a network share between Qemu instances and the
Debian server.
The goals is to configure and adapt Qemu images to replicate
SunStation 5 SPARC and HP-UX PARISC servers, as well as setting up a
virtualized production environment.
This works for me on a Windows 11 host running QEMU 7.2.0:
1. SS5:
qemu-system-sparc -machine SS-5 -m 64 -drive
file=sunos-hdd.img,bus=0,unit=3,media=disk -device
scsi-cd,channel=0,scsi-id=6,id=cdrom,drive=cdrom,physical_block_size=512
-drive if=none,file=Solaris1.1.2SPARC.iso,media=cdrom,id=cdrom -vga cg3
-nic tap,model=lance,ifname=tap0 -g 1152x900x8 -bios ss5.bin
If you don't need the 1152x900 graphics just omit that part. Otherwise,
follow the directions here: https://bugs.launchpad.net/qemu/+bug/1361618
specifically:
"Simply rename the existing OpenBIOS QEMU,cgthree.bin ROM to
QEMU,cgthree.bin.old, download the real Sun cgthree ROM and rename it to
QEMU,cgthree.bin in place of the old file. Now you should find you can
start QEMU with -g 1152x900 and the larger display size will work fine."
There's a good guide on installing the OS itself here:
https://john-millikin.com/running-sunos-4-in-qemu-sparc Keep in mind
that there's a lot of wrong examples out there on how to enable
networking. You'll need a tap device set up on your host, whatever
you're using.
2. HP-UX:
This gets an HP-9000 going with HP-UX 10.20:
qemu-system-hppa -boot d -serial telnet::4441,server -hda ./HP9000.img
-serial mon:stdio -D /tmp/foo-m 512 -d nochain -cdrom
./hpux_10.20_700_dec99.iso -display sdl-nic user,hostfwd=tcp::60023-:23
- Michele