This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/platform
Vadym Hlushko 2dff179f2c
[SFP] Change logging severity when failed to read EEPROM (#13010)
Why I did it
In order to prevent the sonic-mgmt/tests/platform_tests/sfp/test_sfputil.py test failing on the log analyzer step.

The mentioned test is performing the sfputil reset EthernetX for every interface on the SONiC switch, this action will flap the SFP device status (INSTERTED -> REMOVED -> INSTERTED).

The SONiC XCVRD daemon will catch this SFP device status change (because it is monitoring the presence status of the cable).
To judge the cable presence status, currently, we are still leveraging to read the first bytes of the EEPROM, and the EEPROM could be not ready at some moment and the SONiC XCVRD daemon will print the error log to Syslog:

ERR pmon#xcvrd: Error! Unable to read data for 'xx' port, page 'xx' offset 128, rc = 1, err msg: Sending access register
How I did it
Change logging severity from ERR to WARNING

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
2022-12-19 09:21:21 -08:00
..
barefoot [202205][Arista] Update platform library submodules (#12968) 2022-12-07 14:59:29 -08:00
broadcom update SAI version to 7.1.28.4 (#13072) 2022-12-16 19:07:31 +08:00
cavium Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
centec [202205] Update Linux kernel from 5.10.103 to 5.10.140 (#12660) #12874 2022-12-01 09:25:40 -08:00
centec-arm64 [centec][arm64] fix tsingma bsp compile error (#12774) 2022-12-06 18:35:30 +08:00
checkout update cisco 8000 tag: 202205-v0.6 (#12580) 2022-11-03 08:58:07 +08:00
components [gbsyncd] Enable debug shell for BRCM broncos PHY (#12622) 2022-11-10 18:15:51 +00:00
generic [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00
innovium [innovium]: Enable syncd container autorestart for Innovium platforms (#11497) 2022-09-21 21:10:23 +00:00
marvell [202205][BRCM_SAI] update Brcm SAI dependencies (#11173) 2022-06-17 05:02:00 -07:00
marvell-arm64 Support symcrypt fips config for aboot/uboot (#10729) 2022-06-05 15:20:20 +00:00
marvell-armhf [Marvell] Update armhf sai debian (#13037) 2022-12-14 12:10:09 +08:00
mellanox [SFP] Change logging severity when failed to read EEPROM (#13010) 2022-12-19 09:21:21 -08:00
nephos Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
p4 Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
pddf Fix for Accton platform build failure when doing incremental build (#10541) 2022-05-09 12:17:38 -07:00
template Mount directory warmboot in docker gbsyncd (#11852) 2022-08-27 16:16:17 +00:00
vs [sai-ptf]Fix sai ptf issue (#12723) 2022-11-16 20:28:30 -08:00