Skip to content
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

Cannot use 10GBase-SR GBIC on EdgeCore AS5712-54X #139

Open
cr2025x1 opened this issue Dec 27, 2017 · 10 comments
Open

Cannot use 10GBase-SR GBIC on EdgeCore AS5712-54X #139

cr2025x1 opened this issue Dec 27, 2017 · 10 comments

Comments

@cr2025x1
Copy link

Symptom: Cannot link to other machines via SFP+ 10GBase-SR GBICs from EdgeCore AS5712-54X.
Used Dell genuine GBIC with LC connector. (Interface Ethernet1)
Checked with other GBICs but no luck.
Fiber cable and GBIC are confirmed to be OK from other machines.
On contrast, Dell Copper SFP Cable works fine. (Interface Ethernet0)
Using SONiC-OS-HEAD.440-dirty-20171226.091430.
SONiC-OS-HEAD.434-dirty-20171220.093901 showed the same issue.

sonic_dump_switch1_20171227_063912.tar.gz

@pollyhsu2git
Copy link

@cr2025x1, thanks for your report~ The Fiber cable support is a TO-DO item scheduled on the way~

@cr2025x1
Copy link
Author

Thank you for the quick reply. May I know the estimated time it will be supported?

@pollyhsu2git
Copy link

pollyhsu2git commented Jan 26, 2018

@cr2025x1, please help to try it again after changing the interface type as SR~ The following command is for you to change the interface type as SR
#####
$bcmcmd "port xe interface=sr"

@cr2025x1
Copy link
Author

Thank you for your response. I tried as you said, but I believe the interface still does not establish any link.

However, I think the switch somewhat detects the 10GBase-SR GBIC. Before that command, when I plugging the GBIC to a port, the LED indicating the port was still turned off. But after that command, the green LED is on when the GBIC is plugged.

sonic_dump_switch1_20180126_033226.tar.gz

@pollyhsu2git
Copy link

pollyhsu2git commented Jan 26, 2018

@cr2025x1, please try the following utility to enable the TX signal
#####
"Usage: accton_as5712_util.py set sfp 1-54 {0|1}" to set sfp# tx_disable
$ accton_as5712_util.py set sfp 1 0
#####
Enable the TX signal (0) of the front port 1 (1)

@cr2025x1
Copy link
Author

The ping test finally succeeded. Thank you. I will keep on testing further, and report again if I see any other problem during the tests.

sonic_dump_switch1_20180126_083332.tar.gz

@pollyhsu2git
Copy link

@cr2025x1, glad to hear that it helped~

@cr2025x1
Copy link
Author

I've tested VLAN interfaces with an address assigned, tagged/untagged VLAN switching. No problem occurred so far. I'm just happy to see them work, but I believe it would be even much better if they just work without any command needed.

@pollyhsu2git
Copy link

pollyhsu2git commented Jan 30, 2018

@cr2025x1, ideally, to support different types of transceivers, SONiC SHOULD have the transceiver type hook upon the 10G port present for the device manufacturer to configure specific setting (e.g. Enable TX signal upon the Fiber transceiver type) accordingly. Currently, there is ONLY such hook support for the front port LED control.

@vifino
Copy link

vifino commented Jan 13, 2021

Hello.
Is there a better fix for this now?

I have to run this in order to use the SR optics:

echo 0 | sudo tee /sys/bus/i2c/drivers/as5712_54x_cpld/*/module_tx_disable_*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants