Need some help troubleshooting NIC detection

Hello,

New user here, I received new box Fitlet3 mini PC for my Vyos project. Out of the box Fitlet3 comes with 2 onboard NIC’s;
2x Gigabit on-board SoC internal MAC Ethernet ports on RJ45 (2x external phys is Marvel 88E1512 1000 Mbps / 100 Mbps / 10 Mbps)

I added also additional expansion card with 2 Intel i211 NIC’s.

I want to utilize all 4 NIC’s, but I have an issue because only NIC on expansion cards are properly detected.
I also tried to install debian 12, and all 4 NiCs are properly detected and working.
Here are some outputs; (Vyos 1.4 rolling)

vyos@vyos:~$ lspci -nn | grep Ethernet
00:1d.1 Ethernet controller [0200]: Intel Corporation Device [8086:4ba1] (rev 11)
00:1d.2 Ethernet controller [0200]: Intel Corporation Device [8086:4bb1] (rev 11)
02:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
03:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
vyos@vyos:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description


eth0 192.168.1.43/26 u/u
eth1 192.168.1.36/26 u/D LAN
lo 127.0.0.1/8 u/u

vyos@vyos:/var/log$ lspci
00:00.0 Host bridge: Intel Corporation Device 4522 (rev 01)
00:02.0 VGA compatible controller: Intel Corporation Elkhart Lake [UHD Graphics Gen11 16EU] (rev 01)
00:08.0 System peripheral: Intel Corporation Elkhart Lake Gaussian and Neural Accelerator (rev 01)
00:11.0 Communication controller: Intel Corporation Device 4b96 (rev 11)
00:11.1 Communication controller: Intel Corporation Device 4b97 (rev 11)
00:13.0 Serial bus controller: Intel Corporation Device 4b84 (rev 11)
00:14.0 USB controller: Intel Corporation Elkhart Lake USB 3.10 XHCI (rev 11)
00:14.2 RAM memory: Intel Corporation Elkhart Lake PMC SRAM (rev 11)
00:15.0 Serial bus controller: Intel Corporation Device 4b78 (rev 11)
00:15.2 Serial bus controller: Intel Corporation Device 4b7a (rev 11)
00:15.3 Serial bus controller: Intel Corporation Device 4b7b (rev 11)
00:16.0 Communication controller: Intel Corporation Elkhart Lake Management Engine Interface (rev 11)
00:19.0 Serial bus controller: Intel Corporation Device 4b4b (rev 11)
00:19.2 Communication controller: Intel Corporation Device 4b4d (rev 11)
00:1b.0 Serial bus controller: Intel Corporation Device 4bb9 (rev 11)
00:1b.1 Serial bus controller: Intel Corporation Device 4bba (rev 11)
00:1b.6 Serial bus controller: Intel Corporation Device 4bbf (rev 11)
00:1c.0 PCI bridge: Intel Corporation Elkhart Lake PCH PCI Express Root Port #0 (rev 11)
00:1c.4 PCI bridge: Intel Corporation Device 4b3c (rev 11)
00:1c.6 PCI bridge: Intel Corporation Elkhart Lake PCH PCI Express Root Port #6 (rev 11)
00:1d.0 System peripheral: Intel Corporation Device 4bb3 (rev 11)
00:1d.1 Ethernet controller: Intel Corporation Device 4ba1 (rev 11)
00:1d.2 Ethernet controller: Intel Corporation Device 4bb1 (rev 11)
00:1e.0 Communication controller: Intel Corporation Device 4b28 (rev 11)
00:1e.1 Communication controller: Intel Corporation Device 4b29 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Elkhart Lake eSPI Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Elkhart Lake SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Elkhart Lake SPI (Flash) Controller (rev 11)
01:00.0 Non-Volatile memory controller: Sandisk Corp WD Blue SN570 NVMe SSD 1TB
02:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
03:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)

BTW found exact same issue with homeassistant browsing the internet;
Add support for Intel GMAC Ethernet controller (#2589) (#2593) · home-assistant/operating-system@9ca836f (github.com)

Can this be easily tested also on Vyos?

I would appreciate any comment or guidance.
Thanks,

ethernet T5310: Need some help troubleshooting NIC detection. by cuongdt1994 · Pull Request #365 · vyos/vyos-build (github.com)

Waiting for merge and test in next release rolling (nextday when it’s merged)

1 Like

wohoo…thank you verry much…that was lightspeed :slight_smile:

I tried to build new 1.4 rolling iso with this commit, but for some reason the nic’s are still not recognized properly. Maybee I messed something with the build?

I git cloned current vyos-build directory from github, then edit file (added the entries in pull request);

vyos-build/packages/linux-kernel/arch/x86/configs/vyos_defconfig

CONFIG_NET_VENDOR_STMICRO=y
CONFIG_STMMAC_ETH=m
CONFIG_DWMAC_INTEL=m
CONFIG_STMMAC_PCI=m

and build the iso.

Is there any way to verify if the added config is in the build image?

BTW, sorry for noob questions…im not very familiar with all the build options.

Thanks…

1 Like

You have to run build kernel. If not, it’s not running

ok…will try :slight_smile: thanks.

success :smiley:

vyos@vyos:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description


eth0 - u/D
eth1 - u/D
eth2 - u/D
eth3 192.168.1.47/26 u/u
lo 127.0.0.1/8 u/u

thank you for help… I hope that they vyos includes commit soon in 1.4

if you want to add it rolling-relasead ,Could you create a feature request ? https://vyos.dev/
with this information and tested drivers

Already done thanks to @cuongdt1994

Can you test that configuration with version 1.3.3?

I could try to build 1.3.3 iso later today and test…will update here.

1 Like

Yes,make it. It’s running, i will backport to Vyos 1.3.x

1 Like

@cuongdt1994 I tried to build 1.3.3 ISO with kernel 5.4.243, and the NIC’s are not detected…I will try again today, maybe i missed something. I don’t know how kernel version itself is influencing this since I’m no expert, but on errata page of Fitlet3, they state that min. kernel version for onboard NIC support is;

" All -Nix based OS, running Linux Kernel version 5.15.046 and above, correctly recognize these on-board ports"

Tried to compile with newer kernel 5.15.118, to verify that its kernel dependent, but failed dramatically :), my knowledge is limited here, so I think it will not work with 1.3.3 branch as it uses older kernel.

https://cateee.net/lkddb/web-lkddb/NET_VENDOR_STMICRO.html

Right, I found your devices support only with kernel 5.7-5.19 and 6.0-6.4.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.