Open andreadaoud opened 2 years ago
Sorry, it's actually the problem of my NIC. Now it works. Thanks.
Had a test just now, it seems that ARPL is able to work with this NIC, and can get IP address on it. But when it enters Synology system, it is not detected anymore, only onboard NIC is detected and working.
[ 114.396193] mlx4_en: Unknown symbol mlx4_get_vf_rate (err 0)
[ 114.396328] mlx4_en: Unknown symbol mlx4_test_async (err 0)
[ 114.396530] mlx4_en: Unknown symbol mlx4_set_vf_vlan_next (err 0)
[ 114.397186] mlx4_en: Unknown symbol mlx4_test_interrupt (err 0)
[ 114.397641] mlx4_en: Unknown symbol mlx4_get_vport_ethtool_stats (err 0)
[ 114.397798] mlx4_en: Unknown symbol mlx4_SET_PORT_disable_mc_loopback (err 0)
[ 114.398084] mlx4_en: Unknown symbol mlx4_rename_eq (err 0)
[ 114.398202] mlx4_en: Unknown symbol mlx4_reset_vlan_policy (err 0)
[ 114.398497] mlx4_en: Unknown symbol mlx4_is_available_mac (err 0)
[ 114.398754] mlx4_en: Unknown symbol syno_restart (err 0)
[ 114.398986] mlx4_en: Unknown symbol mlx4_get_vf_vlan_set (err 0)
[ 114.399442] mlx4_en: Unknown symbol mlx4_get_is_vlan_offload_disabled (err 0)
[ 114.399618] mlx4_en: Unknown symbol mlx4_get_vf_vlan_info (err 0)
[ 114.399799] mlx4_en: Unknown symbol mlx4_get_vf_stats_netdev (err 0)
[ 114.400038] mlx4_en: Unknown symbol mlx4_SET_PORT_user_mtu (err 0)
[ 114.400231] mlx4_en: Unknown symbol mlx4_get_vf_link_state (err 0)
I entered synology with onboard NIC, and running modprobe mlx4_en
prints the log above in dmesg. I think the module probably need to be recompiled.
@fbelavenuto
As synology pat has built-in mellanox mlx4_core
driver, I removed mlx4_en and mlx4_core from arpl menu. This is what appears in dmesg log:
sh-4.4# dmesg | grep mlx
[ 52.681058] mlx4_core: Mellanox ConnectX core driver v4.1-1.0.2 (27 Jun 2017)
[ 52.681223] mlx4_core: Initializing 0000:01:00.0
[ 52.681347] mlx4_core 0000:01:00.0: enabling device (0000 -> 0002)
[ 52.681753] mlx4_core 0000:01:00.0: Multiple PFs not yet supported - Skipping PF
[ 52.682042] mlx4_core: probe of 0000:01:00.0 failed with error -22
Thanks for the report
Please update ARPL, reboot, update modules, addons and lkm, rebuild the loader and test it.
Hi,
I'm using a 10G CX341a mellanox NIC, which requires mlx4 related modules to be loaded before use. But the loader doesn't seem to load it before getting IP address, so cannot get IP from this interface. Is there any solution?