HP OpenVMS Systems Documentation |
OpenVMS VAX System Dump Analyzer Utility Manual
10.2 Examples of How to Cause System FailuresThe following examples show the sequence of console commands needed to cause a system failure on each type of processor. In each instance, after halting the processor and examining its registers, you place the equivalent of --1 (for example, FFFFFFFF16) into the PC. The value placed in the PSL sets the processor access mode to kernel and the IPL to 31. After these commands are executed, an INVEXCEPTN bugcheck is reported on the console terminal, followed by a listing of the contents of the processor registers. The console volume of most processors contains a command file named either CRASH.COM or CRASH.CMD, which you can execute to perform these commands. Note that the console sessions recorded in this section omit much of the information the console displays in response to the listed commands. The following series of console commands causes a system failure on the VAX 85x0/8700/88x0 systems. (Note that the console prompt for the VAX 8810, 8820, and 8830 systems is PS-CIO-0> and not >>>.)
VAX 82x0/83x0, VAXstation 3520/3540, 6000 Series, and 9000 Series
The following console commands cause a system failure on a VAX 82x0/83x0 system, a VAXstation 3520/3540 system, a VAX 6000 series system, or a VAX 9000 series system.
The following console commands cause a system failure on the VAX 8600/8650 systems.
The following console commands cause a system failure on the VAX-11/780 and VAX-11/785 processors.
The following code causes a system failure on a VAX-11/750. On this processor, the HALT command is a NOP; a Ctrl/P automatically halts the processor.
To force a crash of a MicroVAX, you must first halt the processor. (After you halt the processor, press the HALT button again so that it is popped out and is not illuminated.) Then, issue the following console commands:
The following console commands cause a system failure on a VAX-11/730. Ctrl/P automatically halts the processor.
The System Dump Analyzer is a utility that you can use to help determine the causes of system failures. This utility is also useful for examining the running system. Formatanalyze {/CRASH_DUMP [/RELEASE] filespec| /SYSTEM} [/SYMBOL=system-symbol-table] Command ParameterUsage Summary The following table summarizes how to perform key SDA operations.
SDA QualifiersThe following qualifiers, described in this section, determine whether the object of an SDA session is a crash dump or a running system. They also help create the environment of an SDA session. Table SDA-10 briefly describes the SDA qualifiers.
/CRASH_DUMP
Invokes SDA to analyze the specified dump file. Format/CRASH_DUMP filespec Parameter
DescriptionSee Section 2 for additional information on crash dump analysis.
|
#1 |
---|
$ ANALYZE/CRASH_DUMP SYS$SYSTEM:SYSDUMP.DMP $ ANALYZE/CRASH SYS$SYSTEM |
These commands invoke SDA to analyze the crash dump stored in SYS$SYSTEM:SYSDUMP.DMP.
#2 |
---|
$ ANALYZE/CRASH SYS$SYSTEM:PAGEFILE.SYS |
This command invokes SDA to analyze a crash dump stored in the system paging file.
Invokes SDA to release those blocks in the specified system paging file occupied by a crash dump.
/RELEASE filespec
filespec
Name of the system page file (SYS$SYSTEM:PAGEFILE.SYS). The default file specification is:SYS$DISK:[default-dir]SYSDUMP.DMPSYS$DISK and [default-dir] represent the disk and directory specified in your last SET DEFAULT command. If you do not specify filespec, SDA prompts you for it.
You use the /RELEASE qualifier to release from the system paging file those blocks occupied by a crash dump. When invoked with the /RELEASE qualifier, SDA immediately deletes the dump from the paging file and allows no opportunity to analyze its contents.When you specify the /RELEASE qualifier in the ANALYZE command, you must also do the following:
- Use the /CRASH_DUMP qualifier.
- Include the name of the system paging file (SYS$SYSTEM:PAGEFILE.SYS) as the filespec.
If you do not specify the system paging file or the specified paging file does not contain a dump, SDA generates the following messages:
%SDA-E-BLKSNRLSD, no dump blocks in page file to release, or not page file %SDA-E-NOTPAGFIL, specified file is not the page file
$ ANALYZE/CRASH_DUMP/RELEASE SYS$SYSTEM:PAGEFILE.SYS |
This command invokes SDA to release to the paging file those blocks in SYS$SYSTEM:PAGEFILE.SYS occupied by a crash dump.
Specifies a system symbol table for SDA to use in place of the system symbol table it uses by default (SYS$SYSTEM:SYS.STB).
/SYMBOL =system-symbol-table
system-symbol table
File specification of the SDA system symbol table needed to define symbols required by SDA to analyze a dump from a particular system. The specified system-symbol-table must contain those symbols required by SDA to find certain locations in the executive image.If you do not specify the /SYMBOL qualifier, SDA uses SYS$SYSTEM:SYS.STB by default. When you do specify the /SYMBOL qualifier, SDA assumes the default disk and directory to be SYS$DISK: that is, the disk and directory specified in your last SET DEFAULT command. If SDA is given a file that is not a system symbol table in the /SYMBOL qualifier, it halts with a fatal error.
The /SYMBOL qualifier allows you to specify a system symbol table, other than SYS$SYSTEM:SYS.STB, to load into the SDA symbol table. This might be necessary, for instance, to analyze a crash dump taken on a processor running a different version of OpenVMS.You can use the /SYMBOL qualifier whether you are analyzing a system dump or a running system.
$ ANALYZE/CRASH_DUMP/SYMBOL=SYS$CRASH:SYS.STB SYS$SYSTEM |
This command invokes SDA to analyze the crash dump stored in SYS$SYSTEM:SYSDUMP.DMP, using the system symbol table at SYS$CRASH:SYS.STB.
Invokes SDA to analyze a running system.
/SYSTEM
None.
See Section 3 for a full discussion of using SDA to analyze a running system.You cannot specify the /CRASH_DUMP or /RELEASE qualifiers when you include the /SYSTEM qualifier in the ANALYZE command.
$ ANALYZE/SYSTEM |
This command invokes SDA to analyze the running system.
Table SDA-11 briefly describes the SDA commands that are explained fully in the following section.
Command | Description |
---|---|
@ (Execute Procedure) | Causes SDA to execute SDA commands contained in a file |
ATTACH | Switches control of your terminal from your current process to another process in your job |
COPY | Copies the contents of the dump file to another file |
DEFINE | Assigns a value to a symbol or associates an SDA command with a terminal key |
EVALUATE | Computes and displays the value of the specified expression in both hexadecimal and decimal |
EXAMINE | Displays either the contents of a location or range of locations in physical memory, or the contents of a register |
EXIT | Exits from an SDA display or exits from the SDA utility |
FORMAT | Displays a formatted list of the contents of a block of memory |
HELP | Displays information about the SDA utility, its operation, and the format of its commands |
READ | Loads the global symbols contained in the specified object module into the SDA symbol table |
REPEAT | Repeats execution of the last command issued |
SEARCH | Scans a range of memory locations for all occurrences of a specified value |
SET CPU | Selects a processor to become the SDA current CPU |
SET LOG | Initiates or discontinues the recording of an SDA session in a text file |
SET OUTPUT | Redirects output from SDA to the specified file or device |
SET PROCESS | Selects a process to become the SDA current process |
SET RMS | Changes the options shown by the SHOW PROCESS/RMS command |
SHOW CALL_FRAME | Displays the locations and contents of the longwords representing a procedure call frame |
SHOW CLUSTER | Displays connection manager and system communications services (SCS) information for all nodes in a cluster |
SHOW CONNECTIONS | Displays information about all active connections between SCS processes or a single connection |
SHOW CPU | Displays information about the state of a processor at the time of the system failure |
SHOW CRASH | In the analysis of a system failure, displays information about the state of the system at the time of the failure; in the analysis of a running system, provides information identifying the system |
SHOW DEVICE | Displays a list of all devices in the system and their associated data structures or displays the data structures associated with a given device or devices |
SHOW EXECUTIVE | Displays the location and size of each loadable image that makes up the executive |
SHOW HEADER | Displays the header of the dump file |
SHOW LAN | Displays information contained in various local area network (LAN) data structures |
SHOW LOCK | Displays information about all lock management locks in the system, cached locks, or a specified lock |
SHOW LOGS | Displays information about transaction logs currently open for the node |
SHOW PAGE_TABLE | Displays a range of system page table entries, the entire system page table, or the entire global page table |
SHOW PFN_DATA | Displays information that is contained in the page lists and PFN database |
SHOW POOL | Displays information about the disposition of paged and nonpaged memory, nonpaged dynamic storage pool, and paged dynamic storage pool |
SHOW PORTS | Displays those portions of the port descriptor table (PDT) that are port independent |
SHOW PROCESS | Displays the software and hardware context of any process in the balance set |
SHOW RESOURCE | Displays information about all resources in the system or about a resource associated with a specific lock |
SHOW RMS | Displays the RMS data structures selected by the SET RMS command to be included in the default display of the SHOW PROCESS/RMS command |
SHOW RSPID | Displays information about response IDs (RSPIDs) of all SCS connections or, optionally, a specific SCS connection |
SHOW SPINLOCKS | Displays information taken from the data structures that provide system synchronization in a multiprocessing environment |
SHOW STACK | Displays the location and contents of the four process stacks (of the SDA current process) and the interrupt stack (of the SDA current CPU) |
SHOW SUMMARY | Displays a list of all active processes and the values of the parameters used in swapping and scheduling those processes |
SHOW SYMBOL | Displays the hexadecimal value of a symbol and, if the value is equal to an address location, the contents of that location |
SHOW TRANSACTIONS | Displays information about all transactions on the node or about a specified transaction |
SPAWN | Creates a subprocess of the process currently running SDA, copying the context of the current process to the subprocess |
VALIDATE QUEUE | Validates the integrity of the specified queue by checking the pointers in the queue |
Previous | Next | Contents | Index |