T5000 PCIE 转 SATA 盘不识别

T5000 接了一个 PCIE 转 SATA 转接卡无法正常识别SATA盘,内核有报错

dmesg-t5000-pcie2sata.txt (3.9 KB)

尝试关闭 CONFIG_PCIE_DPC ,还是无法正常建立链接

dmesg-no-dpc.txt (3.4 KB)

No experience with this as issue seems happened in the device driver already.

Please check with device vendor what to check first.

转接卡接在 X86 主板上可以正常识别到盘
接在thor上驱动就会报错

please dump the lspci -vvv result from your x86 PC and also when it is on Thor.

我咨询了 Asmedia,他们说 ASM1061 的 pcie max payloadsize 不能超过128 bytes,可以改吗?
系统下看实际是 512 bytes

Do you mean you need a lower MPS?

是的,需要如何修改 或 输入什么指令?

you could try with the common setpci command first.

example:
sudo setpci -s 0005:00:00.0 74.w (device capabilities register for x4)
sudo setpci -s 0005:00:00.0 78.w ( Device Control register for x4) and write value for bits 7:5 as (001b) for 256 Bytes MPS

Change the device to the one you are using.