NVMe I/O timeouts

I saw someone on twitter got the same problem as me about NVMe I/O timeouts. I added these params to the kernel and my problem is fixed.

pcie_aspm.policy=performance pcie_aspm=off pcie_port_pm=off nvme_core.default_ps_max_latency_us=0 nvme_core.io_timeout=255 nvme_core.max_retries=10 nvme_core.shutdown_timeout=10

Please try it if you got the same problem.


I’m having the same NVMe issue with my VisionFive2. I’ve been struggling with this for a week.

After some research I added nvme_core.default_ps_max_latency_us=0 to /boot/boot/extlinux/extlinux.conf .
This got rid of the I/O errors, but now causes a random reboot instead.

I’ll try adding your other parameters.

thank you.