lmhhj Posted December 13, 2019 Posted December 13, 2019 Armbianmonitor: https://gist.github.com/qiuweichao/2893e21b8230cb3629f5b264a0a0675f Hi All! I am verifying the function about pcie to net port on armada-3720 ESPRESSObin. I insert 3 PCIE network cards in 3720 with PCIE bridge, connect to PC by switch. PC ping 3 net port at the same time ,but only one net port could be pinged successfully. I use the same test environment to test on the cavium's development board ,and PC can ping 3 network cards successfully at the same time. Besides, I used 3 network cards connect to 3 PC directly not by switch on 3720, and 3 PC can also ping 3 network cards successfully at the same time. Through the above cross-testing, it seems that this problem will occur as long as there is some communication connection between different network cards. I think it may be related to the 3720's pcie driver and compatibility. Is it? linux-kernel 4.14 https://github.com/MarvellEmbeddedProcessors/linux-marvell/tree/linux-4.14.76-armada-18.12
Igor Posted December 13, 2019 Posted December 13, 2019 On 12/13/2019 at 5:35 AM, lmhhj said: linux-kernel 4.14 Expand armbianmonitor -u
lmhhj Posted December 14, 2019 Author Posted December 14, 2019 On 12/13/2019 at 6:00 AM, Igor said: armbianmonitor -u Expand
lmhhj Posted December 14, 2019 Author Posted December 14, 2019 On 12/13/2019 at 6:00 AM, Igor said: armbianmonitor -u Expand Armbianmonitor: https://gist.github.com/qiuweichao/2893e21b8230cb3629f5b264a0a0675f
lmhhj Posted December 14, 2019 Author Posted December 14, 2019 On 12/14/2019 at 8:14 AM, lmhhj said: Armbianmonitor: https://gist.github.com/qiuweichao/2893e21b8230cb3629f5b264a0a0675f Expand Hi everyone, Now I try with kernel 4.19 (Armbian_5.90_Espressobin_Ubuntu_bionic_next_4.19.57), uboot is 2018.03-devel-18.12.3-gc9aa92c-armbian. The issue aboout mini pcie to net port still exists. Best regards, Qiu
Heisath Posted December 15, 2019 Posted December 15, 2019 Is there maybe a problem with the driver which occurs because you connect all 3 network adapters with each other (via the switch)? only logical conclusion for me, because you said connecting to all 3 with different devices works. Maybe some layer 2/3 routing problem?
lmhhj Posted December 16, 2019 Author Posted December 16, 2019 On 12/15/2019 at 6:34 PM, count-doku said: Is there maybe a problem with the driver which occurs because you connect all 3 network adapters with each other (via the switch)? only logical conclusion for me, because you said connecting to all 3 with different devices works. Maybe some layer 2/3 routing problem? Expand The network card driver is no problem, because I test it in different device with the same network card driver, and the route is default. With some tests and capturing the network packet, I find that sometimes the network MSI interrupt is no reply, so is it related to the 3720's pcie driver and compatibility when it is OK in other test device?
Pali Posted September 1, 2020 Posted September 1, 2020 @lmhhj: Can you try 5.8 kernel? It contains lot of fixes in 3720 pcie driver. Also, if you have problems with MSI interrupts, you can try to turn them off and use just classic PCI interrupts by appending pci=nomsi into boot args.
Igor Posted September 3, 2020 Posted September 3, 2020 On 9/1/2020 at 9:18 PM, Pali said: @lmhhj: Can you try 5.8 kernel? It contains lot of fixes in 3720 pcie driver. Also, if you have problems with MSI interrupts, you can try to turn them off and use just classic PCI interrupts by appending pci=nomsi into boot args. Expand https://github.com/armbian/build/pull/2101 its easy, "just" someone has to test and build. Then CI builds and user can upgrade hassle free. Espressobin maintenance log for past 3 years might also tell you how things are and explain our decisions in a better light: https://github.com/armbian/build/commits/master/config/sources/families/mvebu64.conf https://github.com/armbian/build/commits/v19.08/config/sources/mvebu64.conf
Recommended Posts