Technical data

Chapter 3
Diagnostics
Shelf Manager (ShMM) Diagnostics User Interface
132
Shelf Manager (ShMM) Diagnostics User Interface
ShMM Diagnostics Overall Interface Description
This section describes the ShMM diagnostics interface.
Power-On Self Tests
Power-On Self-Test (POST) diagnostics run at power-on and during boot. Six areas are tested by POST:
memory – tests SDRAM
•i2c checks the I
2
C bus
uart – tests the UARTs
ethernet – tests the Ethernet port
crc – performs a CRC check on the ROM
ipmb – tests the ipmb bus (This test is currently disabled)
POST reports PASS or FAIL for each test. POST tests can be run manually from the U-boot firmware menu.
Online Tests
There are two types of online tests: Hardware and memory.
The hardware tests exercise the ports and test the checksums of the firmware. The memory tests verify the
memory interfaces in the kernel and that the memory is free of faults
NOTE The ShMM does not have the ability to report single-bit memory errors.
Hardware Tests
The available hardware tests are:
shmm_uart_test – tests the UARTs
shmm_eth_test – tests the Ethernet interfaces
shmm_crc_test – tests the firmware checksums
Memory Tests
mem01 – malloc’s all available memory to ensure that the memory is clean
mem02 – tests all the kernel memory interfaces (malloc, calloc, and so on), and Reads/Writes this memory.
These test are usually run from the shell and may be included in scripts. The following example will run the
mem02 test until it is interrupted by the user.
# while true
> do