C H A P T E R  3

Diagnostics

This chapter assists you with using the Diagnostics section of the Sun Java Workstation W1100z and W2100z Supplemental CD that came with your system. If you are having specific problems with your system, use the Pc-Check Diagnostics software to diagnose and solve these issues.

The following sections are included in this chapter:


3.1 Diagnostics Main Menu

To access the Pc-Check Diagnostics Main Menu:

1. Insert the Sun Java Workstation W1100z and W2100z Supplemental CD into your CD-RW drive and reboot the system.

The system boots to the Sun Java Workstation W1100z and W2100z Supplemental CD Main Menu.

2. Type 1 to run the Hardware Diagnostics Software.

The system information loads, then the Diagnostics Main Menu opens and the following menu options are displayed:



Note - Using the diagnostics menu and options is similar to navigating DOS-based programs, such as using keyboard commands and Esc to exit a screen. Navigation instructions are shown on the bottom of each screen.




3.2 System Information Menu

TABLE 3-1 describes each option in the System Information menu.


TABLE 3-1 System Information Menu Options

Option

Description

System Overview

Includes basic information about your system, motherboard, BIOS, processor, memory cache, drives, video, modem, network, buses, and ports.

Hardware ID Image Menu

Hardware Identification Image menu lets you create a document showing information about your system, including comparing it against updates and newest versions of your system. XML is the format used to create and display this information, though you may also choose a text format (.txt) as well.

System Management Information

Information obtained from the system about the BIOS type, system, motherboard, enclosure, processors, memory modules, cache, slots, system event log, memory array, memory devices, memory device mapped addresses, and system boot.

PCI Bus Information

Similar to the System Management Information section, this section includes details about specific devices from pci-config space within the system.

IDE Bus Information

Shows the master/slave devices on the primary and secondary IDE controllers.

PCMCIA/CardBus Info

Not relevant to Sun Java Workstation W1100z and W2100z.

Interrupt Vectors

Details and lists device interrupt vector information.

IRQ Information

Shows hardware interrupt assignments.

Device Drivers

Shows device drivers loaded under Open DOS.

APM Information

This option tests the Advanced Power Management (APM) capabilities of the system. You can choose to change the power state, view the power status, indicate CPU usage, get a PM event, or change the interface mode.

I/O Port Browser

Shows the I/O port assignment for the hardware devices on the system.

Memory Browser

Enables you to view the mapped memory for the entire system.

Sector Browser

Reads sector information off the hard disks and CD-RW/DVD-ROM disks sector by sector.

CPU Frequency Monitor

Tests the processor speed.

CMOS RAM Utilities

Shows the CMOS settings of the system.

SCSI Utilities

Not applicable for the Sun W1100 and W2100 workstations.

Text File Editor

Opens up a file editor.

Start-Up Options

Allows you to set up options for diagnostics testing.



3.3 Advanced Diagnostics

TABLE 3-2 gives the name and a brief description of each option in the Advanced Diagnostics Tests Menu.


TABLE 3-2 Advanced Diagnostics Menu Options

Options

Description

Processor

Details information about the processor, and includes a Processor Tests menu to test the processor on the system.

Memory

Details information about the memory, and includes a Memory Tests menu to test the memory on the system.

Also lists each type of memory in the system, such as system, cache, or video memory.

Motherboard

Details information about the motherboard, and includes a Motherboard Tests menu to test the motherboard on the system.

Floppy Disks

Not relevant to Sun Java Workstation W1100z and W2100z.

Hard Disks

Details information about the hard disk, and includes a Hard Disk Tests menu to test hard disks on the system. Refer to Section 3.3.1, Hard Disk Testing for detailed information about testing hard disks and script information.

CD-ROM/DVD

Includes a CD-ROM/DVD menu to test CD-RW/DVD-ROM devices on the system.

ATAPI Devices

