SunVTS 2.1.3 Test Reference Manual
この本のみを検索
PDF 文書ファイルをダウンロードする
CHAPTER33*

Soc+ Host Adapter Card Test (socaltest)


socaltest aids the validation and fault isolation of the SOC+ host adapter card. In the case of a faulty card, the test tries to isolate the fault to the card, the GBIC module, or the DMA between the host adapter card and the host memory.

socaltest Options

グラフィック

FIGURE 33-1 socaltest


socaltest Options

TABLE 33-1 socaltest
socaltest OptionsDescription
Internal Loopback TestChecks the host adapter card and the direct memory access (DMA) with the host system. This is accomplished as follows:

· A frame is created in the host adapter local memory, sent out through the SOC+ transmitter and internally looped back to the SOC+ receiver. The received data is compared with the original data. · A frame is created in the host adapter local memory, sent out through the SOC+ transmitter and looped back through the SERDES (serialiser-deserialiser) chip on the host adapter card. The received data is compared with the original data. · A frame is created in the host main memory, transferred through the DMA to the host adapter transmitter, looped back within the SOC+ chip, and transferred from the receiver to the host main memory through the DMA. The received frame is compared with the original transmitted frame, which tests the host memory to the host adapter DMA path.

External Loopback TestThe External Loopback Test verifies the proper functioning of the GBIC module. A frame is created in the host adapter local memory, sent out and looped back through the external loopback connector attached to the port. If the external loopback test is run together with the internal loopback test, the DMA path is also tested by creating a frame in host main memory, transferring it to the host adapter through the DMA, looping it back through the external loopback connector and transferring the received frame back to the host main memory by DMA.
Loopback Frame TestSends out a buffer initialized with the selected pattern and compares it with the looped back frame. It passes if the two compare and fails if they do not.
Loopback Frame PatternList of selectable patterns for the Loopback Frame Test.

Note - In addition to the tests described above, socaltest also tests the basic functions of the SOC+ chip, the on-board XRAM, and the host control buffer by invoking the appropriate tests implemented in firmware.


socaltest Test Modes

socaltest can only be run in the Functional Test modes.

Note - You cannot run the internal and external loopback tests if the port is connected to a disk array.


socaltest Command Line Syntax

/opt/SUNWvts/bin/socaltest standard arguments
-o dev=device
name,elb=enabled|disabled,ilb=enabled|disabled,lbf=enable|disable,ptn=pattern

TABLE 33-2 socaltest
ArgumentExplanation
dev=device nameThe name of the socal port to be tested.
elb=enabled|disabledEnables or disables the external loopback test.
ilb=enabled|disabledEnables or disables the internal loopback test.
lbf=enable|disableEnables or disables the loopback frame test.
ptn=patternSpecify the pattern in hexadecimal, for example: ptn=0x7e7e7e7e

socaltest Error Messages

TABLE 33-3 socaltest
Error MessageProbable Cause(s)Recommended Action
8000Couldn't open device_nameSOC+ card not installed.Verify that the target SOC+ card is installed properly.
8002{SOC+ host adapter}--
{host memory} loopback
test failed!
Fault in DMA between host
and SOC+ host adapter.
Contact your authorized Sun
service provider.
8006SOC+ host adapterLoopback cable not connected.Connect loopback cable.

external loopback test failed!OEC module faulty or not installed properly.Replace OEC module and retry.



Contact your authorized Sun service provider.
8009SOC+ host adapter
internal loopback test
SOC+ host adapter is faulty or is
not properly installed.
Verify that the SOC+ host
adapter is installed properly.

failed!
Replace the host adapter and retry.



Contact your authorized Sun service provider.
8010Failed ioctl ioctl_nameSystem error.Contact your authorized Sun service provider.
8011Host control buffer test failedSOC+ host adapter is faulty.Replace the host adapter and retry.



Contact your authorized Sun service provider.
8012SOC+ selftest failsSOC+ host adapter is faulty.Replace the host adapter and retry.



Contact your authorized Sun service provider.
TABLE 33-3 socaltest(Continued)
Error MessageProbable Cause(s)Recommended Action
8013XRAM test failsSOC+ host adapter is faulty.Replace the host adapter and retry.



Contact your authorized Sun service provider.
8015Loopback frame test failed

Mismatch in looped back frame

Expected: value Observed: value