Linux : ata: failed command: READ FPDMA QUEUED

Got “READ FPDMA QUEUED” errors from “dmesg” output on your Linux machine?


ata2.00: status: { DRDY ERR }

ata2.00: error: { UNC }

ata2.00: failed command: READ FPDMA QUEUED

ata2.00: cmd 60/28:70:28:19:89/00:00:6c:01:00/40 tag 14 ncq 20480 in

res 41/40:00:00:00:00/00:00:00:00:00/00 Emask 0x9 (media error)

This probably mean you have controller driver issue. Some controllers have known bugs with certain kernels and drivers.


You can resolve this by disabling NCQ (Native Command Queuing) as followed :


Shell


1

echo 1 > /sys/block/sdX/device/queue_depth

[Replace sdX with the involved device name (ie; sda)]


NOTE : To verify if NCQ is currently enabled, simply do :


Shell


1

cat /sys/block/sdX/device/queue_depth

If the returned value is higher than “1”, then it mean NCQ is enabled.


To enable NCQ, just do :

Shell


1

echo 31 > /sys/block/sdX/device/queue_depth


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章