Download from:
http://people.redhat.com/anderson
Changelog:
- Enhanced the "search" command to allow the searched-for value
to be entered as a crash (expression) or a kernel symbol name.
The resultant value of an (expression) or kernel symbol value
must fit into in the designated value size if -w or -h are used,
and neither variant may be used with the -c option. If found,
both the resultant value and the argument input string will be
displayed next to the target address(es).
(anderson(a)redhat.com)
- Added a new "search -t" option that will restrict the search
to the kernel stack pages of all tasks. If one or more matches
are found in a task's kernel stack, the output is preceded
with a task-identifying header.
(anderson(a)redhat.com)
- Fix for the s390x "bt -[tT]" options when run on an active task
on a live system. Without the patch, the options fail with the
message "bt: invalid/stale stack pointer for this task: 0".
(anderson(a)redhat.com)
- Fix for s390x "vm -p" option, which may show invalid user to
physical address translation data if a page is not mapped.
Without the patch, a page's translation may indicate
"<address> SWAP: (unknown swap location) OFFSET: 0",
or show an incorrect swap offset on an actual swap device.
(anderson(a)redhat.com)
- Added new "vm -[xd]" options to be used in conjunction with
"vm -[mv]", which override the current default output format
with hexadecimal or decimal format for just the command instance.
Without the patch, it would require changing the default output
format with "hex" or "dec" prior to executing "vm -[mv]".
The
new flags may also be used with "foreach vm -[mv]".
(anderson(a)redhat.com)
- Fix for the s390x "vm -p" and "vtop -u <user-address>"
commands
if the page containing the relevant PTE is not mapped. Without
the patch, the commands fail with the error message "vm: read error:
kernel virtual address: 0 type: entry" or "vtop: read error: kernel
virtual address: 0 type: entry"
(holzheu(a)linux.vnet.ibm.com)
- Fix for the s390x "vm -p" command and "vtop -u
<user-address>"
commands to properly translate pages that are swapped out into their
swap file and offset. Without the patch, the swap file and offset
would not be displayed.
(holzheu(a)linux.vnet.ibm.com)
- Added new "list -[xd]" options to be used in conjunction with
"list -s", which override the current default output format
with hexadecimal or decimal format for just the command instance.
Without the patch, it would require changing the default output
format with "hex" or "dec" prior to executing "list -s".
(anderson(a)redhat.com)
- Added new "net -[xd]" options to be used in conjunction with
"net -S", which override the current default output format
with hexadecimal or decimal format for just the command instance.
Without the patch, it would require changing the default output
format with "hex" or "dec" prior to executing "net -S".
The new
flags may also be used with "foreach net -S".
(anderson(a)redhat.com)
- Added new "mach -[xd]" options to be used in conjunction with
"mach -c", which override the current default output format
with hexadecimal or decimal format for just the command instance.
Without the patch, it would require changing the default output
format with "hex" or "dec" prior to executing "mach -c".
(anderson(a)redhat.com)
- If the value read from the cpu online, present, or possible masks
contains a cpu bit value that is outside the architecture's maximum
NR_CPUS value, print a warning message during invocation. Without
the patch, a corrupt vmcore containing a bogus mask value could
quietly corrupt heap memory.
(per.fransson.ml(a)gmail.com)
- Add support to for reading dumpfiles compressed by LZO using
makedumpfile version 1.4.4 or later. This feature is disabled by
default. To enable this feature, build the crash utility in the
following manner:
(1) Install the LZO libraries by using the host system's package
manager or by directly downloading libraries from author's
website. The packages required are:
- lzo
- lzo-minilzo
- lzo-devel
The author's website is:
http://www.oberhumer.com/opensource/lzo
(2) Create a CFLAGS.extra file and an LDFLAGS.extra file in top-level
crash sources directory:
- enter -DLZO in the CFLAGS.extra file
- enter -llzo2 in the LDFLAGS.extra file.
(3) Build crash with "make" as always.
(d.hatayama(a)jp.fujitsu.com)
- Fix for the included "trace" extension module. Without the patch,
if the module initialization sequence fails, a double-free in the
module may lead to a subsequent malloc() segmentation violation
in the crash session.
(per.fransson.ml(a)gmail.com)
- Incorporated the "ipcs" extension module written by Qiao Nuohan
as a built-in command. The command displays the kernel's usage
of the System V shared memory, semaphore and message queue IPC
facilities. It differs from the original extension module by
fixing a failure scenario if the current task is exiting, and
adds a "-n pid|task" option, which displays the IPCS facilities
with respect to the namespace of a given pid or task.
(qiaonuohan(a)cn.fujitsu.com, anderson(a)redhat.com)
- Fix for a gdb-7.3.1 regression that causes the line number capability
to fail with certain ranges of x86 base kernel text addresses.
Without the patch, the "dis -l <symbol>" or "sym
<symbol>"
commands would fail to show line number information for certain
ranges of base kernel text addresses.
(anderson(a)redhat.com)
- Added a new "printm" command to the embedded gdb module. It
is currently only used by the "pstruct" extension module, but
can be used to dump the type, size, offset, bitpos and bitsize
values of an expression.
(qiaonuohan(a)cn.fujitsu.com)
- Added a new "runq -t" option that displays the timestamp information
of each cpu's runqueue, which consists of either the rq.clock, the
rq.most_recent_timestamp or rq.timestamp_last_tick value, whichever
applies. Following each cpu timestamp is the last_run or timestamp
value of the active task on that cpu, whichever applies, along with
the task identification.
(weijg.fnst(a)cn.fujitsu.com, anderson(a)redhat.com)
- Fix for an initialization-time warning when running on a live system
with the most recent version of the modprobe command, which no longer
supports the -l and --type options. The modprobe is used to detect
whether the crash.ko memory driver is part of the distribution.
Without the patch, a warning message is issued that indicates
"/sbin/modprobe: invalid option -- 'l'". If the driver is built
into
the kernel, the message is harmless. If the driver is not built into
kernel, then the crash.ko (/dev/crash) driver would not be selected
as the live memory source.
(anderson(a)redhat.com)