Technical data
Chapter 3
Diagnostics
Shelf Manager (ShMM) Diagnostics User Interface
135
The shmm_eth_test checks the ethernet interfaces on the ShMM. Three tests are run to verify proper
operation of the interfaces: internal checks, PHY and ARP tests. The internal and PHY tests are run
automatically and the ARP test is run when the -a flag is used. When the –a argument is added with a valid
IP address, the ARP test will send ARP packets to the target IP address and wait for a response. Two
Ethernet ports are exercised by this test.
This test returns 0 on success and -1 on failure. The possible failure messages are:
• Timeout occurred - the interface timed out
• Packets do not match - data was corrupted in transmission
• Unknown error
Below is an example of running the tests without the loopback cables installed.
# shmm_eth_test
Performing Internal Ethernet Tests...
Testing MAC 0: PASSED.
Testing MAC 1: PASSED.
Performing PHY Ethernet Tests...
Testing MAC 0: PASSED
Testing MAC 1: PASSED
# shmm_eth_test -a 10.0.0.42
Performing Internal Ethernet Tests...
Testing MAC 0: PASSED.
Testing MAC 1: PASSED.
Performing PHY Ethernet Tests...
Testing MAC 0: PASSED
Testing MAC 1: PASSED
Performing ARP Ethernet Tests...
Each test will wait 10 seconds for the ARP packet to return
Testing MAC 0: FAILURE: Timeout occurred
Testing MAC 1: FAILURE: Timeout occurred
shmm_crc_test
This test will validate the checksums (CRCs) of the firmware images on the ShMM. It will iterate through all
firmware images, and will return 0 on success and -1 on an error. There are four possible error messages:
• Checksum does not match
• No signature detected
• Invalid image
• Unknown type of image