OpenWrt Forum Archive

Topic: ahci port multiplier support on linksys wrt1200ac

The content of this topic has been archived on 9 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

My port multiplier works properly on the stock linksys firmware and on a linux machine running ubuntu 16.04.

I'm trying to get it working with openwrt. I've installed kmod-ata-achi but it only recognizes the first disk and dmesg doesn't show anything about the other disks or the port multiplier.

Am I missing some step or is support not in the module?

(Last edited by encore2097 on 15 Apr 2017, 05:30)

Port multiplier support isn't enabled by default. You will have to build your firmware from source.

I built with kernel modules <Y/*>:

<*>  k-mod-ata-core
<*>  k-mod-ata-ahci
<*>  k-mod-ata-<chipset>-sata

but only the first drive is detected and I dont see the port multiplier in dmesg.. did I miss a module?

Looks like CONFIG_SATA_PMP=y is needed. This isnt in make menuconfig

https://forum.openwrt.org/viewtopic.php … 02#p331002

edit^2: got it - add to target/kernel config

(Last edited by encore2097 on 17 Sep 2017, 02:07)

The discussion might have continued from here.