Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2011 16:01:43 +0200
From:      Nikolay Denev <ndenev@gmail.com>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r218596 - head/sys/dev/ahci
Message-ID:  <B7AF5EEA-24AD-4D83-9520-65199CA00B05@gmail.com>
In-Reply-To: <201102120706.p1C76eLP088428@svn.freebsd.org>
References:  <201102120706.p1C76eLP088428@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B7AF5EEA-24AD-4D83-9520-65199CA00B05>