qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] Qemu ppc issues installing/booting Mac OS 9.04 to 9.22


From: Mark Cave-Ayland
Subject: Re: [Qemu-ppc] Qemu ppc issues installing/booting Mac OS 9.04 to 9.22
Date: Thu, 8 Sep 2016 20:34:31 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0

On 07/09/16 23:12, Howard Spoelstra wrote:

Hi Howard,

> Hi,
> 
> Here are some issues I observed while installing/booting Mac OS 9.04 to
> 9.22 with Qemu.

Thanks for the report!

> Generic issues:
> Besides changing -boot d to -boot c, the command line order for cdrom or
> disk needs to be so that the boot device is listed first, otherwise
> openbios will not advance to boot the selected medium. Adding index
> number 0 to hd and 1 to cdrom entries also fixes boot, so boot device
> seems to need to be at index 0.

Possibly I think this might be related to the macio controller: at least
from memory OS 9 seemed picky if you stray from the default hd index=0
and CDROM index=1. In my testing OS X didn't seem to mind quite so much.

> Mouse behaviour with both SDL and GTK interface is often very erratic.

Hmmm I've heard reports of this but have been unable to reproduce
locally with GTK. Can you provide any more information?

> Source: qemu master 07-09-2016
> qemu-system-ppc.exe cross-compiled for Windows using Fedora 24 64 bit.
> qemu-system-ppc.exe needs to be set to Windows 8/7 compatibility,
> otherwise disk read/write issues arise. (The same is true for builds
> with cygwin, and the 2.7 Windows builds by Stefan Weil.)

Interesting. What does setting Windows 7/8 compatibility actually do?
Are there any errors on the console if you don't do this? I don't use
Windows these days, so I'm probably the wrong person to dig into Windows
issues.

It does make me wonder if the Windows builds couldn't be somehow updated
with a manifest to always build them with Window 7/8 compatibility
enabled if that is needed for Windows 10.

> OpenBIOS is the included build, dated 19-07-2016
> Host is Windows 10/64
> 
> Command line for cd boot:
> qemu-system-ppc.exe -L pc-bios -boot d -m 256 -M mac99 -prom-env
> "auto-boot?=true" -drive
> file=c:\Qemu\MacOS9.0.4Cube.iso,format=raw,media=cdrom -drive
> file=c:\Qemu\MacOS9.0.4-2GB.raw,format=raw,media=disk -sdl
> 
> Command line for hd boot:
> qemu-system-ppc.exe -L pc-bios -boot c -m 256 -M mac99 -prom-env
> "auto-boot?=true" -drive
> file=c:\Qemu\MacOS9.0.4-2GB.raw,format=raw,media=disk -drive
> file=c:\Qemu\MacOS9.0.4Cube.iso,format=raw,media=cdrom -sdl
> 
> Mac OS 9.0.4:
> Booting a 9.04 CD requires a mouse click/move to advance (before some
> video switch occurs)
> The CD seems to needs to contain a rom above version 4.6.1
> Initialising a disk requires a mouse click/move to advance
> Booting Mac OS 9.04 from hard disk image requires a mouse click/move to
> advance (before some video switch occurs)
> Booting Mac OS 9.04 from hard disk image can hang during extension
> loading when mouse is not moved.
> System profiler hangs Mac OS.
> 
> Mac OS 9.1:
> Adding: "-device usb-audio" to the command line results in 2 usb audio
> devices showing up in system profiler. Sound control panel plays several
> sounds, but then hangs Mac OS.
> Doing nothing after boot results in hangup after some seconds. (Also
> after virtual memory/disk indexing was turned off.)
> 
> Mac OS 9.2.2:
> Installation success is hit and miss, also with additional disk
> parameter cache=writetrough.
> Adding: "-device usb-audio" to the command line results in 2 usb audio
> devices show up in system profiler. Sound control panel plays several
> sounds, but then hangs Mac OS. Doing
> nothing after boot results in hangup after some seconds where all icons
> disappear from the desktop. (Also after virtual memory/disk indexing was
> turned off.)
> Booting with included debugger "-prom-env "aapl,debug=2000000" shows the
> nanokernel log
> still active. 

AFAICT there are two main sets of CPU fixes for OS 9: the first is Ben's
initial set of patches in ppc-for-2.8 which has just been applied, and
the second is Richard's TCG updates for which a pending pull request is
waiting.

Also there are some related interrupt tweaks in OpenBIOS to match Ben's
changes which may make a difference, and they should come in with the
next OpenBIOS update - once the context work is in, I'll send a pull
request to update the QEMU binaries. When all this is done please test
again and report back :)


ATB,

Mark.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]