BPI-R4 failed to read EEPROM: -ENXIO from sfp

[   15.429123] sfp sfp1: Host maximum power 3.0W
[   15.434077] sfp sfp2: Host maximum power 3.0W
...
[  139.270078] sfp sfp1: module removed
[  206.072422] sfp sfp1: please wait, module slow to respond
[  261.512425] sfp sfp1: failed to read EEPROM: -ENXIO

I use release version of openwrt 24.10.0 Anybody know what could be the problem?

Is it a gpon/xpon module? It looks your module needs a bootup delay quirk like it is done for others

This may be different, as kernel needs the vendor and product string from the eeprom to determine which module it is and which quirk/fixup to apply.

But also it maybe the eeprom at 0x50 still ok and the eeprom at 0x51 which gives the error. Try and see if you can get the vendor/product info with ethtool…

ethtool --dump-module-eeprom eth1/eth2

It helps me [BPI-R4] nvme+i2c

Hello

It seems that the error failed to read EEPROM: -ENXIO indicates an issue with the system’s ability to communicate with the EEPROM on the SFP module. This could stem from various factors. Firstly, check the hardware compatibility, as some SFP modules may not work seamlessly with the Banana Pi BPI-R4 and OpenWRT 24.10.0. Additionally, the log message “please wait, module slow to respond” suggests a potential power supply issue. Ensure that the power source is stable and sufficient to support the module. Bpi r4 failed to read EEPROM: -ENXIO from sfp - #4 by A_L

Another possibility is an issue with I2C communication, as the EEPROM relies on I2C for data exchange. Using CISSP Course tools like i2cdetect can help verify whether the I2C bus is functioning properly. :slightly_smiling_face:Furthermore, there could be a firmware or driver bug within OpenWRT 24.10.0 affecting SFP support. Checking for any updates or patches that address this issue is recommended.

Thank you !! :slightly_smiling_face:

Kernel reads the EEPROM vendor/product string to determine fixes. If 0x51 throws errors, try ethtool to confirm what’s missing!