From owner-freebsd-scsi@FreeBSD.ORG Tue May 14 13:40:05 2013 Return-Path: Delivered-To: scsi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0B6997C2; Tue, 14 May 2013 13:40:05 +0000 (UTC) (envelope-from prvs=18460eef42=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7A3B5F; Tue, 14 May 2013 13:40:04 +0000 (UTC) Received: from r2d2 ([46.65.172.4]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50003800310.msg; Tue, 14 May 2013 14:39:57 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Tue, 14 May 2013 14:39:57 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 46.65.172.4 X-Return-Path: prvs=18460eef42=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: From: "Steven Hartland" To: , "Alexander Motin" Subject: No NCQ or Speed detected for Intel ICH10 AHCI SATA Controller Date: Tue, 14 May 2013 14:40:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 May 2013 13:40:05 -0000 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: 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: at channel 0 on ahci0 ahcich0: Caps: ahcich1: at channel 1 on ahci0 ahcich1: Caps: ahcich2: at channel 2 on ahci0 ahcich2: Caps: ahcich3: at channel 3 on ahci0 ahcich3: Caps: ahcich4: at channel 4 on ahci0 ahcich4: Caps: ahcich5: at channel 5 on ahci0 ahcich5: Caps: ahciem0: 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: 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: 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: 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: 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@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@multiplay.co.uk.