HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

476 Fabric OS commands
Reads and writes test of the ASIC SRAMs and registers.
Synopsis
portregtest [--slot slotnumber][-ports itemlist][-skiptests mask][-verbose
mode]
Availability
admin
Description
Use this command to verify that SRAM and register data bits in each ASIC can be independently written
and read.
The test method used is to write a walking 1 pattern to each bit location. This is done by writing a pattern
of 0x00000001 to register N. Read and ensure that the same pattern previously written is read back.
Shift the pattern to the left by 1 bit (to 0x00000002)and, repeat the write, read, and compare cycle. Shift
again and repeat until the last writable bit in register N is reached (0x80000000 for a 32-bit register).
For example, a 6-bit register is effectively tested with the following patterns:
Repeat these steps until all ASIC SRAMs and registers are tested.
Operands
This command has the following operands:
portRegTest
0x0001 0x0002 0x0004 0x0008
0x0010 0x0020 0x0040 0x0080
0x0100 0x0200 0x0400 0x0800
0x1000 0x2000 0x4000 0x8000
--slot slotnumber Specify the slot number on which the diagnostic will operate.
The ports specified will be relative to this slot number. The
default is 0.
-ports itemlist Specify a list of blade ports to test. By default, all the blade
ports in the specified slot will be used. Refer to itemList for
further details.
-skiptests mask A bit mask that defines which of the register test subtests to
skip. By default, all subtests will be performed. Valid mask
values include one or more of the following:
0x2 Skip retry register test.
0x4 Skip statistics register test.
0x8 Skip walk-1 test.
0x10 Skip credit counter test.
-verbose mode Specify a nonzero value to enable verbose mode. The default
value is to disable this mode.