read time outs on TANK hdd #38

Open
opened 2026-11-02 21:26:21 +01:00 by luuumine · 2 comments
Owner

i get getting those timeouts and i don't know why.
changed both sata data, sata power, and the sata mb port but read timeouts still happen from time to time (like, every day or so)

[Mon Nov  2 16:38:02 2026] ata7.00: failed command: READ FPDMA QUEUED
[Mon Nov  2 16:38:02 2026] ata7.00: cmd 60/00:f8:38:1d:d0/01:00:90:03:00/40 tag 31 ncq dma 131072 in
                                    res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[Mon Nov  2 16:38:02 2026] ata7.00: status: { DRDY }

i don't think the drive is the issue as all smart indicators are healthy

i get getting those timeouts and i don't know why. changed both sata data, sata power, and the sata mb port but read timeouts still happen from time to time (like, every day or so) ``` [Mon Nov 2 16:38:02 2026] ata7.00: failed command: READ FPDMA QUEUED [Mon Nov 2 16:38:02 2026] ata7.00: cmd 60/00:f8:38:1d:d0/01:00:90:03:00/40 tag 31 ncq dma 131072 in res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [Mon Nov 2 16:38:02 2026] ata7.00: status: { DRDY } ``` i don't think the drive is the issue as all smart indicators are healthy
luuumine added the due date 2026-12-01 2026-11-02 21:28:35 +01:00
Author
Owner

mitigation steps: temporarily set ncq depth to 1

echo 1 | sudo tee /sys/block/sda/device/queue_depth

if that reduces / stops the errors, i might just disable ncq altogether:

boot.kernelParams = [
  "libata.force=7.00:noncq"
];

lets check back in a month

mitigation steps: temporarily set ncq depth to 1 ```bash echo 1 | sudo tee /sys/block/sda/device/queue_depth ``` if that reduces / stops the errors, i might just disable ncq altogether: ```nix boot.kernelParams = [ "libata.force=7.00:noncq" ]; ``` lets check back in a month
Author
Owner

seems like the issue is the drive ALPM. trying this:

powerManagement.scsiLinkPolicy = "max_performance";
seems like the issue is the drive ALPM. trying this: ```nix powerManagement.scsiLinkPolicy = "max_performance"; ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

2026-12-01

Dependencies

No dependencies set.

Reference
luuumine/nixos#38
No description provided.