I just got my Librem 13 v2 and equipped it with a Samsung 960 pro (an m2 nvme ssd) that I bought separately. So now I was ready to install Arch Linux. The disk did show up in the boot menu, so far so good. But when trying to install Arch, the disk was gone (lsblk didn’t show it either). So I checked dmesg and found this
[ 7.887827] nvme 0000:02:00.0: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0xffff
[ 7.906294] nvme 0000:02:00.0: Refused to change power state, currently in D3
Long story short: Thanks to KaKaRoTo on IRC I was able to avoid the problem by booting with nvme_core.default_ps_max_latency_us=0
.
Relevant bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184
Update: Another way to “fix” this issue is to downgrade to kernel 4.9 (I’m currently using 4.9.35). This also helped with issues when suspend/resume didn’t work.
I hope this helps somebody else that encounters the same problem.
And a picture (only one, because I’m a new user):