[OpenBIOS] Mac OS X panic - qemu fix

Amadeusz Sławiński amade at asmblr.net
Wed Jan 30 01:17:07 CET 2013


On Tue, Jan 29, 2013 at 09:51:05PM +0000, Mark Cave-Ayland wrote:
> On 29/01/13 17:46, Programmingkid wrote:
> 
> > On Jan 29, 2013, at 9:25 AM, Amadeusz Sławiński wrote:
> >
> >> Hey, you may want to try this patch against qemu
> >> https://lists.nongnu.org/archive/html/qemu-ppc/2013-01/msg00392.html
> >> it fixes, some of panics I have seen when trying to boot darwin/OS X
> >>
> >> On normal (not mac99) qemu machine, I was able to get to "Waiting for
> >> root device" on darwinppc, OS X 10.2, OS X 10.4
> 
> Nice work Amadeusz! Is this using unpatched OpenBIOS SVN trunk? How far 
> does it get with -M mac99?

I played a bit with openbios, however it seems to panic not recognizing
the model, I tried few values but to no avail. (I could probably copy
from oldworld, but then what is purpose of newworld?)

> > I also see waiting for root device on Mac OS 10.2. Mac OS 10.0 has a kernel panic. Excellent job. This patch is a step in the right direction.
> >
> > Too bad this patch comes a day after QEMU 1.3.1 is released. Hopefully it will be included in the next release.
> >
> > Does anyone know what is wrong with the Mac99 target? I think it has the potential of being a better target than an emulated Beige G3.
> 
> Andreas mentioned in an earlier post when trying to boot FreeBSD that 
> the "interrupt-parent" property wasn't being populated for the via-cuda 
> and ata-1/2/3 devices which may be a starting point?
> 
> http://lists.openbios.org/pipermail/openbios/2013-January/007348.html

Talking of interrupts I had to enable APPL,interrupts on newworld to make
it boot so there may be something wrong with them.

For now I think there are better chances of making default (g3beige)
target to boot than mac99.

Amadeusz



More information about the OpenBIOS mailing list