Description of problem: NCQ seem not support under RHEL5U2(2.6.18-85). The dmesg information show that the kernel support the NCQ but in disable mode: [root@nsgsh-dhcp-130 ~]# dmesg | grep ata2 ata2: SATA max UDMA/133 cmd 0xd080 ctl 0xd000 bmdma 0xcc08 irq 18 ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata2.00: HPA detected: current 488390625, native 488397168 ata2.00: ATA-7: SEAGATE STN7225SBSUN250G 0703B217RZ, 3.AZG, max UDMA/133 ata2.00: 488390625 sectors, multi 16: LBA48 NCQ (depth 0/32) ata2.00: configured for UDMA/133 And the HDD support the NCQ function and already in enabled mode [root@nsgsh-dhcp-130 ~]# hdparm -I /dev/sda Commands/features: Enabled Supported: * SMART feature set Security Mode feature set * Power Management feature set * Write cache * Look-ahead * Host Protected Area feature set * WRITE_BUFFER command * READ_BUFFER command * DOWNLOAD_MICROCODE SET_MAX security extension * 48-bit Address feature set * Device Configuration Overlay feature set * Mandatory FLUSH_CACHE * FLUSH_CACHE_EXT * SMART error logging * SMART self-test * General Purpose Logging feature set 64-bit World wide name unknown 84[11] unknown 84[12] * SATA-I signaling speed (1.5Gb/s) * SATA-II signaling speed (3.0Gb/s) * Native Command Queueing (NCQ) * Phy event counters Device-initiated interface power management * Software settings preservation Version-Release number of selected component (if applicable): RHEL5U2(2.6.18-85) HDD:Seagae ST3250820NS How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: /sys/block/sda/device/queue_depth=1 Expected results: /sys/block/sda/device/queue_depth=31 Additional info: We have tried to change the queue_depth by "echo 31 > /sys/block/sdX/device/queue_depth" [root@nsgsh-dhcp-211 grub]# echo 31 > /sys/block/sda/device/queue_depth -bash: /sys/block/sda/device/queue_depth: Permission denied
Would you please test a more recent kernel? http://people.redhat.com/jwilson/el5/ If this fails, please attach you full dmesg output after boot, thanks.
Closing, please re-open if necessary.