ossobv / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
0 stars 0 forks source link

runtime: syncd stop/abrt/dump due to too many lanes in use (improper hwsku/platform/bcm config) #40

Open wdoekes opened 6 days ago

wdoekes commented 6 days ago

Description

Cause: too many ports in 56X bcm file. Causes sonic-cfggen to create bad config_db.json.

Origin story: https://github.com/ossobv/sonic-buildimage/issues/6#issuecomment-2459519695

2024 Nov  6 11:06:21.426234 leaf1 NOTICE swss#portmgrd: :- doTask: Configure Ethernet41 admin status to up
2024 Nov  6 11:06:21.426345 leaf1 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet41(ok:down) to state db
2024 Nov  6 11:06:21.428995 leaf1 INFO syncd#syncd: [none] SAI_API_PORT:brcm_sai_create_port:8251 request for phy_lane:128 at speed:10000, lane_count:1
2024 Nov  6 11:06:21.429020 leaf1 ERR syncd#syncd: [none] SAI_API_PORT:brcm_sai_create_port:8331 Invalid lane config (1) passed for lane 128
2024 Nov  6 11:06:21.429020 leaf1 INFO syncd#syncd: [none] SAI_API_PORT:brcm_sai_create_port:8251 request for phy_lane:129 at speed:10000, lane_count:1
2024 Nov  6 11:06:21.429034 leaf1 ERR syncd#syncd: [none] SAI_API_PORT:brcm_sai_create_port:8281 Invalid phy-lane number
2024 Nov  6 11:06:21.429034 leaf1 ERR syncd#syncd: :- sendApiResponse: api SAI_COMMON_API_BULK_CREATE failed in syncd mode: SAI_STATUS_FAILURE
2024 Nov  6 11:06:21.429554 leaf1 ERR swss#orchagent: :- addPortBulk: Failed to create ports with bulk operation, rv:-1
2024 Nov  6 11:06:21.429598 leaf1 ERR swss#orchagent: :- handleSaiCreateStatus: Encountered failure in create operation, exiting orchagent, SAI API: SAI_API_PORT, status: SAI_STATUS_FAILURE

Which build are we running (if any)

osso202405 (202405) or any other

Upstream issues/PRs