HP-UX 11i Version 1.5 System Crash Dump
HP-UX 11i Version 1.5 System Crash Dump
Crash Dump Configuration
Chapter 114
An important feature listed in the table above is the ability to read
/etc/fstab and configure all devices marked “dump”.
In addition to configuring dump devices, crashconf (both the system call
and the command) can also be used to configure the classes of memory
that will be included in, or excluded from, the dump. If desired, this
information can also be configured at kernel build time, by setting the
bitmask tunables alwaysdump and dontdump. Refer to the
/usr/include/sys/crashconf.h file or the output of the
crashconf(1M) command for the current list of memory classes.
In most circumstances, it should not be necessary to modify the list of
individual memory classes to be dumped. The default settings provide
adequate information for debugging nearly all system panics while
eliminating as much extraneous data from the dump as possible.
In actual practice, if crash dump is reconfigured at all, it is usually done
to force a full dump, or to disable dumps entirely.
Full dumps are enabled by including all pages in the dump. This is done
with “crashconf -i all” or by setting
CRASH_INCLUDED_PAGES=”all” in /etc/rc.config.d/crashconf.
Dumps are disabled by excluding all pages from the dump. Again, this is
done with “crashconf -e all” or by setting
CRASH_EXCLUDED_PAGES=”all” in /etc/rc.config.d/crashconf.
Finally, crashconf(1M) uses the pstat interfaces
pstat_getcrashinfo(2) and pstat_getcrashdev(2) to provide a report
of which devices are configured, which memory classes will be included,
swapon(1M) can also read
/etc/fstab and configure
all devices marked as “swap”.
crashconf(1M) can also read
/etc/fstab and configure all
devices marked “dump”.
SAM can be used to
configure swap devices.
SAM can be used to configure
swap devices.
The primary swap device can
also be configured into the
kernel at kernel build time.
Dump devices can also be
configured into the kernel at
kernel build time, in the exact
same manner as before.
Table 1-2
Swap Devices Dump Devices