Professional Documents
Culture Documents
SM210 Sun Desktop System Maintenance Oh 0499
SM210 Sun Desktop System Maintenance Oh 0499
SM-210
Preface
Course Overview
• Develop an understanding of the construction, purpose,
and function of Sun™ SPARC™ desktop systems
• Identify, remove, and replace all system components
• Use the Field Engineering Handbook to locate and confirm
field replaceable units (FRU) part numbers correctly
• Install and configure any SPARC™ desktop system to a
fully operational condition
• Troubleshoot and repair any system failure using
experience, knowledge, and diagnostic tools, to the FRU
firmware content level
Course Map
Introduction
Desktop Products Product Line
Overview Introduction
System Firmware
Desktop Peripherals
Peripheral Devices
Install. and Config.
Module-by-Module Overview
• Module 1 – Desktop Products Overview
• Module 2 – Product Line Introduction
• Module 3 – OpenBoot PROM
• Module 4 – Booting and Testing
• Module 5 – Peripheral Devices Installation and
Configuration
• Module 6 – Disk Analysis and Repair
• Module 7 – Boot Sequence Troubleshooting
• Module 8 – SunVTS System Diagnostics
Course Objectives
Upon completion of this course you should be able to
• Install various desktop systems
• Verify all voltages are within specified tolerances
• Describe the power-on sequence with a block diagram
• Describe the system boot sequence with a flowchart
• State the purpose of selected FORTH toolkit commands
• Select the correct diagnostic tool for a specific problem
Course Objectives
• Activate and run available diagnostic tools
• Interpret the results of any diagnostic tool output
• Identify, isolate, and describe correct repair for a given
system failure, to the CRU level
• Describe the functional characteristics of OpenBoot™
programmable read-only memory (PROM)
• Install peripheral and input/output (I/O) interface
cards
• Perform a fsck repair, and run disk inquiry commands
• Analyze and format a hard disk drive
Equipment Covered
• SPARCstation™
• Models 4, 5, and, 20
• UltraSPARC™
• Models 1, 2, 5, 10, 30, 60
• Internal peripherals
• Desktop peripheral devices
• Multidisk storage subsystems
Skills Gained
Module
Skills Gained 1 2 3 4 5 6 7 8
System identification
Component identification
System construction
Firmware configuration
Firmware modification
Boot sequence
Desktop peripheral construction
Peripheral operation and configuration
Desktop disk storage devices
Analyzing small computer system interface
(SCSI) disk errors
Repairing some types of disk errors
System validation with SunVTS™
• SPARCserver™
• Netra™ i or j
Introductions
Please state the following:
• Name
• Company affiliation
• Title, function, or job responsibility
• How long you have been working in this field
• What you expect to be able to do after you complete this
course
• Relevance
• Overhead image
• Lecture
• Exercise
• Check your progress
• Think beyond
Student Responsibilities
As a student you need to
• Offer suggestions
Instructor Responsibilities
The course instructor will
Module 1
Course Map
Introduction
Desktop Products Product Line
Overview Introduction
System Firmware
Desktop Peripherals
Peripheral Devices
Install. and Config.
Relevance
This module introduces some old and some new products
and technologies.
Why does understanding these technologies make servicing
desktop systems easier?
Objectives
Upon completion of this module, you should be able to
SPARC Architecture
The SPARC microprocessor found in all Sun Microsystems
desktop products is based on two key technologies:
Diskett SIMM 0
SIMM 2
SCSI
SIMM 5
Power SIMM 3
SIMM 6
SIMM 1
SIMM 7, VSIMM1
SIMM 4, VSIMM 0, NVSIMM 0
MXCC
SPARC J1401
processor NVRAM
SPARC 3 1
Clock processor
1 2 1 3 Boot
Clock J0805 J0801
3 4 J0802
SIMM Types
Single inline
memory module
(SIMM)
or dynamic
single inline
memory module
(DSIMM)
Video single
inline memory
module (VSIMM)
Jumper
Non-volitile
single inline
memory module
(NVSIMM)
Memory Configuration
SIMM connectors vary in construction, some connectors
require a tool to remove a module and some have an
extraction lever built in.
Memory is configured in groups of two or four modules
called banks.
Using banks of memory modules provide for a wider memory
bus such as
• Two 64-bit memory modules interlaced in a system
with a 128-bit memory bus
• Four 128-bit wide memory modules interlaced in a
system with a 512bit memory bus
Memory Configuration
Memory bank rules for all systems are
Ultra 1 System
Memory Configuration
DSIMM Physical Memory Address Range
Physical Physical
DSIMM Slot
Memory Memory
Location
Address Start Address End
Bank 0 0000 0000 0fff ffff
Bank 1 1000 0000 1fff ffff
Bank 2 2000 0000 2fff ffff
Bank 3 3000 0000 3fff ffff
Ultra 60 System
Memory Configuration
DSIMM Physical Memory Address Range
Physical Physical
DSIMM Slot
Memory Memory
Location
Address Start Address End
Bank 0 0000 0000 1fff ffff
Bank 1 2000 0000 3fff ffff
Bank 2 8000 0000 9fff ffff
Bank 3 a000 0000 bfff ffff
Error Detection
Early systems used parity checking to detect errors. Current
system use error checking and correcting (ECC) circuitry.
• MicroSPARC systems use parity.
• Super and UltraSPARC systems use ECC.
• POST detected errors are reported to serial port A.
• Bank 0 errors keep the system from completing POST.
(Check keyboard LEDs for indications of failure.)
• A memory banks with errors will be mapped out of
available system resources.
Video
logic DB13W3
Diskette
Serial
port A
Slave
Serial
port B
SBus I/O
Boot Keyboard
logic PROM mouse
E$
SBus slots
UPA bus
connector
DRAM
SCSI
bridge ASIC UltraSCSI
CPU
RAM
100 Mbit Ethernet
PCI bridge Serial ports
I/O Parallel port
UPA interconnect Audio
cross bar switch
PCI 33 MHz
PCI 33 MHz
Graphics
subsystem UPA graphics slots
Module 2
Course Map
Introduction
Desktop Products Product Line
Overview Introduction
System Firmware
Desktop Peripherals
Peripheral Devices
Install. and Config.
Relevance
This module provides you with a fundamental level of
information about each of the current desktops in the Sun
Microsystem’s product line.
Why is having this fundamental understanding important to
your ability to install, troubleshoot, and repair Sun desktops
systems?
Objectives
Upon completion of this module, you should be able to
• Configure SPARC modules in the multiprocessor
systems
• Remove and replace system memory components
• Identify memory failures to the FRU level
• Sequence AC power to the system and peripherals
• Identify all internal parts by type and part number
• Remove and replace all FRUs
• Cable all internal devices
SPARCstation 5 System
The SPARCstation 5 system has
• A MicroSPARC™ processor; 70, 85, 110, or 170 MHz
• A special bus just for the S24 color frame buffer
• An on-board digital audio from a compact disk read
only memory (CD-ROM) drive
• Eight DSIMM slots for up to 256 MBytes of RAM
• Two internal, single-connector ports for fast SCSI-II
• Geographical SCSI disk addressing
SPARCstation 4 System
The SPARCstation 4 system has the same features as the
SPARCstation 5 system except for the following:
Ultra 1 System
The Ultra 1 system has
• A taller chassis than SPARCstation 5 system
• A fan and speaker in front
• Three SBus slots
• An UltraSPARC™ microprocessor operating at 140,
170, and 200 MHz
Ultra 1 Creator
The Ultra 1 creator series has
• An Ultra-Wide SCSI-3
• Memory available from 32 MBytes to 1 GByte
• An ultraport architecture (UPA) bus for single- or
double-buffered fast frame buffers
Ultra 5 System
The Ultra 5 system has
• A slightly taller (105 mm) chassis than the Ultra 1
• The UltraSPARC II™ microprocessor operating at
270MHz
• Three peripheral component interconnect (PCI) slots on
• No SCSI host adaptor
• A memory range from 32 MBytes to 512 MBytes
• One enhanced integrated drive electronics (E-IDE)
3.5-inch 4.3-GByte disk drive
Ultra 10 System
The Ultra 10 system has
• New minitower chassis
• UltraSPARC IIi microprocessor operating at 300MHz
• Four long PCI slots
• Memory range from 64 MBytes to 1 GByte
• One or two E-IDE disk drives with 4.3 GBytes each
Ultra 30 System
The Ultra 30 system has
• A different minitower chassis than the Ultra 10 system
• UltraSPARC II operating at 250MHz with 300MHz
optional
• Two UPA slots for video graphics adapters
• Four long PCI slots, one operating at 66MHz
• Memory range from 64 MBytes to 2 GBytes
• One 4.3-GByte Ultra-wide 3.5-inch disk (optional
2x9 GBytes)
SPARCstation 10
The first multiprocessor desktop system from Sun
Microsystems™ included
• A CPU module with a cache memory, an oscillator, and
a voltage regulator
• CPU modules that operated at 33MHz and 40MHz
• System memory which was expandable to 512 MBytes
• Four internal peripherals devices
• Standard interfaces for external peripherals
SPARCstation 20 System
The SPARCstation 20 system includes
• A new system chassis which added space for an internal
CD-ROM
• MBus CPU modules operating at 50 MHz and 60 MHz
• Modules with two SuperSPARC™ processors which
were available for four-way multiprocessing desktops
• Internal disk capacities which increased to 1.05 GBytes
each
Ultra 60 System
The Ultra 60 system has
• A minitower design similar to PC chassis.
• UltraSPARC processors that operate at 300 or 360MHz
• Has the highest memory bandwidth of any desktop
• Dual Ultra SCSI-III Fast-20 buses
• Two UPA slots for graphics arrays
• A 512-bit memory bus requiring four DSIMMs per bank
• Memory capacity of 128 MBytes to 2 GBytes
I/O Connectors
SBus and PCI bus slots are I/O slots to the system. These
systems have the following I/O available:
• SPARCstation 4, 5, and Ultra 1 systems – Three Sbus
slots
• Ultra 1 Creator – Two SBus slots
• SPARCstation 10, 20, and Ultra 2 systems – Four SBus
slots
• Ultra 5 system – Three PCI slots operating at 33MHz
• Ultra 10, 30, and 60 systems – Three slots operating at
33MHz and one slot operating at 66MHz
J1401 13
J1501
J1601
Power supply
Chassis
Speaker
Multi-Speed CD-ROM
Activity LED
3.5-inch diskette
• 501-1316
* 5011316011270 *
• 370-1312
5180-9110361436
• 270-2324
FAB 270-2324-02
PN : 600- 3324-0 3
S N : 439F 3395
S v c d: S 20
Module 3
OpenBoot PROM
Course Map
Introduction
Desktop Products Product Line
Overview Introduction
System Firmware
Desktop Peripherals
Peripheral Devices
Install. and Config.
Relevance
OpenBoot PROM is the Sun name for the initial boot
device. It begins the operation of locating, transferring,
and running the bootstrap program from a disk device or
network source.
The OpenBoot firmware contains programming to do
many other functions. Can you name or describe some of
the other functions?
Objectives
Upon completion of this module, you should be able to
NVRAM Contents
NVRAM
EEPROM
Time of Day
Configuration
information Ethernet
address
Boot PROM
System ID
Forth language commands
Battery
language interpreter
Binary
Forth
IU
machine instructions SPARC CPU chip
Boot PROM
A Forth interpreter is in the boot PROM
POST
Device
Forth language programs
drivers
User
language interpreter
commands
Binary Integer unit (IU)
User machine instructions
Forth Toolkit
Boot
commands
Default
parameters
Viewing POST
POST runs when power is applied or after an OBP reset command.
This is a diagram of a null modem cable which is used to connect a
system to an ASCII terminal for the purpose of viewing the output
from POST.
False
Yes No No (default)
Keyboard Stop Stop-d diag-
attached key keys switch?
?
True
No Yes Yes
skip POST Set diag-switch?
to true
Maximum diag-
level
Test runs Test runs Minimum
~60 seconds ~30 seconds
High-level diagnostic: Low-level diagnostic:
POST phase POST phase
Yes
CPU SBus
Boot
PROM SBus connector SBus connector
PROM
Device driver
Custom driver
vmunix
CPU memory
Third-party
Standard Sun SBus card
Sun does not have a
driver for a
driver for this
Sun interface
interface
• show-devs
• cd / and dev
• cd device-path
• pwd
• Stop+a
• cd ..
• ls
sbus@1f,0
BMX SUNW,ffb@1e,
memory@0,0
0:ffb0
/sbus@1f,0/espdma@e,8400000/esp@e,8800000
Target 0
Unit 0 Disk SEAGATE ST322430W SUN2.1G0444
Target 1
Unit 0 Disk SEAGATE ST322430W SUN2.1G0444
Target 6
Unit 0 Removable Read Only device TOSHIBA XM-5301TASUN4XCD1895
ok
OBP OBP
Lower half
Revision A of PROM Revision A
Phase 2 Phase 3
OBP OBP
Lower half
Revision B Revision B
of PROM
Module 4
Course Map
Introduction
Desktop Products Product Line
Overview Introduction
System Firmware
Desktop Peripherals
Peripheral Devices
Install. and Config.
Relevance
Knowing what the contents of the OBP and NVRAM are and
what they mean enables you to do what, if the system isn’t
working exactly the way the user wants it to?
Objectives
Upon completion of this module, you should be able to
• Display the contents of NVRAM
• Modify the contents of the NVRAM
• Use specified OBP commands
• Boot the system using device aliases
• Test specific system elements using OBP Forth
commands
• Identify a failed component by the POST error codes
New-Mode Prompt
You can enter the following
commands at the new-mode
prompt [ok]:
ok boot
ok old-mode
ok go
ok sync
ok reset
ok banner
ok eject
Baud rate
Number of characters
Parity
Stop bits
Handshaking values
ok sifting prob
(foo69aac) probe-all (foo61194) probe-all
(foo610e8)probe-slot (foo60d5c) probe-scsi-all
(foo610c80) probe-scsi (foo3f200) probe
diag-switch?
False True
Output to ttya
Pass Pass
Keyboard
Initialize system error Initialize system
Fail Fail
indication
Pass Pass
auto-boot? auto-boot?
True True
False False
boot-device diag-device
Such as
Beginning path -aswv
to boot device
Bootable
Which interface kernel file
Memory address space
set aside for this device Logical unit
Target number
Device type address
sbus@1f,0
BMX SUNW,ffb@1e,
memory@0,0
0:ffb0
test-all (--) - execute test for all devices with selftest method
Module 5
Course Map
Introduction
Desktop Products Product Line
Overview Introduction
System Firmware
Desktop Peripherals
Peripheral Devices
Install. and Config.
Relevance
Desktop users gain flexibility and productivity in many ways
when they have various peripheral devices connected to their
systems.
What types of devices would increase a user’s productivity
when connected locally rather than using that device on a
local area, or remote network server?
Why?
Objectives
Upon completion of this module, you should be able to
• Properly cable and terminate all desktop peripherals
• Correctly address SCSI peripherals
• Verify the presence of peripherals with the Forth toolkit
• Verify the presence of peripherals at boot time
• Define the different SCSI types
• Configure single-ended and differential SCSI busses
• Identify the desktop peripheral enclosures
CPU
SCSI host
adapter SCSI bus
Embedded SCSI
devices
Target
controller
Device
SCSI Implementation
SCSI offers different speed and bus width combinations
• SCSI host adapter (SHA)
• Single ended
• Differential
• Fast
• Wide
• Ultra
SCSI Implementation
SCSI-2 interface types are
SCSI Implementation
SCSI-3 optional features are
• Fast-20 — 20MHz for 20Mbites per second
• Ultra — Fast-20 and wide options combined for
40Mbites per second
• Disk drives
• Other devices
Device 5th 6th 7th
Tape drives 4 5 8-15
CD-ROM drives 6 8-15
Tape drives
Desktop multi-disk
storage module
Desktop single-disk
storage pack
Peripheral Enclosures
MultiPack
storage unit
Desktop multi-disk
storage module
Peripheral Enclosures
Peripheral Enclosures
Desktop tape-storage
8-mm module
Peripheral Enclosures
Accessing Devices
Logical device names are in the format
/dev/[r]dsk/c#t#d#s#
• # format
1. c0t3d0 <SUN1.05 cyl 2036 alt 2 hd 14
sec 72>
/iommu@0,10000000/sbus@0,10001000/esp@5,
8800000/sd@3,0
Accessing Devices
Example:
# ls -l /dev/dsk/c0t3d0s0
dev/dsk/c0t3d0s0 ->
../../devices/sbus@1,f8000000/esp@0,800000/sd@3,0:a
Module 6
Course Map
Introduction
Desktop Products Product Line
Overview Introduction
System Firmware
Desktop Peripherals
Peripheral Devices
Install. and Config.
Relevance
It is necessary to understand the disk errors the system
reports, so you can determine:
Objectives
Upon completion of this module, you should be able to
• Examine a system error log file
• Use the format utility
• Use the setup, repair, and analyze commands
• Format a disk drive
• Drive electronics
• Power supply
quit
quit
Module 7
Course Map
Introduction
Desktop Products Product Line
Overview Introduction
System Firmware
Desktop Peripherals
Peripheral Devices
Install. and Config.
Relevance
If you understand what must occur during the boot process
then you will be better prepared to troubleshoot a problem
that happens at boot-up time.
What can you do with a system that passes POST, begins the
process of loading the operating system, and then stops?
Objectives
Upon completion of this module, you should be able to
• Boot the system using a single-user boot flag
• Run the installboot utility
• Repair a corrupted boot block
• Repair a vfstab problem that prevents multiuser
booting
• Record and repair a vfstab problem using CD-ROM
files and the vi editor
• Repair a kernel problem using CD-ROM files
root on /iommu@0,10000000/sbus@0,10001000/espdma@5/
sd3,0: a fstype ufs
Reset
POST
Firmware Banner
Testing memory
console login:
Disk label
(First sector)
Partition A (root)
installboot Command
Module 8
Course Map
Introduction
Desktop Products Product Line
Overview Introduction
System Firmware
Desktop Peripherals
Peripheral Devices
Install. and Config.
Relevance
Why is having a validation tool that can confirm the
functionality of a system and many of its components while
the system is in operation is important to you?
Objectives
Upon completion of this module, you should be able to
• Install the SunVTS package on a system
• Select and set up SunVTS diagnostic tests
• Run the SunVTS tests
• Understand SunVTS test results
Introduction
SunVTS
• Is a validation test suit of diagnostic tools
• Has replaced SunDiag™ on Solaris operating systems
Release 2.5 and above
• Operates on systems running the Solaris operating
system and a GUI
SunVTS application
programming interface
Logs messages
Test interface
SunVTS User-created
hardware tests custom tests
User Interfaces
• The user interfaces is a GUI
• SunVTS must be run in a background mode
• Hardware tests for all Sun supported hardware