-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[device/accton]Syntax error on config.bcm for AS7312-54XS, AS7312-54X and AS7315-27XB causing interface not showing up #4667
Comments
"Feb 14 10:12:45.749332 sonic INFO syncd#supervisord: syncd warning: device 0xb967 revision 0x2 is not supported#015" |
As I know, the current SAI debian packages (got from the links indicated in https://github.com/Azure/sonic-buildimage/blob/master/platform/broadcom/sai.mk) support the ASIC used by AS7312-54X, but do not support the ASIC used by AS7312-54XS and AS7315-27XB. |
Dear @Lewis-Kang, where can I check the SAI debian packages (got from the links indicated in https://github.com/Azure/sonic-buildimage/blob/master/platform/broadcom/sai.mk) support the ASIC used by AS7312-54X, but do not support the ASIC used by AS7312-54XS and AS7315-27XB. |
@tanpinsiang, the SAI debian packages are released by Broadcom, so we can either check with Broadcom or try to run it to know the answer. The following message means the ASIC is not being supported by the used SAI packages. (PR: #4702 doesn't make SAI support AS7312-54XS and AS7315-27XB) sonic INFO syncd#supervisord: syncd warning: device 0xb967 revision 0x2 is not supported |
@Lewis-Kang thanks for the explanation. Do you have any best guess for me about which SAI debian packages are most likely to support AS7312-54XS(Tomahawk+)? |
@tanpinsiang I don't have the information about Broadcom's SAI development plan for supporting various ASICs... |
@Lewis-Kang thanks for the info. For the SAI debian packages support for Tomahawk+, do you think it deserve a new issue? |
@tanpinsiang I think you can create an issue. But Broadcom may have their own plan on ASIC support of their released SAI debian packages, I am not sure whether creating such issue would help or not. |
PR: #4702 merged. Closing this issue. |
Syntax error on config.bcm for AS7312-54XS, AS7312-54X and AS7315-27XB causing interface not showing up
Tested on 201904_57, 201911_74, 201911_81 and master branch.
sudo show interfaces status
Shows nothing and the port didn't responds to any command.
Error occur on AS7312-54XS:
sonic INFO syncd#supervisord: syncd Platform configuration: format error in /usr/share/sonic/hwsku/th-as7312-48x25G+6x100G.config.bcm on line 110 (ignored)#15
After checking the file, in line 110 there is a comment " /* Port Map */ ". It looks like a syntax error.
You can check it here: th-as7312-48x25G+6x100G.config.bcm
Steps to reproduce the issue:
sudo show interfaces status
, shows nothing and the port didn't responds to any command.show logging
command:sonic INFO syncd#supervisord: syncd Platform configuration: format error in /usr/share/sonic/hwsku/th-as7312-48x25G+6x100G.config.bcm on line 110 (ignored)#015
Describe the results you received:
sudo show interfaces status
shows nothing and the port didn't responds to any command.check
show logging
Describe the results you expected:
sudo show interfaces status
should show something like this:Output of
show version
:Attach debug file
sudo generate_dump
:Link to find the dump
The same comment is present in the following model too:
1)AS7312-54X
./x86_64-accton_as7312_54x-r0/Accton-AS7312-54X/th-as7312-48x25G+6x100G.config.bcm:110:/* Port Map */
2)AS7312-54XS (this model tested)
./x86_64-accton_as7312_54xs-r0/Accton-AS7312-54XS/th-as7312-48x25G+6x100G.config.bcm:110:/* Port Map */
3)AS7315-27XB
./x86_64-accton_as7315_27xb-r0/Accton-AS7315-27XB/qax-as7315-20x10G+4x25G+3x100G.config.bcm:110:/* Port Map */
Possible solution:
Change
/* Port Map */
to#/* Port Map */
The text was updated successfully, but these errors were encountered: