Bonjour
I am trying to enable NCQ on my Western Digital WD3200AAKS on Ubuntu 10.10 (2.6.35-28-generic) . Output of dmesg command shows that it supports NCQ.
The output of dmesg | grep -i ncq shows:
[1.044972] ata4.01: ATA-8: WDC WD3200AAKS-75L9A0, 02.03E02, max UDMA/133
[1.044974] ata4.01: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32)
Output of cat /sys/block/sda/device/queue_depth shows “1” . That means its disable.
But when i try to enable NCQ and run
echo 31 > /sys/block/sda/device/queue_depth
I get an error :
bash: /sys/block/sdc/device/queue_depth: Permission denied
The permissions on this file are:
-r–r–r-- 1 root root 4096 2011-05-31 02:00 /sys/block/sda/device/queue_depth
I have used the same disc in open SUSE 11.1, where i found its NCQ is enabled by default and can be modified. The above command works fine and no permission issue occur.
How can i enable it in UBUNTU?
Best Regards
Scott Thomas