This section describes how to use STM to gather information
about the Fibre Channel adapters and diagnose problems. If you are
not familiar with STM, check out the new STM MPE/iX Quick
Reference Guide at the following URL: http://docs.hp.com/hpux/diag. Then select MPE/iX Diagnostics.
NOTE: Use the CSTM command to start STM in Command Line Mode.
PUB:CSTM
CSTM B8343AA.75.00 Version created MON, JAN 28, 2002 12:02 PM
Running Command File (/usr/sbin/stm/ui/config/.stmrc).
This operation may take approximately one minute.
-- Information --
MPE/iX Support Tools Manager --Product Number B8343AA, Version A.75.00
(C) Copyright Hewlett Packard Co. 1995-2002 All Rights Reserved
Use of this program is subject to the licensing restrictions described in
"Help-->On Version". HP shall not be liable for any damages resulting
from misuse or unauthorized use of this program.
The Information tool provides data about a Fibre Channel adapter
without resetting the adapter.
The following is an example information log for a e3000/A500-200-14
system: (user input in BOLD)
cstm>MAP
Dev Last Last Op
Num Path Product Active Tool Status
=== ================= ====================== =========== =======
1 system system ()
2 0 PCI Bus Adapter (582)
3 0/0 PCI Bus Adapter (782)
4 0/0/1/0 PCI SCSI Interface (10000
5 0/0/1/0.16.0 Unknown ()
6 0/0/1/0.17.0 Unknown ()
7 0/0/1/1 PCI SCSI Interface (10000
8 0/0/1/1.15.0 SCSI Disk (SEAGATEST39204
9 0/0/2/0 PCI SCSI Interface (10000
10 0/0/2/0.6.0 Unknown ()
11 0/0/2/1 PCI SCSI Interface (10000
12 0/0/2/1.6.0 Unknown ()
13 0/0/2/1.15.0 SCSI Disk (SEAGATEST39204
14 0/2 PCI Bus Adapter (782)
15 0/2/0/0 PCI 100 BaseT LAN Interfa
16 0/4 PCI Bus Adapter (782)
17 0/4/0/0 PCI SCSI Interface (10000
18 0/6 PCI Bus Adapter (782)
19 0/6/0/0 FC Interface (HP6795A_Tac Information
20 0/6/2/0 FC Interface (HP5158A_Tac Diagnose
21 8 MEMORY (9b)
22 160 CPU (5cb)
23 162 CPU (5cb)
cstm> SEL DEV 19
cstm>INFO
-- Updating Map --
Updating Map...
cstm>IL
-- Converting a (1368) byte raw log file to text. --
Preparing the Information Tool Log for FC Interface on path 0/6/0/0 File ...
-- Information Tool Log for FC Interface on path 0/6/0/0 --
Log creation time: Mon Jan 21 05:16:46 2002
Hardware path: 0/6/0/0
Product ID: FC Interface
Hardware Path: 0/6/0/0
Module Type: Bus Adapter
Vendor ID: 0x103c
PCI Device ID: 0x1029
PCI Subsystem Vendor ID: 0x103c
PCI Subsystem ID: 0x128c
Topology: Direct Fabric Attach (N_Port to F_Port)
Channel N_PORT_ID: 0x11c00
N_Port Port World Wide Name: 50060B00001000D3
N_Port Node World Wide Name: 50060B00001000D4
Tachyon TL/TS Major Revision:2
Tachyon TL/TS Minor Revision:2
Memory Address Base: 0
ROM Alternate Addr Base: 0
Lower I/O Address Base: 0
Upper I/O Address Base: 0
Information Tool Log for FC Interface on path 0/6/0/0 --
Logtool utility extracts log errors and allows them to be viewed.
This tool provides information about a Fibre Channel adapter without
resetting the adapter.
cstm>RU LOGTOOL
-- Logtool Utility --
To View a Summary of Events in a Raw Log
1. Select a raw (unformatted) log file. (File Menu -> "Select Raw")
The current log file ends in ".cur", e.g. "log1.raw.cur".
You do not have to switch logs.
2. View the summary of the selected log file. (View Menu -> "Raw Summary")
To Format a Raw Log
1. Set the format filter for the types of entries you want to see.
(Filters Menu -> "Format"). To see all entries, skip this step.
2. Format the raw log file. (File Menu -> "Format Raw")
3. Display the formatted file. (View Menu -> "Formatted Log")
4. To further narrow the entries displayed, set a display filter.
(Filters Menu -> "Display" -> "Formatted")
For more information, use the on-line help (Help Menu -> "General help").
Logtool Utility>SR
-- Logtool Utility: Select Raw Log File --
Select a raw log file or files to view, format or filter.
[/var/stm/logs/os/log542.raw.cur]
Path: /var/stm/logs/os/
File Name: (RETURN IF YOU WANT CURRENT FILE OR ENTER FILE NAME)
Select Raw processing file /var/stm/logs/os/log542.raw.cur
Number of entries analyzed is 1.
Number of entries analyzed is 51.
Number of entries analyzed is 60.
The Select Raw operation completed.
The Display Raw Summary operation is currently in progress.
-- Converting a (1804) byte raw log file to text. --
Preparing the Logtool Utility: View Raw Summary File
....... ######.cup.hp.com : ##.##.##.### ....
-- Logtool Utility: View Raw Summary --
Summary of: /var/stm/logs/os/log542.raw.cur
Date/time of first entry: Mon Jan 21 08:37:28 2002
Date/time of last entry: Wed Jan 30 11:44:34 2002
Number of LPMC entries: 0
Number of System Overtemp entries: 0
Number of LVM entries: 0
Number of Logger Event entries: 0
Number of I/O Error entries: 60
Device paths for which entries exist:
(7) 0/6/0/0.72508.5
(7) 0/6/0/0.72508.15
(4) 0/6/0/0
(4) 0/6/0/0.72508
(38) 0/0/2/0.6.0
Products for which entries exist:
(4) FC Interface
(4) VA 7100
(52)
Product Qualifiers for which entries exist:
(4) HP6795A_Tachyon_XL2
(4) HPA6188A (52)
Logger Events for which entries exist:
(14) SCSI_DISK_AND_ARRAY_DM
(4) FC_DAM
(4) FCP_NM
(38) SCSI_TAPE_DM
-- Logtool Utility: View Raw Summary --
View - To View the file.
Print - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done] (return)
Logtool Utility>FF
-- Logtool Utility: Set Format Filter --
Date and time of first log entry: Mon Jan 21 08:37:28 2002
Date and time of last log entry: Mon Feb 4 10:26:00 2002
Format entries logged within the following dates/times:
Starting Date and Time:: (mm/dd/yyyy|hh:mm:ss)[01/21/2002|08:37:28] (return)
Ending Date and Time:: (mm/dd/yyyy|hh:mm:ss)[02/04/2002|10:26:00] (return)
Lowest Entry id : 0x3c4c199800000001 (return)
Highest Entry id: 0x3c5ea80800000001 (return)
Display entries with entry ids within the following range:
Starting entry id (hex) : [0x3c4c199800000001] (return)
Ending entry id (hex) : [0x3c5ea80800000001] (return)
Total Entries: 61
Display entries within the following range:
Starting Entry Number: [1] (return)
Ending Entry Number : [61] (return)
Display entries of the following types:
Low Priority Machine Check? (y/n)[yes] N
System Overtemp? (y/n)[yes] N
LVM? (y/n)[yes] N
Log Suspend and Resume? (y/n)[yes] N
I/O Error Entries:
* 1 All I/O Errors (io_all)
2 No I/O Errors (io_none)
3 Filter I/O Errors (qualifier choices below) (io_filt)
Enter selection: [io_all] io_filt
Device Path:
1 0/6/0/0.72508.5
2 0/6/0/0.72508.15
3 0/6/0/0
4 0/6/0/0.72508
5 0/0/2/0.6.0
Enter selection [done]: (return)
Products:
1 FC Interface
2 VA 7100
3
Enter selection [done]: 1
Products:
* 1 FC Interface
2 VA 7100
3
Enter selection [done]: (return)
Product Qualifiers:
1 HP6795A_Tachyon_XL2
2 HPA6188A
3
Enter selection [done]: 1
Product Qualifiers:
* 1 HP6795A_Tachyon_XL2
2 HPA6188A
3
Enter selection [done]: (return)
Loggers:
1 SCSI_DISK_AND_ARRAY_DM
2 FC_DAM
3 FCP_NM
4 SCSI_TAPE_DM
Enter selection [done]: 2
Logtool Utility>FR
-- Logtool Utility: Format Raw Log File --
Select a directory into which to place the formatted file:
Directory: [/var/stm/logs/os/]
The Format Raw operation is currently in progress.
Entries processed is 1 of 61 total entries; entries formatted is 0.
Entries processed is 51 of 61 total entries; entries formatted is 2.
Entries processed is 61 of 61 total entries; entries formatted is 4.
The Format Raw operation completed successfully. The following raw log file(s)
were formatted into /var/stm/logs/os/log542.fmt9
/var/stm/logs/os/log542.raw.cur
The Display Formatted Summary operation is currently in progress.
-- Converting a (1124) byte raw log file to text. --
Preparing the Logtool Utility: View Formatted Summary File ...
....####.cup.hp.com : ##.##.##.###....
Logtool Utility: View Formatted Summary -
Summary of: /var/stm/logs/os/log542.fmt9
Formatted from: /var/stm/logs/os/log542.raw.cur
Date/time of first entry: Mon Jan 21 08:37:28 2002
Date/time of last entry: Mon Feb 4 10:26:00 2002
Number of LPMC entries: 0
Number of System Overtemp entries: 0
Number of LVM entries: 0
Number of Logger Event entries: 0
Number of I/O Error entries: 4
Device paths for which entries exist:
(4) 0/6/0/0
Products for which entries exist:
(4) FC Interface
Product Qualifiers for which entries exist:
(4) HP6795A_Tachyon_XL2
Logger Events for which entries exist:
(4) FC_DAM
Device Types for which entries exist:
(4) Interface
Device Qualifiers for which entries exist:
(4) FibreTL
-- Logtool Utility: View Formatted Summary --
View - To View the file.
Print - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done] D
Display of the formatted log file summary was successful.
Logtool Utility>FL
The Display Formatted Log operation is currently in progress.
-- Converting a (8168) byte raw log file to text. --
Preparing the Logtool Utility: View Formatted Log File ...
....#####.cup.hp.com : ##.##.##.###....
-- Logtool Utility: View Formatted Log --
Formatted Output of: /var/stm/logs/os/log542.fmt9
Formatted from: /var/stm/logs/os/log542.raw.cur
Date/time of first entry: Mon Jan 21 08:37:28 2002
Date/time of last entry: Mon Feb 4 10:26:00 2002
Display Filters:
Starting Date: Mon Jan 21 08:37:28 2002
Ending Date: Mon Feb 4 10:26:00 2002
=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=
Entry Type: I/O Error
Entry logged on Fri Jan 25 15:43:12 2002
Entry id: 0x3c51c36000000005
Device Path: 0/6/0/0
Product: FC Interface
Product Qualifier: HP6795A_Tachyon_XL2
Logger: FC_DAM
Device Type: Interface
Device Qualifier: FibreTL
---------------------------------------------------------------------------
I/O Log Event Information:
I/O Event Class - Software Triggered Event
I/O Transaction Number - 0x00000000
Length of Hardware Status Logged - 0 bytes
Length of Driver Information Logged - 144 bytes
Low Level I/O (LLIO) Status: 0x11ff03e7
Subsystem field = 999; Proc. Num. = -1; Error Num. = 17
Severity Level: Information
Fibre Channel Driver received an ERQ Frozen interrupt from the adapter.
Raw manager data:
0x0000: 00 00 00 06 17 D3 7C 80 00 00 00 00 00 00 00 01
0x0010: 43 54 44 49 53 52 2E 43 43 57 53 49 4F 2E 54 4C
0x0020: 32 47 53 55 42 4D 00 7A 00 00 00 00 C0 21 00 08
0x0030: 00 00 00 0A 02 1D 92 F0 00 91 DB 18 83 FC EB 04
0x0040: 08 00 45 00 00 00 00 0B FF FA 20 00 FF FA 20 00
0x0050: 00 00 00 08 00 00 00 0A 00 00 14 51 07 00 FF FF
0x0060: FF FF FF FF 00 10 83 FC EB 04 08 00 D5 D2 3D 50
0x0070: D5 D2 1D 50 00 00 00 01 00 00 00 08 00 00 00 00
0x0080: D4 01 54 00 D4 01 54 00 00 00 00 00 00 00 10 00
=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-
The Diagnose tool runs a loopback test on a Fibre Channel adapter.
This test is destructive and should only be run by qualified personnel.