From owner-freebsd-scsi@FreeBSD.ORG Tue May 14 21:17:24 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 CDD4BD21 for ; Tue, 14 May 2013 21:17:24 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-qe0-f50.google.com (mail-qe0-f50.google.com [209.85.128.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9385DDC3 for ; Tue, 14 May 2013 21:17:24 +0000 (UTC) Received: by mail-qe0-f50.google.com with SMTP id k5so855972qej.9 for ; Tue, 14 May 2013 14:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KqquapXaVgRts2IrsMr15yHFpZOn/mkPG7bpnVifwq8=; b=F0fsZURLviFkaX+b9+prXLBSmDWI1hZeX5Z4/rw4eneF2SXHNg3krrWM3V0nEujV7v FWRu4UtxWwnz9Aq56bfAnaACdXV9KCVM6YEqQQkZvmVcyguTwTce9UhVOhpE1IOlTaTl xJCa1QsipHCkmzK1jOpJe4wD1NdRtzcpSvYm2OMuytEjgXY263jsjIbfu2Fqy4fa/6ws YK8bw1/PkOsKWgKA6rAQiTL7gH3Gp4kA8+yP0xjiYtb3ZLRsPxlQ1RzFa02By7oWb/wO 8laKPK/xeDL2ZcYyzWEvBfJj9e2yBHChz4lFNxGgk5whvDdbPcC0tYAXqVwjh274ElGX TrpQ== X-Received: by 10.49.83.231 with SMTP id t7mr19973736qey.9.1368566238141; Tue, 14 May 2013 14:17:18 -0700 (PDT) Received: from mavbook.mavhome.dp.ua ([173.243.45.194]) by mx.google.com with ESMTPSA id db3sm653406qab.4.2013.05.14.14.17.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 May 2013 14:17:17 -0700 (PDT) Sender: Alexander Motin Message-ID: <5192A9DB.6010101@FreeBSD.org> Date: Wed, 15 May 2013 00:17:15 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130413 Thunderbird/17.0.5 MIME-Version: 1.0 To: Steven Hartland Subject: Re: No NCQ or Speed detected for Intel ICH10 AHCI SATA Controller References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: scsi@freebsd.org 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 21:17:24 -0000 On 14.05.2013 16:40, Steven Hartland wrote: > 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 AHCI controller capabilities there looks quite pitiful. That is not typical for ICH10. On my machine with Supermicro server board and ICH10 chipset it looks like this: ahci2: Caps: 64bit NCQ SNTF SS ALP AL CLO 3Gbps PMD SSC PSC 32cmd CCC EM eSATA 6ports Without NCQ capability reported by the hardware driver predictably didn't enable it. I think it may be a BIOS bug. At least I've seen once that AHCI capabilities changed after BIOS update. -- Alexander Motin