Technical data

Chapter 3
Diagnostics
Shelf Manager (ShMM) Diagnostics User Interface
136
For example:
# shmm_crc_test
Performing CRC Checksum Tests...
Testing MTD IMAGE 0: FAILURE: Unknown type of image.
Testing MTD IMAGE 1: FAILURE: Unknown type of image.
Testing MTD IMAGE 2: PASSED.
Testing MTD IMAGE 3: PASSED.
Memory tests
NOTE Online memory tests are not installed on the system delivered from the factory. If you need to
run the memory tests, they must be installed on the ShMM’s Linux operating environment file
system following the instructions provided by Hewlett-Packard. To ensure the tests remain
accessible after rebooting the shelf manager, it is recommended that the files be installed in
/var/bin. After installing and setting execute permissions on the files, the following mem01
and mem02 tests are available.
mem01
The mem01 test allocates a large chunk of memory and fills it, forcing a real physical allocation. This test does
not detect single bit memory errors as the ShMM does not support reporting of these errors. Errors detected
by this test will likely cause a panic or reboot. mem01 does not test memory already in use by the processes
and the kernel.
Running the command with the –h option displays usage information.
# mem01 -h
-c n Run n copies concurrently
-e Turn on error logging
-f Turn off functional testing
-h Show this help screen
-i n Execute test n times
-I x Execute test for x seconds
-p Pause for SIGUSR1 before starting
-P x Pause for x seconds between iterations
-t Turn on syscall timing
-C ARG Run the child process with arguments ARG (for internal use)
-m x size of malloc in MB (default from /proc/meminfo)
-r random touching versus linear
-v verbose progress indication
Useful options for support are –v and –r. The –v flag executes the test in verbose mode. The –r flag forces
random memory touching. This test returns 0 on success and 1 on failure. All failures are reported with a
FAIL message.