X550-T2 Bug With New VyOS Version

I’m having an issue with a new version of VyOS and 2500Base/T. I’m using a X550-T2 network card. By default, the card advertises negotiation at 100/1000/10000, but supports 2500BaseT/5000BaseT if you set the link speed/negotiation advertisement. I’m linking to a cable modem with a 2500BaseT support, and I was unable to set the speed as a fixed speed since I believe the modem or the card’s software requires you to autonegotiate. I was able to set the advertised link modes as 2500Base/T by running 'ethtool -s eth0 advertise 0x800000000000’. I put this in the postconfig boot up script.

I’m linking with an S33 cable modem.

On the June 08, 2021 version, my ethtool looks the following:
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 2500baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 2500Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes

On the August 21st/August 28th versions (both tested but probably more in between and before). I get this. Running the ethtool command directly makes no difference. Even changing advertised link modes does nothing at this point. Maybe there was some driver change? My eth1 connected to my server also only links at Gigabit instead of 10G

Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 2500baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: no

When I switch back to the June 08 version, it all works again.
Any ideas or diagnostics I could do here? Maybe there was a driver change?

Hello @Hydra166 ,

Did you try to set speed and duplex manually on the version begin 21st Aug?
I see that speed ad duplex are Unknown

I tried that with 2.5gbps before and I did not have luck. But things may have changed.Auto negotiation seems to play better with the drivers for Intel. Don’t see a reason why autoeng shouldn’t work, and I think they’re unknown because ethtool thinks there’s no link (says "Link detected: no) considering it’s the same setup, but I’ll still give it a shot regardless in the next ~12-24 hours. I will try to see if there’s any logs when i try again as well.

Sorry for the delay, work has been super busy. Will do this tonight.

Unfortunately, that did not work. Speed and duplex are still unknown and a link is not detected. As soon as I switch back to the old version, my old way of setting autoneg advertisements at 2500Base/T work fine. Setting speed and duplex never really worked on either version for me that well for 2500Base/T. Any ideas?

Hi @Hydra166 , provide please show interfaces output.

For some reason on the very latest VyOS rolling version I had an issue getting my config to post but it worked fine on the 0807 version. I will investigate further.

Will update you tomorrow.

@Hydra166 anything to report? It sounds like it could be related to this thread. I was able to upgrade as far as 20210831 before I started getting errors relating to autonegotiate with an X520.

Nothing much yet, but I think it is the same bug. Autoneg was working fine before and suddenly I try updating and it all breaks. I believe 202108210117 was the first one that caused issues for me. @Dmitry - the interfaces look fine and the same as normal, it is just tough to get a screenshot when you can only see a little in console (I have a lot of VLANs)

Do you have Slack, Discord or Matrix? Maybe we could chat on this.

Just sent you a private message