We plugged an Intel X520 adapter with PCIe interface into HiFive Unmatched, but it couldn’t be detected by the board. Below is an output of lspci command from my board:
root@unmatched:~# lspci
00:00.0 PCI bridge: SiFive, Inc. Device 0000
01:00.0 PCI bridge: ASMedia Technology Inc. Device 2824 (rev 01)
02:00.0 PCI bridge: ASMedia Technology Inc. Device 2824 (rev 01)
02:02.0 PCI bridge: ASMedia Technology Inc. Device 2824 (rev 01)
02:03.0 PCI bridge: ASMedia Technology Inc. Device 2824 (rev 01)
02:04.0 PCI bridge: ASMedia Technology Inc. Device 2824 (rev 01)
02:08.0 PCI bridge: ASMedia Technology Inc. Device 2824 (rev 01)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
We have tried plugging the Intel X520 adapter into a PC, it could be detected by PC normally, we also tried plugging a GPU card with PCIe interface into HiFive Unmatched and the card was detected, so both the adapter and the Unmatched can work properly, but the adapter can’t be detected by the board.
Hi, I have also got this exact same problem with an X520-DA2. I have tried on the 2022.04 FUSDK, on Ubuntu 22.04, and on Gentoo with the latest stable kernel (5.18). But it does not show up in lspci no matter what. Just to make sure it wasn’t a dead card, I swapped it out for a known good one, same results, and the previous card worked fine in a different server.
Supposedly, this patch was tested on an X520-DA2. However this patch is already merged upstream, and it did not make the device appear.
Has anyone else run into this issue? @andersm , what version of Ubuntu did you test this on? Does it still work with 22.04?
Good news to report. I did not manage to get the X520 to be recognized. But I had a spare Mellanox ConnectX-3 from another project and plugged it in just out of curiosity - and it worked perfectly. It’s CPU-bound, but I get a little over 5Gbps with one core maxed out. @qqtxwh Try one of these cards if you can, they are half the price of an X520.
(run as root for unabbreviated output) which shows the state of the upstream switch’s downstream port wired to the PCIe connector onboard. This might provide some hints.