Details information about devices attached to the IDE controllers on the system other than a CD-RW/DVD-ROM or hard disks (for example, zip drives).

Serial Ports

Details information about the serial port, and includes a Serial Ports Tests menu to test serial ports on the system.

Parallel Ports

Details information about the parallel port, and includes a Parallel Ports Tests menu to test the parallel ports on the system.

Modems

Details information about the modem, and includes a menu that enables various tests on the modems attached to the system.

ATA

Includes an ATA test menu. Select the parallel ATA driver to test, as serial ATA is not yet supported on the Sun W1100 and W2100 workstations.

USB

Details information about the USB devices on the system, and includes an USB Tests menu to test the USB.

FireWire

Details information about FireWire devices and includes a FireWire tests menu.

SCSI

Preforms SCSI register controller tests.

Network

Performs network register controller tests.

Keyboard

Includes a Keyboard Test menu with options for performing different tests on the keyboard.

Mouse

Details information about the mouse, and includes a menu to test the mouse on the system.

Joystick

Details information about the joystick, and includes a menu to test the joystick.

Audio

Details information about the audio devices on the system, and includes an Audio Tests menu to test audio device information. A PCI audio card is required to run this test.

Video

Details information about the video card. Initially, the monitor might flicker, but then brings up a Video Test Options menu that enables you to perform various video tests.

Printers

Details information about printers, and includes a listing of the printer types for testing printers.

Firmware - ACPI

Details information about Advanced Configurable Power Interface (ACPI) and includes an ACPI Tests menu to test ACPI.


3.3.1 Hard Disk Testing

To test the hard disk:

1. From the Main Menu, choose Advanced Diagnostics Tests.

2. From the Advanced Diagnostics Menu, choose Hard Disks.

3. From the Select Drive Menu, choose the hard disk you are testing.

The Hard Disk Diagnostics screen opens, showing both the information for the hard disk you have selected and the Hard Disk Tests Menu.

Within the Hard Disk Tests Menu, there are the following options:

The Media Test options include the Read Test, the Read Verify Test, the Non-Destructive Write Test, and the Destructive Write Test. These tests are relevant to testing the media associated with the hard drive hardware, such as the physical disk.



caution icon

Caution - Running the Destructive Write Test destroys any data that is on the disk.



The Device Test options include the Mechanics Stress Test and the Internal Cache Test. These tests are relevant to testing nonmedia-related devices associated with the hard drive hardware, such as the head and internal cache.

As well as choosing any of these tests, you can also define several parameters of the test.

You can change the parameters within the Test Settings option. Your options within Test Settings include the following:

Enables you to choose the test time duration, the percentage of the hard disk to test, and the sectors to be tested on the hard disk.

Enables you to select the test time durations of the devices and the test level.

Enables you to select the number of times to retry testing a device before terminating the test.

Enables you to select the number of errors allowed before terminating the test.

SMART stands for Smart Monitoring Analysis Reporting Test.

HPA stands for Host Protected Area.


3.4 Immediate Burn-In Testing

The Immediate Burn-In Testing option enables you to run burn-in test scripts on your workstation. Three scripts have already been created for testing your system:



Tip - Each of these scripts test the operating status of your entire system. If you want to test only a certain percentage of your system's hard drives, refer to the Section 3.3.1, Hard Disk Testing to change test options to test only a percentage of the hard drives on your system.



When you choose the Immediate Burn-in Testing menu option, the Continuous Burn-in Testing screen opens. The screen includes the list of options shown in TABLE 3-3 for running the tests. When a quick.tst, noinput.tst or full.tst script is loaded, the defaults indicated in the third column are automatically loaded

:


TABLE 3-3 Continuous Burn-in Testing Options

Option

Default - General

Default Using quick.tst, noinput.tst, or full.tst Script

All Possible Choices

Pass Control

Overall Time

Overall Passes

Individual Passes, Overall Passes, or Overall Time

Duration

01:00

1

