From owner-svn-src-head@FreeBSD.ORG Sat Feb 12 14:32:59 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3CE0106564A; Sat, 12 Feb 2011 14:32:58 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 21FE18FC15; Sat, 12 Feb 2011 14:32:57 +0000 (UTC) Received: by ewy24 with SMTP id 24so1772810ewy.13 for ; Sat, 12 Feb 2011 06:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=gSIvVdRpxv+x2/40yTW4SciU9UMSFpe574ERBst2R0c=; b=wG6c1kCzi4iO81fLSp2VdKoQ+/ycPTZwIDWm5jFcxrz3epWOFqYKjPfzRQdU2nLQ4Y vqYnMpXF4CHbV0VOHSQlZLS5nrg2WGb+/qf2X4VS5dwdvgiRmJn/93Jc/z2JPxl7NpY/ Nv5x8pVYutCA+0XhqIx4WGpeBiS/TlHLxE5qI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=jVbmhkT9pK+sBZ1ZcLgfJd0ahy/NaLWCo93q/MnNavlw7B2c3fHr0YVdVlSqKCK8m5 CVwgGXLpMouNv9T5dV7ykFs71NRSsbwBSU4OfMhXVYUsmQ61Ps75CUgp1ru3W69Q4EK4 jyIsryx2feACWctbIp6Id/G/e+fQFMlOnbhak= Received: by 10.213.25.148 with SMTP id z20mr1696695ebb.92.1297519307502; Sat, 12 Feb 2011 06:01:47 -0800 (PST) Received: from mytaht-2.totalterror.net (93-152-151-19.ddns.onlinedirect.bg [93.152.151.19]) by mx.google.com with ESMTPS id q52sm472328eei.15.2011.02.12.06.01.45 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Feb 2011 06:01:46 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Nikolay Denev In-Reply-To: <201102120706.p1C76eLP088428@svn.freebsd.org> Date: Sat, 12 Feb 2011 16:01:43 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201102120706.p1C76eLP088428@svn.freebsd.org> To: Alexander Motin X-Mailer: Apple Mail (2.1082) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218596 - head/sys/dev/ahci X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 14:32:59 -0000 On 12 Feb, 2011, at 09:06 , Alexander Motin wrote: > Author: mav > Date: Sat Feb 12 07:06:40 2011 > New Revision: 218596 > URL: http://svn.freebsd.org/changeset/base/218596 >=20 > Log: > Disable NCQ for multiport Marvell 88SX61XX SATA controllers. = Simultaneous > active I/O to several disks (copying large file on ZFS) causes = timeout after > just a few seconds of run. Single port 88SX6111 seems like not = affected. >=20 > Skip reading transferred bytes count for these controllers. It works = for > 88SX6111, but 88SX6145 always returns zero there. Haven't tested = others, > but better to be safe. >=20 > Modified: > head/sys/dev/ahci/ahci.c >=20 I was using Marvell 6121 for quite some time with OCZ Throttle eSATA 8G = flash drive for zfs l2arc, but the timeouts were not there from the beginning. Maybe NCQ was not = enabled in earlier drivers? Also there is no other drive/ssd attached to the controller, the OCZ = drive reports that it supports 2 tag openings. atapci2@pci0:4:0:0: class=3D0x01018f card=3D0x612111ab = chip=3D0x612111ab rev=3D0xb2 hdr=3D0x00 vendor =3D 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device =3D '6121 SATA2 Controller' class =3D mass storage subclass =3D ATA bar [10] =3D type I/O Port, range 32, base 0xbf00, size 8, = enabled bar [14] =3D type I/O Port, range 32, base 0xbe00, size 4, = enabled bar [18] =3D type I/O Port, range 32, base 0xbd00, size 8, = enabled bar [1c] =3D type I/O Port, range 32, base 0xbc00, size 4, = enabled bar [20] =3D type I/O Port, range 32, base 0xbb00, size 16, = enabled bar [24] =3D type Memory, range 32, base 0xfb9ff000, size 1024, = enabled cap 01[48] =3D powerspec 2 supports D0 D1 D3 current D0 cap 05[50] =3D MSI supports 1 message=20 cap 10[e0] =3D PCI-Express 1 legacy endpoint max data 128(128) link = x1(x1) ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected