SunDiag User's Guide: Addendum for SMCC Hardware
只搜寻这本书
以 PDF 格式下载本书

User Test Descriptions

4

This chapter describes SunDiag tests for hardware devices that SunDiag will not automatically detect during the device probe at start-up. Therefore, these tests do not appear on the SunDiag control or status panels, even though they are included in the /opt/SUNWdiag/bin directory.
There are two ways to run these tests: you can either create a .usertest file, or run each test individually from a command line. See "Adding Your Own Tests in .usertest" in Chapter 1 of the SunDiag User's Guide for details on creating a .usertest file.

4.1 SunDials Test (sundials)

4.1.1 sundials Test Description

From a .usertest File This test verifies that the SunDials(TM) graphics manipulation device controls are working properly. sundials also verifies the connection between the dialbox and serial port.
Here is an example of a .usertest entry for sundials:

  bd,sundials,s  

From a Command Line Running sundials from a command line starts an interactive test that displays a screen representation of the dialbox. You can move each of the dials and see the corresponding dial's display change. To run the interactive test, select the Diagnostics Button on the top of the window representation. The dialbox dials on the screen will not move while the diagnostics test is running
Be certain that the dialbox is connected to one of the serial ports, and that the dialbox is complete with a power transformer to power it.
There is no option menu for this test.

4.1.2 sundials Command Line Syntax

/opt/SUNWdiag/bin/sundials diag standard_arguments

4.1.3 sundials Quick Test Description

Running this test in quick mode does not change the test procedure.
The sundials test window looks like this:

图形

Figure 4-1 sundials

4.1.4 sundials Error Messages

Sundials O.K.
  The test successfully completed

Cannot open device.

The device was probably not connected to the serial port.
ioctl(VUIDSFORMAT, VUID_NATIVE) -- you may need to run
dbconfig.
  dbconfig was probably not run and the test is getting an ioctl error
  when trying to access the device.

No Response from Dialbox

The dialbox is connected properly, but it may not be getting power from the transformer.
Selftest Failed

The dialbox selftest failed.

4.2 SunButtons Test (sunbuttons)

4.2.1 sunbuttons Test Description

This test verifies that the SunButtons(TM) graphics manipulation device is working correctly.
From a .usertest File In the non-interactive mode (from a .usertest file) this test verifies that each button functions. You will see each button light up in a round-robin fashion.
From a Shell Command Line This is an interactive test. The test will display a screen representation of the buttonbox where you can press each of the buttons and see the corresponding button's display change. To run the diagnostic test, select the Diagnostics Button on the top of the window representation. The buttonbox buttons on the screen will not change while the diagnostics test is running.
To run the test, select the Diagnostics button. As the test runs, you will see each button light in a "round-robin" fashion.
Be certain that the buttonbox is connected to one of the serial ports, and that the buttonbox is complete with a power transformer to power it.
There is no option menu for this test.

4.2.2 sunbuttons Command Line Syntax

/opt/SUNWdiag/bin/sunbuttons diag standard_arguments

4.2.3 sunbuttons Quick Test Description

Running this test in quick mode does not change the test procedure.
The sunbuttons test window looks like this:

图形

Figure 4-2 sunbuttons

4.2.4 sunbuttons Error Messages

Sunbuttons O.K.
  The test successfully completed

Cannot open device

The device was probably not connected to the serial port.
ioctl(VUIDSFORMAT, VUID_NATIVE You may need to run
dbconfig.
  dbconfig was probably not run and the test is getting an ioctl error
  when trying to access the device.

No Response from buttonbox

The buttonbox is connected however it may not be getting power from the transformer.
Selftest Failed

The Buttonbox selftest failed.