This section shows the output of tools run on
HP 9000 systems. The complementary tools for Integrity Systems and
Itanium worksations will produce similar results. The following examples
are provided:
Examining the tools suite
Examining a tool's functions and running the
tool
Using the makodiag command
Using the diskexpt2 command
Examining the Tools Suite
The following example shows the initiation
of an ODE session and using the ls command to display
the installed tools on a 64-bit system:
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.78 ******
****** Loader Version A.00.62 ******
****** Mapfile Version A.01.67 ******
****** ******
***************************************************************************
Type HELP for command information.
ODE> ls
Modules on this boot media are:
filename type size created description
-----------------------------------------------------------------------------
README2 TM 345 06/03/14 64 bit version that displays README fil
MAPPER2 TM 800 06/03/14 64 bit version of the system mapping ut
MEM2 TM 1604 06/03/14 64 bit Memory diagnostic
AR60DIAG2 TM 3117 06/03/14 Fibre Channel 60 disk array utility (64
ARDIAG2 TM 3731 06/03/14 64 bit version of the ICE & ICICLE disk
COPYUTIL2 TM 2131 06/03/14 64 bit version of the Disk-to-tape copy
DFDUTIL2 TM 1729 06/03/14 64 bit version of the Disk firmware dow
DISKEXPT2 TM 1655 06/03/14 64 bit version of the expert disk utili
DISKUTIL2 TM 1553 06/03/14 64 bit version of the nondestructive di
MAKODIAG TM 9601 06/03/14 CPU diagnostic for PA8800 processors
NIKEARRY2 TM 1843 06/03/14 Nike disk array utility
PACIODIAG TM 3895 06/03/14 Core IO diagnostic
PCIUTIL TM 942 06/03/14 PCI HBA Firmware Update Utility
PLUTODIAG TM 3878 06/03/14 PLUTO IO Controller diagnostic
VADIAG2 TM 4787 06/03/14 hp StorageWorks Virtual Array Utility
IOTEST2 TM 4675 06/03/14 64 bit version that runs ROM-based self
PERFVER2 TM 2343 06/03/14 64 bit version that runs ROM-based self
Examining a Tool's Functions and Running the Tool
The following
example examines the functions of a tool using the help command and then running the command.
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.02 ******
****** ******
***************************************************************************
Type HELP for command information.
MAPPER2 Help
Commands
--------
UTILINFO -- Display information about MAPPER
Continue ([y]/n)? y
ODE Commands Available from MAPPER2
Basic Commands
--------------
HELP -- Prints detailed information to the screen, when "help" <command>
or "help" <var> is typed
LS -- List modules available on boot medium
RUN -- Run a module (after setting desired environment variables)
Control-Y|Control-C -- Abort an ODE command; pause a module run
RESUME -- Restart a paused module
DISPLOG -- After running a module, display contents of a log
EXIT -- Return to next higher level prompt
Environmental Variables
-----------------------
SHOWSTATE -- Display the value of the following environment variables:
LOOP -- Run a test this many times
ERRPRINT [ON|OFF] -- Print low-level error messages to console
(primarily for manufacturing use)
ERRNUM [ON|OFF] -- Print one-line, numbered errors to the console
Continue ([y]/n)? y
ERRPAUSE [ON|OFF] -- Pause module upon error detection
ERRONLY [ON|OFF] -- Print ONLY error messages; disable non-error
and isolation message printing
INFOPRINT [ON|OFF] -- Print informational messages to the console
ISOPRINT [ON|OFF] -- Print fault isolation messages to the console
ISOPAUSE [ON|OFF] -- Pause module when isolation message is generated
LOGSIZE -- Set the size of a message log
DEFAULT -- Reset environment variables to default state
MAPPER2> help utilinfo
UTILINFO
Use this command to display information about the MAPPER utility.
MAPPER2> utilinfo
MAPPER is an ODE-based utility program. It is intended to display the con-
figuration of an HPPA system. This includes the path, identification, and
revision information of HPPA modules and peripheral devices. HPPA modules
include Processors, Memory Controllers, and I/O Modules (such as bus con-
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.
MAPPER2> run
STARTING EXECUTION OF MAPPER2
Processor Identification:
Hardware Model: 884H, Revision: 0
Software Model: 4H, Revision: 0
Hardware ID: 0, Software ID: 2842435972 (unsigned decimal)
HP-UX Model String: 9000/800/rp4440
Processor Board Revisions:
CPU - CPU Chip: 257
PDC - Processor Dependent Code: 45.11
Cache and TLB Sizes:
Instruction Cache: 3276 K bytes, Instruction TLB: 240 entries
Data Cache: 3276 K bytes, Data TLB: 240 entries
Co-processors:
Floating Point Co-processor(s) installed
Configuring the System...
I/O Configuration:
Type HW SW Revisions
Path Component Name ID Model Model Hdwr Firm
---------- ----------------------------------- ----- ----- ----- ----- -----
0 Pluto I/O BC McKinley Port CH 880H CH 0 0
0/0 Mercury PCI Bridge DH 783H AH 0 0
0/0/1/0 Communications Controller 103CH 1290H 103CH 1291H 01H
0/0/1/1 Serial Controller 103CH 1048H 103CH 1282H 03H
0/0/2/0 USB Controller 1033H 0035H 1033H 0035H 41H
0/0/2/1 USB Controller 1033H 0035H 1033H 0035H 41H
0/0/3/0 IDE Controller 1095H 0649H 1095H 0649H 02H
0/0/3/0.0.0.0
DV-28E-B - - - -
0/1 Mercury PCI Bridge DH 783H AH 0 0
0/1/1/0 Symbios SCSI Ultra160 LVD HBA 1000H 0021H 103CH 1340H 01H
0/1/1/0.1.0
HP 36.4G ST336753LC - - - - HPC3
0/1/1/0.4.0
HP SAFTE - - - - 1
0/1/1/1 Symbios SCSI Ultra160 LVD HBA 1000H 0021H 103CH 1340H 01H
0/1/1/1.0.0
HP 36.4G ST336753LC - - - - HPC3
0/1/1/1.4.0
HP SAFTE - - - - 1
0/1/2/0 Ethernet Controller 14E4H 1645H 103CH 128AH 15H
0/2 Mercury PCI Bridge DH 783H AH 0 0
0/2/1/0 HP A7143A 4 Port Ultra160 RAID HBA 0E11H B060H 0E11H 4070H 02H
0/4 Mercury PCI Bridge DH 783H AH 0 0
0/4/1/0 PCI->PCI Bridge 1014H 01A7H 0000H 0000H 03H
0/4/1/0/4/0
HP A9784A 2Gb FC/GigE Combo Adapter 1077H 2312H 103CH 12C7H 03H
0/4/1/0/6/0
HP A9784A 1000Base-T FC/GigE Combo 14E4H 16C7H 103CH 12CAH 10H
0/4/2/0 HP A7011A 1000Base-SX Dual Port HBA 8086H 107AH 103CH 12A8H 03H
0/4/2/1 HP A7011A 1000Base-SX Dual Port HBA 8086H 107AH 103CH 12A8H 03H
0/5 Mercury PCI Bridge DH 783H AH 0 0
0/5/2/0 Fibre Channel Controller 10DFH F980H 10DFH F980H 01H
0/6 Mercury PCI Bridge DH 783H AH 0 0
0/6/1/0 PCI->PCI Bridge 8086H B154H 0000H 0000H 00H
0/6/1/0/4/0
Ethernet Controller 1011H 0019H 103CH 125AH 41H
0/6/1/0/5/0
Ethernet Controller 1011H 0019H 103CH 125AH 41H
0/6/1/0/6/0
Ethernet Controller 1011H 0019H 103CH 125AH 41H
0/6/1/0/7/0
Ethernet Controller 1011H 0019H 103CH 125AH 41H
8 Memory Controller (4 Gbytes) 1H AFH 9H 0 0
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
16 Management Controller FH 4H C0H 0 0
128 Processor 0H 884H 4H 0 0
129 Processor 0H 884H 4H 0 0
RUN COMPLETED.
MAPPER2> ex
Resetting the Boot Device...
Done.
Exiting...
Using the makodiag Command
The following example output
from the makodiag command. The vertical ellipses
represent output that was removed from this example to make it shorter.
Example 4-9 Using the makodiag Command
ODE> makodiag; run; ex
The Hversion = 8840. The Sversion = 491. UUT_MODEL = 884
***************************************************************************
****** ******
****** MAKODIAG ******
****** ******
****** Copyright (C) 2006 by Hewlett-Packard Company ******
****** 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. HP ******
****** shall not be liable for any damages resulting from misuse ******
****** or unauthorized use of this program. This program ******
****** remains the property of HP. ******
****** ******
****** Version B.00.33 ******
****** ******
***************************************************************************
Type DIAGINFO for test information.
Enter password or a <cr> to exit:
Type HELP for command information.
Found 2 processors
STARTING EXECUTION OF MAKODIAG
SECTION 00
.
.
.
SECTION 006
STARTING BUS INTERFACE DATA PATH TESTS - SECTIONS 7/10
SECTION 007
SECTION 008
SECTION 009
SECTION 010
STARTING CACHE DATA PATH TESTS - SECTIONS 11/25
SECTION 011
SECTION 012
SECTION 013
................................
SECTION 14
<Test Skipped>
SECTION 16
.
.
.
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
.
.
.
SECTION 134
<<<MASTER = 1 SLAVE = 0>>>
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 blocks, and LDW/STW times
SECTION 141
Functional test of PDTLB instruction
SECTION 142
Functional test of PITLB instruction
SECTION 143
PDTLB head on interface test
SECTION 144
PITLB head on interface test
SECTION 145
LOAD/STORE instructions test (virtual mode)
Set up for virtual mode LDW/STW test
Testing the LDW/STW instructions
Testing the LDWM/STWM instructions
Testing the LDWX/STW instructions
Testing the LDH/STH instructions
Testing the LDB/STB instructions
Testing the STW/LDCWS instructions
Testing the STD/LDD instructions
SECTION 146
Functional test of FIC instruction
<<<MASTER = 1 SLAVE = 0>>>
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 blocks, and LDW/STW times
SECTION 141
Functional test of PDTLB instruction
SECTION 142
Functional test of PITLB instruction
SECTION 143
PDTLB head on interface test
SECTION 144
PITLB head on interface test
SECTION 145
LOAD/STORE instructions test (virtual mode)
Set up for virtual mode LDW/STW test
Testing the LDW/STW instructions
Testing the LDWM/STWM instructions
Testing the LDWX/STW instructions
Testing the LDH/STH instructions
Testing the LDB/STB instructions
Testing the STW/LDCWS instructions
Testing the STD/LDD instructions
SECTION 146
Functional test of FIC instruction
RUN COMPLETED.
Wait 7 seconds for processors to return to ready state.
Using the diskexpt2 Command
The following example shows
the output from the diskexpt2 command. Note the
restrictions on using this command and the required use of a password.
Example 4-10 Using the diskexpt2 Command
ODE> diskexpt2
Type HELP for command information.
***************************************************************************
****** ******
****** DISKEXPT2 ******
****** ******
****** Copyright (C) Hewlett-Packard Co. 1998 thru 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. HP ******
****** shall not be liable for any damages resulting from misuse ******
****** or unauthorized use of this program. This program ******
****** remains the property of HP. ******
****** ******
****** Version B.00.27 ******
****** ******
***************************************************************************
Enter password or a <cr> to exit:
The bus is being scanned for devices. Please wait.
More than 3 Modules/Busses were found on this system.
Since mapping all the Busses will take time, you can
choose a range of busses to map or press <return> to
map all the busses. For example, to map bus 2, 4, 5,
and 6, type the range 2,4/6
Indx Path Module Bus HPA SPA
---- --------------- ---------- ------ -------- --------
0 0/1/1/0 PCI SCSI SCSI 200800 0
1 0/1/1/1 PCI SCSI SCSI 200900 0
2 0/2/1/0 PCI RAID160 SCSI 400800 0
3 0/4/1/0/4/0 PCI FCQL Fibre 812000 0
Enter a range (? for help, q for quit)<default is map all>:
The bus is being scanned for devices. Please wait.
Sel/
Indx Path Product String Rev Bus Size
---- --------------------- ----------------------------------- ------ ------ ------
0 0/1/1/0.1.0 HP 36.4G ST336753LC HPC3 SCSI 36.4 GB
1 0/1/1/1.0.0 HP 36.4G ST336753LC HPC3 SCSI 36.4 GB
Legend:
Sel/Indx - Indx of the disk listed. This is flagged with a '*'
if it is marked for testing.
NOTE:
The size of disk may not match the Information Specified by
the vendor due to difference in calculation methods.
DISKEXPT2> help
DISKEXPT2 Help
-------------------------------------------------------------------------------
Quick Start on Utility.
---------------------
UTILINFO A brief procedure on how to use the utility.
Environment variables:
---------------------
SHOWENV Displays the current settings for TESTDISK, BLOCK and RANGE.
BLOCK Selects the block to be tested.
RANGE Selects range of blocks to be tested by the ROMT and WRTMT commands.
TESTDISK Selects the disk to be tested.
Read & Writing Disk Blocks:
--------------------------
SHOWBUF Displays the internal buffer contents after the last read command.
READBLK Reads the given block from the given SCSI disk.
READFULL Reads the given block with the header from the given SCSI disk.
WRITEBLK Writes the given block on to the given disk.
WRITEFULL Writes the given block with the header on to the given disk.
Media Tests:
-----------
ROMT Performs a read media test on the selected range of blocks.
WRTMT Performs a write/read/verify test on the selected range of blocks.
Continue ([y]/n)? y
-------------------------------------------------------------------------------
Disk Log Access:
---------------
ACCESSLOG Displays the disk logs in a consise format.
READLOG Reads the log data from the disk.
CLRLOG Clears the log data from the disk.
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.
Add a Disk Manually:
-------------------
ADDDISK Allows the user to add non-responding disks to the mapped list of
disks.
-------------------------------------------------------------------------------
Continue ([y]/n)? y
ODE Commands Available from DISKEXPT2
Basic Commands
--------------
HELP -- Prints detailed information to the screen,
when "help <command>" or "help <var>" is typed
LS -- List modules available on boot medium
RUN -- Run a module (after setting desired environment variables)
Control-Y|Control-C -- Abort an ODE command; pause a module run
RESUME -- Restart a paused module
DISPLOG -- After running a module, display contents of a log
EXIT -- Return to next higher level prompt
Environmental Variables
-----------------------
SHOWSTATE -- Display the value of the following environment variables:
LOOP -- Run a test this many times
ERRPRINT [ON|OFF] -- Print low-level error messages to console
(primarily for manufacturing use)
ERRNUM [ON|OFF] -- Print one-line, numbered errors to the console
Continue ([y]/n)? n
DISKEXPT2> diskinfo
Test Disk (0 - 1 ) ? 0
Peripheral Qualifier: Requested LUN is supported
Peripheral Device Type: Direct-access device
Medium is NOT removable
Device-type Modifier = 0(0x0)
ISO Version = 0 | ECMA Version = 0 | ANSI Version = 3
Reserved
Device does NOT support the TERMINATE I/O PROCESS message
INQUIRY data format is as specified in SCSI-2
Other supported features:
16-bit wide data transfer, Synchronous data transfer, Linked commands,
Tagged Command Queuing
This device responds to a RESET condition with a SOFT RESET alternative
Vendor Identification: HP 36.4G
Product Identification: ST336753LC
Product Revision Level: HPC3
Vendor Specific Information:
Addr | Hexadecimal | ASCII
---------------------------------------------------------------------
36 (0x24 ) | 0x33 0x48 0x58 0x30 0x4b 0x38 0x52 0x57 | 3HX0K8RW
44 (0x2c ) | 0x20 0x20 0x20 0x20 0x53 0x45 0x41 0x47 | SEAG
52 (0x34 ) | 0x41 0x54 0x45 0x20 | ATE
Any additional information from the vendor:
Addr | Hexadecimal | ASCII
---------------------------------------------------------------------
96 (0x60 ) | 0x00 0x43 0x6f 0x70 0x79 0x72 0x69 0x67 | .Copyrig
104 (0x68 ) | 0x68 0x74 0x20 0x28 0x63 0x29 0x20 0x32 | ht (c) 2
112 (0x70 ) | 0x30 0x30 0x32 0x20 0x53 0x65 0x61 0x67 | 002 Seag
120 (0x78 ) | 0x61 0x74 0x65 0x20 0x41 0x6c 0x6c 0x20 | ate All
128 (0x80 ) | 0x72 0x69 0x67 0x68 0x74 0x73 0x20 0x72 | rights r
136 (0x88 ) | 0x65 0x73 0x65 0x72 0x76 0x65 0x64 0x20 | eserved
DISKEXPT2> modesense
Test Disk (0 - 1 ) ? 1
---------------------------------------------
POSSIBLE PAGE CODES
---------------------------------------------
0x01 - Read-write error recovery page
0x02 - Disconnect-reconnect page
0x03 - Format device page
0x04 - Rigid disk geometry page
0x05 - Flexible disk page
0x07 - Verify error recovery page
0x08 - Caching Page
0x09 - Peripheral device page
0x0A - Control mode page
0x0B - Medium types supported page
0x0C - Notch and partition page
0x3F - Return all pages
---------------------------------------------
Page Code<Return to quit>? 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 | ........
DISKEXPT2> help modesense
------------------------------------------------------------------------
MODESENSE COMMAND
------------------------------------------------------------------------
This command reads the mode sense page from SCSI device and displays the
contents in HEX and ASCII.
This command takes two optional parameters; disk index and page code. When
no parameters are given as part of the command, and the environment variable
TESTDISK is not set, it prompts the user to supply the disk index and the
page code. A list of possible page codes are given to the user.
SYNTAX: MODESENSE [<disk index> <page code> ]
EXAMPLE:
DISKEXPT > MODESENSE 1 0x3f
NOTES:
1.All parameters can be in decimal or hex(0x/0Xnnn or nnnH/h formats).
Default is decimal.
2.There are no standard set of supported page codes across all devices.
The device responds with proper error messages if non-supported page
codes are choosen.
------------------------------------------------------------------------
DISKEXPT2> ex
Running ODE Tools on Integrity Systems and Itanium Worksations