From owner-freebsd-stable@FreeBSD.ORG Tue Feb 23 17:11:51 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FE591065670; Tue, 23 Feb 2010 17:11:51 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id B22E88FC08; Tue, 23 Feb 2010 17:11:50 +0000 (UTC) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id o1NHBnpr049564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Feb 2010 18:11:49 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4B840C54.3010304@omnilan.de> Date: Tue, 23 Feb 2010 18:11:48 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: Alexander Motin References: <1266934981.00222684.1266922202@10.7.7.3> <4B83EFD4.8050403@FreeBSD.org> <4B83FD62.2020407@omnilan.de> <4B83FFEF.7010509@FreeBSD.org> In-Reply-To: <4B83FFEF.7010509@FreeBSD.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig77CB4EBBA6A071FCCD91FB34" Cc: freebsd-stable@FreeBSD.org Subject: Re: ahcich timeouts, only with ahci, not with ataahci X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2010 17:11:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig77CB4EBBA6A071FCCD91FB34 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Alexander Motin schrieb am 23.02.2010 17:18 (localtime): =2E.. >> I guess if it's a HDD firmware issue with NCQ the hang shouldn't happe= n >> when NCQ is disabled. >=20 > Just for case of real I/O timeout, run full surface test with SMART. Unfortunately I couldn't find new firmware from Samsung, although one=20 drive shows version 1AG01113 while the other two have 1AG01118. But the=20 timeout happened at different channels, so it's not one certain disk... One understanding question: If the drive doesn't complete a command,=20 regardless if it's due to a firmware bug, a disk surface error or=20 whatever, is there no way for the driver to terminate the request and=20 take the drive offline after some time? This would be a very important=20 behaviour for me. It doesn't make sense building RAIDz storage when a=20 failing drive hangs the complete machine, even if the system partitions=20 are on a complete different SSD. >> Btw, I found camcontrol cmd ada0 -a "EF 85 00 00 00 00 00 00 00 00 00 >> 00" for disabling APM and another one for disabling AAM. I did that fo= r >> my drives. Is there a wiki where we can place such valuable commands? >=20 > Probably not. It is just ATA commands, taken from ATA specification, bu= t > definitely it is not very easy way. Hmm, I saw some FreeBSD wikis, but I don't know if there's the _one_=20 official. I'll see if there's a possibility to leave some usefull hint's = for such purposes. Thanks, -Harry --------------enig77CB4EBBA6A071FCCD91FB34 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkuEDFUACgkQLDqVQ9VXb8iUdACfTBUWKqbolilNuKYOecpv6/Yq 1SwAoJh++wPFLWL9kAwXar20TEZA3f1l =W23z -----END PGP SIGNATURE----- --------------enig77CB4EBBA6A071FCCD91FB34--