Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Posted: Tue Aug 23, 2016 4:54 pm
I'll just leave this here:
All About Macintosh Emulation
https://www.emaculation.com/forum/
I've got limited access to my test rig this week; can someone else do a comparison with the master and see if the issue occurs there too?mcayland wrote:I think there was an interrupt change in OpenBIOS (edge to level) and Ben hacked some openpic code around this, so maybe that's the culprit? How does it compare with the official git master? Is it something in Ben's branch?adespoton wrote:Do the older builds have the same issues? Just wondering if we can pin this down to a refactoring issue, or if it is indeed something still unimplemented. From the fact that when using a raw device it appears to be hit and miss, I'd guess this isn't in the emulation itself, but more likely in the OpenBIOS code.
Certainly, both with the realtek and sungem device.does networking work in windows/os9 now or not? managed to get it to install at least.
For 1: Please try the machine model mac99I can confirm that Mac OS X DP1 and Mac OS 9.0 do not work in the latest QEMU build as of this writing.
1. My DP1 image basically says that 'this image is not supported by my hardware' when booting. It also says 'Mac OS X cannot be installed on this computer' when trying to run the installer from Mac OS 9.1.
2. My Mac OS 9.0 image is not bootable in QEMU for some reason. (It is fully installable in Sheepsaver though. I'll probably get another OS 9.0 disk later.) When doing a clean install on a disk that already has Mac OS 9.1 or later, QEMU hangs at an early part of install. When doing a clean install on a just formatted disk, I was able to install it, but booting it gave me the "floppy drive with a question mark on it" icon.
It seems only the Windows builds are affected?Do the older builds have the same issues? Just wondering if we can pin this down to a refactoring issue, or if it is indeed something still unimplemented. From the fact that when using a raw device it appears to be hit and miss, I'd guess this isn't in the emulation itself, but more likely in the OpenBIOS code.
This is just awesome :D I do hope Mac OS X Server 1.2v3 works at some point. I've always wanted to really use Rhapsody but never had the proper setup (on actual hardware). Which build of qemu are you using & what's are you using in the qemu.command file?sidoh wrote:I'll just leave this here:
Thanks for that, mate. I'll try to get a 9.0.x CD for a G4 later (Downloading the 10.0 Public Beta right now). As for 10.0 DP1, this happened with both the mac99 and the mac99p machine types, no matter if I was emulating a G3 or G4.Cat_7 wrote:For 1: Please try the machine model mac99I can confirm that Mac OS X DP1 and Mac OS 9.0 do not work in the latest QEMU build as of this writing.
1. My DP1 image basically says that 'this image is not supported by my hardware' when booting. It also says 'Mac OS X cannot be installed on this computer' when trying to run the installer from Mac OS 9.1.
2. My Mac OS 9.0 image is not bootable in QEMU for some reason. (It is fully installable in Sheepsaver though. I'll probably get another OS 9.0 disk later.) When doing a clean install on a disk that already has Mac OS 9.1 or later, QEMU hangs at an early part of install. When doing a clean install on a just formatted disk, I was able to install it, but booting it gave me the "floppy drive with a question mark on it" icon.
For 2: Mac OS 9.0 should be for a G4, look for e.g., the cube install cd. There is a post above about which rom version should be included.
Best,
Cat_7
Code: Select all
qemu-system-ppc-wip -bios c:\qemu-ppc\openbios-qemu-wip.elf -L pc-bios -boot d -m 256 -M mac99 -prom-env "auto-boot?=false" -prom-env "boot-args=-v" -g 1024x768x32 -cpu G3 -drive file=c:\qemu-ppc\macosx100dp2.iso,format=raw,media=cdrom -drive file=c:\qemu-ppc\macosx100dp2.raw,format=raw,media=disk
Code: Select all
boot cd:9,\\:tbxi
Code: Select all
qemu-system-ppc-wip -bios c:\qemu-ppc\openbios-qemu-wip.elf -L pc-bios -boot c -m 256 -M mac99 -prom-env "auto-boot?=true" -prom-env "boot-args=-v" -g 1024x768x32 -cpu G3 -drive file=c:\qemu-ppc\macosx100dp2.raw,format=raw,media=disk
How did you manage to specify the partition? I'm trying to mess around with Mac OS X Server 1.2v3 a bit and it just keeps booting to the Mac OS 9 partition of the CD.sidoh wrote:I'd also like to note that Mac OS X DP3 crashes when trying to boot from it's CD in the latest Windows build. This happened when I was both emulating a G3 and G4.
UPDATE: Spoke too soon. Apparently, I was booting off the wrong partition. Specifying the correct partition allowed DP3 to install fine:
http://i.imgur.com/a9TqWg9.png
http://i.imgur.com/hAWruJC.png
See above for specifying the partition. It's for DP2 and DP3, but I imagine that it would be the same for Server 1.x (which I haven't tried yet).celebi23 wrote:How did you manage to specify the partition? I'm trying to mess around with Mac OS X Server 1.2v3 a bit and it just keeps booting to the Mac OS 9 partition of the CD.
Ah, I thought you meant there was a way to select the cd partition from the qemu command file. I misunderstood your DP 3 post. I'm still plugging away at Server 1.x. I've got the proper System Disk control panel & extension installed, it's just a matter of booting into the Server 1.x partition of the CD to install it.sidoh wrote:See above for specifying the partition. It's for DP2 and DP3, but I imagine that it would be the same for Server 1.x (which I haven't tried yet).celebi23 wrote:How did you manage to specify the partition? I'm trying to mess around with Mac OS X Server 1.2v3 a bit and it just keeps booting to the Mac OS 9 partition of the CD.
No, how would I do that?sidoh wrote:It looks like Server 1.x, along with DP1, still needs some work to boot properly. Also, you can't specify the partition in the qemu command, only the image. Have you tried booting the partition via openbios yet?
From the info I've gathered from the pictures, first specify this in your qemu command file:celebi23 wrote:No, how would I do that?sidoh wrote:It looks like Server 1.x, along with DP1, still needs some work to boot properly. Also, you can't specify the partition in the qemu command, only the image. Have you tried booting the partition via openbios yet?
Code: Select all
-prom-env "auto-boot?=false"
Code: Select all
-prom-env "auto-boot?=true"
Code: Select all
boot cd:9,\\:tbxi
Ok, will give this a shotsidoh wrote:From the info I've gathered from the pictures, first specify this in your qemu command file:celebi23 wrote:No, how would I do that?sidoh wrote:It looks like Server 1.x, along with DP1, still needs some work to boot properly. Also, you can't specify the partition in the qemu command, only the image. Have you tried booting the partition via openbios yet?
Remove this in the command file if it is already there:Code: Select all
-prom-env "auto-boot?=false"
After that, run QEMU. When the openbios prompt comes up, enter this:Code: Select all
-prom-env "auto-boot?=true"
Code: Select all
boot cd:9,\\:tbxi
Hmm. I got the 9.0.0 CD for the Power Mac G4, but booting it crashes qemu. Should I get a 9.0.4 CD instead?Cat_7 wrote:For 1: Please try the machine model mac99I can confirm that Mac OS X DP1 and Mac OS 9.0 do not work in the latest QEMU build as of this writing.
1. My DP1 image basically says that 'this image is not supported by my hardware' when booting. It also says 'Mac OS X cannot be installed on this computer' when trying to run the installer from Mac OS 9.1.
2. My Mac OS 9.0 image is not bootable in QEMU for some reason. (It is fully installable in Sheepsaver though. I'll probably get another OS 9.0 disk later.) When doing a clean install on a disk that already has Mac OS 9.1 or later, QEMU hangs at an early part of install. When doing a clean install on a just formatted disk, I was able to install it, but booting it gave me the "floppy drive with a question mark on it" icon.
For 2: Mac OS 9.0 should be for a G4, look for e.g., the cube install cd. There is a post above about which rom version should be included.
Best,
Cat_7
Latest available build for Windows.adespoton wrote:Which qemu build are you using? Which OpenBIOS build?
As long as QEMU master works for OS 9 then that's all we care about right now. QEMU has been in freeze for the past month in preparation for the 2.7 release which is why Ben's more recent work hasn't been reviewed/mainlined yet.adespoton wrote:I just re-built with the qemu master git sources, and disk handling seems fine there. I haven't built openbios from scratch before, and it appears I'm missing a ppc cross-compiler :\ So I can't do any fine-grained tests there. More than willing to test multiple builds if someone throws the pre-built elf binaries my way though.