Clearfog pro : problem with eth2

Hy :slight_smile:

I have a problem with the eth2 (rj45 isolated).

Dhcp mode, it doesn’t get any ip address.
When i give a static ip address, no link with outside.

[ 71.049041] mvpp2 f2000000.ethernet eth2: PHY [f212a200.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[ 71.058657] mvpp2 f2000000.ethernet eth2: configuring for phy/rgmii-id link mode
udhcpc: started, v1.35.0

udhcpc: broadcasting discover

[ 74.140868] mvpp2 f2000000.ethernet eth2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 74.148935] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: no lease, forking to background

ethtool eth2

Settings for eth2:
Supported ports: [ TP MII FIBRE ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 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: 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
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
Link detected: yes

All the others ports (lan, sfp) work :frowning:

I have this error :

ifdown eth2

[ 277.511993] mvpp2 f2000000.ethernet eth2: Link is Down
[ 278.519714] mvpp2 f2000000.ethernet eth2: port 2: cleaning queue 2 timed out
[ 279.527400] mvpp2 f2000000.ethernet eth2: port 2: cleaning queue 3 timed out

are you seeing interrupts happening on the interface. Also random question, have you tried a different ethernet cable?

Hy :slight_smile:

I tried with another cable, same result.

# ifup eth2
[ 1118.864908] mvpp2 f2000000.ethernet eth2: PHY [f212a200.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[ 1118.874492] mvpp2 f2000000.ethernet eth2: configuring for phy/rgmii-id link mode
udhcpc: started, v1.35.0
# udhcpc: broadcasting discover
[ 1121.932428] mvpp2 f2000000.ethernet eth2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1121.940420] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: no lease, forking to background

driver seems to load correctly

This is with OpenWRT? What do your firewall rules look like?

Hy :slight_smile:

No, i use a linux based on Buildroot.
About firewall, no rules in place.
All the rj45 and thé sfp work.