On Nov 11, 2015, at 4:32 PM, Andreas Tobler wrote:
On 11.11.15 19:55, Programmingkid wrote:
On Nov 11, 2015, at 12:54 PM, Mark Cave-Ayland wrote:
On 11/11/15 15:15, Programmingkid wrote:
I built Cormac O'Brien's QEMU repo for
Mac OS 9 and tried to boot my Mac OS 10.4 boot cd. Mac OS 10.4's kernel panics because
of a CUDA problem. I did use the mac99 target. Here is the error message:
panic(cpu 0 caller 0x16E786CC): CUDA - TODO CHECK FOR TRANSACTION TYPE AND ERROR
This is the command I used: ./ppc-softmmu/qemu-system-ppc -boot d -cdrom ~/tiger.iso
-prom-env boot-args=-v -usb -M mac99
I think there is still something wrong with CUDA. But we might not have to
"fix" it. When we use the mac99 target, the PowerMac3,1 Macintosh system is what
we are trying to emulate. My sources indicate that the PowerMac3,1 doesn't have a CUDA
chip. This chip is used for ADB communications. Using it only on the BeigeG3 target makes
My sources for the PowerMac3,1 system is this link:
and this device tree:
PowerMac G4 device tree
I've done quite a bit of work on Cormac's tree (primarily to fix CUDA
issues that broke OS X among other things) and posted it to the
qemu-devel list at
The patchset posted works well for me here, and I suspect will fix the
issues that you've been seeing. Note that you'll also need the separate
OpenBIOS binary mentioned in the link above if you want to try booting
OS 9 since one of the OpenBIOS patches hasn't been applied to trunk
since it regresses other images.
It looks like you are saying you wish to keep the CUDA device. Mac OS 9 is most
likely hard coded to expect via-pmu instead of via-cuda on the mac99 target.
Moving on to via-pmu might make QEMU more compatible with Mac OS 9.
I will still try your patches. Do you have a repo that I could just clone? It is a
lot less error prone than patches.
I'd like to keep the CUDA too, FreeBSD PowerPC (32-bit) relies on it. Unfortunately
it still doesn't work ... but hope is still here ;)
On a new world Mac? I'm thinking a mistake has been made. Maybe you mean via-pmu?
According to FreeBSD's website all Macintoshes with a built-in USB port are supported.
This would only mean new world Macs and they only have a via-pmu - no cuda device.
Mark, is your complete qemu patch available somewhere?
Then I could test 32-bit PowerPC on FreeBSD which still hangs on adb... up to now.
I'm thinking removing ADB support would fix this problem. Most real new world Macs
have no ADB support.