Hello! This is my first post...
I have a question concerning NCQ. I would like to enable it, as it is currently disabled on my machine.
[root@core ~]# cat /sys/block/sdb/device/queue_depth
1
I have 3 Seagate ST3500320AS 500GB drives connected to a Promise SATA 300 TX4 controller.
However, when I try to enable a greater queue_depth, I get this:
[root@core ~]# echo 31 > /sys/block/sdb/device/queue_depth
-bash: /sys/block/sdb/device/queue_depth: Permission denied
The sysfs filesystem is mounted read-write:
[root@core ~]# mount
/dev/mapper/vg_root-lv_root on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
But the queue_depth pseudo file is read only:
[root@core ~]# ls -altr /sys/block/sdb/device/queue_depth
-r--r--r-- 1 root root 0 2008-06-12 18:25 /sys/block/sdb/device/queue_depth
If I try to change the permissions on the queue_depth pseudo file, I get this:
[root@core ~]# chmod u+w /sys/block/sdb/device/queue_depth
[root@core ~]# echo 31 > /sys/block/sdb/device/queue_depth
-bash: echo: write error: Input/output error
Does anyone have any ideas? I would like to enable NCQ to do some benchmarking.
Here's the hardware setup:
[root@core ~]# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 745 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:08.0 Mass storage controller: Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
01:00.0 VGA compatible controller: Intel Corporation 82740 (i740) AGP Graphics Accelerator (rev 21)
Drives from dmesg:
[root@core ~]# dmesg | grep -i ncq
ata3.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata5.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)


Reply With Quote
