Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Feb 2011 00:37:55 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Solution [Was: Re: ahci.ko and IXP700/800 -> no disk found]
Message-ID:  <4D4C7FC3.8070609@FreeBSD.org>
In-Reply-To: <4D4C7E3C.6050609@omnilan.de>
References:  <4D49B924.2020809@omnilan.de> <4D4C2C40.5030302@omnilan.de> <4D4C76EF.8010108@omnilan.de> <4D4C7E3C.6050609@omnilan.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05.02.2011 00:31, Harald Schmalzbauer wrote:
> 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?
>>
>> 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=152817
>> 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=215454&r2=217444&pathrev=217444&diff_format=u)
>> and applied it to RELENG_8_2.
>> Unfortunately I'm still getting the TFD: 04d1 ahcich Poll error and the
>> disk isn't seen.
>>
>> 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 return
>                   * ABORT on attempt to disable it.
>                   */
> -               } else if (softc->action == PROBE_SETPM&&
> +               } else if ((softc->action == PROBE_SETPM ||
> +                   softc->action == PROBE_SETDMAAA)&&
>                      status == CAM_ATA_STATUS_ERROR) {
>                          goto noerror;
>                          }

Alike patch was committed to HEAD at r217875 and will be merged to 
8-STABLE soon.

> Will there be a errata for 8.2 regarding that issue?
> Anybody unpacking a HP N36L will probably think the controller is not
> working...

IMHO it should be errata for HDD, not for the system.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D4C7FC3.8070609>