sonic-net / sonic-buildimage

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

Accton-AS5712-54X syncd-failed with detected an unsupported device id 0xb854 on 201811 #2371

Open pollyhsu2git opened 5 years ago

pollyhsu2git commented 5 years ago

Description New SAI [3.3.3.1] on the 201811 branch rules out the TD2: info dev value as 0xb854 again. We reported it on your SAI [3.0.3.2] release via Azure/sonic-buildimage#1054; also [3.1.3.4] release via https://github.com/Azure/SONiC/issues/153. For details, please refer to our test attachment log with this post.

Steps to reproduce the issue: 1. 2. 3.

Describe the results you received: Nov 3 17:18:17.222181 sonic ERR syncd#syncd: sai_api_initialize:105 BRCM SAI ver: [3.3.3.1], OCP SAI ver: [1.3.3], SDK ver: [6.5.13] Nov 3 17:18:40.194958 sonic CRIT syncd#syncd: _brcm_sai_dev_set:2686 Broadcom SAI detected an unsupported device id 0xb854 Nov 3 17:18:40.194958 sonic ERR syncd#syncd: :- processEvent: attr: SAI_SWITCH_ATTR_INIT_SWITCH: true Nov 3 17:18:40.194958 sonic ERR syncd#syncd: :- processEvent: attr: SAI_SWITCH_ATTR_FDB_EVENT_NOTIFY: 0x42c3a0 Nov 3 17:18:40.194958 sonic ERR syncd#syncd: :- processEvent: attr: SAI_SWITCH_ATTR_PORT_STATE_CHANGE_NOTIFY: 0x42c3b0 Nov 3 17:18:40.194958 sonic ERR syncd#syncd: :- processEvent: attr: SAI_SWITCH_ATTR_SWITCH_SHUTDOWN_REQUEST_NOTIFY: 0x42c3c0 Nov 3 17:18:40.194958 sonic ERR syncd#syncd: :- processEvent: attr: SAI_SWITCH_ATTR_SRC_MAC_ADDRESS: CC:37:AB:17:6C:50 Nov 3 17:18:40.195006 sonic ERR syncd#syncd: :- processEvent: failed to execute api: create, key: SAI_OBJECT_TYPE_SWITCH:oid:0x2100 0000000000, status: SAI_STATUS_FAILURE Nov 3 17:18:40.195175 sonic ERR syncd#syncd: :- syncd_main: Runtime error: :- processEvent: failed to execute api: create, key: SAI _OBJECT_TYPE_SWITCH:oid:0x21000000000000, status: SAI_STATUS_FAILURE Nov 3 17:18:40.195175 sonic NOTICE syncd#syncd: :- exit_and_notify: sending switch_shutdown_request notification to OA Nov 3 17:18:40.195438 sonic NOTICE syncd#syncd: :- exit_and_notify: notification send successfull Nov 3 17:18:40.195438 sonic WARNING syncd#syncd: :- exit_and_notify: sleep forever to keep data plane active

Describe the results you expected:

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

root@sonic:/home/admin# show platform summary Platform: x86_64-accton_as5712_54x-r0 HwSKU: Accton-AS5712-54X ASIC: broadcom

root@sonic:/home/admin# show ver SONiC Software Version: SONiC.201811.0-dirty-20181210.140616 Distribution: Debian 9.6 Kernel: 4.9.0-7-amd64 Build commit: ff9eb73 Build date: Mon Dec 10 06:10:31 UTC 2018 Built by: polly_hsu@Tainan-Linux-216

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

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

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

SONic-V2-AS5712-l_201811br-20181204-ff9eb73-syncd_FAILed-not_supported_b854-001.log

sergeypopovich-ord commented 5 years ago

Tested on TD2 56854 based device with current master (commit f8d63edea72d "[bcm sai] upgrace Broadcom SAI to 3.3.3.1-3 #2389") and issue is fixed for us.

Should work for Accton-AS5712-54X too.

xinliu-seattle commented 5 years ago

The BRCM SAI has updated the SAI binary. @pollyhsu2git can you retest?

pollyhsu2git commented 5 years ago

@xinliu-seattle We'll test the Jenkins build no. 866 dated 2019/2/12 here, and update you when the test is done. Thanks,

pollyhsu2git commented 5 years ago

@xinliu-seattle

Accton-AS5712-54X was verified to be booted OK, and the port link OK with the external loopback DAC cable on the Jenkins build no. 866 dated 2019/2/12 here.

Regards,

root@sonic:/home/admin# show platform summary Platform: x86_64-accton_as5712_54x-r0 HwSKU: Accton-AS5712-54X ASIC: broadcom

root@sonic:/home/admin# show ver SONiC Software Version: SONiC.HEAD.866-ca522a3 Distribution: Debian 9.7 Kernel: 4.9.0-8-2-amd64 Build commit: ca522a3 Build date: Tue Feb 12 17:25:16 UTC 2019 Built by: johnar@jenkins-worker-4

root@sonic:/home/admin# cat /var/log/syslog | grep SDK Nov 6 14:19:38.468782 sonic ERR syncd#syncd: sai_api_initialize:105 BRCM SAI ver: [3.3.4.3], OCP SAI ver: [1.3.6], SDK ver: [6.5.13]

root@sonic:/home/admin# show interfaces status Interface Lanes Speed MTU Alias Oper Admin Type Asym PFC


Ethernet0 13 N/A 9100 tenGigE0 up up SFP N/A Ethernet1 14 N/A 9100 tenGigE1 up up SFP N/A