Sun Enterprise 250 Server Owner's Guide

Software Commands

System software provides Solaris and OBP commands that you can use to diagnose problems. For more information on Solaris commands, see the appropriate man pages. For additional information on OBP commands, see the OpenBoot 3.x Command Reference Manual. (An online version of the manual is included with the Solaris System Administrator AnswerBook that ships with Solaris software.)

Solaris prtdiag Command

The prtdiag command is a UNIX shell command used to display system configuration and diagnostic information. You can use the prtdiag command to display:

To run prtdiag, type:


% /usr/platform/sun4u/sbin/prtdiag

To isolate an intermittent failure, it may be helpful to maintain a prtdiag history log. Use prtdiag with the -l (log) option to send output to a log file in /var/adm.


Note -

Refer to the prtdiag man page for additional information.


An example of prtdiag output follows. The exact format of prtdiag output depends on which version of the Solaris operating environment is running on your system.

prtdiag output:


ok /usr/platform/sun4u/sbin/prtdiag -v
System Configuration:  Sun Microsystems  sun4u Sun Ultra Enterprise 250(2 X UltraSPARC-II 248MHz)
System clock frequency: 83 MHz
Memory size: 640 Megabytes

========================= CPUs ========================

Run   Ecache   CPU    CPU
Brd  CPU   Module   MHz     MB    Impl.   Mask
---  ---  -------  -----  ------  ------  ----
SYS     0     0      248     1.0   US-II    1.1
SYS     1     1      248     1.0   US-II    1.1

========================= Memory =========================

Interlv.  Socket   Size
Bank    Group     Name    (MB)  Status
----    -----    ------   ----  ------
  0      none     U0801    32      OK
  0      none     U0701    32      OK
  0      none     U1001    32      OK
  0      none     U0901    32      OK
  1      none     U0802    64      OK
  1      none     U0702    64      OK
  1      none     U1002    64      OK
  1      none     U0902    64      OK
  2      none     U0803    32      OK
  2      none     U0703    32      OK
  2      none     U1003    32      OK
  2      none     U0903    32      OK
  3      none     U0804    32      OK
  3      none     U0704    32      OK
  3      none     U1004    32      OK
  3      none     U0904    32      OK

========================= IO Cards =========================

Bus   Freq
Brd  Type  MHz   Slot  Name                              Model
---  ----  ----  ----  ------------------ ----------------------
SYS   PCI    33     0   SUNW,m64B                         ATY,GT-B              
SYS   PCI    33     1   pciclass,078000                                         
SYS   PCI    33     2   pciclass,078000                                         
SYS   PCI    33     3   glm                               Symbios,53C875        

No failures found in System
===========================

========================= Environmental Status =========================

System Temperatures (Celsius):
------------------------------
      CPU0    44
      CPU1    52
       MB0    32
       MB1    26
       PDB    26
      SCSI    24


=================================
Front Status Panel:
-------------------
Keyswitch position is in On mode.

System LED Status:  DISK ERROR      POWER  
                      [OFF]         [ ON]      
                POWER SUPPLY ERROR  ACTIVITY 
                      [OFF]         [OFF]      
                    GENERAL ERROR   THERMAL ERROR  
                      [OFF]         [OFF]      
=================================
Disk LED Status:	OK = GREEN	ERROR = YELLOW
		DISK  5:    [OK]	DISK  3:    [OK]	DISK  1:    [OK]
		DISK  4:    [OK]	DISK  2:    [OK]	DISK  0:    [OK]

=================================
Fan Bank :
----------

Bank      Speed     Status
         (0-255)	
----      -----     ------
 SYS       140        OK

=================================

Power Supplies:
---------------

Supply     Status
------     ------
  0          OK  

========================= HW Revisions =========================

ASIC Revisions:
---------------
STP2223BGA: Rev 4
STP2003QFP: Rev 1

System PROM revisions:
----------------------
  OBP 3.5.145 1997/10/15 14:50   POST 5.0.5 1997/10/09 16:52

OBP show-devs Command

If you are working from the OBP prompt (ok), you can use the OBP show-devs command to list the devices in the system configuration.

OBP printenv Command

Use the OBP printenv command to display the OpenBoot PROM configuration variables stored in the system NVRAM. The display includes the current values for these variables as well as the default values.

OBP probe-scsi and probe-scsi-all Commands

To diagnose problems with the SCSI subsystem, you can use the OBP probe-scsi and probe-scsi-all commands. Both commands require that you halt the system.


Note -

When it is not practical to halt the system, you can use SunVTS as an alternate method of testing the SCSI interfaces. See "About Diagnostic Tools" for more information.


The probe-scsi command transmits an inquiry command to all SCSI devices connected to the main logic board SCSI interfaces. This includes any tape or CD-ROM drive in the removable media assembly (RMA), any internal disk drive, and any device connected to the external SCSI connector on the system rear panel. For any SCSI device that is connected and active, its target address, unit number, device type, and manufacturer name are displayed.

The probe-scsi-all command transmits an inquiry command to all SCSI devices connected to the system SCSI host adapters, including any host adapters installed in PCI slots. The first identifier listed in the display is the SCSI host adapter address in the system device tree followed by the SCSI device identification data.

The first example that follows shows a probe-scsi output message. The second example shows a probe-scsi-all output message.

probe-scsi output:


ok probe-scsi
This command may hang the system if a Stop-A or halt command
has been executed. Please type reset-all to reset the system
before executing this command.
Do you wish to continue? (y/n) n
ok reset-all

ok probe-scsi
Primary UltraSCSI bus:
Target 0 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G3862
Target 4 
  Unit 0   Removable Tape     ARCHIVE Python 02635-XXX5962
Target 6 
  Unit 0   Removable Read Only device TOSHIBA XM5701TASUN12XCD0997
Target 9 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G7462
Target b 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G7462
ok

probe-scsi-all output:


ok probe-scsi-all
This command may hang the system if a Stop-A or halt command 
has been executed. Please type reset-all to reset the system
before executing this command.
Do you wish to continue? (y/n) y

/pci@1f,4000/scsi@4,1
Target 2 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target 3 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target 4 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target 5 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target 8 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target 9 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target a 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target b 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target c 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target d 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target e 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target f 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418

/pci@1f,4000/scsi@4
Target 2 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0416
Target 3 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0416
Target 4 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0416
Target 5 
  Unit 0   Disk     SEAGATE ST32430W SUN2.1G0666
Target 8 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0416

probe-scsi-all output continued:


Target 9 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0416
Target a 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target b 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target c 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target d 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target e 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418
Target f 
  Unit 0   Disk     SEAGATE ST32550W SUN2.1G0418

/pci@1f,4000/scsi@3,1

/pci@1f,4000/scsi@3
Target 0 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G3862
Target 4 
  Unit 0   Removable Tape     ARCHIVE Python 02635-XXX5962
Target 6 
  Unit 0   Removable Read Only device TOSHIBA XM5701TASUN12XCD0997
Target 9 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G7462
Target b 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G7462

/pci@1f,4000/pci@5/SUNW,isptwo@4
Target 1 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G8246
Target 2 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G8254
Target 3 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G8246
Target 4 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G8246
Target 5 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G7462
Target 6 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G7462