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 ?