Commit Graph

7 Commits

Author SHA1 Message Date
Dave Anderson
1818552d18 Additional output for the "help [-D|-n]" options for the PPC64
architecture.  For compressed kdump and ELF kdump dumpfiles, the
elf_prstatus structure in each per-cpu NT_PRSTATUS note will be
translated.
(anderson@redhat.com)

The "help -r" option has been extended to dump the PPC64 registers
stored in each per-cpu NT_PRSTATUS note in compressed kdump and
ELF kdump dumpfiles.
(anderson@redhat.com)
2015-01-21 15:03:10 -05:00
Dave Anderson
dc4ea682a2 Fix for the PPC64 "bt" command on both big-endian and little-endian
architectures.  Without the patch, backtraces of the active tasks
may be "empty" on little-endian machines, or show a one-liner of
the form: "#0 [c0000005f4db7a60] (null) at 501  (unreliable)" on
big-endian machines.
(anderson@redhat.com)
2015-01-20 14:38:48 -05:00
Dave Anderson
5054415b99 Fix for the "crash --log <dumpfile>" option on both of the PPC64
architectures.  Without the patch, the command fails with the message
"crash: seek error: physical address: <address> type: log_buf
pointer", followed by "crash: cannot read log_buf value".  This bug
was introduced in crash-7.0.0 by a patch that added support for the
PPC64 BOOK3E processor family.
(anderson@redhat.com)
2014-11-20 15:34:11 -05:00
Dave Anderson
d5d022d9fb Implemented the capability of building crash as an x86_64 binary
for analyzing little-endian PPC64 dumpfiles on an x86_64 host, which
can be done by entering "make target=PPC64".  After the initial build
is complete, subsequent builds can be done by entering "make" alone.
(anderson@redhat.com)
2014-11-20 14:52:36 -05:00
Dave Anderson
0c0f2e7440 Make the "bt -E" option conform to a "-c cpu(s)" specification when
the the two options are used together.  Without the patch, "bt -E"
ignores a cpu specifier.
(anderson@redhat.com)
2014-10-15 13:30:29 -04:00
Dave Anderson
8bff022b52 Fix for Linux 3.11 and later ARM kernels, in which all non-panicking
cpus offline themselves during a kdump procedure.  This causes an
invalid cpu count determination during crash session initialization
from an ARM vmcore.  The patch utilizes the cpu count found in the
cpu_active_map if it is greater than the count in the cpu_online_map.
In addition, the maximum NR_CPUS value for the ARM architecture has
been raised from 4 to 32.
(sdu.liu@huawei.com)
2014-04-28 15:45:51 -04:00
Dave Anderson
03e3937ec7 Initial commit: crash-7.0.4 2014-01-28 16:46:11 -05:00