From owner-freebsd-stable@FreeBSD.ORG Fri Feb 4 22:31:23 2011 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 E5134106564A; Fri, 4 Feb 2011 22:31:23 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 1B81E8FC15; Fri, 4 Feb 2011 22:31:22 +0000 (UTC) Received: from akima.flb.omnilan.net (akima.lo4.flb.omnilan.net [172.21.1.41]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id p14MVMqR045266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Feb 2011 23:31:22 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) X-Authentication-Warning: smtp.dmz.omnisec.de: Host akima.lo4.flb.omnilan.net [172.21.1.41] claimed to be akima.flb.omnilan.net Message-ID: <4D4C7E3C.6050609@omnilan.de> Date: Fri, 04 Feb 2011 23:31:24 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100812 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD Stable References: <4D49B924.2020809@omnilan.de> <4D4C2C40.5030302@omnilan.de> <4D4C76EF.8010108@omnilan.de> In-Reply-To: <4D4C76EF.8010108@omnilan.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2330078C4E8F96C18209B346" Cc: Alexander Motin Subject: Solution [Was: Re: ahci.ko and IXP700/800 -> no disk found] 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: Fri, 04 Feb 2011 22:31:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2330078C4E8F96C18209B346 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Am 04.02.2011 23:00, schrieb Harald Schmalzbauer: > Am 04.02.2011 17:41, schrieb Harald Schmalzbauer: > ... >> One thing of interest could be the answer I get when I 'camcontrol >> rescan all': >> ahcich0: Poll error on slot 0, TFD: 04d1 >> >> Any chance to get ahci.ko working with that SB700 controller? >=20 > I found out that it doesn't seem to be a problem of the specific > chipset, but ahci.ko with that specific HDD. > Doing some searches for my HDD model lead me to that PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D152817 > It describes exactly my problem and I thought that there's also a > solution available: > I took the patch mentioned as "committed to head" in the PR > (http://svn.freebsd.org/viewvc/base/head/sys/cam/ata/ata_xpt.c?r1=3D215= 454&r2=3D217444&pathrev=3D217444&diff_format=3Du) > and applied it to RELENG_8_2. > Unfortunately I'm still getting the TFD: 04d1 ahcich Poll error and the= > disk isn't seen. >=20 > What's my mistake? Ok, me again, for the records, it seems the committed patch is missing some relevant lines from the PR-discussion. I additionally applied the following, which makes the disk usable: --- src/sys/cam/ata/ata_xpt.c (revision 217514) +++ src/sys/cam/ata/ata_xpt.c (working copy) @@ -775,7 +775,8 @@ * device-initiated interface power management, but retur= n * ABORT on attempt to disable it. */ - } else if (softc->action =3D=3D PROBE_SETPM && + } else if ((softc->action =3D=3D PROBE_SETPM || + softc->action =3D=3D PROBE_SETDMAAA) && status =3D=3D CAM_ATA_STATUS_ERROR) { goto noerror; } Will there be a errata for 8.2 regarding that issue? Anybody unpacking a HP N36L will probably think the controller is not working... Thanks, -Harry --------------enig2330078C4E8F96C18209B346 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.16 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1MfjwACgkQLDqVQ9VXb8ik1QCfdr/LhD7JmMmeeqF1rtXDPWpL LPQAoK7ah4/JlBj4W3cdQWNMX6bTmZ/6 =2rRM -----END PGP SIGNATURE----- --------------enig2330078C4E8F96C18209B346--