Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Virtual Partitions Administrator’s Guide > Chapter 10 Crash Processing and Recovery

Crash Processing

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Crash processing for a virtual partition is similar to the crash processing of a non-vPars OS: the OS is quiesced, portions of memory are written to disk, and in the case of vPars, resources are released to the vPars Monitor.

When the vPars Monitor crashes, a vPars Monitor dump is created. By default, kernel dumps are not saved.

When there is a HPMC or MCA or when a TOC is issued, the virtual partitions are launched for crash processing. On PA-RISC, this occurs after saving the vPars Monitor dump, and on Integrity, this occurs before saving the vPars Monitor dump.

When you enter the crash user interface:

  • To let the crash processing continue, do nothing.

  • To enter the crash user interface, press any key on the console.

NOTE: HP recommends that you let crash processing continue.

Crash User Interface

If you enter the crash user interface, you will see messages similar to the following on the console:

Virtual Partition Activity at Time of Crash partition 0 (vpar1): active partition 1 (vpar2): active partition 2 (vpar3): inactive The active partitions will be invoked to perform crash handling. A soft reset will then be generated to allow additional debugging. TO OVERRIDE THIS BEHAVIOR, PRESS A KEY WITHIN 10 SECONDS.... CRASH PROCESS STOPPED. Crash Command Menu 1. Examine memory contents 2. Continue with default crash handling 3. Cause Monitor crash dump to different device 4. Soft reset the machine (memory preserved) 5. Hard reset the machine (memory not preserved) 6. Launch partition 0 (vpar1) for crash processing 7. Launch partition 1 (vpar2) for crash processing Enter number (1-7):

The menu choices mean:

  1. displays memory from <starting address> for <n> 32-bit words. For example:

    Enter Address: 0x1000 4 0x00001000 0x00000000 0x1200a000 0xaa400000 0x00000000 Enter Address: quit
  2. continues with the default crash handling

  3. (PA-RISC only) allows you to chose an alternate device to which the vPars Monitor dump is written. The alternate device must contain the pre-allocated file /stand/vpmon.dmp. The file vpmon.dmp is automatically created in/standof a partition’s boot disk by the vPars startup script.

  4. soft resets the current hard partition[4].

  5. hard resets the current hard partition.

  6. boots the specified virtual partition for crash processing

  7. boots the specified virtual partition for crash processing

If you chose to invoke a virtual partition for crash processing or to examine memory contents, you will be returned to this menu after those actions are completed (assuming no new crash event is encountered).

Directory Location and Filenames

On PA-RISC, the vPars Monitor dump is written to the pre-existing file called /stand/vpmon.dmp.

On Integrity, the vPars Monitor dump is written to a file called vpmon.dmp that is created in the EFI partition of the vPars Monitor boot disk. The file will be at fsN:/efi/hpux/vpmon.dmp.

When the virtual partition that owns the vPars Monitor boot disk is booted, the following files are created automatically in /var/adm/crash/vpar (where n is a number representing the nth occurrence of a dump):

vpmon.ncopy of the executable image of the vPars Monitor at the time of the dump
vpmon.dmp.ncopy of the vPars Monitor dump file
summary.nan analysis of the crash including PIM info for each processor

NOTE: On PA-RISC, the file /stand/vpmon.dmp is a special file. Do not delete, move, rename, or modify this file. If you need to look at the contents of the vPars Monitor dump file, use the vpmon.dmp.n file located in /var/adm/crash/vpar.

On PA-RISC, the vPars Monitor dump is not written if the virtual partition which owns the vPars Monitor boot disk has never been booted.

vPars Monitor Dump Analysis Tool

Because the vPars Monitor is not a HP-UX kernel, you cannot use a kernel dump analysis tool to examine a vPars Monitor dump file. Contact your HP Support Representative to analyze the vPars Monitor dump file.

Kernel Dumps

If a TOC (transfer of control) or HPMC (High Priority Machine Check) for the entire hard partition is generated, a kernel dump will not automatically be saved to /var/adm/crash for those partitions that have not previously had a kernel dump occur. You can save their dumps to /var/adm/crash by performing the following on each of those virtual partitions:

  1. (11i v2 and above) Beginning with HP-UX 11i v2 and therefore vPars A.04, the savecrash processing has changed. Instead of copying the kernel file that was in use during the crash, the directory /stand/crashconfig is copied. Therefore, prior to executing the crashconf and savecrash steps below, create the /stand/crashconfigdirectory using

    # kconfig -s crashconfig

    Or if the kernel configuration used in the last boot is different from the current kernel configuration, use the -c option. For example, if the saved kernel configuration is named kc.custom, the command is

    # kconfig -c kc.custom crashconfig

    For more information on using the kconfig command, see the manpages kconfig(5) and kconfig(1M)

  2. Obtain of list of dump devices, noting the DEVICE and OFFSET information:

    # crashconf -v DEVICE OFFSET(kB) SIZE(kB) LOGICAL VOL. NAME -------------- ---------- --------- ------------- -------------- 31:0X022000 314208 4194304 64:0X000002 /dev/vg00/lvol2

    The DEVICE is 31:0X022000, and the OFFSET is 314208.

  3. Map the device number from the DEVICE information to a device file:

    # ls -l /dev/dsk /dev/disk | grep "31.*022000" brw-r----- 1 bin sys 31 0x022000 Oct 13 2001 c2t2d0

    The corresponding device file is /dev/dsk/c2t2d0.

  4. Using the OFFSET information and the device file, save the dump to /var/adm/crash:

    # savecrash -r -f -D /dev/dsk/c2t2d0 -O 314208


[4] A soft reset (option 4) is not supported on a Superdome.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.