Jump to content
🎉 [ IMPORTANT ] Premium and Donators users 🎉 ×

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?

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise 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

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

  • Administrators

Try this

EFI.zip

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...