C H A P T E R  12

Sun Firetrademark V880 FC-AL Disk Backplane Test (dpmtest)


dpmtest Description

dpmtest exercises and verifies the Fibre-Channel mass storage subsystem in Sun Fire V880 platforms. dpmtest exercises various tests in the Fibre-Channel Backplane firmware for validating the mass storage system.

No special hardware is required to run the dpmtest test.


dpmtest Options

To reach the following dialog box, right-click on the test name in the System Map and select Test Parameter Options. If you do not see this test in the System Map, you might need to expand the collapsed groups, or your system might not include the device appropriate to this test. Refer to the SunVTS User's Guide for more details.


FIGURE 12-1 dpm test Test Parameter Options Dialog Box

Screenshot of the dpmtest Test Parameter Options dialog box


 


TABLE 12-1 dpmtest Test Options

Option

Description

Firmware Test

Runs the system-friendly firmware tests on each of the selected SES/SSC100 devices. By default this option is enabled.

Loopback Test

Causes the SES device to loop packets around the fiber loop with varying data patterns. The device reads the packet after the packet is received, and verifies that the data payload is correct. By default this option is enabled.

Note: This test runs only on SES/SSC100 devices that are in the base backplane.

Devices to Test

The SES/SSC100 devices being tested. Users have an option to select or deselect each device for being tested. By default all the devices are selected for testing.

Note: At least one device has to be selected for testing. If you try to deselect all of the devices, you will see an error message.

Note: If the device has both fibre and I2C paths, only the fibre path is listed under 'Devices to Test'. When you perform the tests on this device, the tests are run on both fibre and I2C paths.



dpmtest Test Modes


TABLE 12-2 dpmtest Supported Test Modes

Test Mode

Description

Connection

The test opens each selected device, extracts information about the device (wwn/wwpn, firmware revision, drives installed, temperatures, and so on), and displays the information for the user. If the device has both fibre and I2C paths, then information will be extracted from both the paths.

After the test is performed on all the selected devices, the test closes the devices and exits.

Functional

The test opens each selected device and runs the selected subtests against the device. When fully run, the test closes the device and reports the results.

Note: When no subtests are selected and you try to perform the functional testing, then just a configuration check will be performed.



dpmtest Command-Line Syntax

/opt/SUNWvts/bin/dpmtest standard_arguments -0 dev=[device name],
dpmdev=[device1+device2+...], fwtest=[Enable|Disable], lb=[Enable|Disable]

 


TABLE 12-3 dpmtest Command-Line Syntax

Argument

Description

-o dev=device-name

device-name is the path name of the device being tested. The default value is ses.

Since the current SunVTS infrastructure doesn't allow specifying multiple devices under the dev suboption, this suboption is not used in dpmtest. A new suboption dpmdev satisfies this requirement.

dpmdev=[device1+device2...]

device1, device2,... represent the SES/SSC100 devices being tested. The default value is all the SSC100s present in the system.

Note: The values for the dpmdev suboption can be device names such as ses0, ses1, ssc100@16, ssc100@1a, etc. Multiple values can be specified with a + (plus sign) seperator. An absolute path through fibre paths to devices are allowed (for example, /dev/es/ses0) as dpmdev suboption values. However, absolute paths through a I2C path to devices are not allowed because commas are not allowed as part of a suboption value. Commas delimit suboptions in the options string (for example, /devices/pci@9, 700000/ebus@1/i2c@1, 30/controller@0, 16:ssc100).

 

Note: The following devices may be specified for the dpmdev suboption values in the Sun Fire V880 platforms:

Fibre path:

  • ses0 - Fibre path to base backplane's SSC100 (/dev/es/ses0) device on loopA.
  • ses1 - Fibre path to base backplane's SSC100 (/dev/es/ses1) device on loopB. This is valid only when a PCI FC Network Adapter is connected to loopB.

I2C Path:

  • ssc100@16 - Base backplane's SSC100 device on loopA through a i2c path.
  • ssc1001a - Base backplane's SSC100 device on loopB through a i2c path.
  • ssc1001e - Expansion backplane's SSC100 device on loopB through a i2c path.

Note: The exact fibre path device node names (ses0, ses1, etc..) may vary depending on device nodes created in the system. The valid fibre path device nodes, that dpmtest found during probing, can be found under Devices to Test in the dpmtest Test Parameter Options dialog box.

lb=[Enable|Disable]

Enables or disables the loopback test. The default is Enable.

Note: The loopback test runs only on SES/SSC100 devices that are in the base backplane.

fwtest=[Enable|Disable]

Enables or disables the firmware tests. The default value is Enable.