Commit Graph

5 Commits

Author SHA1 Message Date
Alexander Gordeev 2e513114e7 Fix identity_map_base value dump on S390
Kernel virtual base instead of identity base is printed

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2023-12-12 11:33:32 +09:00
Lianbo Jiang 8d49ad6662 Fix the failure of resolving ".rodata" on s390x
The commit <cd8954023bd4> broke crash-utility on s390x and got the
following error:

  crash: cannot resolve ".rodata"

The reason is that all symbols containing a "." may be filtered out
on s390x. To prevent the current failure, do not filter out the
symbol ".rodata" on s390x.

In addition, a simple way is to check whether the symbol ".rodata"
exists before calculating the value of a symbol, just to be on the
safe side.

Fixes: cd8954023b ("kernel: fix start-up time degradation caused by strings command")
Reported-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
2022-03-29 16:41:00 +08:00
Dave Anderson f15a48817f Support for "irq" and "irq -u" on the S390 and S390X architectures
if they are running Linux 3.12 and later kernels.  Older kernels
without GENERIC_HARDIRQ support will fail with the error message
"irq: cannot determine number of IRQs".
(sebott@linux.vnet.ibm.com)
2014-11-17 13:48:21 -05: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