import crash-7.2.7-3.el8

This commit is contained in:
CentOS Sources 2020-04-28 04:50:30 -04:00
parent bc6356dc5c
commit 145e277e6d
7 changed files with 2630 additions and 62 deletions

View File

@ -1 +1 @@
c972d50634ae15fac036bd1f8f9f84d87a54acba SOURCES/crash-7.2.6.tar.gz 194a82c2cd9d45478559947fe767fd42be5a668f SOURCES/crash-7.2.7.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/crash-7.2.6.tar.gz SOURCES/crash-7.2.7.tar.gz

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,28 +0,0 @@
commit b1a6e13a93661dfae7df15fe32862bddf4026c80
Author: Dave Anderson <anderson@redhat.com>
Date: Tue May 21 14:09:13 2019 -0400
Fix for a crash-7.2.6 regression to the "p" command. Without the
patch, a gdb pass-through command construct such as:
p ((struct zone *)0xffff901e3ffda000)->min_slab_pages
gets parsed incorrectly, and the "-" is mistaken for an argument
option, and each of the subsequent characters are marked as an
"invalid option".
(dwysocha@redhat.com)
diff --git a/tools.c b/tools.c
index eceea90..2d95c3a 100644
--- a/tools.c
+++ b/tools.c
@@ -246,8 +246,10 @@ next:
break;
}
}
- if (expression == 0)
+ if (expression == 0) {
i++;
+ continue;
+ }
}
if (str[i] != NULLCHAR && str[i] != '\n') {

View File

@ -1,26 +0,0 @@
commit bf48dd4e9926515345cad06c1bfce49d7a057a26
Author: Dave Anderson <anderson@redhat.com>
Date: Mon Jun 10 14:12:52 2019 -0400
Fix for Linux 4.16 and later ARM64 kernels that contain kernel commit
fa2a8445b1d3810c52f2a6b3a006456bd1aacb7e, titled "arm64: allow ID map
to be extended to 52 bits", and which have been configured with both
CONFIG_DEVMEM=y and CONFIG_STRICT_DEVMEM=y. Without the patch, an
inconsequential error message indicating "crash: read error: kernel
virtual address: <address> type: idmap_ptrs_per_pgd" is displayed
during initialization.
(anderson@redhat.com)
diff --git a/arm64.c b/arm64.c
index 5b82263..6b34b5f 100644
--- a/arm64.c
+++ b/arm64.c
@@ -283,7 +283,7 @@ arm64_init(int when)
case 65536:
if (kernel_symbol_exists("idmap_ptrs_per_pgd") &&
readmem(symbol_value("idmap_ptrs_per_pgd"), KVADDR,
- &value, sizeof(ulong), "idmap_ptrs_per_pgd", RETURN_ON_ERROR))
+ &value, sizeof(ulong), "idmap_ptrs_per_pgd", QUIET|RETURN_ON_ERROR))
machdep->ptrs_per_pgd = value;
if (machdep->machspec->VA_BITS > PGDIR_SHIFT_L3_64K) {

View File

@ -3,8 +3,8 @@
# #
Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles
Name: crash Name: crash
Version: 7.2.6 Version: 7.2.7
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv3 License: GPLv3
Group: Development/Debuggers Group: Development/Debuggers
Source: http://people.redhat.com/anderson/crash-%{version}.tar.gz Source: http://people.redhat.com/anderson/crash-%{version}.tar.gz
@ -16,8 +16,8 @@ BuildRequires: ncurses-devel zlib-devel lzo-devel bison snappy-devel
Requires: binutils Requires: binutils
Patch0: lzo_snappy.patch Patch0: lzo_snappy.patch
Patch1: rhel8_build.patch Patch1: rhel8_build.patch
Patch2: github_bf48dd4e_arm64_devmem_read_error.patch Patch2: github_105a3e13_to_b5c2359f.patch
Patch3: github_b1a6e13a_p_regression.patch Patch3: github_5cbb2fd8_to_6c1c8ac6.patch
%description %description
The core analysis suite is a self-contained tool that can be used to The core analysis suite is a self-contained tool that can be used to
@ -40,8 +40,8 @@ offered by Mission Critical Linux, or the LKCD kernel patch.
%setup -n %{name}-%{version} -q %setup -n %{name}-%{version} -q
%patch0 -p1 -b lzo_snappy.patch %patch0 -p1 -b lzo_snappy.patch
%patch1 -p1 -b rhel8_build.patch %patch1 -p1 -b rhel8_build.patch
%patch2 -p1 -b github_bf48dd4e_arm64_devmem_read_error.patch %patch2 -p1 -b github_105a3e13_to_b5c2359f.patch
%patch3 -p1 -b github_b1a6e13a_p_regression.patch %patch3 -p1 -b github_5cbb2fd8_to_6c1c8ac6.patch
%build %build
make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}"
@ -70,6 +70,20 @@ rm -rf %{buildroot}
%{_includedir}/* %{_includedir}/*
%changelog %changelog
* Mon Feb 3 2020 Dave Anderson <anderson@redhat.com> - 7.2.7-3
- Rebase to github commit 6c1c8ac6
Resolves: rhbz#1738619
- Fix "log -a" option
Resolves: rhbz#1785537
- Fix for ELF kdump vmcores form s390x KASLR kernels
Resolves: rhbz#1786996
* Mon Nov 11 2019 Dave Anderson <anderson@redhat.com> - 7.2.7-2
- Rebase to latest upstream sources
Resolves: rhbz#1738619
- Support for KASLR on s390x
Resolves: rhbz# 1753172
* Mon Jun 10 2019 Dave Anderson <anderson@redhat.com> - 7.2.6-2 * Mon Jun 10 2019 Dave Anderson <anderson@redhat.com> - 7.2.6-2
- Fix "p" command regression - Fix "p" command regression
Resolves: rhbz#1718417 Resolves: rhbz#1718417