opencomputeproject/oom

Not able to find eeprom data from x86_64-accton_as5916_54xks-r0 platfrom

bacharya opened this issue · 6 comments

SFP EEPROM file path on accton platform:

root@localhost:~# strace onlpdump -S 2>&1 | egrep 'open.*/sys/'
open("/sys/devices/platform/as5916_54xks_sfp/module_present_1", O_RDONLY) = 3
open("/sys/devices/platform/as5916_54xks_sfp/module_eeprom_1", O_RDONLY) = 3

Thanks,
Bhishma

Hi Don,

As you suggested I had made my changes in the file "oom/oomsysfsshim.py" and able to read eeprom files from "/sys/devices/platform/as5916_54xks_sfp" directory.
How can bring my changes here.

Sample output:
eeprom file location:
root@localhost:~# cat /sys/devices/platform/as5916_54xks_sfp/module_eeprom_1
��!��g� Fiberstore QSFP-4SFP10G-DACA ��L�F172JU00611-2 170215 �740-030077 REV 01

sample dump using oom:

Port Name Vendor Type Part # Serial #

port1 Fiberstore SFP QSFP-4SFP10G-DAC F172JU00611-2
port2 Fiberstore SFP SFP-10G-AOC CAI2706060005-1

Thanks,
Bhishma

Fixed as part of the Python3 fixes, this platform is now explicitly supported in oom/oomsysfsshim.py.