Sun Microsystems Computer Company
A Sun Microsystems, Inc. Business
901 San Antonio Road Palo Alto, CA 94303-4900 USA
650 960-1300
fax 650 969-9131
Part No.: 801-6396-11
Revision A, August 1994
1994 Sun Microsystems,Inc.,901SanAntonioRoad,PaloAlto,California94303-4900U.S.A.
All rights reserved.
This productordocumentisprotectedbycopyrightanddistributedunderlicensesrestrictingitsuse,copying,distribution,anddecompilation.
No part of this productordocumentmaybereproducedinanyformbyanymeanswithoutpriorwrittenauthorizationofSunanditslicensors,
if any.
Portions of this productmaybederivedfromtheUNIX®system,licensedfromNovell,Inc.,andfromtheBerkeley4.3BSDsystem,licensed
fromtheUniversityofCalifornia.UNIXisaregisteredtrademarkintheUnitedStatesandinothercountriesandisexclusivelylicensedby
X/Open Company Ltd. Third-partysoftware,includingfonttechnologyinthisproduct,isprotectedbycopyrightandlicensedfrom Sun’s
suppliers. RESTRICTED RIGHTS: Use, duplication, or disclosurebytheU.S.GovernmentissubjecttorestrictionsofFAR 52.227-14(g)(2)(6/87)
and FAR52.227-19(6/87),orDFAR252.227-7015(b)(6/95)andDFAR 227.7202-3(a).
Sun, Sun Microsystems,theSunlogo,andSolarisaretrademarksorregisteredtrademarksofSunMicrosystems, Inc. in the United States and in
other countries. All SPARC trademarks are used under licenseandaretrademarksorregisteredtrademarksofSPARCInternational,Inc.inthe
United States and in other countries. ProductsbearingSPARC trademarks arebaseduponanarchitecturedevelopedbySunMicrosystems,Inc.
The OPEN LOOK® and Sun™ Graphical User Interfaces weredevelopedbySunMicrosystems,Inc.foritsusersandlicensees.Sun
acknowledges the pioneering effortsofXeroxCorporationinresearchinganddevelopingtheconceptofvisualorgraphicaluserinterfacesfor
the computer industry. Sun holds a nonexclusive licensefromXeroxtotheXeroxGraphicalUserInterface,whichlicensealsocoversSun’s
licensees who implement OPEN LOOK GUIs and otherwise comply with Sun’s writtenlicenseagreements.
THIS PUBLICATIONISPROVIDED“ASIS”WITHOUTWARRANTYOFANYKIND,EITHEREXPRESSORIMPLIED,INCLUDING,BUT
NOT LIMITED TO,THEIMPLIEDWARRANTIES OF MERCHANTABILITY,FITNESSFORAPARTICULAR PURPOSE, OR NONINFRINGEMENT.
Copyright 1994 Sun Microsystems,Inc.,901SanAntonioRoad,PaloAlto,Californie94303-4900U.S.A.Tousdroitsréservés.
Ce produitoudocumentestprotégéparuncopyrightetdistribuéavecdeslicencesquienrestreignentl’utilisation,lacopieetladécompilation.
Aucune partie de ce produitoudesadocumentationassociéenepeutêtrereproduitesousaucuneforme,parquelquemoyenquecesoit,sans
l’autorisation préalable et écrite de Sun et desesbailleursdelicence,s’ilyena.
Des parties de ce produitpourrontêtrederivéesdusystèmeUNIX®licenciéparNovell,Inc.etdusystèmeBerkeley4.3BSDlicenciépar
l’Université de Californie. UNIX est une marqueenregistréeauxEtats-Unisetdansd’autrespays,etlicenciéeexclusivementparX/Open
Company Ltd. Le logiciel détenu par des tiers, et quicomprendlatechnologierelativeauxpolicesdecaractères,estprotégéparuncopyrightet
licencié par des fournisseurs de Sun.
Sun, Sun Microsystems,lelogoSun,etSolarissontdesmarquesdéposéesouenregistréesdeSunMicrosystems,Inc.auxEtats-Unisetdans
d’autrespays.Toutes les marquesSPARC, utilisées sous licence, sont des marquesdéposéesouenregistréesdeSPARCInternational,Inc.aux
Etats-Unis et dans d’autrespays.LesproduitsportantlesmarquesSPARCsontbaséssurunearchitecturedéveloppéeparSunMicrosystems,
Inc.
Les utilisateurs d’interfaces graphiques OPEN LOOK® et Sun™ont étédéveloppésdeSunMicrosystems,Inc.poursesutilisateursetlicenciés.
Sun reconnaîtleseffortsdepionniersdeXeroxCorporationpourlarecherche et le développement du concept des interfaces d’utilisation
visuelle ou graphique pour l’industrie de l’informatique. Sun détientunelicencenonexclusivedeXeroxsurl’interfaced’utilisationgraphique,
cette licence couvrant aussi les licenciés deSun quimettentenplacelesutilisateursd’interfacesgraphiquesOPENLOOKetquienoutrese
conforment aux licences écrites de Sun.
CETTE PUBLICATIONESTFOURNIE"ENL’ETAT"SANSGARANTIED’AUCUNESORTE, NI EXPRESSENIIMPLICITE,YCOMPRIS,ET
SANS QUE CETTE LISTE NE SOIT LIMITATIVE,DESGARANTIESCONCERNANTLAVALEURMARCHANDE,L’APTITUDE DES
PRODUITS A REPONDRE A UNE UTILISATIONPARTICULIERE OU LE FAITQU’ILSNESOIENTPASCONTREFAISANTSDEPRODUITS
DE TIERS.
Please
Recycle
Contents
1.Product Description1-1
1.1Standard Features1-1
1.1.1Subassemblies, Boards, and Components1-2
1.1.2Interior View1-2
1.1.3Rear View of SPARCstation 5 System1-3
1.2Internal Options1-4
1.3External Options1-5
2.Troubleshooting Overview2-1
2.1Factory-Defined Boot Mode2-1
2.2After Power Is Switched On2-4
2.3Diagnostic Tools and When to Use Them2-7
2.4Power-On Self-Test2-7
2.5FORTH-Based PROM Diagnostics2-8
2.6FORTH Monitor2-11
2.7SunDiag System Exerciser2-11
2.8SunDiagnostic Executive2-11
3.Power-On Self-Test (POST)3-1
3.1Power-On Self-Test (POST)3-1
3.2Normal Mode3-4
Contentsiii
3.3Full Diagnostic Mode3-4
3.4Abbreviated Diagnostic Mode3-5
3.4.1Setting Up a tip Connection to Another System3-5
3.5Tests the POST Runs3-6
3.6POST Error Messages3-8
3.7Status Lights (LEDs) and Indicators3-8
4.Troubleshooting Procedures4-1
4.1No Video Output on the System Monitor4-2
4.2Power-On Does Not Succeed4-2
4.2.1Power Supply Test4-3
4.2.2System Board Test4-5
4.3Disk Drive Errors4-6
4.3.1Verifying the Built-In SCSI Controller4-6
4.4Determining Faulty DSIMM Locations4-7
5.Safety and Tools Requirements5-1
5.1Safety Requirements5-1
5.2Symbols5-2
5.3System Precautions5-3
5.4Tools Required5-4
5.5Electrostatic Discharge (ESD) Precautions5-4
6.Power On and Off6-1
6.1Powering Off the System6-1
6.1.1When the System Is Working Normally6-1
6.1.2When the System Does Not Respond Normally6-2
6.2Powering On the System6-4
7.Internal Access7-1
7.1Removing the Cover7-1
ivSPARCstation 5 Service Manual • August 1994
7.2Attaching the Wrist Strap7-3
7.3Replacing the Cover7-4
8.Major Subassemblies8-1
8.1Power Supply8-1
8.1.1Removing the Power Supply8-1
8.1.2Replacing the Power Supply8-3
8.2Power LED8-4
8.2.1Removing the Power LED8-4
8.2.2Replacing the Power LED8-5
8.3Internal Speaker8-7
8.3.1Removing the Internal Speaker8-7
8.3.2Replacing the Internal Speaker8-10
8.4SCSI Backplane8-11
8.4.1Removing the SCSI Backplane8-11
8.4.2Replacing the SCSI Backplane8-13
9.Storage Devices9-1
9.1 Hard Disk Drive9-1
9.1.1Removing a Hard Disk Drive9-2
9.1.2Replacing a Hard Disk Drive9-3
9.2CD-ROM Drive9-5
9.2.1Removing the CD-ROM Drive9-5
9.2.2Replacing the CD-ROM Drive9-6
9.3Diskette Drive9-8
9.3.1Removing the Diskette Drive9-9
9.3.2Replacing the Diskette Drive9-12
9.4Internal SCSI Data Cable9-15
9.4.1Removing the Internal SCSI Cable9-15
9.4.2Replacing the Internal SCSI Data Cable9-17
9.5DC Power Harness9-20
Contentsv
9.5.1Removing the DC Power Harness9-20
9.5.2Replacing the DC Power Harness9-23
9.6Diskette Data Cable9-26
9.6.1Removing the Diskette Data Cable9-26
9.6.2Replacing the Diskette Data Cable9-27
9.7CD-ROM Audio Cable9-28
9.7.1Removing the CD-ROM Audio Cable9-28
9.7.2Replacing the CD-ROM Audio Cable9-29
10.System Board Overview10-1
10.1Damage Prevention10-1
10.2Handling System Boards and Assemblies10-1
10.3System Board Layout10-2
10.4Replaceable System Board Components10-3
11.System Board and Component Replacement11-1
11.1SBus Cards11-1
11.1.1Removing an SBus Card11-2
11.1.2Replacing an SBus Card11-5
11.2S24 Frame Buffer Card11-7
11.2.1Removing an S24 Frame Buffer Card11-8
11.2.2Replacing an S24 Frame Buffer Card11-10
11.3DSIMMs11-12
11.3.1Removing a DSIMM11-13
11.3.2Replacing a DSIMM11-15
11.4System Board11-17
11.4.1Removing the System Board11-17
11.4.2Replacing the System Board11-19
11.4.3Setting Jumpers11-21
11.5NVRAM11-23
11.5.1Removing the NVRAM Chip11-23
viSPARCstation 5 Service Manual • August 1994
11.5.2Replacing the NVRAM Chip11-24
12.Illustrated Parts Breakdown12-1
12.1Illustrations of Selected CRUs12-1
12.2Replacement Parts List12-4
A. System SpecificationsA-1
A.1Physical SpecificationsA-1
A.2Input Power RequirementsA-2
A.3Environmental RequirementsA-2
B. SPARCstation 5 Input/Output ConnectorsB-1
B.1SCSI Connector (External)B-1
B.2Parallel Port Micro-D ConnectorB-2
B.3Attachment Unit Interface (AUI) Micro-D ConnectorB-3
B.4Twisted-Pair Ethernet ConnectorB-4
B.5Serial Connector Ports A and BB-5
B.6Keyboard/Mouse ConnectorB-6
B.7Audio PortsB-6
D.1.1test <alias name>, test <device path>D-3
D.1.2test-allD-4
D.1.3watch-clockD-4
Contentsvii
D.1.4watch-net, watch-aui, watch-tpe, and watch-net-allD-4
D.1.5probe-scsi, probe-scsi-allD-7
D.1.6module-infoD-7
D.1.7test-memoryD-8
D.2Returning to the Old-Style Sunmon Compatibility Mode PromptD-8
GlossaryGlossary-1
viiiSPARCstation 5 Service Manual • August 1994
Figures
FIGURE 1-1Basic SPARCstation 5 System 1-2
FIGURE 1-2Interior View of SPARCstation 5 System 1-3
FIGURE 1-3Rear View of SPARCstation 5 System 1-4
FIGURE 2-1Factory-Defined Boot Sequence—POST Phase Settings and Tests 2-2
FIGURE 2-2Factory-Defined Boot Sequence—OpenBoot PROM Phase Settings and Tests 2-3
FIGURE 3-1Arrangement of Sun Type-5 Keyboard Diagnostic LEDs 3-2
FIGURE 3-2Sun Type-4 Keyboard 3-2
FIGURE 3-3Sun Compact 1 Keyboard 3-3
FIGURE 3-4SPARCstation System Banner 3-4
FIGURE 3-5Location of System Power LED 3-8
FIGURE 4-1Power Supply Connector 4-4
FIGURE 4-2DSIMM Slot Locations 4-8
FIGURE 7-1Removing the Rear Panel Cover Screws 7-2
FIGURE 7-2Removing the Cover 7-3
FIGURE 7-3Grounding the Wrist Strap to the Power Supply 7-4
FIGURE 7-4Replacing the Cover7-5
FIGURE 7-5Securing the System Unit Cover 7-6
FIGURE 8-1Removing the Power Supply 8-2
FIGURE 8-2Connecting the DC Power Harness to the Power Supply 8-3
Figuresix
FIGURE 8-3Power LED and In-line Connector 8-5
FIGURE 8-4Positioning the LED Cable 8-6
FIGURE 8-5Removing the Speaker Cover 8-8
FIGURE 8-6Removing the Speaker 8-9
FIGURE 8-7Speaker Connections 8-10
FIGURE 8-8Removing the SCSI Backplane 8-12
FIGURE 9-1Drive Locations 9-2
FIGURE 9-2Removing a Hard Disk Drive 9-3
FIGURE 9-3Replacing a Disk Drive 9-5
FIGURE 9-4Removing the CD-ROM Drive 9-6
FIGURE 9-5Jumper Settings for SPARCstation 5 CD-ROM Drive 9-7
FIGURE 9-6Replacing the CD-ROM Drive 9-8
FIGURE 9-7Diskette Drive Location 9-9
FIGURE 9-8Removing the CD-ROM Filler Panel 9-10
FIGURE 9-9Disengaging the Diskette Drive 9-11
FIGURE 9-10Removing the Diskette Drive 9-12
FIGURE 9-11Diskette Drive Switch and Grommets 9-13
FIGURE 9-12Replacing the Diskette Drive 9-14
FIGURE 9-13System Board Cable Connections 9-16
FIGURE 9-14Rear Panel Captive Screws9-16
FIGURE 9-15Removing the System Board 9-17
FIGURE 9-16Internal Cable Routing 9-18
FIGURE 9-17Replacing the System Board 9-19
FIGURE 9-18Backpanel Captive Screws 9-19
FIGURE 9-19System Board Cable Connections 9-21
FIGURE 9-201 Panel Captive Screws 9-21
FIGURE 9-21Removing the System Board 9-22
FIGURE 9-22Internal Cable Routing 9-23
xSPARCstation 5 Service Manual • August 1994
FIGURE 9-23Replacing the System Board 9-24
FIGURE 9-24Backpanel Captive Screws 9-25
FIGURE 9-25System Board Cable Routing 9-27
FIGURE 9-26Audio Connector on the CD-ROM Drive 9-28
FIGURE 9-27CD-ROM Audio Connector on the System Board 9-29
FIGURE 10-1SPARCstation 5 System Board 10-2
FIGURE 11-1SBus Slot Locations 11-1
FIGURE 11-2Opening the SBus Card Retainers 11-2
FIGURE 11-3Removing the Extractor From the SBus Card 11-3
FIGURE 11-4Installing the SBus Card Extractor 11-3
FIGURE 11-5Removing a Single-Width SBus Card 11-4
FIGURE 11-6Removing a Double-Width SBus Card 11-4
FIGURE 11-7Inserting the SBus Card 11-6
FIGURE 11-8Closing the SBus Card Retainers 11-7
FIGURE 11-9AFX Bus Slot 11-8
FIGURE 11-10 Opening the Card Retainers 11-9
FIGURE 11-11 Removing an S24 Frame Buffer Card 11-10
FIGURE 11-12 Inserting the S24 Frame Buffer Card 11-11
FIGURE 11-13 Closing the Card Retainers 11-12
FIGURE 11-14 DSIMM Slot Locations on the System Board 11-14
FIGURE 11-15 Ejecting a DSIMM 11-14
FIGURE 11-16 Orienting a DSIMM 11-15
FIGURE 11-17 Installing a DSIMM 11-16
FIGURE 11-18 System Board Cable Connections 11-18
FIGURE 11-19 System Board Captive Screws 11-18
FIGURE 11-20 Removing the System Board 11-19
FIGURE 11-21 Installing the System Board 11-20
FIGURE 11-22 System Board Captive Screws 11-20
TABLE 1-1Internal Options 1-4
TABLE 1-2Selected External SCSI Peripheral Options 1-5
TABLE 2-1NVRAM Parameters Used During POST and Boot Sequence 2-5
TABLE 2-2Summary of Autoboot and Diagnostic Switch Parameter Settings 2-6
TABLE 2-3Diagnostic Tools 2-7
TABLE 2-4Selected FORTH Diagnostic Tests 2-8
TABLE 3-1Interpreting the Keyboard Diagnostic LEDs 3-3
TABLE 4-1Troubleshooting Tips 4-1
TABLE 4-2Power Supply Connector Pin Assignments 4-4
TABLE 4-3Troubleshooting Disk Drive Errors 4-6
TABLE 4-4Physical Memory Address Ranges for Slots 0 Through 7 4-8
TABLE 5-1Safety Precautions 5-2
TABLE 12-1Part Number List—Customer Replaceable Units 12-4
TABLE 12-2Part Number List—Miscellaneous Items 12-5
TABLE A-1Physical Specifications A-1
TABLE A-2Input Power Requirements and Power Dissipation A-2
TABLE A-3Environmental Requirements A-2
TABLE B-1Pinout Signals for External SCSI Connector B-1
TABLE B-2Pinout for Parallel Port Micro-D Connector B-2
TABLE B-3Pinout for Attachment Unit Interface (AUI) Micro-D Connector B-3
Tablesxiii
TABLE B-4Pinout for Twisted-Pair Ethernet Connector B-4
TABLE B-5Pinout for Serial Connector Ports A and B B-5
TABLE B-6Pinout for Keyboard/Mouse Connector B-6
TABLE B-7Signals for the SPARCstation 5 Audio Ports B-7
TABLE B-813W3 Video Connector Pin Assignments B-9
TABLE C-1SCSI Targeting—Solaris 1.x (SunOS 4.x) Operating Systems C-1
TABLE C-2SCSI Targeting—Solaris 2.x (SunOS 5.x) Operating Systems C-2
xivSPARCstation 5 Service Manual • August 1994
Preface
This service manual describes how to troubleshoot problems and replace parts in the
SPARCstation™ 5 computer system. Technicians, advanced computer system endusers (with experience replacing hardware and troubleshooting), system
administrators, or qualified service providers should use this book.
Document Organization
This book is divided into seven parts. A table, at the beginning of each part, lists the
chapters, sections, and page numbers.
■ Part 1, “System Information,” provides an overview of the SPARCstation 5
standard features, internal options, and external options.
■ Part 2, “Troubleshooting,” provides a troubleshooting overview, describes how to
run and troubleshoot errors displayed during the Power-On Self-Test (POST), and
presents symptoms and corrective actions.
■ Part 3, “Preparing for Service,” explains safety requirements, symbols used in this
book, tools required, and how to shut down, power off, and power on the system.
■ Part 4, “Subassembly Removal and Replacement,” describes how to open and
close the system, attach and remove a wrist strap, and remove and replace
subassemblies.
■ Part 5, “System Board,” provides an overview of the system board, describes how
to remove and replace the system board and replaceable parts and components on
the system board.
■ Part 6, “Illustrated Parts Breakdown,” provides illustrations of the major
replaceable parts and lists part numbers.
xv
■ Part 7, “Appendixes, Glossary, Index,” provides physical, electrical, and
environmental specifications, connector pinouts and signal descriptions,
information on SCSI targeting, a glossary of technical terms, and an index.
Related Documentation
The following manuals describe software troubleshooting procedures:
■ OpenBoot Command Reference
■ SunDiag User’s Guide
■ System administration manual for the computer system
■ Operating system documentation
Typographic Conventions
The following table describes the type changes and symbols used in this book.
TABLEP-1Typographic Conventions
Typeface or
SymbolMeaningExample
AaBbCc123The names of commands, files,
and directories; on-screen
computer output
AaBbCc123What you type, contrasted with
on-screen computer output
AaBbCc123Command-line placeholder:
replace with a real name or value
AaBbCc123Book titles, new words or terms,
or words to be emphasized
Code samples are included in boxes and may display the following:
xviSPARCstation 5 Service Manual • August 1994
Edit your .login file.
Use ls -a to list all files.
system% You have mail.
system% suPassword:
To delete a file, type rm filename.
Read Chapter 6 in Owner’s Guide.
These are called class options.
You must be root to do this.
TABLEP-1Typographic Conventions
Typeface or
SymbolMeaningExample
%UNIX C shell promptsystem%
$UNIX Bourne and Korn shell
$
prompt
#Superuser prompt, all shells#
Prefacexvii
xviiiSPARCstation 5 Service Manual • August 1994
CHAPTER
1
Product Description
This chapter presents a brief overview of the major components of the
SPARCstation 5 system. Please acquaint yourself with the overview before servicing
and maintaining the hardware for this product.
1.1Standard Features
The SPARCstation 5 system accommodates the following storage devices:
■ 535-Mbyte single-connector hard disk drive
■ 1.05-Gbyte single-connector hard disk drive
■ Diskette drive
■ Internal CD-ROM drive
It also accommodates up to 256 Mbytes of memory using dynamic single in-line
memory modules (DSIMMs). The system has four audio ports on the back panel and
includes an internal speaker. FIGURE 1-1 shows a typical SPARCstation 5 system.
1-1
FIGURE 1-1 Basic SPARCstation 5 System
1.1.1Subassemblies, Boards, and Components
The SPARCstation 5 system unit accommodates the following subassemblies, boards,
and components:
■ System board
■ DSIMMs (up to 8)
■ S24 graphics card
■ SBus cards (up to 3)
■ Hard disk drives, 3.5-inch, 88.0-mm, single-connector (up to 2)
■ CD-ROM drive
■ Diskette drive (3.5-inch)
■ Power supply (150-watt with 2 fans)
1.1.2Interior View
FIGURE 1-2 shows an interior view of the major subassemblies and the system
board for the SPARCstation 5 system.
1-2SPARCstation 5 Service Manual • August 1994
Diskette drive
t
(bottom unit)
CD-ROM drive
(top unit)
Hard drives
(stacked)
DSIMMs
Power
supply
PROM
FIGURE 1-2 Interior View of SPARCstation 5 System
NVRAM
1.1.3Rear View of SPARCstation 5 System
FIGURE 1-3 shows the rear view of the system.
AFX Bus slo
SBus slots
Chapter 1Product Description1-3
Legend:
1—AC On/Standby switch7—SCSI13—Keyboard
2—AC power outlet8—Parallel14—Audio, headphone
3—Lock block9—AUI Ethernet15—Audio, line-out
4—SBus10—Twisted-pair Ethernet16—Audio, line-in
5—SBus or AFX Bus11—Serial port B17—Audio, microphone
6—AC power receptacle12—Serial port A
2341
687
FIGURE 1-3 Rear View of SPARCstation 5 System
1.2Internal Options
TABLE 1-1 lists the internal options.
TABLE1-1Internal Options
5
14
13121110915
16
17
OptionQuantityComments
S24 card1Provides accelerated 24-bit color graphics on
SBus cardsUp to 3System board provides up to three SBus slots
Hard disk drives1 or 2System supports up to two disk drives of
1-4SPARCstation 5 Service Manual • August 1994
the system AFX Bus.
for additional system functionality.
varying capacities. See Chapter 9 for more
information.
TABLE1-1Internal Options
OptionQuantityComments
CD-ROM drive1Internal CD-ROM drive.
Diskette drive1Internal diskette drive for diskette I/O.
DSIMMsUp to 8System supports up to 256 Mbytes of dynamic
1.3External Options
TABLE 1-2 lists selected external small computer system interface (SCSI) options.
TABLE1-2Selected External SCSI Peripheral Options
UnitDescription
Desktop Backup Pack150-Mbyte tape drive or DAT tape drive.
Desktop Disk PackDisk expansion unit with a variety of SCSI disk drive
capacities.
Desktop SunCD™ PackCompact CD-ROM disc drive.
Desktop Storage Module1.3-Gbyte disk drive or 5.0-Gbyte tape drive.
SCSI Expansion PedestalUp to seven SCSI disks, compact CD-ROM drive, tape
drive, other non-disk units.
Multi-Disk PackDesktop enclosure containing a disk array of SCSI disk
drives.
20-Gbyte 4-mm Desktop Tape
Auto-Loader
SCSI Expansion PedestalHolds up to eight disk drives and two or three
Desktop enclosure containing a tape drive with
multiple magazine cartridges; provides up to 20 Gbytes
of tape backup storage.
removable media in the upper tray. Requires a
minimum of two SCSI controllers if all three trays are
used. You cannot have more than seven SCSI devices
on each SCSI bus.
single in-line memory modules (DSIMMs).
Chapter 1Product Description1-5
1-6SPARCstation 5 Service Manual • August 1994
CHAPTER
2
Troubleshooting Overview
This chapter describes the factory-defined boot sequence. It also describes the
different types of SPARCstation 5 diagnostic firmware and software tools that are
available to you for troubleshooting; the chapter explains how the tools are related
and when to use them.
2.1Factory-Defined Boot Mode
The flowcharts in FIGURE 2-1 and FIGURE 2-2 outline the roles played by various
diagnostics during a factory-defined boot operation under the control of the
OpenBoot™ PROM (OBP) firmware.
The following sections describe the relationship between the various diagnostic
tools, and the role each tool plays during the SPARCstation 5 factory-defined boot
sequence. The descriptions in the following sections assume you are using a
graphics monitor to view test results.
FIGURE 2-1 (POST phase) and FIGURE 2-2 (OBP phase) graphically depict the flow
of OBP processing control, after power is switched on. Each figure depicts the
possible paths for processing control, and the switch settings for the factory-defined
boot sequence. By examining the two flowcharts you can see where in the processing
sequence other diagnostic tests are available or are encountered.
2-1
Power-on switch
POST phase
FIGURE 2-1 Factory-Defined Boot Sequence—POST Phase Settings and Tests
If you need to run extended FORTH Diagnostics to take advantage of more extensive
tests, see Appendix D.
Keyboard
attached
?
No
Yes
Stop
key
pressed?
Yes—Skip POST
No
Stop-d
keys
pressed?
Display errors on
keyboard LEDs
and console
OpenBoot PROM firmware takes control
No
Yes—Set
diag-switch? to true
false (default)
diag-
switch?
true
Low-level diagnostic:
POST phase
No
POST
passed
Yes
2-2SPARCstation 5 Service Manual • August 1994
OpenBoot PROM firmware takes control
After POST phase,
System initialization
OpenBoot PROM Phase
Probe memory
Probe CPU
Yes
etting nvram defaults
true
nvramrc?
Evaluate the
script
Probe SBus devices and
interpret their drivers
Install console
System banner
displayed on screen
Stop-n
keys
pressed?
No
Stop-d
keys
pressed?
No
use-
Yes
Set diag-switch?
false
Stop-a
keys
pressed?
No
diag-
false
switch?
Tests selftest-#megs
mfg-
switch?
false
autoboot?
true
diag-
switch?
true
Booting from diag-device=net
and diag-file
Press Stop-a to go to ok prompt
Normal
operating system
Yes
true
Tests all memory
true
false
false
Booting from boot-dev=disk
and boot-file
Press Stop-a
to go to ok prompt
Boot <boot-device>
<boot-file>
ok prompt
On-board
diagnostics
SunDiag System
Exerciser
FIGURE 2-2 Factory-Defined Boot Sequence—OpenBoot PROM Phase Settings and Tests
Chapter 2Troubleshooting Overview2-3
2.2After Power Is Switched On
When you turn on the system power, the low-level POST phase is initiated if any of
the following circumstances apply:
■ diag-switch? NVRAM parameter is set to true.
■ Stop-d keys are held down when you turn on the power.
■ Keyboard is disconnected, and diag-switch? is set to false.
The low-level POST code, which is stored in the boot PROM, is designed to test the
most basic functions of the system hardware. The status of the POST is conveyed by
four LEDs on the Sun Type-4, Type-5, and Compact 1 keyboards. The Caps Lock
LED blinks to indicate that the tests are in progress. If a failure is detected during
low-level POST, one of the other three LEDs will light to indicate the nature of the
failure. See Chapter 3 for more information.
Note – You can skip the POST phase by turning on the system while holding down
the Stop key.
At the successful completion of the low-level POST phase, the OpenBoot PROM
firmware takes control and performs the following initialization sequence:
■ Initialize system
■ Probe memory, then CPU
■ Evaluate Script (if use-nvramrc? is set to true)
■ Probe SBus devices and interpret their drivers
■ Install the console (see FIGURE 2-2)
After initialization, a system banner appears on the screen, and the high-level testing
begins. When the high-level tests are finished, the system checks parameters stored
in the NVRAM to determine the next step. Depending on the following parameter
settings, the system will:
■ Boot the operating system from a specified location, if auto-boot?
is set to true
■ Suppress the boot sequence and enter the FORTH Monitor (ok prompt), if auto-
boot? is set to false
■ Continually cycle through the OpenBoot PROM sequence, if mfg-switch? is set
to true
Note – If you are in the Sunmon compatibility mode (prompt is >) type n to return
to the OBP monitor (prompt is ok).
2-4SPARCstation 5 Service Manual • August 1994
TABLE 2-1TABLE 2-1 contains a list of NVRAM parameters and explains their effect
on the power-up sequence. For more detailed information about NVRAM
parameters, see the OpenBoot Command Summary.
Note – At any point during the high-level OBP execution, you can abort the OBP
sequence and access the FORTH Monitor by pressing the Stop and “a” keys
simultaneously.
TABLE2-1NVRAM Parameters Used During POST and Boot Sequence
NVRAM ParameterDescription
selftest-#megs
Default = 1
diag-switch?
Default = false
auto-boot?
Default = true
This parameter determines how many megabytes of
memory to test during high-level OBP testing if diag-switch? is concurrently set to false. The minimum is
zero; the maximum is the amount actually installed in the
system. The default is a 1-megabyte test.
When set to true, this parameter forces the system to test
automatically all available memory. It also enables
diagnostic message output to serial port A. If a properly
configured terminal or “tip window” is connected,
diagnostic progress can be monitored through this port.
When auto-boot? is set to true and diag-switch? is set
to false, diag-switch? forces the system to boot from
the device and file specified in boot-dev and boot-file.
If auto-boot? is set to true and diag-switch? is set to
true, the system boots the operating system from the
device and file specified in the diag-device and diag-file NVRAM parameter fields. When set to false, this
will suppress the boot sequence. The system halts with the
ok prompt.
At the FORTH Monitor prompt, you can direct the system to boot the operating
system from a location that you specify, or you can execute a variety of additional
FORTH-based tests. See the OpenBoot Command Reference for a complete description
of the FORTH Monitor.
Chapter 2Troubleshooting Overview2-5
If the auto-boot? parameter is set to true (the default), the system boots a
standalone program. To determine which program and device to boot from, the
system checks the diag-switch? NVRAM parameter. TABLE 2-2 summarizes the
effect of the auto-boot? and diag-switch? parameters.
TABLE2-2Summary of Autoboot and Diagnostic Switch Parameter
auto-boot?diag-switch?Result
falsefalse or true> or ok prompt
truefalseBoot operating system from
device alias “disk” or
“net” for SPARCstation 5
system
truetrueBoot operating system from
device alias “net”
1. The boot parameters represented here are default settings. The defaults may be changed by following
the procedures listed in the OpenBoot Command Summary.
1
Settings
Once the operating system is running, you can invoke the SunDiag™ System
Exerciser if further diagnostic testing is warranted. Refer to Section 2.7, “SunDiag
System Exerciser,” for additional information.
Another standalone diagnostic program you can run is the SunDiagnostic Executive.
Refer to Section 2.8, “SunDiagnostic Executive,” for further information.
To boot user-specified programs, such as the SunDiagnostic Executive, you must be
at the > prompt or ok prompt. See Appendix D for a detailed procedure on how to
access the > or the ok prompt.
2-6SPARCstation 5 Service Manual • August 1994
Loading...
+ 150 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.