码迷,mamicode.com
首页 > 系统相关 > 详细

Linux : ata: failed command: READ FPDMA QUEUED

时间:2014-09-11 09:43:52      阅读:717      评论:0      收藏:0      [点我收藏+]

标签: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

Linux : ata: failed command: READ FPDMA QUEUED

标签:linux : ata: failed command: read fpdma queued

原文地址:http://shiningliliang.blog.51cto.com/4984800/1550993

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!