Kernel Panic on Wake with "PCI link down" on Multiple NVMe SSDs

Hey r/Hackintosh community,

I'm at my wit's end with a sleep/wake issue and would be incredibly grateful for any ideas you might have. My machine instantly Kernel Panic s every time it tries to wake from sleep.

The most frustrating part? The error is identical even after I physically replaced the NVMe SSD.

The Problem:

Whenever the system wakes from sleep, it immediately panics with the following error related to the NVMe controller:

panic(...): nvme: "3rd party NVMe controller. PCI link down. ... CSTS=0xffffffff ..."

This indicates the drive is completely dropping off the PCI-E bus during the wake process.

My System Specs:

  • Model: MacBookPro15,4
  • macOS: Sonoma 14.4.1 (Build 24E248)
  • Bootloader: OpenCore (Latest)
  • Drives Tested (Both failed with the same panic):
    1. HS-SSD-A4000 1024G (Hiksemi)
    2. WD_BLACK SN7100 1TB (Western Digital)

What I've Already Tried (The Troubleshooting Journey):

I've spent days trying to resolve this and have followed all the standard advice I could find. Here's a list of everything I've done, none of which has fixed the panic:

  1. Fixed Initial Wakes: I had an initial issue with Wake reason: XDCI, which I Success fully resolved by creating a custom SSDT-DISABLE-XDCI.aml. The machine now tries to sleep properly, but panics on wake.
  2. Tried NVMeFix.kext: I installed the latest release of NVMeFix.kext and enabled it in my config. It had no effect on the "PCI link down" panic.
  3. Changed Hibernation Mode: I used sudo pmset -a hibernatemode 25 to force suspend-to-disk, hoping to bypass the issue. The panic still occurred.
  4. Tested Boot-Args: I've tested with hbfx-ahbm=3 to see if it would help with sleep image handling, but it made no difference.
  5. Replaced the Physical SSD: Thinking the first drive (HS-SSD-A4000) was the culprit, I bought and installed a completely different one (WD_BLACK SN7100). To my shock, the exact same Kernel Panic happened on the new drive.

My Question for the Community:

Given that the issue persists across two different drives and I've already tried the standard kexts and settings, I'm starting to run out of ideas.

  • Has anyone else experienced this persistent "PCI link down" panic that even NVMeFix.kext and hibernatemode 25 can't solve?
  • Is it possible the WD_BLACK SN7100 is also known to be incompatible, just like the first one?
  • Are there any other boot arguments, device properties, or more advanced ACPI patches I could try to prevent the PCI link from dropping during wake?

I can provide full panic logs if needed.

Thank you so much in advance for any help or suggestions you can offer!

Author: @Realistic_Wall_248