how to enable NCQ on Intel ESB2 AHCI SATA controller/ST31000340NS
Anton Yuzhaninov
citrin at citrin.ru
Tue Mar 22 10:25:30 UTC 2011
How to enable NCQ on this controller:
ahci0 at pci0:0:31:2: class=0x010601 card=0x808015d9 chip=0x26818086
rev=0x09 hdr=0x00
vendor = 'Intel Corporation'
device = 'LSI LOGIC, 62089A2, LSISAS1068 B0, T 0620, WE 119200.1
(62089A2)'
class = mass storage
subclass = SATA
bar [10] = type I/O Port, range 32, base 0x18a0, size 8, enabled
bar [14] = type I/O Port, range 32, base 0x1874, size 4, enabled
bar [18] = type I/O Port, range 32, base 0x1878, size 8, enabled
bar [1c] = type I/O Port, range 32, base 0x1870, size 4, enabled
bar [20] = type I/O Port, range 32, base 0x1880, size 32, enabled
bar [24] = type Memory, range 32, base 0xd8700400, size 1024,
enabled
cap 01[70] = powerspec 2 supports D0 D3 current D0
cap 12[a8] = SATA Index-Data Pair
dmesg:
ahci0: <Intel ESB2 AHCI SATA controller> port
0x18a0-0x18a7,0x1874-0x1877,0x1878-0x187f,0x1870-0x1873,0x1880-0x189f
mem 0xd8700400-0xd87007ff irq 19 at device 31.2 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported
...
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <ST31000340NS SN05> ATA-8acd0: DVDROM <DVD-ROM UJDA780/1.50> at
ata0-slave UDMA33
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <ST31000340NS SN05> ATA-8 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
....
There is no lines "Command Queueing enabled"
# camcontrol tags ada0
(pass0:ahcich0:0:0:0): device openings: 2
camcontrol identify ada0
pass0: <ST31000340NS SN05> ATA-8 SATA 2.x device
pass0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
protocol ATA/ATAPI-8 SATA 2.x
device model ST31000340NS
firmware revision SN05
serial number 9QJ1L67B
WWN 5000c500d902ea3
cylinders 16383
heads 16
sectors/track 63
sector size logical 512, physical 512, offset 0
LBA supported 268435455 sectors
LBA48 supported 1953525168 sectors
PIO supported PIO4
DMA supported WDMA2 UDMA6
media RPM 7200
Feature Support Enabled Value Vendor
read ahead yes yes
write cache yes yes
flush cache yes yes
overlap no
Tagged Command Queuing (TCQ) no no
Native Command Queuing (NCQ) yes 32 tags
....
# uname -srp
FreeBSD 8.2-STABLE-20110315 amd64
--
WBR,
Anton Yuzhaninov
More information about the freebsd-questions
mailing list