Compressed Dump

Compressed Dump White Paper, Version 1.3
page 23
cr_read() Reads pages from the dump.
cr_set_node() Sets the node number that is used by cr_read()
and cr_isaddr() to access memory in the node pri-
vate memory areas.
cr_perror() Prints to standard error an error or warning mes-
sage corresponding to one of the error or warning
codes returned by another library call.
cr_close() Terminates access to the crash dump and frees all
space allocated by the library.
Each of the above calls has its own manual page, describing its usage more fully.
Crash Dump Formats:
There are four current formats of system crash dumps:
COREFILE (Version 0) This format, used up through HP-UX
10.01, consists of a single file containing the phys-
ical memory image, with a 1-to-1 correspondence
between file offset and memory address. Usually
there is an associated file containing the kernel
image.
COREDIR (Version 1) This format, used in HP-UX 10.10,
10.20, and 10.30, consists of a core.n directory
containing an INDEX file, the kernel (vmunix) file,
and numerous core.n.m files, which contain por-
tions of the physical memory image.
CRASHDIR (Version 2) This format, used in HP-UX 11.00 and
later, consists of a crash.n directory containing an
INDEX file, the kernel and all dynamically loaded
kernel module files, and numerous image.m.p
files, each of which contain portions of the physi-
cal memory image and metadata describing which
memory pages were dumped and which were not.
PARDIR (Version 5) This format is used in HP-UX Release
11i Version 1.0 and later. It is very similar in struc-
ture to the CRASHDIR format in that it consists of
a crash.n directory containing an INDEX file, the
kernel and all dynamically loaded kernel module
files, and numerous image.m.p files, each of which
contain portions of the physical memory image
and metadata describing which memory pages
were dumped and which were not. In addition to
the primary INDEX file, there are auxiliary index
files, that contain metadata describing the image
files containing the memory pages.This format will