sonic-net / sonic-sairedis

SAI object interface to Redis database, as used in the SONiC project
Other
56 stars 259 forks source link

“show techsupport ” will show "handle_error $? $LINENO ERR: RC:-1 observed on line 279 find: /var/log/sai_failure_dump/sonic_dump_sonic_20240321_172310/etc/rc3.d/K01ipmievd sonic_dump_sonic_20240321_172310/etc/rc3.d/S01kexec : No such file or directory" #1364

Open sandylicls opened 4 months ago

sandylicls commented 4 months ago

Hi team, Based on the BRCM platform when we run "show techsupport " and found below errors in the log. handle_error $? $LINENO ERR: RC:-1 observed on line 279 find: /var/log/sai_failure_dump/sonic_dump_sonic_20240321_172310/etc/rc3.d/K01ipmievd sonic_dump_sonic_20240321_172310/etc/rc3.d/S01kexec : No such file or directory

We are trying to fix this issue by referring this link "https://github.com/mssonicbld/sonic-buildimage/commit/8c6ab89f168e984d67a6961c05e10fb7aca0b0c4" but found some errors in the brcm SAI. In sonic-sairedis/saisdkdump /saisdkdump.cpp status = switch_api->create_switch(&switch_id, AttributesCount, attrs); if (status != SAI_STATUS_SUCCESS) { exit_with_sai_failure("Failed to create a switch", status); }

this created failed.

kcudnik commented 4 months ago

what errors in sai bcm ? if switch create failed, this could be due to many reasons, maybe switch is initialized already, can you paste syslog ?