Technical data
Chapter 3
Diagnostics
Shelf Manager (ShMM) Diagnostics User Interface
134
Online Tests
The online tests discussed in this section are available in the /bin directory. If these utilities do not exist in
the /bin directory on the ShMM, please contact Hewlett-Packard support for assistance.
shmm_uart_test [-e]
NOTE The external test (-e) requires a loopback cable. Before running the test verify that the loopback
cable is properly installed. The test will fail with a “Timeout occurred” message if the loopback
cable is not installed.
The shmm_uart_test checks the internal interfaces of the UARTs. The –e flag checks the external
interfaces as well. The valid UARTs are 0 and 3. Both are tested by this test.
This test returns 0 on success and -1 on failure. The possible failure messages:
• Timeout occurred - the interface timed out
• Invalid symbol occurred - data was corrupted in transmission
• Unknown error
Below is an example of running the tests without the loopback cables installed.
# shmm_uart_test
Performing Internal UART Tests...
Testing UART 0: PASSED.
Testing UART 3: PASSED.
# shmm_uart_test -e
Performing Internal UART Tests...
Testing UART 0: PASSED.
Testing UART 3: PASSED.
Performing External UART Tests...
Note: A loopback cable is required for these tests
Testing UART 0: FAILURE: Timeout occurred
Testing UART 3: FAILURE: Timeout occurred
shmm_eth_test [-a <ip_addr>]
NOTE The external test (-e) requires a loopback cable. Before running the test verify that the loopback
cable is properly installed. The test will fail with a “Timeout occurred” message if the loopback
cable is not installed.