...
The Onboard Health Management System periodically checks NVRAM blocks for invalid checksums. Although NVRAM testing is in progress, Fabric Switches do not display NVRAM test information in show system health command. Test Frequency Status Action ----------------------------------------------------------------- InBand 5 Sec Running Enabled Management Port 5 Sec Running Enabled Loopback 5 Sec Running Enabled ----------------------------------------------------------------- Although NVRAM testing is in progress, Fabric Switches do not display NVRAM test statistics in the show system health statistics command: Test Name State Frequency Run Pass Fail CFail Errs ------------------------------------------------------------------------------ InBand Running 5s 267 267 0 0 0 Management Port Running 5s 267 267 0 0 0 Loopback Running 5s 267 267 0 0 0 This makes it difficult to check the current status of the NVRAM after any NVRAM invalid block checksum Syslog messages: %KERN-2-SYSTEM_MSG: [ 1231.456789] Invalid cksum for block 14 expected 0x2f1 got 0x2f2 - kernel The show system health internal errors command displays the OHMS error history. NOTE: The nvram test action compl set command indicates that the test has reached the maximum number of failures and no longer runs: 1) Event:E_DEBUG, length:87, at 437238 usecs after Wed Oct 22 16:31:42 2022 [103] 3946:ohms_take_action: ERROR: Nvram test action compl set on module 1 for device 1 2) Event:E_DEBUG, length:78, at 437259 usecs after Wed Oct 22 16:31:42 2022 [103] 3946:ohms_take_action: ERROR: Nvram test failed on module 1 for device 1 3) Event:E_DEBUG, length:73, at 436693 usecs after Wed Oct 22 16:31:42 2022 [103] 3946:ohms_nvram_start_test: ERROR: No of NVRAM blocks tested bad 1. 4) Event:E_DEBUG, length:71, at 435889 usecs after Wed Oct 22 16:31:42 2022 [103] 3946:ohms_nvram_get_bad_blocks: ERROR: 9 NV Blk has bad checksum. Known Affected releases: 8.4(1a), 8.1(1b), 7.3(0)D1(1), 6.2(23), and 6.2(13)Conditions:This issue affects the following MDS fabric switches: MDS 9250i, MDS 9148S, MDS 9396S, MDS 9132T, MDS 9148T, and MDS 9396T
This issue is a cosmetic issue regarding the display of NVRAM test status only. It is not about any NVRAM test failures themselves or their causes. NVRAM test failures are addressed in several other defects.See Cisco Issue CSCvz91287 for details.
Resolution:This issue is address in Releases 9.3(1) and 8.4(2e).When an NVRAM error occurs, the following syslog messages are logged as the system automatically corrects the NVRAM value from cached information. %KERN-0-SYSTEM_MSG: [ 1231.533483] NVRAM Error: (line 1009):Invalid cksum for block 14 expected 0x2f1 got 0x2f2 - kernel %KERN-0-SYSTEM_MSG: [ 1231.640515] NVRAM Error: (line 1557):NVRAM block(14) copied from dram - kernel The show system health statistics command now reports NVRAM test statistics, including failures: Test statistics for module 1 ------------------------------------------------------------------------------ Test Name State Frequency Run Pass Fail CFail Errs ------------------------------------------------------------------------------ InBand Running 5s 267 267 0 0 0 Management Port Running 5s 267 267 0 0 0 Loopback Running 5s 267 267 0 0 0 Nvram Running 18m 2 1 1 0 0 ------------------------------------------------------------------------------