Hi again,
well I got it to boot multiuser in QEMU...
foo# uname -a
OpenBSD foo.my.domain 6.7 QEMU#0 macppc
It doesn't have network, but I made a second drive of type msdos that can
be used to transfer files in and out of the host system.
Here is my setup again:
qemu-system-ppc -M mac99,via=pmu,graphics=off \
-cpu g4 -nographic -m 2048M -vga none \
-drive format=raw,file=macppc.raw \
-drive format=raw,file=shuttle.raw \
-nic none \
-serial mon:stdio \
-prom-env 'boot-device=cd:,ofwboot' \
-prom-env 'auto-boot?=false' \
-cdrom boot.iso -boot d
boot in openwirmware with 'boot' or set auto-boot?=true.
Here is how I made the boot.iso:
mkhybrid -part -r -hfs -hfs-bless tmp/ofwboot \
-path-list path-list -o boot.iso tmp/
path-list contains bsd and ofwboot.
And I had to make a custom kernel. I'll make this one available (if you
want to trust me) https://centroid.eu/private/bsd.qemu
It's almost a -current kernel, it contains a patch from mpi@ from a few
days ago that did WITNESS things (but witness is turned off), it shouldn't
make a difference. It has "option NO_PROPOLICE" and ohci disabled.
Another thing I had to do was set the console in /etc/ttys to true so that
I'd get a login: prompt.
Enjoy!
Best Regards,
-peter