-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sfputil] Can't read eeprom on Mellanox platform #337
Comments
Hi,
Can you please share interface configuration? Port_config.ini and the relevant config_db.json section as well.
Could it be that your ports are split? Recently an issue was observed in sfputils which requires an additional info in port_config.ini. See
If this is the same you might need the following to be included
1. https://github.com/Azure/sonic-platform-common/commit/10bef06fd66b233b8e3fdecb19809dedee9f0e75<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fsonic-platform-common%2Fcommit%2F10bef06fd66b233b8e3fdecb19809dedee9f0e75&data=02%7C01%7Csschlafman%40mellanox.com%7C6826168a1a1f45e0000008d630ad7668%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636749918907265190&sdata=dXWwJq4LrFawfYSwf8usJpcOkJEhNFY8gbWk3R7WZtY%3D&reserved=0>
2. sonic-net/sonic-buildimage#2146>
If this is not the case, we will need to debug your setup and try to use different MLNX tools already installed on your box.
For further debug please contact Mellanox Support team support@mellanox.com<mailto:support@mellanox.com>
Best regards,
Liat
From: maq123 <notifications@github.com>
Sent: Tuesday, October 9, 2018 6:15 PM
To: Azure/sonic-utilities <sonic-utilities@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [Azure/sonic-utilities] [sfputil] Can't read eeprom on Mellanox platform (#337)
I have a Mellanox branded Copper cable connected to a port Ethernet52.
It is up and functions properly, but eeprom information is not available.
SONIC version + HW:
admin@sonic:~$ show version ;show platform summary
SONiC Software Version: SONiC.HEAD.756-b1d290c
Distribution: Debian 9.5
Kernel: 4.9.0-7-amd64
Build commit: b1d290c
Build date: Mon Oct 8 13:00:48 UTC 2018
Built by: johnar@jenkins-worker-3
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-orchagent-mlnx HEAD.756-b1d290c 7309559b82c3 259.7 MB
docker-orchagent-mlnx latest 7309559b82c3 259.7 MB
docker-syncd-mlnx HEAD.756-b1d290c 3f238971fc14 359.8 MB
docker-syncd-mlnx latest 3f238971fc14 359.8 MB
docker-lldp-sv2 HEAD.756-b1d290c 13f4ddc46b60 271.1 MB
docker-lldp-sv2 latest 13f4ddc46b60 271.1 MB
docker-dhcp-relay HEAD.756-b1d290c 8a44b9333400 253.8 MB
docker-dhcp-relay latest 8a44b9333400 253.8 MB
docker-database HEAD.756-b1d290c 9f6fb6ca889b 252.5 MB
docker-database latest 9f6fb6ca889b 252.5 MB
docker-teamd HEAD.756-b1d290c 77a969958d40 257.7 MB
docker-teamd latest 77a969958d40 257.7 MB
docker-snmp-sv2 HEAD.756-b1d290c 2b2475e1f421 291.3 MB
docker-snmp-sv2 latest 2b2475e1f421 291.3 MB
docker-router-advertiser HEAD.756-b1d290c c7925a879879 250.1 MB
docker-router-advertiser latest c7925a879879 250.1 MB
docker-platform-monitor HEAD.756-b1d290c 7cf5e33308e6 283.5 MB
docker-platform-monitor latest 7cf5e33308e6 283.5 MB
docker-fpm-quagga HEAD.756-b1d290c d82e8bec1607 264.6 MB
docker-fpm-quagga latest d82e8bec1607 264.6 MB
Platform: x86_64-mlnx_msn2100-r0
HwSKU: ACS-MSN2100
ASIC: mellanox
The interface is up:
admin@sonic:~$ show lldp table
Capability codes: (R) Router, (B) Bridge, (O) Other
LocalPort RemoteDevice RemotePortID Capability RemotePortDescr
…----------- -------------- ----------------- ------------ -----------------
Ethernet0 hermes 742 BR xe-0/0/18
Ethernet1 hermes 740 BR xe-0/0/19
Ethernet2 hermes 744 BR xe-0/0/20
Ethernet3 hermes 746 BR xe-0/0/21
Ethernet8 hermes 748 BR xe-0/0/23
Ethernet52 00:07:43:39:8c:57
--------------------------------------------------
Total entries displayed: 6
admin@sonic:~$ show interfaces status | grep Ethernet52
Ethernet52 52,53,54,55 N/A 9100 Ethernet52 up up
Sfputil:
admin@sonic:~$ sudo sfputil show eeprom -p Ethernet52
Ethernet52: SFP EEPROM not detected
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#337>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AQ8YX26evEbODGb1QGh9h_pri_2PCC1Sks5ujL2FgaJpZM4XThV7>.
|
I indeed had a port breakout configured with the following configs:
After your comment I changed the config as follows:
But now I am getting an error:
There is some issue building this list of i2c mapping, the devices seem to be in place though.
Sadly, I need to get this device out of tests tomorrow so if you can't replicate it in your setup we would need to close this issue as I can't test it anymore. |
@maq123 would you please try with image #757 ? we have submitted a pull request recently sonic-net/sonic-buildimage#2128, which should have this issue fixed. |
hi @keboliu , fresh install of build 757 as you asked.
|
@maq123 well, there is another fix for this particular issue sonic-net/sonic-buildimage#2144, which has already been merged, I tried the latest image on 2100 and show presence works, please try the latest, sorry for the incovenience.
|
yep. now it works. thanks. |
for the 201803 I don't expect this issue because it was introduced by the specific hw-mgmt. |
ok, thank you for your help! |
Includes below commits: ``` faaa72a 2020-04-07 | Fix test config (sonic-net#337) [Qi Luo] ```
Description: The command is not showing the correct value for ssd health and temperature. admin@sonic:~$ show platform ssdhealth Device Model : M.2 (S42) 3IE4 Health : N/A Temperature : N/A Motivation and Context: SSD health percentage and temperature not displayed on Nokia-7215 platform. How Has This Been Tested? "show platform ssdhealth" cli command on Nokia-7215 and Unittests Output after fix: admin@sonic:~$ show platform ssdhealth Device Model : M.2 (S42) 3IE4 Health : 100% Temperature : 25C
I have a Mellanox branded Copper cable connected to a port Ethernet52.
It is up and functions properly, but eeprom information is not available.
SONIC version + HW:
The interface is up:
Sfputil:
The text was updated successfully, but these errors were encountered: