articles:wd_sn550_linux
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| articles:wd_sn550_linux [2021-06-11 19:42] – created Tony | articles:wd_sn550_linux [2021-06-11 19:47] (current) – Tony | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== WD SN550 I/O Error on Linux ====== | ||
| + | Many people are switching over to M.2 NVMe drives. NVMe has been supported in the Linux kernel for quite some time. | ||
| + | The < | ||
| + | |||
| + | ====== Problem ====== | ||
| + | |||
| + | The problem is that earlier (or maybe all) of these drives have a major problem with the Linux kernel. I also don't know if this is limited to the SN 550, or if their other product lines are affected as well. | ||
| + | |||
| + | The SN550 will randomly time out (?) and you will be left unable to access anything on the system. | ||
| + | Running any command in a terminal just returns "I/O Error" | ||
| + | You can't debug from logs, since there is no drive anymore to log the errors to. | ||
| + | It seems like the entire file system unmounts itself as though you unplugged it. | ||
| + | |||
| + | Interestingly, | ||
| + | |||
| + | ====== Solution ====== | ||
| + | |||
| + | Thanks to the ArchLinux forums, I found a kernel parameter that has solved this problem for me. | ||
| + | |||
| + | You need to add the following to your kernel parameters at boot: | ||
| + | |||
| + | nvme_core.default_ps_max_latency_us=5500 | ||
| + | | ||
| + | If you use GRUB, add it to your < | ||
| + | |||
| + | On Arch, this is found in < | ||
| + | |||
| + | There are many instructions to add kernel parameters on the ArchWiki. | ||
| + | |||
| + | |||
| + | ====== Extras ====== | ||
| + | |||
| + | PS: The reason I call it Sandisk is that the NAND flash is still made by Sandisk, but as far as I know, WD acquired Sandisk a few years ago, and sells many SSDs under the WD brand name instead. Similar to how Toshiba is now rebranded as Kioxia. | ||
| + | |||
| + | Now I just need to fix the stupid AMDGPU Freeze error that locks up my system every other day... | ||
