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

SAI v1.2 does not include the broadcom configure on delta_ag9032v1 #1416

Closed
hans-tseng opened this issue Feb 26, 2018 · 11 comments
Closed

SAI v1.2 does not include the broadcom configure on delta_ag9032v1 #1416

hans-tseng opened this issue Feb 26, 2018 · 11 comments
Assignees

Comments

@hans-tseng
Copy link
Contributor

Description

Steps to reproduce the issue:

  1. download the SONiC image from "https://github.com/Azure/SONiC/wiki/Supported-Devices-and-Platforms"
  2. Installed image on delta_ag9032v1 platform

Describe the results you received:
Broadcom ASCI could not be brought up successfully

Describe the results you expected:
Broadcom ACSI should be brought up successfully and the "bcmcmd" command should be used

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@yxieca
Copy link
Contributor

yxieca commented Feb 28, 2018

The file didn't get pulled in from Broadcom SAI 3.0 to 3.1. Will fix it soon.

Sorry for the inconvenience.

Regards,
Ying

@yxieca
Copy link
Contributor

yxieca commented Mar 3, 2018

Hans,

I found th-ag9032v1-32x100G.config.bcm from previous SAI version 3.0.3.3-3. However, I didn't find the configuration file for Delta-ag9064:

SAI_INIT_CONFIG_FILE=/etc/bcm/th2-ag9064-64x100G.config.bcm

Is this expected?

Thanks,
Ying

@hans-tseng
Copy link
Contributor Author

Hi yxieca:

Thanks for your help to put the ag9032v1's configuration file into SAI. About the ag9064 configuration file,th2-ag9064-64x100G.config.bcm, we had sent a requestion mail to 'shuche@microsoft.com'  and attached the file on 2/27.  I will update the ag9064's broadcom configuration file in this issue to you 

th2-ag9064-64x100G.config.zip

BTW, I would like to update the ag9032v1 configuration file,th-ag9032v1-32x100G.config.bcm, which added
th-ag9032v1-32x100G.config.zip

the pre-emphasis value

Best Regards

Hans

@yxieca
Copy link
Contributor

yxieca commented Mar 5, 2018

Hans,

Thanks for attaching them again. I'll check it in and update SAI accordingly.

Regards,
Ying

@yxieca
Copy link
Contributor

yxieca commented Mar 5, 2018

Hans,

Unfortunately, both configuration files you proposed has some issue. They didn't pass our config_checker.

config_checker.zip

Please download the checker I attached above. Unzip them to a same folder, and execute config_checker from that folder, config_checker is a python script. Run it against the config files you want to check in. Please re-post them once you fixed the issues.

Thanks,
Ying

@hans-tseng
Copy link
Contributor Author

Hi, Ying
I had used the check_config tool and scanned the two files that I attached to you.
Please help to post ino the SAI.
1. ag9032v1
I add the pre-emphasis value in each port
th-ag9032v1-32x100G.config.zip

2. ag9064
   update the ag9064's broadcom configuration file

th2-ag9064-64x100G.config.zip

Thanks
Hans

@yxieca
Copy link
Contributor

yxieca commented Mar 6, 2018

Thanks Hans.

Will make them available soon.

Regards,
Ying

@yxieca
Copy link
Contributor

yxieca commented Mar 6, 2018

Hans,

in your 9064 configuration files, you added a line at the end of the file:

mmu_init_config="MSFT-TH2-Tier1"

This enables some mmu configuration specifically for Microsoft deployment. And it doesn't apply the full mmu configuration. Additional configuration is needed to make the configuration complete and right.

Do you really want this to be enabled on your platform? I can remove this line for you if you want. Please let me know.

Thanks,
Ying

@hans-tseng
Copy link
Contributor Author

Hi, Ying

Thank for your reminding about this. This configure can be removed and as you said it needs additional configurations to cooperate with. If you could kindly tell us what the other configurations then we can test it on ag9064.

Best Regards
Hans

@yxieca
Copy link
Contributor

yxieca commented Mar 7, 2018

Hans,

I've removed the configuration for you. Will create a new sai image soon.

You can reference to Arista7260CX3-D108C8 configuration and make it complete. Basically, you need to configure the rest of the MMU through buffers.json.j2.

Cheers,
Ying

@yxieca
Copy link
Contributor

yxieca commented Mar 8, 2018

Hans,

I checked in the new SAI 3.1.3.4-4. Can you check and close this issue?

Thanks,
Ying

