Hi, I am currently working through enabling the RK3588 NanoPi R6S on Linux kernel 6.1.
I have noticed that both the 2.5Gbit PCIE attached RTL8125B interfaces work as expected however the GMAC / MDIO connected RTL8211F interface can never obtain an IP or ping any other clients.
After some digging I found that non of the traffic transmitted from the 8211F interface was seen on the other side of the connection in TCP dump, however on the 8211F side traffic is seen being received (see below)
listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
00:03:34.282286 ARP, Request who-has 192.168.1.229 tell 192.168.1.154, length 46
00:03:35.648448 ARP, Reply 192.168.1.234 is-at 1c:53:f9:1a:ba:3a (oui Unknown), length 46
00:03:43.220916 ARP, Request who-has 192.168.1.226 tell 192.168.1.218, length 46
00:03:47.585991 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3e:b8:b6:91:30:59 (oui Unknown), length 290
00:03:49.368303 IP 192.168.1.226.10101 > 239.255.255.251.10101: UDP, length 45
00:03:49.368304 IP 192.168.1.226.10101 > 224.0.0.250.10101: UDP, length 45
00:03:54.703367 ARP, Request who-has 192.168.1.162 (Broadcast) tell 192.168.1.162, length 46
00:03:54.703368 ARP, Reply 192.168.1.162 is-at 8c:3b:ad:ba:b4:d6 (oui Unknown), length 46
00:03:55.628557 ARP, Request who-has 192.168.1.180 tell 192.168.1.218, length 46
00:03:56.631452 ARP, Request who-has 192.168.1.180 tell 192.168.1.218, length 46
00:03:57.635842 ARP, Request who-has 192.168.1.180 tell 192.168.1.218, length 46
00:03:57.780110 ARP, Request who-has 192.168.1.180 (Broadcast) tell 192.168.1.180, length 46
00:03:57.780110 ARP, Reply 192.168.1.180 is-at 8c:3b:ad:ba:b4:d6 (oui Unknown), length 46
Netstat shows no dropped packets on the TX side (eth0 in the list) and interrupts being received
netstat -i eth0 -e
Kernel Interface table
enP3p49s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether be:8e:ef:94:cf:db txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enP4p65s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 1a:bd:25:53:6a:f0 txqueuelen 1000 (Ethernet)
RX packets 135 bytes 12380 (12.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 110 bytes 10470 (10.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 3e:b8:b6:91:30:59 txqueuelen 1000 (Ethernet)
RX packets 173 bytes 19168 (18.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 30 bytes 9960 (9.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 57
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 152 bytes 12560 (12.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 152 bytes 12560 (12.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
And finally as far as I can tell things look OK in ethtool
sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on@
master-slave cfg: preferred slave
master-slave status: slave
Port: Twisted Pair
PHYAD: 1
Transceiver: external
MDI-X: Unknown
Supports Wake-on: ug
Wake-on: d
Current message level: 0x0000003f (63)
drv probe link timer ifdown ifup
Link detected: yes
Can anyone point me in the right direction to diagnose this further ? Or even if they have seen this issue elsewhere?
Thanks in advance