Commit 77af8a2b9 breaks (mac)OS X 10.11.6

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Commit 77af8a2b9 breaks (mac)OS X 10.11.6

BALATON Zoltan
Hello,

After 77af8a2b9 (hw/i386: Use Rev3 FADT (ACPI 2.0) instead of Rev1 to
improve guest OS support.) OS X 10.11.6 hangs during boot near detecting
IOAPIC. (Gabriel's latest v3 applesmc patch series does not fix this.)
Maybe another register needs to be implemented somewhere?

Regards,
BALATON Zoltan

Reply | Threaded
Open this post in threaded view
|

Re: Commit 77af8a2b9 breaks (mac)OS X 10.11.6

Gabriel L. Somlo
Zoltan, Phil:

On Sun, Jun 18, 2017 at 11:25:15PM +0200, BALATON Zoltan wrote:
> After 77af8a2b9 (hw/i386: Use Rev3 FADT (ACPI 2.0) instead of Rev1 to
> improve guest OS support.) OS X 10.11.6 hangs during boot near detecting
> IOAPIC. (Gabriel's latest v3 applesmc patch series does not fix this.) Maybe
> another register needs to be implemented somewhere?

I can (still) boot off my 10.11.0 installer iso image, and
successfully upgraded from 10.11.4 to 10.11.6, with the latter
continuing to boot without problems.

This is with qemu master (patched for applesmc with the latest v3
pending series that's also on the mailing list), and OVMF master
(patched for HFS+).

Zoltan: did reverting 77af8a2b9 actually help in your case ? Leaving
it in doesn't seem to be a problem for me...

Thanks,
--Gabriel

Reply | Threaded
Open this post in threaded view
|

Re: Commit 77af8a2b9 breaks (mac)OS X 10.11.6

BALATON Zoltan
On Mon, 19 Jun 2017, Gabriel L. Somlo wrote:
> On Sun, Jun 18, 2017 at 11:25:15PM +0200, BALATON Zoltan wrote:
>> After 77af8a2b9 (hw/i386: Use Rev3 FADT (ACPI 2.0) instead of Rev1 to
>> improve guest OS support.) OS X 10.11.6 hangs during boot near detecting
>> IOAPIC. (Gabriel's latest v3 applesmc patch series does not fix this.) Maybe
>> another register needs to be implemented somewhere?
>
> I can (still) boot off my 10.11.0 installer iso image, and
> successfully upgraded from 10.11.4 to 10.11.6, with the latter
> continuing to boot without problems.

I had Clover with unpatched OVMF which worked before but hangs after
"AppleKeyStore starting" and before "IOAPIC: Version..." messages since
the above patch. Maybe it's a problem in Clover and I should try a newer
version.

> This is with qemu master (patched for applesmc with the latest v3
> pending series that's also on the mailing list), and OVMF master
> (patched for HFS+).

It boots with your patched OVMF so now I'm using that instead. (No boot
menu but it's faster.)

> Zoltan: did reverting 77af8a2b9 actually help in your case ? Leaving
> it in doesn't seem to be a problem for me...

I could not test reverting because this patch does not cleanly revert on
HEAD now but my image with Clover booted with the version before 77af8a2b9
and hangs starting with that patch. So since OS X 10.11.6 can be booted in
another way the subject should be this commit breaks Clover (at least the
old version I had). I can't test with a newer Clover version at the moment
but my problem is solved for now.

Thank you,
BALATON Zoltan

Reply | Threaded
Open this post in threaded view
|

Re: Commit 77af8a2b9 breaks (mac)OS X 10.11.6

Phil Dennis-Jordan
Hi,

Apologies for the late reply, I've been away.

On 20 June 2017 at 01:06, BALATON Zoltan <[hidden email]> wrote:
>> I can (still) boot off my 10.11.0 installer iso image, and
>> successfully upgraded from 10.11.4 to 10.11.6, with the latter
>> continuing to boot without problems.
>
> I had Clover with unpatched OVMF which worked before but hangs after
> "AppleKeyStore starting" and before "IOAPIC: Version..." messages since the
> above patch. Maybe it's a problem in Clover and I should try a newer
> version.

I never tested with Clover I'm afraid, so it's entirely possible that
it's broken something in there. Maybe it detects Qemu/KVM based on
FADT somehow, or has a FADT rewrite rule that falls over with the new
FADT. Either way, it's probably not too hard to fix on the Clover side
if nobody has done so yet.

>> This is with qemu master (patched for applesmc with the latest v3
>> pending series that's also on the mailing list), and OVMF master
>> (patched for HFS+).
>
> It boots with your patched OVMF so now I'm using that instead. (No boot menu
> but it's faster.)

I don't know if it'll work in Qemu/KVM with macOS, but if you really
need a boot menu you could try rEFInd.

HTH

Phil