@lguohan lguohan closed this as completed Mar 11, 2018
yxieca added a commit to yxieca/sonic-buildimage that referenced this issue Mar 3, 2021
swss:
* 9376ec6 2021-02-22 | [orchagent] Increase SAI REDIS response timeout to support FW upgrade during init (Mellanox only). (sonic-net#1637) (HEAD -> 202012) [Lior Avramov]
* 6c285f6 2021-02-22 | Updated PFCWD to use single ACL table for PFCWD and MUX (sonic-net#1620) [vmittal-msft]

utilities:
* d2f0e8f 2021-02-24 | [route_check]: Dropped redundant code. (sonic-net#1463) (HEAD -> 202012, github/202012) [Renuka Manavalan]
* 9aaef9b 2021-02-25 | [Mellanox] Add support for SN4600 system (sonic-net#1462) [DavidZagury]
* 60843dd 2021-03-01 | [reboot] Add platform-specific reboot cause update hook (sonic-net#1454) [rkdevi27]
* d9c308c 2021-02-24 | [vlan] Vlan deletion is not allowed when there are members assigned to this VLAN. (sonic-net#1420) [Eran Dahan]
* a72165a 2021-02-25 | [psushow] Add more output columns; Add option to output in JSON format (sonic-net#1416) [Joe LeVeque]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca added a commit that referenced this issue Mar 3, 2021
swss:
* 9376ec6 2021-02-22 | [orchagent] Increase SAI REDIS response timeout to support FW upgrade during init (Mellanox only). (#1637) (HEAD -> 202012) [Lior Avramov]
* 6c285f6 2021-02-22 | Updated PFCWD to use single ACL table for PFCWD and MUX (#1620) [vmittal-msft]

utilities:
* d2f0e8f 2021-02-24 | [route_check]: Dropped redundant code. (#1463) (HEAD -> 202012, github/202012) [Renuka Manavalan]
* 9aaef9b 2021-02-25 | [Mellanox] Add support for SN4600 system (#1462) [DavidZagury]
* 60843dd 2021-03-01 | [reboot] Add platform-specific reboot cause update hook (#1454) [rkdevi27]
* d9c308c 2021-02-24 | [vlan] Vlan deletion is not allowed when there are members assigned to this VLAN. (#1420) [Eran Dahan]
* a72165a 2021-02-25 | [psushow] Add more output columns; Add option to output in JSON format (#1416) [Joe LeVeque]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
vdahiya12 added a commit that referenced this issue Mar 10, 2021
this PR updates the following commits in sonic-utilities

13ce4b6 [show][config] fix show mux status health field; add support for hwmode functionality to toggle mux, check mux direction for Y cable (#1467)
f78e7ce [acl-loader] Improve input validation for acl_loader (#1479)
748dbbf [show] Fix 'show mac' output, when FDB entry with Vlan 1 is present (#1368)
64604db [acl] Expand VLAN into VLAN members when creating an ACL table (#1475)
10de91d [config reload]: On dual ToR systems, cache ARP and FDB tables (#1465)
10a359a [Mellanox] Change mellanox buffer migrator for new SKU Mellanox-SN2700-D40C8S8 (#1470)
38c8e00 [acl-loader] Add support for matching on ICMP and VLAN info (#1469)
e555ea9 [SKU creator] fix wrong speed in case breakout of 2x50 (#1380)
4a78c01 [config] Enable/disable container monitoring when starting/stopping the services. (#1471)
dd3c2c3 [warm-reboot] Check if warm restart flag is set when issuing a warm-reboot (#1460)
e32b5ac Add soft-reboot reboot type (#1453)
8b3bc18 [reload] Improve reload by using sonic.target. (#1199)
99673bc [reboot] Add platform-specific reboot cause update hook (#1454)
2f6e36e [CLI][techsupport] Add NOOP option for commands that did not have that option (#1445)
1fa4b94 [psushow] Add more output columns; Add option to output in JSON format (#1416)
79ccd03 [show] cli support for show muxcable cableinfo (#1448)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
stepanblyschak pushed a commit to stepanblyschak/sonic-buildimage that referenced this issue May 10, 2021
sonic-net#1416)

- Enhance `psushow -s` output, adding columns to display PSU Model, Serial, Voltage, Current and Power
- Add `-j/--json` option to display output in JSON format
- Update mock State DB PSU_INFO table to provide values which we can ensure floats are padded to two decimal places in tabular display mode
- Add `--json` option to `show platform psustatus` which in turn adds the `-j` flag to the underlying `psushow` call
- Add unit tests for `psushow` in psushow_test.py
- Add more unit tests for `show platform psustatus` and move to show_platform_test.py
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-buildimage that referenced this issue May 23, 2021
this PR updates the following commits in sonic-utilities

13ce4b6 [show][config] fix show mux status health field; add support for hwmode functionality to toggle mux, check mux direction for Y cable (sonic-net#1467)
f78e7ce [acl-loader] Improve input validation for acl_loader (sonic-net#1479)
748dbbf [show] Fix 'show mac' output, when FDB entry with Vlan 1 is present (sonic-net#1368)
64604db [acl] Expand VLAN into VLAN members when creating an ACL table (sonic-net#1475)
10de91d [config reload]: On dual ToR systems, cache ARP and FDB tables (sonic-net#1465)
10a359a [Mellanox] Change mellanox buffer migrator for new SKU Mellanox-SN2700-D40C8S8 (sonic-net#1470)
38c8e00 [acl-loader] Add support for matching on ICMP and VLAN info (sonic-net#1469)
e555ea9 [SKU creator] fix wrong speed in case breakout of 2x50 (sonic-net#1380)
4a78c01 [config] Enable/disable container monitoring when starting/stopping the services. (sonic-net#1471)
dd3c2c3 [warm-reboot] Check if warm restart flag is set when issuing a warm-reboot (sonic-net#1460)
e32b5ac Add soft-reboot reboot type (sonic-net#1453)
8b3bc18 [reload] Improve reload by using sonic.target. (sonic-net#1199)
99673bc [reboot] Add platform-specific reboot cause update hook (sonic-net#1454)
2f6e36e [CLI][techsupport] Add NOOP option for commands that did not have that option (sonic-net#1445)
1fa4b94 [psushow] Add more output columns; Add option to output in JSON format (sonic-net#1416)
79ccd03 [show] cli support for show muxcable cableinfo (sonic-net#1448)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this issue Aug 7, 2021
this PR updates the following commits in sonic-utilities

13ce4b6 [show][config] fix show mux status health field; add support for hwmode functionality to toggle mux, check mux direction for Y cable (sonic-net#1467)
f78e7ce [acl-loader] Improve input validation for acl_loader (sonic-net#1479)
748dbbf [show] Fix 'show mac' output, when FDB entry with Vlan 1 is present (sonic-net#1368)
64604db [acl] Expand VLAN into VLAN members when creating an ACL table (sonic-net#1475)
10de91d [config reload]: On dual ToR systems, cache ARP and FDB tables (sonic-net#1465)
10a359a [Mellanox] Change mellanox buffer migrator for new SKU Mellanox-SN2700-D40C8S8 (sonic-net#1470)
38c8e00 [acl-loader] Add support for matching on ICMP and VLAN info (sonic-net#1469)
e555ea9 [SKU creator] fix wrong speed in case breakout of 2x50 (sonic-net#1380)
4a78c01 [config] Enable/disable container monitoring when starting/stopping the services. (sonic-net#1471)
dd3c2c3 [warm-reboot] Check if warm restart flag is set when issuing a warm-reboot (sonic-net#1460)
e32b5ac Add soft-reboot reboot type (sonic-net#1453)
8b3bc18 [reload] Improve reload by using sonic.target. (sonic-net#1199)
99673bc [reboot] Add platform-specific reboot cause update hook (sonic-net#1454)
2f6e36e [CLI][techsupport] Add NOOP option for commands that did not have that option (sonic-net#1445)
1fa4b94 [psushow] Add more output columns; Add option to output in JSON format (sonic-net#1416)
79ccd03 [show] cli support for show muxcable cableinfo (sonic-net#1448)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
theasianpianist pushed a commit to theasianpianist/sonic-buildimage that referenced this issue Feb 5, 2022
Signed-off-by: Danny Allen <daall@microsoft.com>
taras-keryk pushed a commit to taras-keryk/sonic-buildimage that referenced this issue Jul 22, 2022
Update SAI submodule v1.9 with the following fixes

7594e53 (HEAD, origin/v1.9) Skip brcm teardown assertion (sonic-net#1423) (sonic-net#1428)
0c33f4a [FIX]Fix the circular reference issue when build sai header py (sonic-net#1427)
7e0fc24 Add support for building under Doxygen 1.9.1 (sonic-net#1414) (sonic-net#1424)
8ecf3ef [Fix]Correct enum check on branch 1.9 (sonic-net#1418)
e2b2f39 Add Thrift 0.14.1 compatibility (sonic-net#1403) (sonic-net#1416)
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