Sun Hardware Diagnostics

Home: www.packetnexus.com

This is a multi-part message in MIME format.

------_=_NextPart_001_01C1A091.A42C6240
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_002_01C1A091.A42C6240"


------_=_NextPart_002_01C1A091.A42C6240
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Sun Hardware Diagnostics=20
 =20

The POST-based hardware diagnostics only check out the devices and buses
required to access I/O devices; they do not check the devices
themselves. Even so, the onboard hardware diagnostics can often pinpoint
the source of a hardware failure.=20

To run Sun hardware diagnostics, perform the following at the ok>
prompt:=20
ok> setenv auto-boot? false
ok> setenv diag-switch? true
ok> setenv diag-level max
ok> setenv diag-device disk net (if appropriate)
ok> reset
(watch results of diagnostic tests)=20
If devices appear to be missing, you can also run the following tests:
ok> probe-scsi-all
ok> probe-sbus
ok> show-sbus
ok> show-disks
ok> show-tapes
ok> show-nets
ok> show-devs=20
In addition, the following commands can be used to examine the CPUs or
switch to another CPU:
ok> module-info
ok> processor_number switch-cpu=20
Sometimes additional information can be obtained by navigating the PROM
device tree <promnav.html>. You can also look at the OBP manual
<http://sundocs.princeton.edu:8888/ab2/coll.216.1/@Ab2CollView?> for
additional information on PROM monitor diagnostics.=20

At the end of this process, reset your PROM parameters:
ok> setenv auto-boot? true (if appropriate)
ok> setenv diag-switch? false (if appropriate)=20
(Note that the diagnostics can take a substantial amount of time to run,
depending on your hardware configuration. Most admins prefer to turn
them off unless they are diagnosing a problem.)=20

For sun4u (Ultra) systems, you can get some of this information by
running /usr/platform/`arch -k`/sbin/prtdiag -v on a running system.=20

Results from the above should be compared to log entries in
/var/adm/messages or console error messages.=20
Additional PROM Diagnostics=20
Some additional PROM diagnostics are available at the ok> prompt. To
discover what additional diagnostics are available for your hardware,
type help diag at the ok> prompt. The output will include the
appropriate syntax for all available PROM diagnostic functions. Note
that reset should be run as above before running the tests. It is also
possible that test-all might hang the system, requiring a power cycle.=20


------_=_NextPart_002_01C1A091.A42C6240
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">






<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.4712.0">
<TITLE>Solaris#Sun Hardware Diagnostics</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><B><FONT SIZE=3D6 FACE=3D"Times New Roman">Sun Hardware =
Diagnostics</FONT></B>

<BR><FONT FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000">
<IMG SRC=3D"No%20AttachName" alt=3D"ole0.bmp"></FONT>
<BR>

<BR><FONT FACE=3D"Times New Roman">The POST-based hardware diagnostics =
only check out the devices and buses required to access I/O devices; =
they do n