Re: Bug report for ahci-mvebu driver

Damien Le Moal
2022-12-09T00:34:07Z

On 12/9/22 03:06, marius@psihoexpert.ro wrote:
> December 8, 2022 12:51 AM, "Damien Le Moal" <damien.lemoal@opensource.wdc.com> wrote:
>
>> By the way, did you also try a cold boot ? Switching off your router,
>> connect the pmp box, turn on the router ? Does it change anything ?
>> ATA hot-plugging tends to have more problems, so worth trying. The
>> ahci_mvebu driver errata is for hot-plug, so this newer SoC may have
>> different issues with that too.
>
> Yes. No change. Same errors.
>
>> Can you try with no patches and no revert adding the following options to
>> your kernel command line ?
>>
>> libata.force=2:3Gbps
>
> No change. Same errors.
>
>> libata.force=2:1.5Gbps
>
> This one works, without any error at the beginning, unlike the way reverted commit worked.

Interesting. So it looks like the adapter does not like speeds above
1.5Gbps, at least with pmp/fbs... When connecting a regular 3 or 6 gbps
HDD (sata-2 or sata-3), do you get higher speeds ?

So the temporary workaround is to use "libata.force=2:1.5Gbps" on the
kernel command line. For a better fix, we need to figure out why higher
speeds do not work... Difficult one. Let me have another look at the specs
& driver again. Might take some time though.