sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
739 stars 1.43k forks source link

syncd Container Abnormal Exit During Boot-Up on M2-W6940-64OC with Tomahawk 5 Chip Compatibility #20643

Open Alicia-Zhu opened 2 weeks ago

Alicia-Zhu commented 2 weeks ago

Description

While adapting our M2-W6940-64OC product using the master branch, we observed that the syncd container exits abnormally during boot-up. The following log messages detail the key information around the error:

2024 Aug 26 20:44:09.390748 sonic INFO syncd#supervisord: syncd Found 1 device.#015
2024 Aug 26 20:44:09.390748 sonic INFO syncd#supervisord: syncd Unit 0: BCM78900#015
2024 Aug 26 20:44:09.392306 sonic INFO syncd#supervisord: syncd NGBDE unit 0 (PCI), Dev 0xf900, Rev 0x11, Chip BCM78900_B0#015
2024 Aug 26 20:44:09.402137 sonic INFO syncd#supervisord 2024-08-26 20:44:09,401 INFO spawned: 'ledinit' with pid 56
2024 Aug 26 20:44:09.402426 sonic INFO syncd#supervisord 2024-08-26 20:44:09,402 INFO success: ledinit entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024 Aug 26 20:44:09.439758 sonic INFO syncd#supervisord 2024-08-26 20:44:09,439 INFO exited: dependent-startup (exit status 0; expected)
2024 Aug 26 20:44:09.577486 sonic INFO swss#supervisord 2024-08-26 20:44:09,576 INFO success: orchagent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024 Aug 26 20:44:09.707634 sonic ERR syncd#syncd: [none] SAI_API_SWITCH:platform_process_command:430 Platform command "init soc" failed, rc = -1.
2024 Aug 26 20:44:09.707634 sonic NOTICE syncd#syncd: [none] SAI_API_SWITCH:brcm_sai_create_switch:1579 SAI Timing: SDK init time 0 seconds
2024 Aug 26 20:44:09.707813 sonic CRIT syncd#syncd: [none] SAI_API_SWITCH:brcm_sai_create_switch:1587 hw info get failed with error Invalid unit (0xfffffffd).

We have examined our device code but did not identify any issues that could cause this failure. Therefore, we request assistance to confirm whether: The current master branch of SAI supports the TH5 chip. Further steps are required to adjust the platform code to ensure compatibility.

Steps to reproduce the issue:

NA

Describe the results you received:

syncd container abnormal exit during boot-Up

Describe the results you expected:

syncd runs normally without unexpected exits during boot-up.

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

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

syslog-64oc.log

arlakshm commented 1 week ago

please check if all the platform files are correct for this platform