Enter any number to choose the time duration of the test

Script File

N/A

quick.tst, noinput.tst, or full.tst

quick.tst, noiniput.tst, or full.tst

Report File

None

None

User-defined

Journal File

None

D:\noinput.jrl, D:\quick.jrl, or D:\full.jrl

User-defined

Journal Options

Failed Tests

All Tests, Absent Devices, and Test Summary

Failed Tests, All Tests, Absent Devices, and Test Summary

Pause on Error

N

N

Y or N

Screen Display

Control Panel

Control Panel

Control Panel or Running Tests

POST Card

N

N

Y or N

Beep Codes

N

N

Y or N

Maximum Fails

Disabled

Disabled

1-9999


To load one of the scripts available to test the devices on your system, do the following:

single-step bulletFrom the Main Menu, choose Immediate Burn-in Testing.

The top portion of the screen lists the option described in TABLE 3-3, and the bottom portion of the screen lists the Burn-in Menu options described below.

Enter one of the following:

Where testname is the name of the script that you have created.

To save a burn-in script that you have created, enter d:\testname.tst

Where testname is the name of the script that you have created.

Opens the Burn-in Options menu, which enables you to modify the various options listed in TABLE 3-3 for the currently loaded test script.

Opens a listing of the tests available for your workstation configuration to run for the currently loaded test script.

Starts to run the currently loaded burn-in test script.


3.5 Deferred Burn-In Testing

Deferred Burn-in Testing allows you to create and save your own scripts to run at a later time.

single-step bulletFrom the Main Menu, choose Deferred Burn-in Testing.

The top portion of the screen lists the option described in TABLE 3-3, and the bottom portion of the screen lists the Burn-in Menu options described below.

Enter one of the following:

Where testname is the name that you have created.

To save a burn-in script that you have created, enter d:\testname.tst

Where testname is the name of the script that you have created.

Opens the Burn-in Options menu, which enables you to modify the various options listed in TABLE 3-3 for the currently loaded test script.

Opens a listing of all of the possible types of tests available for you to run for the currently loaded test script.


3.6 Create Diagnostic Partition

The Create Diagnostic Partition option will install a diagnostic partition on the first bootable disk seen by the Sun Java Workstation W1100z or W2100z platform.

On an IDE system, the first bootable disk is on the primary/master IDE device. On a SCSI system, the first bootable disk is the first disk found on the SCSI A channel. If a disk is not found on the SCSI A channel, then it will search the SCSI B channel for the first hard disk found.

The following subsections explain how to create and access the diagnostic partition on the Sun Java Workstation W1100z and W2100z:

3.6.1 Removing Existing Partitions on a Hard Disk

The Create Diagnostic Partition option will only create a diagnostic partition on a hard disk if that hard disk is completely empty of any partitions. You will need to delete any existing partitions on a hard disk if you plan on using the hard disk to create a diagnostic partition on it.



caution icon

Caution - Removing all hard disk partitions will destroy all data on the disk.



You can clear the partitions using the following procedure:

1. Insert the Supplemental CD into the CD-RW/DVD-ROM tray.

2. Reboot the workstation.

3. At the Supplemental CD Main Menu, type 3 to exit to DOS.

4. Type fdisk at the command prompt and press the Enter key.

5. Type 4 to select alternate fixed disk.

The second hard disk as seen from fdisk is the first bootable disk of the system. The first hard disk as seen from fdisk is the bootable Supplemental CD.



caution icon

Caution - When performing the following tests, be careful not to delete any operating system partitions that you want to keep. Removing hard disk partitions will destroy all data on the disk.



6. Type 2 to Delete DOS partition.

7. Type 1 or 2 depending on the type of partition you want to delete.

8. Type the number of the partition you want to delete.

9. Type Y to erase the data and the partition.

10. Repeat Step 6 through Step 9 until all partitions have been removed.

11. Press the Esc key to exit and strike any key to reboot the workstation.

