No NCQ or Speed detected for Intel ICH10 AHCI SATA Controller

Steven Hartland killing at multiplay.co.uk
Tue May 14 13:40:05 UTC 2013


We've got a number of FUJITSU RX200 S5 boxes here where we're seeing
I/O performance issues which looks like its down to AHCI not negotiating
correctly with the controller; specifically the FreeBSD AHCI driver is
unable to detect both the speed capability and possibly more importantly
NCQ support.

Our baseline is 8.3-RELEASE but we've also tested 10-Current r250629

I'm currently suspecting either a BIOS or HW issue, but would appreciate
any ideas people may have, as we do have machines for other manufactures
with fully working ICH10 AHCI.

Relevant entries from a verbose boot:-
ahci0: <Intel ICH10 AHCI SATA controller> port 0x1c50-0x1c57,0x1c44-0x1c47,0x1c48-0x1c4f,0x1c40-0x1c43,0x18e0-0x18ff mem 
0xce022000-0xce0227ff irq 16 at device 31.2 on pci0
ahci0: attempting to allocate 1 MSI vectors (16 supported)
ahci0: using IRQ 266 for MSI
ahci0: AHCI v1.20 with 6 ?Gbps ports, Port Multiplier not supported
ahci0: Caps: 64bit AL ?Gbps PMD 32cmd CCC EM 6ports
ahci0: Caps2:
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: Caps:
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: Caps:
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich2: Caps:
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich3: Caps:
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich4: Caps:
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich5: Caps:
ahciem0: <AHCI enclosure management bridge> on ahci0
ahciem0: Caps: ALHD XMT SMB LED
ahcich0: AHCI reset...
ahcich0: SATA connect time=100us status=00000123
ahcich0: AHCI reset: device found
ahcich1: AHCI reset...
ahcich1: SATA connect time=100us status=00000123
ahcich1: AHCI reset: device found
ahcich2: AHCI reset...
ahcich2: SATA connect time=100us status=00000123
ahcich2: AHCI reset: device found
ahcich3: AHCI reset...
ahcich3: SATA connect time=100us status=00000123
ahcich3: AHCI reset: device found
ahcich4: AHCI reset...
ahcich4: SATA connect timeout time=10000us status=00000000
ahcich4: AHCI reset: device not found
ahcich5: AHCI reset...
ahcich5: SATA connect timeout time=10000us status=00000000
ahcich5: AHCI reset: device not found
ahcich0: AHCI reset: device ready after 100ms
ahcich1: AHCI reset: device ready after 100ms
ahcich2: AHCI reset: device ready after 100ms
ahcich3: AHCI reset: device ready after 100ms
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada3 at ahcich3 bus 0 scbus3 target 0 lun 0
pass0 at ahcich0 bus 0 scbus0 target 0 lun 0
pass1 at ahcich1 bus 0 scbus1 target 0 lun 0
pass2 at ahcich2 bus 0 scbus2 target 0 lun 0
pass3 at ahcich3 bus 0 scbus3 target 0 lun 0
pass4 at ahciem0 bus 0 scbus6 target 0 lun 0
ses0 at ahciem0 bus 0 scbus6 target 0 lun 0

ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD10JPVT-00A1YT0 01.01A01> ATA-8 SATA 2.x device
ada0: Serial Number WD-WXC1C22N3130
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <WDC WD10JPVT-00A1YT0 01.01A01> ATA-8 SATA 2.x device
ada1: Serial Number WD-WXM1C5250163
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad6
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada2: <SAMSUNG SSD 830 Series CXM03B1Q> ATA-9 SATA 3.x device
ada2: Serial Number S0Z3NYAC206627
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: 122104MB (250069680 512 byte sectors: 16H 63S/T 16383C)
ada2: Previously was known as ad8
ada3 at ahcich3 bus 0 scbus3 target 0 lun 0
ada3: <SAMSUNG SSD 830 Series CXM03B1Q> ATA-9 SATA 3.x device
ada3: Serial Number S0Z3NYAC205724
ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada3: 122104MB (250069680 512 byte sectors: 16H 63S/T 16383C)
ada3: Previously was known as ad10

pciconf -lvbc
ahci0 at pci0:0:31:2:      class=0x010601 card=0x11501734 chip=0x3a228086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 port SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA
    bar   [10] = type I/O Port, range 32, base 0x1c50, size  8, enabled
    bar   [14] = type I/O Port, range 32, base 0x1c44, size  4, enabled
    bar   [18] = type I/O Port, range 32, base 0x1c48, size  8, enabled
    bar   [1c] = type I/O Port, range 32, base 0x1c40, size  4, enabled
    bar   [20] = type I/O Port, range 32, base 0x18e0, size 32, enabled
    bar   [24] = type Memory, range 32, base 0xce022000, size 2048, enabled
    cap 05[80] = MSI supports 16 messages enabled with 1 message
    cap 01[70] = powerspec 3  supports D0 D3  current D0
    cap 12[a8] = SATA Index-Data Pair
    cap 13[b0] = PCI Advanced Features: FLR TP

dmidecode information about the machine:-
Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: FUJITSU
        Product Name: PRIMERGY RX200 S5
        Version: GS02
Handle 0x0002, DMI type 2, 109 bytes
Base Board Information
        Manufacturer: FUJITSU
        Product Name: D2786

    Regards
    Steve 


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-scsi mailing list