This article describe about the cmerror observed on ZT chip flex memory and how to clear the error/alarm.
root@xxxx> show chassis alarms no-forwarding1 alarms currently activeAlarm time Class Description2024-06-18 01:31:34 UTC Minor FPC 1 Minor Errors
The following logs can be seen in the message section:Jun 18 01:31:34 Hostname fpc1 cmerror_set_error: Module: ZT[2:0], pfe id:0, error_id:0x360002 reason:ZT[2:0]: FlexMem-11: ECC Protect: Parity error corrected for FlexMem slices - Value 0x2, data32_log_err 0x20, data32_log_address 0xb7a7Jun 18 01:31:34 Hostname fpc1 ztchip_flexmem_protect_intr_handler(608): ZT[2:0]: FlexMem-11: ECC Protect: Multiple Errors 0x0Jun 18 01:31:34 Hostname chassisd[86410]: CHASSISD_FPC_ASIC_ERROR: <FPC 1> ASIC Error detected errorno 0x00000002 (null)Jun 18 01:31:34 Hostname alarmd[86635]: Alarm set: FPC id=167772520, color=YELLOW, class=CHASSIS, reason=FPC 1 Minor ErrorsJun 18 01:31:34 Hostname craftd[8853]: Minor alarm set, FPC 1 Minor ErrorsJun 18 01:31:34 Hostname-fpc1 resiliencyd[10061]: Error:/fpc/1/platformd/0/cm/0/ztchip/2/ZTCHIP_CMERROR_FLEXMEM_ECC_PROTECT_FSET_REG_CORRECTED_SLICE (0x360002), scope: pfe, category: functional, severity: minor, module: ZT[2:0], type: FLEXMEM_ECC_PROTECT: Corrected: Parity error for FlexMem slicesJun 18 01:31:38 fpc1 ztchip_flexmem_protect_intr_handler(608): ZT[2:0]: FlexMem-11: ECC Protect: Multiple Errors 0x20
Jun 18 01:31:38 chassisd[86410]: CHASSISD_FPC_ASIC_ERROR: <FPC 1> ASIC Error detected errorno 0x00000002 (null) Jun 18 01:31:34 Hostname-fpc1 resiliencyd[10061]: Performing action log for error /fpc/1/platformd/0/cm/0/ztchip/2/ZTCHIP_CMERROR_FLEXMEM_ECC_PROTECT_FSET_REG_CORRECTED_SLICE (0x360002) in module: ZT[2:0] with scope: pfe category: functional level: minor
The alarm refers to the transient parity error on the SRAM. Static random-access memory (static RAM or SRAM) is a type of random-access memory (RAM) that uses latching circuitry (flip-flop) to store each bit inside PFE.
A single occurrence of the alarm can be cleared via below command.
> clear chassis fpc errors all fpc-slot < fpc number >
In case after clearing the alarm reappears. Need to reboot the FPC to get rid of error/alarm.