3.6.2 Adding a Diagnostic Partition to the First Bootable Disk

Pc-Check can only view the first or second hard disk on the system from the boot loader. The software automatically installs the diagnostic partition on the first bootable disk. To add the diagnostic partition on the first bootable disk:

1. Insert the Supplemental CD into the CD-RW/DVD-ROM tray.

2. Reboot the workstation.

3. At the Supplemental CD Main Menu, type 1 to run Hardware Diagnostics.

4. Select Create Diagnostic Partition at the Main Menu.

5. Press Enter to reboot your workstation.

3.6.3 Creating a Log File on the Diagnostic Partition

All the scripts that are loadable with the hardware diagnostics software come predefined with logging to the Diagnostic Partition enabled. The names of log files will correspond to the name of the script. For example, a script named noinput.tst will create a log file named noinput.jrl.

The following instructions show an example of how to create and access a log file on the diagnostic partition for the noinput.tst script:

1. Insert the Supplemental CD into the CD-RW/DVD-ROM tray.

2. Reboot the workstation.

3. At the Supplemental CD Main Menu select 1 to run Hardware Diagnostics.

4. At at the Hardware Diagnostics Main Menu select Immediate Burn-In Testing.

5. Select the Load Burn-in Script.

6. Type noinput.tst and press Enter.

If you are using a test you have created yourself, you will need to enter
d:\testname.tst into the Load Burn-in Script field.

Where testname is the name of the test you have created.

7. Select Perform Burn-in Tests to run the script.

8. When the tests have completed, press the Esc key to exit the Display Results window.

9. Select Exit to DOS and press Enter.

10. At the DOS prompt, type the following:

C:> d:

11. Type the following to list the contents of the Diagnostic Partition.

D:> dir

The noinput.jrl log will appear.

3.6.4 Accessing the Diagnostic Partition Under Red Hat Linux

To access the diagnostic partition when you are running a Red Had Linux operating system:

1. Remove the Supplemental CD from the CD-RW/DVD-ROM tray.

2. Reboot the workstation and start the Linux Red Hat operating system.

3. Become superuser.

4. Determine if your diagnostic partition has been configured to be mounted by typing the following command:

# ls /diagpart

5. Insert the Supplemental CD into the CD-RW/DVD-ROM tray.

6. When the CD is mounted, open up a terminal window.

7. Type the following command:

# cd /mnt/cdrom/drivers/linux/red_hat

8. Type the following to install the diagnostic partition:

# ./install.sh

9. Press Enter.

The following lines appear if the diagnostic partition is mounted successfully:

Mounting Diagnostic Partition

Installation Successful

10. Type the following command:

# ls /diagpart

This will list the contents of the diagnostic partition.

3.6.5 Accessing the Diagnostic Partition Under
Solaris x86

To access the diagnostic partition when you are running a Solaris x86 operating system:

1. Remove the Supplemental CD from the CD-RW/DVD-ROM tray.

2. Reboot the machine and start Solaris x86.

3. Become superuser.

4. Determine if your diagnostic partition has been configured to be mounted by typing the following command:

# ls /diagpart

5. Insert the Supplemental CD into the CD-RW/DVD-ROM tray.

6. When the CD is mounted open up a terminal window.

7. Type the following:

# cd /cdrom/cdrom0/drivers/sx86

8. Type the following to install the diagnostic partition:

# ./install.sh

9. Press the Enter key.

The following lines should appear if the diagnostic partition is mounted successfully:

Mounting Diagnostic Partition

Installation Successful

10. Type the following command to list the contents of the diagnostic partition:

# ls /diagpart

3.6.6 Accessing the Diagnostic Partition Under Windows

The Windows operating system does not allow the mounting of a diagnostic partition. There is no way to view or gain access to the diagnostic partition if you are running Windows on a Sun Java Workstation W1100z or W2100z.

