Offline Diagnostics Environment Administrator's and User's Guide HP Part Number: 5992-6605 Published: April 2009 Edition: 2
© Copyright 2009 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice.
Table of Contents About This Document.........................................................................................................5 Intended Audience.................................................................................................................................5 New and Changed Information in This Edition.....................................................................................5 Document Organization.....................................................................
List of Examples 4-1 4-2 4-3 4-4 4-5 4-6 4-7 4-8 4-9 4-10 4 Loading ODE and Running a Test Module...................................................................................20 Running Multiple Test Modules....................................................................................................23 Error Detection..............................................................................................................................24 Using an Unsupported Tool..........................
About This Document The Offline Diagnostics Environment (ODE) provides a support tools platform that enables you to troubleshoot a system that is running without an operating system. With the ODE you can test systems that cannot be tested using the online tools.
Related Information The following Web sites can provide you with additional information about the ODE and system diagnostics in general: • For more information about diagnostic tools and concepts: www.hp.com/go/hpux-diagnostics-docs • To read about changes in the latest CD release: www.hp.com/go/hpux-diagnostics-offline-docs • To order the latest version of the ODE CD or to download an image from which you can create your own CD: www.software.hp.
1 ODE Overview This chapter provides information on the following topics: • The purpose of ODE and when to use it. • ODE limitations. Offline Diagnostics Environment The Offline Diagnostics Environment (ODE) provides a support tools platform that enables you to troubleshoot a system that is running without an operating system. With the ODE you can test systems that cannot be tested using online tools.
These routines perform functions such as I/O, string parsing, and system control. The ODE tools are provided on CDs for Itanium systems (See “Obtaining the Latest Version of ODE” (page 9)) and HP 9000 systems (See “Obtaining the Latest Version of ODE for HP 9000 Systems” (page 14)). You can order the CDs free or you can download the CD image and burn your own CD.
2 Using ODE on Integrity Servers and Itanium Workstations ODE tools for HP Integrity servers and HP workstations based on the Itanium processor are distributed on the HP Integrity Servers and Itanium Workstations Offline Diagnostics and Utilities CD-ROM. In addition to the ODE tools, the CD provides other utilities that are helpful in identifying problems with your Integrity server or Itanium workstation.
4. Click Receive for Free and follow the instructions to complete your order. Downloading an Image to Create a CD You can download a master .iso image file to create your own CD using your CD burner and software. The following steps describe how to download a Zip file that contains the image. 1. Open a browser and navigate to the HP Support and Drivers Web site: http://welcome.hp.com/country/us/en/support.html 2. 3. 4. 5. 6. Under the section Select a product category, click Servers.
user guide for instructions on verifying and creating of the HPSP. When the partition is created, copy the files from the CD. Follow these steps: 1. Boot from the CD to the Launch menu. 2. At the Launch menu, select the option for copying the contents of the CD to the HPSP (Run CD Installer to install/update CD content to HPSP). 3. When you return to the Boot Manager menu, an entry for the HPSP as a boot device displays. 3. Start ODE by choosing the selection for ODE at the Launch menu.
CD_Installer An application to update/install the diagnostics CD image to the HP Service Partition (HPSP) of the disk running under EFI. It is available in the \EFI\HP\TOOLS\CD_Installer directory. MCA utilities A Machine Check Analyzer (MCA) Binary Logs gathering tool. It is available in the \EFI\HP\TOOLS\MCA_Utilities directory. Network utilities Utilities to diagnose network latency, communication, or configuration issues.
3 Using ODE on HP 9000 Systems The HP 9000 Offline Diagnostics Environment CD provides a comprehensive offline diagnostic solution. The CD includes a suite of diagnostic tools that enable you to troubleshoot a system troubleshoot a system on which HP-UX cannot be booted. The ODE is also useful for some types of testing when it is not desirable to boot to the operating system first, as is often the case in manufacturing environment.
NOTE: HP provides different versions of the tools for 32–bit systems and 64-bit systems, such as the N-Class systems. The 64-bit versions are indicated by having a “2” appended to the program name. For example, the 64-bit version of MAPPER is MAPPER2. Obtaining the Latest Version of ODE for HP 9000 Systems The HP 9000 Offline Diagnostics Environment CD is shipped with all HP-UX systems. This CD is updated as needed.
IOTEST PERFVER — For 64-bit systems: MAPPER2 IOTEST2 PERFVER2 • You cannot use the menu-driven interface. Running ODE from the CD To run ODE, the system must be at the Boot Console Handler (BCH). When the system is configured to boot to the operating system automatically, it waits 10 seconds for user intervention. You can press any key to stop the autoboot process and go to the main menu prompt. The following steps describe how to run ODE from the CD: 1. 2.
IMPORTANT: You must restart the system after running any ODE module before booting to the operating system or running any non-ODE utility. Running from the System Disk To run the offline diagnostics tools from the system disk, you must install the LIF-LOAD to the boot area of the system disk from the HP 9000 Offline Diagnostics Environment CD. LIF is a subset of the offline diagnostics tools for HP 9000 systems.
6. Mount the CD using the CD block special device file and the directory you created in step 4. For example: # mount /dev/dsk/c0t0d0 /Offline_CD 7. Run the following script from the CD mount directory: # /Offline_CD/DOCS/install_lifload.ksh Running the ODE Tools The following steps describe the procedure to run ODE from the system disk: 1. 2. Boot the system from the PDC prompt. Enter the following command: >> boot primary 3.
4 Performing Common ODE Tasks This chapter shows how to use ODE tools to perform common tasks and lets you see how ODE reacts when detecting a problem. The offline diagnostics tools that run on Integrity Systems and Itanium worksations and on HP 9000 systems are similar in syntax and functions; the primary differences are in the names of the tools and the way they are launched. Keep this in mind as you review the examples in the following sections.
Example 4-1 Loading ODE and Running a Test Module fs0:\EFI\HP\DIAG\ODE>ode *********************************************************************** ****** ****** ****** OFFLINE DIAGNOSTIC ENVIRONMENT ****** ****** ****** ****** (C) Copyright Hewlett-Packard Co 2006 ****** ****** All Rights Reserved ****** ****** ****** ****** ****** ****** TC Version XX.XX.XX ****** ****** SysLib Version XX.XX.
CREG -- Displays selected control and application registers ODE Commands Available from CPUDIAG Basic Commands -------------HELP -- Prints detailed information to the screen, when "help command" or "help var" is typed LS -- List modules available on boot medium Module_Name -- Load and initialize a module by typing its name (For more help, type "help module_name") RUN -- Run a module (after setting desired environment variables) Control-Y|Control-C -- Abort an ODE command; pause a module run RESUME -- Rest
Running Multiple Test Modules The example in this section shows two test modules, cpudiag and memdiag , being run.
Example 4-2 Running Multiple Test Modules ODE> loop 2;run cpudiag memdiag *********************************************************************** ****** ****** ****** CPUDIAG ****** ****** ****** ****** (C) Copyright Hewlett-Packard Co 2006 ****** ****** All Rights Reserved ****** ****** ***** ****** This program may only be used by HP support personnel and ****** ****** those customers with the appropriate Class license or ****** ****** Node license for systems specified by the license.
END OF LOOP 2. RUN COMPLETED. ODE> exit fs0:\efi\diag> Error Detection The following example shows an error detected by the test module cpudiag. In the example, ERRPRINT is on, ERRPAUSE is on, and cpudiag implements a command that dumps the state of the general registers (REGISTER). This example begins with only ODE loaded.
Example 4-4 Using an Unsupported Tool ODE> WDIAG The Hversion = 88c0. The Sversion = 491. UUT_MODEL = 88c --------------------------------------------------------------------WARNING: THIS PROCESSOR MODEL 88c IS INCOMPATIBLE WITH THIS DIAGNOSTIC.
Example 4-7 Examining the Tools Suite ISL> ode Loading.... *************************************************************************** ****** ****** ****** Offline Diagnostic Environment ****** ****** ****** ****** (C) Copyright Hewlett-Packard Co 1993-2006 ****** ****** All Rights Reserved ****** ****** ****** ****** HP shall not be liable for any damages resulting from the ****** ****** use of this program. ****** ****** ****** ****** TC Version A.02.27 ****** ****** SysLib Version A.00.
Example 4-8 Examining a Tool's Functions and Running the Tool ODE> mapper2 *************************************************************************** ****** ****** ****** MAPPER2 ****** ****** ****** ****** Copyright (C) 2003-2006 by Hewlett-Packard Company ****** ****** All Rights Reserved ****** ****** ****** ****** HP shall not be liable for any damages resulting from the ****** ****** use of this program. ****** ****** ****** ****** Version B.01.
verters, channel adapters, device adapters, and interface cards). Processor Hardware Model, Hardware ID, Processor Board Component revisions, Cache and TLB sizes, and Co-processor information are displayed as well. HPPA system Software Model, Software ID, Software Capabilities, and Model Strings are also shown.
Ethernet Controller Memory Controller (4 Gbytes) Slot 0/0a 256MB Slot 0/0b 256MB Slot 0/0c 256MB Slot 0/0d 256MB Slot 0/1a 256MB Slot 0/1b 256MB Slot 0/1c 256MB Slot 0/1d 256MB Slot 0/2a -Slot 0/2b -Slot 0/2c -Slot 0/2d -Slot 0/3a 512MB Slot 0/3b 512MB Slot 0/3c 512MB Slot 0/3d 512MB Management Controller Processor Processor 8 16 128 129 1011H 0019H 103CH 125AH 41H 1H AFH 9H 0 0 FH 0H 0H 4H 884H 884H C0H 4H 4H 0 0 0 0 0 0 RUN COMPLETED. MAPPER2> ex Resetting the Boot Device... Done. Exiting...
Example 4-9 Using the makodiag Command ODE> makodiag; run; ex The Hversion = 8840. The Sversion = 491.
STARTING CPU INSTRUCTION TESTS - SECTIONS 35/86 SECTION 035 . . . SECTION 086 STARTING CPU EXTENDED TESTS - SECTIONS 87/100 SECTION 087 . . . SECTION 100 STARTING FLOATING POINT TESTS - SECTIONS 102/134 SECTION 102 . . .
Testing the LDB/STB instructions Testing the STW/LDCWS instructions Testing the STD/LDD instructions SECTION 146 Functional test of FIC instruction <<>> STARTING MULTIPLE PROCESSOR TESTS - SECTIONS 140/149 SECTION 140 Set up for LDW/STW (line test) test Testing the LDW/STW instructions (line test) - syncronously Checking ownership of blocks, and LDW/STW times Set up for LDW/STW (word test) test Testing the LDW/STW instructions (word test) -- syncronously Checking ownership of block
Example 4-10 Using the diskexpt2 Command ODE> diskexpt2 Type HELP for command information. *************************************************************************** ****** ****** ****** DISKEXPT2 ****** ****** ****** ****** Copyright (C) Hewlett-Packard Co.
Reassigning Block: ----------------SPARE Reassigns the given block on the disk. Gathering Disk Information: -------------------------DISPMAP Displays a list of all the disks found with their present settings. DISKINFO Displays the contents of SCSI Inquiry Command for SCSI and Describe Command for FLEX and CS80 devices. INQUIRY Use DISKINFO command. DESCRIBE Use DISKINFO command. MODESENSE Get mode sense information from SCSI devices only.
--------------------------------------------Page Code? 0x09 Addr | Hexadecimal | ASCII --------------------------------------------------------------------0 (0x0 ) | 0x00 0x1e 0x00 0x10 0x00 0x00 0x00 0x08 | ........ 8 (0x8 ) | 0x00 0x00 0x00 0x00 0x00 0x00 0x02 0x00 | ........ 16 (0x10 ) | 0x89 0x0e 0x00 0x00 0x00 0x00 0x00 0x00 | ........ 24 (0x18 ) | 0x00 0x00 0x00 0x00 0x00 0x00 0x04 0x00 | ........
Index Symbols E .
MAPPER described, 9 MAPPER2 described, 13 mapper2 command examining and running, 26 MCA utilities, 12 MEM2 described, 13 MEMDIAG described, 9 memdiag command example of using with cpudiag, 22 menu-driven interface, 7 MOABDIAG described, 13 modules list of, 7 N T test controller described, 7 test modules described, 7 TOGODIAG described, 13 tools, 9 (see also Integrity Systems and Itanium worksations) (see also HP 9000 systems) for Integrity Systems and Itanium worksations, 9 naming convention, 14 non-ODE,