The primary diagnostic software for troubleshooting the SBus expansion subsystem is built into the expansion adapter card PROM. Also useful is the SunDiag System Exerciser that is shipped on the compact disc with the device driver.
Turn on the system in the following order:
Test the SBus expansion board subsystem hardware, including the expansion adapter card in the SPARCsystem or SPARCserver, by using the test command or the Sundiag System Exerciser described in Appendix A.
To use the test command, type the following:
Note - The following screen displays are examples only. The actual messages displayed on the screen will depend on the software running on the system.
Note - For the following procedure, xbox is synonymous with xboard.
-------------------------------------------------------------------
system% su Password:(Type superuser password) system# halt Type b(boot), c(continue), or n(new command mode) > n ok test /sbus/SUNW,xbox@1 (If adapter card installed in slot 0) ok test /sbus/SUNW,xbox@2 (If adapter card installed in slot 1) ok test /sbus/SUNW,xbox@3 (If adapter card installed in slot 2) ok old-mode > b (System reboots) -------------------------------------------------------------------
To test the functionality of any SBus card installed in the SBus Expansion subsystem which has the test routine built into the SBus card PROM, determine the SBus slot numbers of the Expansion Adapter card and the SBus card to be tested.
%devinfo filename
The devinfo command displays known system devices, including the SBus card. The output will indicate the device name, unit number, and whether a system device driver has claimed the device. Use the more command or a text editor to view the results of devinfo. To use the test command to test the SBus cards, type the following:
----------------------------------------------------------------------------------------
system% su Password:(Type superuser password) system# halt Type b(boot), c(continue), or n(new command mode) > n ok test /sbus/SUNW,xbox@1/cardname@2 (If adapter card installed in slot 1 and the SBus card you are testing is in slot 2.) ok test /sbus/SUNW,xbox@2/cardname@0 (If adapter card installed in slot 2 and the SBus card you are testing is in slot 0.) ok test /sbus/SUNW,xbox@3/cardname@1 (If adapter card installed in slot 3 and the SBus card you are testing is in slot 1.) ok old-mode > b (System reboots) ----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
system# halt Type b(boot), c(continue), or n(new command mode) > n ok cd / <cr'> ok ls <cr'> ok /sbus/SUNW,xbox@1/cardname@2 (If adapter card installed in slot 1 and the SBus card you are testing is in slot 2.) ok /sbus/SUNW,xbox@2/cardname@0 (If adapter card installed in slot 2 and the SBus card you are testing is in slot 0.) ok /sbus/SUNW,xbox@3/cardname@1 (If adapter card installed in slot 3 and the SBus card you are testing is in slot 1.) ok old-mode > b (System reboots) ----------------------------------------------------------------------------------------