I recently bought a new Samsung 870 EVO SSD for my computer (AMD CPU, nvidia GPU) which was previously running on a Samsung 860 EVO SSD. I installed Ubuntu 20.04 on the new disk. No issues during installation. I encountered no problems with the old SSD (same Ubuntu version). System works fine once booted (no errors whatsoever in dmesg). But now I am randomly getting these errors at boot (~ 1 out of 10 boots):
ata1.00: status: { DRDY }
ata1.00: failed command: READ FPDMA QUEUED
ata1.00: cmd 60/08:70:58:a6:46/00:00:10:00:00/40 tag 14 ncq 4096 in
When this happens, computer usually won't boot, or takes a lot of time and once booted OS is not usable. A simple restart fixes the issue and then everything works as expected.
What I tried :
- Sent my first 870 back and asked for a replacement -> Same errors with the new one.
- Changed SATA cable and switched SATA port on motherboard -> Same.
- Smartctl -t long finds no errors.
There are lots of posts with the same issue, and it seems that the only offered solution is to disable NCQ. From what I understood, disabling it will significantly lower system performance which I would like to avoid. What can be wrong with this new SSD given that the previous model always worked just fine ?
Samsung Magician
and check your SSD firmware. Else do the NCQ patch that I've outlined many times elsewhere. – heynnema May 31 '21 at 20:32libata.force=noncqtrim
, which is supposed to impact performance less thanlibata.force=noncq
. I'll post an update here in some days. I also found that my SSD's firmware is the latest one. – Caribou123 Jun 01 '21 at 20:40libata.force=noncq
for it's what you mentioned in another post. If it's something else than I would very much appreciate a repost. – Caribou123 Jun 02 '21 at 11:22noncqtrim
solved the issue. – Caribou123 Jun 04 '21 at 15:33grep -i FPDMA /var/log/syslog*
. – heynnema Jun 04 '21 at 16:13