4.17.x kernels cause "nvme0: controller is down" at boot on MacBook Air

asked 2018-10-13 16:33:19 -0500

netllama gravatar image

updated 2018-10-14 11:23:47 -0500

Ever since Fedora released 4.17.x kernels back in Fedora27, my MacBook Air (7,1) hangs during boot when attempting to use the nvme disk controller, with messages such as:

[   32.742056] llamamac kernel: nvme nvme0: controller is down; will reset: CSTS=0x3, PCI_STATUS=0x810
[ 32.767211] llamamac kernel: nvme nvme0: detected Apple NVMe controller, set queue depth=2 to work around controller resets
[ 48.368123] llamamac kernel: nvme nvme0: Device not ready; aborting reset
[ 48.368181] llamamac kernel: nvme nvme0: Removing after probe failure status: -19
[ 132.401562] llamamac dracut-initqueue[330]: Warning: dracut-initqueue timeout - starting timeout script

I also tried a fresh install of Fedora28 today, and it boots fine with the original 4.16.3-301.fc28.x86_64 kernel, but as soon as I upgrade past 4.16.x, the same problem persists.

I opened a bugzilla for this problem 3 months ago ( https://bugzilla.redhat.com/show_bug.... ), but no one has helped yet.

edit retag flag offensive close merge delete

Comments

Does 4.18 work? Here's updated Fedora 28 and 29 beta, both with 4.18 kernel.

Have you tried booting with nvme_core.default_ps_max_latency_us=5500 kernel parameter (with 5500, not 0 as value)?

ozeszty gravatar imageozeszty ( 2018-10-14 07:50:12 -0500 )edit

Thanks for your reply!

No, 4.18 does not work either. I tested with 4.18.12-200 yesterday, and it also exhibited the same misbehavior.

I just tried booting with nvme_core.default_ps_max_latency_us=5500 but it did not help either.

netllama gravatar imagenetllama ( 2018-10-14 11:23:25 -0500 )edit

Maybe there's some firmware update that made this kernel parameter work for others?

ozeszty gravatar imageozeszty ( 2018-10-15 17:47:34 -0500 )edit

The OSX install on this system claims that there's no updates. Plus, I've yet to find anyone (online) with one of these systems. It appears that Apple produced a SATA version and an NVMe version, and everyone seems to have the SATA variant.

netllama gravatar imagenetllama ( 2018-10-15 17:52:30 -0500 )edit