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


本文出自 “shiningliliang” 博客,请务必保留此出处http://shiningliliang.blog.51cto.com/4984800/1550993

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。