The primary diagnostic software that troubleshoots the SBus Expansion Subsystem is built into the Expansion Adapter card PROM. Also useful is the SunDiag System Exerciser which was shipped on the compact disc with the device driver.
This section describes how to troubleshoot:
Note - For troubleshooting with SunDiag, please refer to Appendix C, "SBus Expansion Subsystem Testing with SunDiag."
Before powering up the SBus Expansion Subsystem and other devices, check the following:
3 Power cord is connected to the SBus Expansion Subsystem and to a wall outlet with the correct voltage. (Refer to Appendix A for the correct input voltage.)
3 SBus Expansion Subsystem cable is securely connected to the Expansion Adapter card and to the SBus Expansion Subsystem connector.
3 Turn the system on in the following order:
3 The LED light on the front of the SBus Expansion Subsystem is lit.
3 The mouse's LED is lit.
3 The monitor display is lit.
3 The banner screen is displayed. An example follows:
-
-
3 If you are booting from an SBus Expansion Subsystem disk, make sure that the normal boot display appears. When it does, check the following:
To determine if the SCSI address is set correctly do the following:
This command returns the target ID (SCSI address) and unit number. These numbers should agree with the device probe displayed at power up and with the SCSI set on the device address.
----------------------------------
(Press Stop-A) ok probe-scsi Target 1 Unit 0 Disk disk device name Target 3 Unit 0 Disk disk device name ----------------------------------
If necessary, replace one of the following:
If the hard disk does not respond to a command or will not spin up:
----------------------------------
(Press Stop-A) ok probe-scsi Target 1 Unit 0 Disk disk device name Target 3 Unit 0 Disk disk device name ----------------------------------
If the disk drive indicates it has a problem reading or writing data, you may want to use SunDiag to diagnose the problem area. To be able to use the SunDiag software, you must be:
Refer to Appendix C, "SBus Expansion Subsystem Testing with SunDiag." for complete read and write troubleshooting information. For complete instructions on using SunDiag, refer to the SunDiag manual which is part of the documentation set shipped with the operating system.
If the SBus Expansion Subsystem does not power up, see "Troubleshooting at Power Up." If the SBus Expansion Subsystem passes power up but is not working properly, refer to "Testing SBus Expansion Subsystem Hardware."
Test the SBus Expansion Subsystem hardware, including the Expansion Adapter card in the computer system, by using either the test command or the SunDiag System Exerciser described in Appendix C, "SBus Expansion Subsystem Testing with SunDiag."
You can use the SunDiag System to "exercise" your Sun system by running SunDiag's on-line diagnostic tests.
To use the test command, 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 (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.
%dmesg filename
The dmesg command displays bootup messages, including the SBus card abbreviations and slot numbers you need. Use the more command or a text editor to view the results of dmesg.
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) ----------------------------------------------------------------------------------------
SBus cards may not function properly in your system for one of several reasons.
When adding SCSI devices to the SBus Expansion Subsystem, care should be taken to comply with the normal SCSI requirements as established through the system kernel. Refer to the paragraph "SCSI Requirements" under "Special Requirements" in the "Installing Hardware" section.