sonic-net / SONiC

Landing page for Software for Open Networking in the Cloud (SONiC) - https://sonic-net.github.io/SONiC/
2.27k stars 1.14k forks source link

Mellanox SN2010 SFP EEPROM Not detected #687

Open Dscano opened 4 years ago

Dscano commented 4 years ago

Hi,

I have install SONiC on my Mellanox SN2010 switch. But I canno't see the information provided by the command show interfaces transceiver eeprom Thi is my SONiC version:

Current: SONiC-OS-master.424-f61ff95e
Next: SONiC-OS-master.424-f61ff95e
Available: 
SONiC-OS-master.424-f61ff95e

When I use the command show interfaces transceiver eeprom Ethernet0 --dom I get this error:

Usage: show interfaces transceiver eeprom [OPTIONS] [INTERFACENAME]
Try "show interfaces transceiver eeprom -h" for help.

Error: cannot find interface name for alias Ethernet0

If I use the command show interfaces alias:

Name        Alias
----------  ----------
Ethernet0   Ethernet0

And the command -d /dev/mst/mt52100_pci_cr0 -p 1 --show_serdes_tx show:

Operational Info
----------------
State                           : Active
Physical state                  : LinkUp
Speed                           : 10GbE
Width                           : 1x
FEC                             : No FEC
Loopback Mode                   : No Loopback
Auto Negotiation                : ON

Supported Info
--------------
Enabled Link Speed              : 0x00007010 (10G)
Supported Cable Speed           : 0x3c007011 (25G,10G,1G)

Troubleshooting Info
--------------------
Status Opcode                   : 0
Group Opcode                    : N/A
Recommendation                  : No issue was observed.

Serdes Tuning Transmitter Info
------------------------------
Serdes TX parameters            : Pol,tap0,tap1,tap2,bias,preemp_mode
Lane 0                          : 0,0,120,0,16,4

What I'm doing wrong? Why the SFP EEPROM is not detected ?

Chornei commented 4 years ago

Hi

We will verify with latest master available and update you on that.

Liat

From: Dscano notifications@github.com Sent: Thursday, October 15, 2020 3:06 PM To: Azure/SONiC SONiC@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [Azure/SONiC] Mellanox SN2010 SFP EEPROM Not detected (#687)

Hi,

I have install SONiC on my Mellanox SN2010 switch. But I canno't see the information provided by the command show interfaces transceiver eeprom Thi is my SONiC version:

Current: SONiC-OS-master.424-f61ff95e

Next: SONiC-OS-master.424-f61ff95e

Available:

SONiC-OS-master.424-f61ff95e

When I use the command show interfaces transceiver eeprom Ethernet0 --dom I get this error:

Usage: show interfaces transceiver eeprom [OPTIONS] [INTERFACENAME]

Try "show interfaces transceiver eeprom -h" for help.

Error: cannot find interface name for alias Ethernet0

If I use the command show interfaces alias:

Name Alias


Ethernet0 Ethernet0

And the command -d /dev/mst/mt52100_pci_cr0 -p 1 --show_serdes_tx show:

Operational Info


State : Active

Physical state : LinkUp

Speed : 10GbE

Width : 1x

FEC : No FEC

Loopback Mode : No Loopback

Auto Negotiation : ON

Supported Info


Enabled Link Speed : 0x00007010 (10G)

Supported Cable Speed : 0x3c007011 (25G,10G,1G)

Troubleshooting Info


Status Opcode : 0

Group Opcode : N/A

Recommendation : No issue was observed.

Serdes Tuning Transmitter Info


Serdes TX parameters : Pol,tap0,tap1,tap2,bias,preemp_mode

Lane 0 : 0,0,120,0,16,4

What I'm doing wrong? Why the SFP EEPROM is not detected ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FSONiC%2Fissues%2F687&data=04%7C01%7Cliatg%40nvidia.com%7Cb6f7b58e1e214c5efaa408d871045834%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637383610765497257%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=u5BXn5XB3gymd8S79k8yGlT3adBwv7Pah%2FMHcwhacNA%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEM2NC3FL7BZUZTJ3EOWYADSK3QSHANCNFSM4SR4V5YQ&data=04%7C01%7Cliatg%40nvidia.com%7Cb6f7b58e1e214c5efaa408d871045834%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637383610765507259%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PIG7GBdqbuSeJhQBalBrlql9Wh8eKCLiU7I5NsDTv00%3D&reserved=0.

Dscano commented 4 years ago

Hi We will verify with latest master available and update you on that. Liat From: Dscano notifications@github.com Sent: Thursday, October 15, 2020 3:06 PM To: Azure/SONiC SONiC@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [Azure/SONiC] Mellanox SN2010 SFP EEPROM Not detected (#687) Hi, I have install SONiC on my Mellanox SN2010 switch. But I canno't see the information provided by the command show interfaces transceiver eeprom Thi is my SONiC version: Current: SONiC-OS-master.424-f61ff95e Next: SONiC-OS-master.424-f61ff95e Available: SONiC-OS-master.424-f61ff95e When I use the command show interfaces transceiver eeprom Ethernet0 --dom I get this error: Usage: show interfaces transceiver eeprom [OPTIONS] [INTERFACENAME] Try "show interfaces transceiver eeprom -h" for help. Error: cannot find interface name for alias Ethernet0 If I use the command show interfaces alias: Name Alias ---------- ---------- Ethernet0 Ethernet0 And the command -d /dev/mst/mt52100_pci_cr0 -p 1 --show_serdes_tx show: Operational Info ---------------- State : Active Physical state : LinkUp Speed : 10GbE Width : 1x FEC : No FEC Loopback Mode : No Loopback Auto Negotiation : ON Supported Info -------------- Enabled Link Speed : 0x00007010 (10G) Supported Cable Speed : 0x3c007011 (25G,10G,1G) Troubleshooting Info -------------------- Status Opcode : 0 Group Opcode : N/A Recommendation : No issue was observed. Serdes Tuning Transmitter Info ------------------------------ Serdes TX parameters : Pol,tap0,tap1,tap2,bias,preemp_mode Lane 0 : 0,0,120,0,16,4 What I'm doing wrong? Why the SFP EEPROM is not detected ? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FSONiC%2Fissues%2F687&data=04%7C01%7Cliatg%40nvidia.com%7Cb6f7b58e1e214c5efaa408d871045834%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637383610765497257%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=u5BXn5XB3gymd8S79k8yGlT3adBwv7Pah%2FMHcwhacNA%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEM2NC3FL7BZUZTJ3EOWYADSK3QSHANCNFSM4SR4V5YQ&data=04%7C01%7Cliatg%40nvidia.com%7Cb6f7b58e1e214c5efaa408d871045834%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637383610765507259%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PIG7GBdqbuSeJhQBalBrlql9Wh8eKCLiU7I5NsDTv00%3D&reserved=0.

Hi,

Have you any news?

best regards

keboliu commented 4 years ago

could you please try the image from the 201911 branch (can try image with this hash: 5a802533b5c28b35063921019f06302034f6930f )? On master we have a kernel patch PR not merged yet https://github.com/Azure/sonic-linux-kernel/pull/162 . or you can build a master image including this PR it should be OK.