The only way to retrieve the contents (log files) on the diagnostic partition is to attach a USB floppy drive to the Sun Java Workstation W1100z or W2100z and complete the following procedure:

1. Insert the USB floppy drive into any USB port on the Sun Java Workstation W1100z or W2100z.

2. Insert the Supplemental CD into the CD-RW/DVD-ROM tray.

3. Reboot the workstation.

4. At the Supplemental CD Main Menu, type 3 to exit to DOS.

5. Type the following at the DOS command prompt:

C:> d:

6. To copy file a file named noinput.jrl to the USB floppy drive, type:

D:> copy d:\noinput.jrl a:\

The journal file is now saved to the floppy diskette in the USB floppy drive.


3.7 Show Results Summary

The summary lists the tests run and shows the results. Either Pass, Fail or N/A is listed for each option.

The following list is a complete listing of all possible options available with the Supplemental CD. If your own system does not have all of these options, they might not show up when the Show Results Summary displays.

This section shows the following tests conducted against the processor: Core Processor Tests, AMD 64 Bit Core Tests, Math Co-Processor Tests - Pentium Class FDIV and Pentium Class FIST, MMX Operation, 3DNow! Operation, SSE Instruction Set, SSE2 Instruction Set, and MP Symmetry.

This section shows the following tests conducted against the motherboard: DMA Controller Tests, System Timer Tests, Interrupt Test, Keyboard Controller Tests, PCI Bus Tests, and CMOS RAM/Clock Tests.

This section shows the following tests conducted against the various types of memory: Inversion Test Tree, Progressive Inv. Test, Chaotic Addressing Test, and Block Rotation Test.

This section shows the following tests conducted against the input device: Verify Device, Keyboard Repeat, Keyboard LEDs, and Turbo Switch .

This section shows the following tests conducted against the mouse: Buttons, Ballistics, Text Mode Positioning, Text Mode Area Redefine, Graphics Mode Positions, Graphics Area Redefine, and Graphics Cursor Redefine.

This section shows the following tests conducted against the video: Color Purity Test, True Color Test, Alignment Test, LCD Test, and Test Cord Test.

The Verify Output test is conducted against the printer.

This section shows the following tests conducted against the multimedia components: Internal Speaker Test, FM Synthesizer Test, PCM Sample Test, CD/DVD Drive Read Test, CD/DVD Transfer (KB/Sec), CD/DVD Transfer Rating, CD/DVD Drive Seek Test, CD/DVD Seek Time (ms), CD/DVD Test Disk Read, and CD/DVD Tray Test.

This section shows the following tests conducted against ATAPI devices: Linear Read Test, Non-Destructive Write, and Random Read/Write.

This section shows the following tests conducted against the floppy disk: Linear Read Test, Write Protect Test, Non-Destructive Write, and Random Read/Write.

This section shows the following tests conducted against the hard disk: Read Test, Read Verify Test, Non-Destructive Write Test, Destructive Write Test, Mechanics Stress Test, and Internal Cache Test.

This section shows the following tests conducted against the serial port: IRQ Test, Line Control Test, Handshake Test, Loopback Test, and Internal FIFO Test.

This section shows the following tests conducted against the modem: Data Collection, Register Test, Loopback Test, Carrier Test, and Dial Tone Test.

This section shows the following tests conducted against the parallel: Verify Controller, Check Status Port, and Interrupt Test.

This section shows the following tests conducted against the USB: Controller Tests and Functional Tests.

The compare test is used to determine the machine ID for the system. This test is not available for the Sun Java Workstation W1100z and W2100z.


3.8 Print Results Report

This option enables you to print results of the diagnosis of your system.

Ensure that your workstation is connected to a printer, then enter the required information to print the results.


3.9 About Pc-Check

This screen includes general information about Pc-Check software, including resident and non-resident components, such as mouse devices.


3.10 Exit to DOS

This option exits Pc-Check and returns you to the DOS prompt.