Created attachment 279085 [details]
system inventory, including dmesg with failure
Ever since Fedora released 4.17.x kernels, my MacBook Air (7,1 with NVMe *not* SATA) hangs and crashes 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: Warning: dracut-initqueue timeout - starting timeout script
I've tried booting with nvme_core.default_ps_max_latency_us=5500 but that had no impact. I've also tested 4.18.x kernels, with no change in misbehavior.
There are also reports that vanilla kernel.org kernels of the same versions also behave in the same fashion. This bug is *NOT* present on 4.16.x (and older) kernels. It was definitely introduced in 4.17.x.
Getting same problem since 4.17.x kernels using Toshiba XG3 thnsn51t02du7 nvme drive.
Can use kernels 4.15 without issue.
Running Fedora on a x64 platform, cannot post logs as the nvme drive is the only drive in the system and when it borks logs cannot be saved.
As I've had to put the system to one side till a fix am happy to run tests as it's now become a dev system to all intents and purposes.
@anthony you should be able to get the logs off the system with a USB stick. Eventually the boot process will time out, and dump you to a primitive shell where you can inspect the in memory logs, and mount a USB stick to copy them over. That's what I was able to do.
Did this ever get fixed?
I had to pull the nvme drive from the box as needed the box for something else and would be useful if I could now put the nvme drive back in.
Nope, not fixed. Sadly, this hardware has been abandoned by the Linux community.