Jump to content
Olarila Professional Hackintosh Services ×

SATA controller and issue with DSDT


Recommended Posts

Hello community,

Short story:

I'm running a mac os vm in a qemu virtual machine for years now without any issue; after upgrading qemu to latest v. 8.0.0 version my vm didn't boot anymore.

The vm is configured with a sata controller passthrough, and after some tests I found the issue in the DSDT; I'm able to run again the vm now, but I don't understand why it doesn't boot with the defective DSDT.

Here is a picture of the ioreg tree when I'm able to boot:

spacer.png

 

This DSDT (part of it..) works:

    Scope (\_SB)
    {
        Scope (PCI0)
        {

            Device (S08)
            {
                Name (_ADR, 0x00010000)  // _ADR: Address
            }
...
...

 

This DSDT (part of it...) doesn't work: apple complaining "still waiting for root device" with prohibition symbol:

    Scope (\_SB)
    {
        Scope (PCI0)
        {
            Device (S08)
            {
                Name (_ADR, 0x00010000)  // _ADR: Address
                Device (S00)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                }
            }
...
...

-------

So it works if DSDT defines S08, without defining S00 (rename of pci1b4b,9230).

Question is simple: anyone knows why this is happening?

 

Thank you!

Edited by ghost82
Link to comment
Share on other sites

  • Administrators

Do u injected some dev ids or only create a device?

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Link to comment
Share on other sites

Hi Mald0n, thanks for your reply.

I inject nothing, the default is to inject the ahci 3rd party kext, but even without it I'm able to boot with that marvell sata controller (the disk is detected as external but no issue), when DSDT doesn't give the S00 name.

So the only thing that changes is the rename of pci1b4b,9230 to S00 (I even try SATA name instead of S00); if it's renamed it doesn't boot.

Link to comment
Share on other sites

  • Administrators

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Link to comment
Share on other sites

Thank you for your time MaLd0n,

unfortunatly it doesn't boot, same "still waiting for root device".

I'll take as it is, this sata controller doesn't like an entry name in DSDT and I'll inject the whole fixed DSDT or the SSDT to hide S00, which both are tested to work ok.

Very strange...

Edited by ghost82
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...