Inserted in SFP1 slot at boot:
[root@bpir3 ~]# dmesg | grep sfp
[ 0.663101] sfp sfp-1: Host maximum power 1.0W
[ 0.668432] sfp sfp-2: Host maximum power 1.0W
[ 1.013634] sfp sfp-1: module OEM SFP-2.5G-T rev 1.0 sn SK2301110007 dc 230110
[root@bpir3 ~]# ip link set eth1 up
[ 110.910137] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
[ 136.867078] RTL8221B-VB-CG 2.5Gbps PHY: probe of i2c:sfp-1:11 failed with error -95
[ 136.874799] mtk_soc_eth 15100000.ethernet eth1: 11111 validation with support 00,00000000,00000000,00000000 failed: -EINVAL
[ 136.886040] sfp sfp-1: sfp_add_phy failed: -EINVAL
[ 407.112709] sfp sfp-1: module removed
Moved to SFP2 slot:
[ 423.803562] sfp sfp-2: module OEM SFP-2.5G-T rev 1.0 sn SK2301110007 dc 230110
[ 423.859855] hwmon hwmon0: temp1_input not attached to any thermal zone
[ 449.827118] RTL8221B-VB-CG 2.5Gbps PHY: probe of i2c:sfp-2:11 failed with error -95
[ 449.834836] mt7530-mdio mdio-bus:1f lan4: 11111 validation with support 00,00000000,00000000,00000000 failed: -EINVAL
[ 449.845560] sfp sfp-2: sfp_add_phy failed: -EINVAL
lan4 is managed by systemd-networkd and it sets it link up.
I’ve added 11111 to the validation with support message, to find out which one. It is the one from phylink_sfp_config_phy()


