Contribute
Register

[Solved] macOS Ventura reboots with no KP log after install (AMD)

Joined
Nov 1, 2020
Messages
7
Motherboard
Asrock B550M-Pro4
CPU
AMD Ryzen 5 3600
Graphics
RTX 2070 super + RX 5500xt
I installed macOS Ventura on my AMD X570 platform, but it keeps restarting just before entering the setting screen.

I installed macOS Ventora by USB stick according to Dortania's guide, to a Samsung SATA SSD (PM871a). Installer worked fine and after several reboots, the menu in OpenCore changed to macOS, not installer, which is the label of the macOS volume I created. From my previous experiences, it should be a success installation and will boot into the one-time setting screen.

But when it was about to enter the GUI, it rebooted. I think it got kernel panic, but the log won't persist even if I set debug=0x100 and keepsyms=1 in boot-args. It just rebooted. I'm even not sure if it is kernel panic.

I cannot get kernel panic logs because it flashed too quickly. And there is also no log in the macOS volume nor in the OpenCore boot volume.

I will upload my EFI folder.

My spec:
CPU: AMD Ryzen 9 5900X
Memory: DDR4 3200Mhz (OC to 3600Mhz, pretty stable)
MB: MSI X570 Tomahawk
Graphics: AMD RX6800XT (Lenovo OEM Card)
Storage: Samsung PM871a (SATA, macOS volume), Samsung PM9A1 (in the first M.2 slot, Windows system partition)

Does the PM9A1 cause the reboot problem?

Things tried:
Disable resizeBAR and changed resizeBAR option in config.plist to -1.
Disable above 4G Decoding add npci=0x3000 in boot-args.
Change agdpmod=pikera to ignore and vit9696, and delete the agdpmod flag.
Add the -wegnoegpu flag.
Add the -wegoff flag.
Remove the WhateverGreen kext.
Change the OpenCore screen resolution (changed the value to 1920x1080 but resolution not changed).
Plug in 2 and 1 screen, tried both DP port.
Add NVMEFix.kext (removed for now because it has no effect)
Downgrade WhateverGreen.kext to 1.6.3 and 1.6.0 (now 1.6.4)
Downgrade Lilu.kext to 1.6.3 (now 1.6.4)
Tried iMac20,1, iMac19,1, iMacPro1,1, MacPro7,1 SMBIOS.

Nothing above worked.
 
Last edited:
EFI folder
 

Attachments

  • EFI.zip
    3.9 MB · Views: 63
BTW, I have a Mellanox 10G NIC on the second PCIE x16 slot. Will it be the cause?
 
I give the answer by myself. The cause is the Mellanox CX311 10G NIC. It will make the system reboot with no KP logs. If I plug off the card, the system boots normally.

Finally, I use a SSDT to disable the card. The SSDT dsl file is as following.

Code:
DefinitionBlock ("", "SSDT", 2, "DRTNIA", "spoof", 0x00000000)
{
    External (_SB_.PCI0.BXBR.BYUP.BYD2.BYS2, DeviceObj)


    Method (_SB_.PCI0.BXBR.BYUP.BYD2.BYS2._DSM, 4, NotSerialized)  // _STA: Status
    {
        If (LNot (Arg2))
        {
            Return (Buffer (One)
            {
                0x03
            })
        }


        Return (Package (0x0A)
        {
            "name",
            Buffer (0x0A)
            {
                "#mlx4"
            },


            "IOName",
            "#mlx4",
            "class-code",
            Buffer (0x04)
            {
                0xFF, 0xFF, 0xFF, 0xFF
            },


            "vendor-id",
            Buffer (0x04)
            {
                0xFF, 0xFF, 0x00, 0x00
            },


            "device-id",
            Buffer (0x04)
            {
                0xFF, 0xFF, 0x00, 0x00
            }
        })
    }
}

Now, the system can boot normally.
 
  • Like
Reactions: lrs
Hey Kuma, I have a similar build as you. Would you be willing to help.

Originally I built my hackintosh with catalina back in 2020 and it served me well. I decided to upgrade my hackintosh to Ventura and was successful in doing so. I did a complete wipe and was able to log in 15-20 times but did experience issues with the GPU (I think). My video would often cut out even though the machine was still operating.

Eventually it would get worse to the point that I am unable to boot into the machine and continuously restart when the boot loader gives me the open to startup in macosx. I am going to get my EFI folder and share it in this thread but hoping to get any advice you may have (it sometimes feels as though there are not many AMD hackers left).
 
Back
Top