import crash-7.2.9-2.el8
This commit is contained in:
parent
c37ad908d8
commit
1ab95e3a80
@ -1,2 +1,2 @@
|
|||||||
334bce71a69ccf8abefaf8c4bc5eec67c9b43c9e SOURCES/crash-7.2.8.tar.gz
|
20865107a4a2ffcb31d9b2f390f72e1dcc3a5dbc SOURCES/crash-7.2.9.tar.gz
|
||||||
026f4c9e1c8152a2773354551c523acd32d7f00e SOURCES/gdb-7.6.tar.gz
|
026f4c9e1c8152a2773354551c523acd32d7f00e SOURCES/gdb-7.6.tar.gz
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
SOURCES/crash-7.2.8.tar.gz
|
SOURCES/crash-7.2.9.tar.gz
|
||||||
SOURCES/gdb-7.6.tar.gz
|
SOURCES/gdb-7.6.tar.gz
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
commit b80b16549e24769c7d5fe3a10c4b1a1c4b5161f3
|
|
||||||
Author: Dave Anderson <anderson@redhat.com>
|
|
||||||
Date: Mon Mar 23 15:52:11 2020 -0400
|
|
||||||
|
|
||||||
Fix for reading compressed kdump dumpfiles from systems with physical
|
|
||||||
memory located at extraordinarily high addresses. In a system with
|
|
||||||
a physical address range from 0x602770ecf000 to 0x6027ffffffff, the
|
|
||||||
crash utility fails during session initialization due to an integer
|
|
||||||
overflow, ending with the error message "crash: vmlinux and vmcore
|
|
||||||
do not match!".
|
|
||||||
(chenjialong@huawei.com)
|
|
||||||
|
|
||||||
diff --git crash-7.2.8/diskdump.c crash-7.2.8/diskdump.c
|
|
||||||
index e88243e616cc..328c932dad5a 100644
|
|
||||||
--- crash-7.2.8/diskdump.c
|
|
||||||
+++ crash-7.2.8/diskdump.c
|
|
||||||
@@ -233,7 +233,7 @@ clean_diskdump_data(void)
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline int
|
|
||||||
-get_bit(char *map, int byte, int bit)
|
|
||||||
+get_bit(char *map, unsigned long byte, int bit)
|
|
||||||
{
|
|
||||||
return map[byte] & (1<<bit);
|
|
||||||
}
|
|
||||||
@@ -694,7 +694,7 @@ restart:
|
|
||||||
dd->max_mapnr = header->max_mapnr;
|
|
||||||
|
|
||||||
/* read memory bitmap */
|
|
||||||
- bitmap_len = block_size * header->bitmap_blocks;
|
|
||||||
+ bitmap_len = (off_t)block_size * header->bitmap_blocks;
|
|
||||||
dd->bitmap_len = bitmap_len;
|
|
||||||
|
|
||||||
offset = (off_t)block_size * (1 + header->sub_hdr_size);
|
|
||||||
@@ -744,7 +744,7 @@ restart:
|
|
||||||
memcpy(dd->dumpable_bitmap, dd->bitmap, bitmap_len);
|
|
||||||
|
|
||||||
dd->data_offset
|
|
||||||
- = (1 + header->sub_hdr_size + header->bitmap_blocks)
|
|
||||||
+ = (1UL + header->sub_hdr_size + header->bitmap_blocks)
|
|
||||||
* header->block_size;
|
|
||||||
|
|
||||||
dd->header = header;
|
|
1037
SOURCES/rhel8_arm64_52_bit_fix.patch
Normal file
1037
SOURCES/rhel8_arm64_52_bit_fix.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -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.8
|
Version: 7.2.9
|
||||||
Release: 3%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
Source0: https://github.com/crash-utility/crash/archive/crash-%{version}.tar.gz
|
Source0: https://github.com/crash-utility/crash/archive/crash-%{version}.tar.gz
|
||||||
@ -18,7 +18,7 @@ Requires: binutils
|
|||||||
Provides: bundled(gdb) = 7.6
|
Provides: bundled(gdb) = 7.6
|
||||||
Patch0: lzo_snappy.patch
|
Patch0: lzo_snappy.patch
|
||||||
Patch1: rhel8_build.patch
|
Patch1: rhel8_build.patch
|
||||||
Patch2: github_b80b16549e24.patch
|
Patch2: rhel8_arm64_52_bit_fix.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
|
||||||
@ -41,7 +41,7 @@ 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_b80b16549e24.patch
|
%patch2 -p1 -b rhel8_arm64_52_bit_fix.patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
@ -72,6 +72,37 @@ rm -rf %{buildroot}
|
|||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 1 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.9-2
|
||||||
|
- Fix the sources file to add gdb-7.6 tarball
|
||||||
|
[The line was somehow removed when using rhpkg new-sources to
|
||||||
|
update the crash tarball location]
|
||||||
|
Resolves: rhbz#1881854
|
||||||
|
|
||||||
|
* Tue Dec 1 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.9-1
|
||||||
|
- Rebase to upstream crash version 7.2.9
|
||||||
|
- Also minimize the rhel-only patches to the bare minimum.
|
||||||
|
Resolves: rhbz#1881854
|
||||||
|
|
||||||
|
* Wed Nov 5 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-8
|
||||||
|
- crash/arm64: Fix arm64 read error with 'idmap_ptrs_per_pgd' symbol with debug kernel
|
||||||
|
Resolves: rhbz#1876039
|
||||||
|
|
||||||
|
* Mon Aug 17 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-7
|
||||||
|
- crash/sadump, kaslr: fix failure of calculating kaslr_offset due to an sadump format restriction
|
||||||
|
Resolves: rhbz#1855527
|
||||||
|
|
||||||
|
* Fri Aug 7 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-6
|
||||||
|
- aarch64: Revert to reading CONFIG_ARM64_USER_VA_BITS_52 and CONFIG_ARM64_PA_BITS=52 for 52-bit VA/PA space.
|
||||||
|
Resolves: rhbz#1861086
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-5
|
||||||
|
- aarch64: Support reading extended 52-bit address space via crash-utility
|
||||||
|
Resolves: rhbz#1861086
|
||||||
|
|
||||||
|
* Fri Jul 10 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-4
|
||||||
|
- Replace people.redhat.com references with github equivalents.
|
||||||
|
Resolves: rhbz#1851745
|
||||||
|
|
||||||
* Mon Jun 22 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-3
|
* Mon Jun 22 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-3
|
||||||
- Fix for reading compressed kdump dumpfiles from systems with physical memory
|
- Fix for reading compressed kdump dumpfiles from systems with physical memory
|
||||||
Resolves: rhbz#1819606
|
Resolves: rhbz#1819606
|
||||||
|
Loading…
Reference in New Issue
Block a user