ada8de
#
ada8de
# crash core analysis suite
ada8de
#
ada8de
Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles
ada8de
Name: crash
e9b81b
Version: 7.3.2
5c095b
Release: 4%{?dist}
ada8de
License: GPLv3
ada8de
Group: Development/Debuggers
7294dd
Source0: https://github.com/crash-utility/crash/archive/crash-%{version}.tar.gz
7294dd
Source1: http://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.gz
7294dd
URL: https://crash-utility.github.io
ada8de
ExclusiveOS: Linux
ada8de
ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x %{arm} aarch64 ppc64le
ada8de
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
e9b81b
BuildRequires: ncurses-devel zlib-devel lzo-devel bison snappy-devel wget patch libzstd-devel
ada8de
Requires: binutils
7294dd
Provides: bundled(gdb) = 7.6
c5bd0e
Patch0: lzo_snappy_zstd.patch
ada8de
Patch1: rhel8_build.patch
9bef51
Patch2: rhel8_freepointer.patch
aefe19
Patch3: 0001-ppc64-update-the-NR_CPUS-to-8192.patch
aefe19
Patch4: 0002-sbitmapq-remove-struct-and-member-validation-in-sbit.patch
aefe19
Patch5: 0003-sbitmapq-fix-invalid-offset-for-sbitmap_queue_alloc_.patch
aefe19
Patch6: 0004-sbitmapq-fix-invalid-offset-for-sbitmap_queue_round_.patch
aefe19
Patch7: 0005-sbitmapq-fix-invalid-offset-for-sbitmap_word_depth-o.patch
aefe19
Patch8: 0007-bt-x86_64-filter-out-idle-task-stack.patch
aefe19
Patch9: 0008-bt-arm64-add-support-for-bt-n-idle.patch
aefe19
Patch10: 0010-Enhance-dev-d-D-options-to-support-blk-mq-sbitmap.patch
aefe19
Patch11: 0011-Fix-for-dev-d-D-options-to-support-blk-mq-change-on-.patch
aefe19
Patch12: 0012-Doc-update-man-page-for-the-bpf-and-sbitmapq-command.patch
aefe19
Patch13: 0013-sbitmapq-Fix-for-sbitmap_queue-without-ws_active-mem.patch
aefe19
Patch14: 0014-sbitmapq-Fix-for-sbitmap_word-without-cleared-member.patch
aefe19
Patch15: 0015-sbitmapq-Fix-for-sbitmap_queue-without-min_shallow_d.patch
aefe19
Patch16: 0016-Make-dev-d-D-options-parse-sbitmap-on-Linux-4.18-and.patch
aefe19
Patch17: 0017-sbitmapq-Fix-for-kernels-without-struct-wait_queue_h.patch
aefe19
Patch18: 0018-sbitmapq-Limit-kernels-without-sbitmap-again.patch
acf3ec
Patch19: 0001-Fix-for-dev-command-on-Linux-5.11-and-later.patch
acf3ec
Patch20: 0002-Extend-field-length-of-task-attributes.patch
acf3ec
Patch21: 0003-ppc64-fix-bt-for-S-case.patch
acf3ec
Patch22: 0004-ppc64-dynamically-allocate-h-w-interrupt-stack.patch
acf3ec
Patch23: 0005-ppc64-rename-ppc64_paca_init-to-ppc64_paca_percpu_of.patch
acf3ec
Patch24: 0006-ppc64-handle-backtrace-when-CPU-is-in-an-emergency-s.patch
acf3ec
Patch25: 0007-ppc64-print-emergency-stacks-info-with-mach-command.patch
acf3ec
Patch26: 0008-ppc64-use-a-variable-for-machdep-machspec.patch
acf3ec
Patch27: 0009-arm64-Fix-for-st-_stext_vmlinux-not-initialized-when.patch
acf3ec
Patch28: 0010-Fix-gcc-11-compiler-warnings-on-filesys.c.patch
acf3ec
Patch29: 0011-Fix-gcc-11-compiler-warning-on-symbols.c.patch
acf3ec
Patch30: 0012-Fix-gcc-11-compiler-warning-on-makedumpfile.c.patch
acf3ec
Patch31: 0013-Fix-gcc-11-compiler-warning-on-kvmdump.c.patch
acf3ec
Patch32: 0014-x86_64-Fix-for-AMD-SME-issue.patch
acf3ec
Patch33: 0015-Makefile-Fix-unnecessary-re-patching-with-coreutils-.patch
acf3ec
Patch34: 0016-arm64-use-TCR_EL1_T1SZ-to-get-the-correct-info-if-va.patch
acf3ec
Patch35: 0017-Fix-task-R-by-adding-end-identifier-for-union-in-tas.patch
acf3ec
Patch36: 0018-Let-gdb-get-kernel-module-symbols-info-from-crash.patch
acf3ec
Patch37: 0019-x86_64-Correct-the-identifier-when-locating-the-call.patch
acf3ec
Patch38: 0020-Add-debian-ubuntu-vmlinux-location-to-default-search.patch
acf3ec
Patch39: 0021-Fix-gcc-12-compiler-warnings-on-lkcd_-.c.patch
acf3ec
Patch40: 0022-Fix-for-the-invalid-linux_banner-pointer-issue.patch
acf3ec
Patch41: 0023-Fix-kmem-failing-to-print-task-context-when-address-.patch
acf3ec
Patch42: 0024-Fix-page-offset-issue-when-converting-physical-to-vi.patch
acf3ec
Patch43: 0025-Let-kmem-print-task-context-with-physical-address.patch
acf3ec
Patch44: 0026-ppc64-still-allow-to-move-on-if-the-emergency-stacks.patch
acf3ec
Patch45: 0027-Fix-segmentation-fault-in-page_flags_init_from_pagef.patch
acf3ec
Patch46: 0028-Fix-for-ps-vm-commands-to-display-correct-MEM-and-RS.patch
ada8de
ada8de
%description
ada8de
The core analysis suite is a self-contained tool that can be used to
ada8de
investigate either live systems, kernel core dumps created from the
ada8de
netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch
ada8de
offered by Mission Critical Linux, or the LKCD kernel patch.
ada8de
ada8de
%package devel
ada8de
Requires: %{name} = %{version}, zlib-devel lzo-devel snappy-devel
ada8de
Summary: kernel crash analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles
ada8de
Group: Development/Debuggers
ada8de
ada8de
%description devel
ada8de
The core analysis suite is a self-contained tool that can be used to
ada8de
investigate either live systems, kernel core dumps created from the
ada8de
netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch
ada8de
offered by Mission Critical Linux, or the LKCD kernel patch.
ada8de
ada8de
%prep
ada8de
%setup -n %{name}-%{version} -q
c5bd0e
%patch0 -p1 -b lzo_snappy_zstd.patch
ada8de
%patch1 -p1 -b rhel8_build.patch
9bef51
%patch2 -p1 -b rhel8_freepointer.patch
aefe19
%patch3 -p1
aefe19
%patch4 -p1
aefe19
%patch5 -p1
aefe19
%patch6 -p1
aefe19
%patch7 -p1
aefe19
%patch8 -p1
aefe19
%patch9 -p1
aefe19
%patch10 -p1
aefe19
%patch11 -p1
aefe19
%patch12 -p1
aefe19
%patch13 -p1
aefe19
%patch14 -p1
aefe19
%patch15 -p1
aefe19
%patch16 -p1
aefe19
%patch17 -p1
aefe19
%patch18 -p1
acf3ec
%patch19 -p1
acf3ec
%patch20 -p1
acf3ec
%patch21 -p1
acf3ec
%patch22 -p1
acf3ec
%patch23 -p1
acf3ec
%patch24 -p1
acf3ec
%patch25 -p1
acf3ec
%patch26 -p1
acf3ec
%patch27 -p1
acf3ec
%patch28 -p1
acf3ec
%patch29 -p1
acf3ec
%patch30 -p1
acf3ec
%patch31 -p1
acf3ec
%patch32 -p1
acf3ec
%patch33 -p1
acf3ec
%patch34 -p1
acf3ec
%patch35 -p1
acf3ec
%patch36 -p1
acf3ec
%patch37 -p1
acf3ec
%patch38 -p1
acf3ec
%patch39 -p1
acf3ec
%patch40 -p1
acf3ec
%patch41 -p1
acf3ec
%patch42 -p1
acf3ec
%patch43 -p1
acf3ec
%patch44 -p1
acf3ec
%patch45 -p1
acf3ec
%patch46 -p1
ada8de
ada8de
%build
7294dd
cp %{SOURCE1} .
7294dd
#make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}"
e9b81b
make -j`nproc` RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
ada8de
ada8de
%install
ada8de
rm -rf %{buildroot}
ada8de
mkdir -p %{buildroot}%{_bindir}
ada8de
make DESTDIR=%{buildroot} install
ada8de
mkdir -p %{buildroot}%{_mandir}/man8
ada8de
cp -p crash.8 %{buildroot}%{_mandir}/man8/crash.8
ada8de
mkdir -p %{buildroot}%{_includedir}/crash
ada8de
chmod 0644 defs.h
ada8de
cp -p defs.h %{buildroot}%{_includedir}/crash
ada8de
ada8de
%clean
ada8de
rm -rf %{buildroot}
ada8de
ada8de
%files
ada8de
%defattr(-,root,root,-)
ada8de
%{_bindir}/crash
ada8de
%{_mandir}/man8/crash.8*
ada8de
%doc README COPYING3
ada8de
ada8de
%files devel
ada8de
%defattr(-,root,root,-)
ada8de
%{_includedir}/*
ada8de
ada8de
%changelog
5c095b
* Mon Nov 21 2022 Lianbo Jiang <lijiang@redhat.com> - 7.3.2-4
5c095b
- Fix for commit 2145b2bb79c5, there are different behaviors between gdb-7.6 and gdb-10.2
5c095b
acf3ec
* Thu Nov 17 2022 Lianbo Jiang <lijiang@redhat.com> - 7.3.2-3
acf3ec
- Update to the latest commit a158590f475c from master branch
acf3ec
aefe19
* Thu Jun 16 2022 Lianbo Jiang <lijiang@redhat.com> - 7.3.2-2
aefe19
- Enhance "dev -d|-D" options to support blk-mq sbitmap
aefe19
e9b81b
* Mon May 16 2022 Lianbo Jiang <lijiang@redhat.com> - 7.3.2-1
e9b81b
- Rebase to upstream crash 7.3.2
e9b81b
604236
* Tue Feb 08 2022 Lianbo Jiang <lijiang@redhat.com> - 7.3.1-5
604236
- Rebuild for osci badfuncs issue
604236
604236
* Mon Feb 07 2022 Lianbo Jiang <lijiang@redhat.com> - 7.3.1-4
604236
- Fix segfault on aarch64 for "bt -a|-c" command
604236
- Fix HZ calculation on Linux 5.14 and later
604236
- Fix for "timer -r" option to display all the per-CPU clocks
604236
b2ff16
* Mon Dec 13 2021 Lianbo Jiang <lijiang@redhat.com> - 7.3.1-3
b2ff16
- Fix segmentation fault caused by crash extension modules
b2ff16
- Support the overflow stack exception handling on aarch64
b2ff16
c5bd0e
* Tue Dec 07 2021 Lianbo Jiang <lijiang@redhat.com> - 7.3.1-2
c5bd0e
- Enable ZSTD feature support
c5bd0e
9bef51
* Fri Nov 26 2021 Lianbo Jiang <lijiang@redhat.com> - 7.3.1-1
9bef51
- Rebase to the latest crash-7.3.1
9bef51
f27a4c
* Thu Nov 18 2021 Lianbo Jiang <lijiang@redhat.com> - 7.3.0-3
f27a4c
- Fix for "sched: Change task_struct::state"
f27a4c
- Fix for "sched: move CPU field back into thread_info if THREAD_INFO_IN_TASK=y"
f27a4c
- Fix live debugging with lockdown=integrity
f27a4c
- Fix 'waitq' command for Linux 4.13 and later kernels
f27a4c
- Fix for "kmem -s|-S" option on Linux 5.7 and later kernels
f27a4c
595434
* Fri May 14 2021 Lianbo Jiang <lijiang@redhat.com> - 7.3.0-2
595434
- Update the sha512 hash in the sources file to solve the
595434
  compilation issues
595434
595434
* Thu May 13 2021 Lianbo Jiang <lijiang@redhat.com> - 7.3.0-1
595434
- Rebase to upstream 7.3.0
595434
d17593
* Tue Dec 1 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.9-2
d17593
- Fix the sources file to add gdb-7.6 tarball
d17593
  [The line was somehow removed when using rhpkg new-sources to
d17593
   update the crash tarball location]
d17593
  Resolves: rhbz#1881854
d17593
d17593
* Tue Dec 1 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.9-1
d17593
- Rebase to upstream crash version 7.2.9
d17593
- Also minimize the rhel-only patches to the bare minimum.
d17593
  Resolves: rhbz#1881854
d17593
9bef51
* Thu Nov 5 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-8
5ef7f7
- crash/arm64: Fix arm64 read error with 'idmap_ptrs_per_pgd' symbol with debug kernel
5ef7f7
  Resolves: rhbz#1876039
5ef7f7
359082
* Mon Aug 17 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-7
359082
- crash/sadump, kaslr: fix failure of calculating kaslr_offset due to an sadump format restriction
359082
  Resolves: rhbz#1855527
359082
fe6f12
* Fri Aug 7 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-6
fe6f12
- aarch64: Revert to reading CONFIG_ARM64_USER_VA_BITS_52 and CONFIG_ARM64_PA_BITS=52 for 52-bit VA/PA space.
fe6f12
  Resolves: rhbz#1861086
fe6f12
25085c
* Mon Jul 27 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-5
25085c
- aarch64: Support reading extended 52-bit address space via crash-utility
25085c
  Resolves: rhbz#1861086
25085c
63d558
* Fri Jul 10 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-4
63d558
- Replace people.redhat.com references with github equivalents.
63d558
  Resolves: rhbz#1851745
63d558
7294dd
* Mon Jun 22 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-3
7294dd
- Fix for reading compressed kdump dumpfiles from systems with physical memory
7294dd
  Resolves: rhbz#1819606
7294dd
7294dd
* Mon Jun 8 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-2
7294dd
- Remove wget from BuildRequires section
7294dd
  Resolves: rhbz#1838322
7294dd
7294dd
* Fri Jun 5 2020 Bhupesh Sharma <bhsharma@redhat.com> - 7.2.8-1
7294dd
- Rebase to latest upstream release 7.2.8
7294dd
  Resolves: rhbz#1838322
7294dd
ada8de
* Mon Feb  3 2020 Dave Anderson <anderson@redhat.com> - 7.2.7-3
ada8de
- Rebase to github commit 6c1c8ac6
ada8de
  Resolves: rhbz#1738619
ada8de
- Fix "log -a" option
ada8de
  Resolves: rhbz#1785537
ada8de
- Fix for ELF kdump vmcores form s390x KASLR kernels
ada8de
  Resolves: rhbz#1786996
ada8de
ada8de
* Mon Nov 11 2019 Dave Anderson <anderson@redhat.com> - 7.2.7-2
ada8de
- Rebase to latest upstream sources
ada8de
  Resolves: rhbz#1738619
ada8de
- Support for KASLR on s390x
ada8de
  Resolves: rhbz# 1753172
ada8de
ada8de
* Mon Jun 10 2019 Dave Anderson <anderson@redhat.com> - 7.2.6-2
ada8de
- Fix "p" command regression
ada8de
  Resolves: rhbz#1718417  
ada8de
- Fix arm64 debug kernel read error message during initialization
ada8de
  Resolves: rhbz#1718736 
ada8de
ada8de
* Mon May  6 2019 Dave Anderson <anderson@redhat.com> - 7.2.6-1
ada8de
- Rebase to latest upstream sources
ada8de
  Resolves: rhbz#1686560 
ada8de
- Utilize the VMCOREINFO PT_NOTE in /proc/kcore header
ada8de
  Resolves: rhbz#1627528
ada8de
- Support extraction of CONFIG_PROC_VMCORE_DEVICE_DUMP data from dumpfile header
ada8de
  Resolves: rhbz#1702535
ada8de
ada8de
* Thu Feb 14 2019 Dave Anderson <anderson@redhat.com> - 7.2.3-18
ada8de
- Fix "files -c" and "files -p" options
ada8de
  Resolves: rhbz#1673285
ada8de
ada8de
* Mon Feb 11 2019 Dave Anderson <anderson@redhat.com> - 7.2.3-17
ada8de
- Support for CONFIG_ARM64_USER_VA_BITS_52 and CONFIG_ARM64_PA_BITS=52
ada8de
  Resolves: rhbz#1670099
ada8de
ada8de
* Tue Jan  8 2019 Dave Anderson <anderson@redhat.com> - 7.2.3-16
ada8de
- Resurrect "dev -p" option.
ada8de
- Fix "dev -[dD]" options to account for request_queue.in_flight[] removal.
ada8de
  Resolves: rhbz#1662039
ada8de
- Command line input fixes
ada8de
  Resolves: rhbz#1664061
ada8de
ada8de
* Thu Dec 13 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-15
ada8de
- Increase ppc64 MAX_PHYSMEM_BITS to match 4.18.0-35.el8 kernel backport
ada8de
  Resolves: rhbz#1658628
ada8de
ada8de
* Thu Nov 29 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-14
ada8de
- Fix for ARM64 "ps -s" memory allocation failure
ada8de
  Resolves: rhbz#1654582
ada8de
ada8de
* Thu Oct 25 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-13
ada8de
- Change "bt" warnings when exception RIP is legitimate mapped address
ada8de
  Resolves: rhbz#1642221
ada8de
ada8de
* Mon Oct 15 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-12
ada8de
- Address covscan issues
ada8de
  Resolves: rhbz#1602466
ada8de
- Fix for x86_64 5-level pagetable vmalloc range expansion
ada8de
  Resolves: rhbz#1637125
ada8de
ada8de
* Wed Oct  4 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-11
ada8de
- Fix ppc64 backtrace issues
ada8de
  Resolves: rhbz#1633525
ada8de
ada8de
* Wed Sep 19 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-10
ada8de
- Address annocheck build issues
ada8de
  Resolves: rhbz#1624101
ada8de
 
ada8de
* Thu Aug  9 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-9
ada8de
- Fix for live system (/proc/kcore) access when KALSR is in effect
ada8de
  Resolves: rhbz#1611916
ada8de
ada8de
* Mon Jul 16 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-8
ada8de
- Rebase to github commits 9b494b70_to_eb823b79
ada8de
  Resolves: rhbz#1563495
ada8de
ada8de
* Fri Jun 22 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-7
ada8de
- Rebase to github commits 28fa7bd0 to 02efd083
ada8de
  Resolves: rhbz#1590751
ada8de
  Resolves: rhbz#1592746
ada8de
ada8de
* Tue Jun 12 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-6
ada8de
- github commit 1926150e: fix ppc64/ppc6le stacksize calculation
ada8de
ada8de
* Fri Jun  8 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-5
ada8de
- Remove /dev/mem readmem error message and /proc/kcore switch messages 
ada8de
  Resolves: rhbz#1585944
ada8de
ada8de
* Fri Jun  1 2018 Dave Anderson <anderson@redhat.com> - 7.2.3-4
ada8de
- Rebase to latest upstream sources
ada8de
ada8de
* Tue Nov 21 2017 Dave Anderson <anderson@redhat.com> - 7.2.0-2
ada8de
- Rebase to github commits da9bd35a to e2efacdd
ada8de
  Resolves: rhbz#1497316
ada8de
ada8de
* Wed Nov  1 2017 Dave Anderson <anderson@redhat.com> - 7.2.0-1
ada8de
- Rebase to upstream version 7.2.0
ada8de
- Rebase to github commits da9bd35a_to_e2efacdd.patch
ada8de
  Resolves: rhbz#1497316
ada8de
- ppc64le: fix for "WARNING: cannot access vmalloc'd module memory"
ada8de
  Resolves: rhbz#1485391
ada8de
- Support for analyzing an SADUMP crash dump if KASLR is enabled
ada8de
  Resolves: rhbz#1504467
ada8de
ada8de
* Wed May  3 2017 Dave Anderson <anderson@redhat.com> - 7.1.9-2
ada8de
- Rebase to github commits 87179026 to ad3b8476
ada8de
  Resolves: rhbz#1393534
ada8de
- Prohibit native gdb disassemble command when KASLR
ada8de
  Resolves: rhbz#1445649
ada8de
ada8de
* Mon Apr 24 2017 Dave Anderson <anderson@redhat.com> - 7.1.9-1
ada8de
- Rebase to upstream version 7.1.9
ada8de
  Resolves: rhbz#1393534
ada8de
- Fix gdb "set scope" option for KASLR kernels.
ada8de
  Resolves: rhbz#1440725
ada8de
- Fix for the determination of the x86_64 "phys_base" value when it is
ada8de
  not passed in the VMCOREINFO data of ELF vmcores
ada8de
  Resolves: rhbz#1439170
ada8de
ada8de
* Wed Mar  8 2017 Dave Anderson <anderson@redhat.com> - 7.1.8-2
ada8de
- mod [-sS] command may erroneously reassign module symbol addresses
ada8de
  Resolves: rhbz#1430091
ada8de
ada8de
* Fri Feb 24 2017 Dave Anderson <anderson@redhat.com> - 7.1.8-1
ada8de
- Rebase to upstream version 7.1.8
ada8de
  Resolves: rhbz#1393534
ada8de
- POWER9 - Power ISA 3.0 related support for crash utility
ada8de
  Resolves: rhbz#1368711
ada8de
- crash package update - ppc64/ppc64le
ada8de
  Resolves: rhbz#1384944
ada8de
- exception RIP: unknown or invalid address
ada8de
  Resolves: rhbz#1350457
ada8de
- Crash does not always parse correctly the modules symbol tables
ada8de
  Resolves: rhbz#1360415
ada8de
- ARM64: crash live system from: WARNING: cannot read linux_banner string
ada8de
  Resolves: rhbz#1392007
ada8de
- kmem: invalid structure member offset: page_count
ada8de
  Resolves: rhbz#1392011
ada8de
- Kernel address space randomization [KASLR] support 
ada8de
  Resolves: rhbz#1392658
ada8de
- invalid structure size: tnt
ada8de
  Resolves: rhbz#1420653
ada8de
ada8de
* Wed Sep 14 2016 Dave Anderson <anderson@redhat.com> - 7.1.5-2
ada8de
- Fix for kernel module symbol gathering when the ordering of module
ada8de
  symbol name strings does not match the order of the kernel_symbol
ada8de
  structures.
ada8de
- Resolves: rhbz#1375130
ada8de
ada8de
* Thu Apr 28 2016 Dave Anderson <anderson@redhat.com> - 7.1.5-1
ada8de
- Rebase to upstream version 7.1.5
ada8de
  Resolves: rhbz#1292566
ada8de
- Decode clflushopt instruction
ada8de
  Resolves: rhbz#1262479
ada8de
- Support AArch64 QEMU generated dumps 
ada8de
  Resolves: rhbz#1299873
ada8de
- crash: zero-size memory allocation (aarch64) 
ada8de
  Resolves: rhbz#1312738
ada8de
ada8de
* Tue Apr  5 2016 Dave Anderson <anderson@redhat.com> - 7.1.2-4
ada8de
- crash: fails to read excluded pages by default on sadump-related format
ada8de
  Resolves: rhbz#1304260
ada8de
ada8de
* Mon Nov 23 2015 Dave Anderson <anderson@redhat.com> - 7.1.2-3
ada8de
- crash fails to read or wrongly reads some parts of memory in sadump vmcore format
ada8de
  Resolves: rhbz#1282997
ada8de
ada8de
* Tue Aug  4 2015 Dave Anderson <anderson@redhat.com> - 7.1.2-2
ada8de
- Fix "kmem -s <address>", "bt -F[F]", and "rd -S[S]" options in kernels 
ada8de
  configured with CONFIG_SLUB having multiple-page slabs.
ada8de
  Resolves: rhbz#1244003
ada8de
- Fix for SIGSEGV generated by "bt -[f|F]" in ARM64 kernels.
ada8de
  Resolves: rhbz#1248859
ada8de
 
ada8de
* Mon Jul 13 2015 Dave Anderson <anderson@redhat.com> - 7.1.2-1
ada8de
- Rebase to upstream version 7.1.2
ada8de
  Resolves: rhbz#1207696
ada8de
- Fix several ppc64 backtrace issues
ada8de
  Resolves: rhbz#1235447 
ada8de
ada8de
* Fri Jun 05 2015 Dave Anderson <anderson@redhat.com> - 7.1.1-2
ada8de
- ARM64 backtrace enhancements
ada8de
  Resolves: rhbz#1227508
ada8de
ada8de
* Thu May 28 2015 Dave Anderson <anderson@redhat.com> - 7.1.1-1
ada8de
- Rebase to upstream version 7.1.1
ada8de
  Resolves: rhbz#1207696
ada8de
- Display s390x vector registers from a kernel dump.
ada8de
  Resolves: rhbz#1182161
ada8de
- Fix date displayed on initial system banner and by the "sys" command on ARM64.
ada8de
  Resolves: rhbz#1223044
ada8de
- Fix ARM64 page size calculation on 4.1 and later kernels.
ada8de
  Resolves: rhbz#1222645
ada8de
ada8de
* Tue Apr 21 2015 Dave Anderson <anderson@redhat.com> - 7.0.9-6
ada8de
- Calculate ARM64 virtual memory layout based upon struct page size 
ada8de
  Resolves: rhbz#1204941
ada8de
ada8de
* Tue Apr  7 2015 Dave Anderson <anderson@redhat.com> - 7.0.9-5
ada8de
- Support new sadump format that can represent more than 16 TB physical memory space
ada8de
  Resolves: rhbz#1182383
ada8de
ada8de
* Mon Jan 26 2015 Dave Anderson <anderson@redhat.com> - 7.0.9-4
ada8de
  Fix ppc64 "bt" command for active tasks in compressed kdumps.
ada8de
  Resolves: rhbz#1184401
ada8de
ada8de
* Mon Jan 12 2015 Dave Anderson <anderson@redhat.com> - 7.0.9-3
ada8de
  Fix "bt" command mislabeling errors.
ada8de
  Resolves: rhbz#1179476
ada8de
ada8de
* Mon Dec 08 2014 Dave Anderson <anderson@redhat.com> - 7.0.9-2
ada8de
- Use registers from QEMU-generated ELF and compressed kdump headers 
ada8de
  for active task backtraces.
ada8de
- Resolves: rhbz#1169555
ada8de
ada8de
* Fri Nov 14 2014 Dave Anderson <anderson@redhat.com> - 7.0.9-1
ada8de
- Rebase to upstream version 7.0.9.
ada8de
- Resolves: rhbz#1110513
ada8de
ada8de
* Tue Sep 23 2014 Dave Anderson <anderson@redhat.com> - 7.0.8-2
ada8de
- Fix ps performance patch regression on live systems.
ada8de
- Resolves: rhbz#1134177
ada8de
- Minor build-related fixes for ppc64le.
ada8de
- Resolves: rhbz#1123991
ada8de
ada8de
* Fri Sep 12 2014 Dave Anderson <anderson@redhat.com> - 7.0.8-1
ada8de
- Rebase to upstream version 7.0.8.
ada8de
- Resolves: rhbz#1110513
ada8de
- Fix to calculate the physical base address of dumpfiles created
ada8de
  by a "virsh dump" of an OVMF guest.
ada8de
- Resolves: rhbz#1080698
ada8de
- Support for aarch64 architecture.
ada8de
- Resolves: rhbz#1110551
ada8de
- Fix to prevent crash from spinning endlessly on a corrupted/truncated
ada8de
  dumpfile whose bitmap data is not wholly contained within the file.
ada8de
- Resolves: rhbz#1114088
ada8de
- Support for ppc64le architecture.
ada8de
- Resolves: rhbz#1123991
ada8de
ada8de
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 7.0.2-6
ada8de
- Mass rebuild 2014-01-24
ada8de
ada8de
* Fri Jan 24 2014 Dave Anderson <anderson@redhat.com> - 7.0.2-5
ada8de
- Fix for a missing kernel-mode exception frame dump by the x86_64 
ada8de
  "bt" command if a page fault was generated by a bogus RIP.
ada8de
- Resolves: rhbz#1057353
ada8de
- Fix for the x86_64 "bt" command to prevent an unwarranted message
ada8de
  indicating "WARNING: possibly bogus exception frame" generated
ada8de
  from a blocked kernel thread that was in the process of exec'ing
ada8de
  a user process via the call_usermodehelper() facility.
ada8de
- Resolves: rhbz#1057357
ada8de
ada8de
* Fri Jan 10 2014 Dave Anderson <anderson@redhat.com> - 7.0.2-4
ada8de
- Fixes for "kmem -S" command for CONFIG_SLUB.
ada8de
- Resolves: rhbz#1045591
ada8de
- Increase S390X NR_CPUS
ada8de
- Resolves: rhbz#1051156
ada8de
ada8de
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 7.0.2-3
ada8de
- Mass rebuild 2013-12-27
ada8de
ada8de
* Tue Oct 29 2013 Dave Anderson <anderson@redhat.com> - 7.0.2-2
ada8de
- Compressed kdump 46-bit physical memory support
ada8de
  Resolves: rhbz#1015250
ada8de
- Fix incorrect backtrace for dumps taken with "virsh dump --memory-only"
ada8de
  Resolves: rhbz#1020469
ada8de
- Fix cpu number display on systems with more than 254 cpus
ada8de
  Resolves: rhbz#1020536
ada8de
ada8de
* Wed Sep 04 2013 Dave Anderson <anderson@redhat.com> - 7.0.2-1
ada8de
- Update to latest upstream release
ada8de
- Fix for ppc64 embedded gdb NULL pointer translation sigsegv
ada8de
- Fix for bt -F failure
ada8de
ada8de
* Fri Jul 26 2013 Dave Anderson <anderson@redhat.com> - 7.0.1-4
ada8de
- Add lzo-devel and snappy-devel to crash-devel Requires line
ada8de
ada8de
* Tue Jul 23 2013 Dave Anderson <anderson@redhat.com> - 7.0.1-3
ada8de
- Build with snappy compression support
ada8de
ada8de
* Tue Jul  9 2013 Dave Anderson <anderson@redhat.com> - 7.0.1-2
ada8de
- Fix for ppc64 Linux 3.10 vmalloc/user-space virtual address translation
ada8de
ada8de
* Tue Jun 18 2013 Dave Anderson <anderson@redhat.com> - 7.0.1-1
ada8de
- Update to latest upstream release
ada8de
- Build with LZO support
ada8de
ada8de
* Tue Apr  9 2013 Dave Anderson <anderson@redhat.com> - 6.1.6-1
ada8de
- Update to latest upstream release
ada8de
ada8de
* Tue Feb 19 2013 Dave Anderson <anderson@redhat.com> - 6.1.4-1
ada8de
- Update to latest upstream release
ada8de
ada8de
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.2-2
ada8de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ada8de
ada8de
* Wed Jan  9 2013 Dave Anderson <anderson@redhat.com> - 6.1.2-1
ada8de
- Update to latest upstream release
ada8de
ada8de
* Tue Nov 27 2012 Dave Anderson <anderson@redhat.com> - 6.1.1-1
ada8de
- Update to latest upstream release
ada8de
ada8de
* Mon Sep  1 2012 Dave Anderson <anderson@redhat.com> - 6.1.0-1
ada8de
- Add ppc to ExclusiveArch list
ada8de
- Update to latest upstream release
ada8de
ada8de
* Tue Aug 21 2012 Dave Anderson <anderson@redhat.com> - 6.0.9-1
ada8de
- Update to latest upstream release
ada8de
ada8de
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.8-2
ada8de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ada8de
ada8de
* Mon Jul  1 2012 Dave Anderson <anderson@redhat.com> - 6.0.8-1
ada8de
- Update to latest upstream release.
ada8de
- Replace usage of "struct siginfo" with "siginfo_t".
ada8de
ada8de
* Mon Apr 30 2012 Dave Anderson <anderson@redhat.com> - 6.0.6-1
ada8de
- Update to latest upstream release
ada8de
ada8de
* Mon Mar 26 2012 Dave Anderson <anderson@redhat.com> - 6.0.5-1
ada8de
- Update to latest upstream release
ada8de
ada8de
* Wed Jan  4 2012 Dave Anderson <anderson@redhat.com> - 6.0.2-1
ada8de
- Update to latest upstream release
ada8de
ada8de
* Wed Oct 26 2011 Dave Anderson <anderson@redhat.com> - 6.0.0-1
ada8de
- Update to latest upstream release
ada8de
ada8de
* Tue Sep 20 2011 Dave Anderson <anderson@redhat.com> - 5.1.8-1
ada8de
- Update to latest upstream release
ada8de
- Additional fixes for gcc-4.6 -Werror compile failures for ARM architecture.
ada8de
ada8de
* Thu Sep  1 2011 Dave Anderson <anderson@redhat.com> - 5.1.7-2
ada8de
- Fixes for gcc-4.6 -Werror compile failures for ARM architecture.
ada8de
ada8de
* Wed Aug 17 2011 Dave Anderson <anderson@redhat.com> - 5.1.7-1
ada8de
- Update to latest upstream release
ada8de
- Fixes for gcc-4.6 -Werror compile failures for ppc64/ppc.
ada8de
ada8de
* Tue May 31 2011 Peter Robinson <pbrobinson@gmail.com> - 5.1.5-1
ada8de
- Update to latest upstream release
ada8de
- Add ARM to the Exclusive arch
ada8de
ada8de
* Wed Feb 25 2011 Dave Anderson <anderson@redhat.com> - 5.1.2-2
ada8de
- Fixes for gcc-4.6 -Werror compile failures in gdb module.  
ada8de
ada8de
* Wed Feb 23 2011 Dave Anderson <anderson@redhat.com> - 5.1.2-1
ada8de
- Upstream version.
ada8de
ada8de
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.6-3
ada8de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ada8de
ada8de
* Tue Jul 20 2010 Dave Anderson <anderson@redhat.com> - 5.0.6-2
ada8de
- Bump version.
ada8de
ada8de
* Tue Jul 20 2010 Dave Anderson <anderson@redhat.com> - 5.0.6-1
ada8de
- Update to upstream version.
ada8de
ada8de
* Fri Sep 11 2009 Dave Anderson <anderson@redhat.com> - 4.0.9-2
ada8de
  Bump version.
ada8de
ada8de
* Fri Sep 11 2009 Dave Anderson <anderson@redhat.com> - 4.0.9-1
ada8de
- Update to upstream release, which allows the removal of the 
ada8de
  Revision tag workaround, the crash-4.0-8.11-dwarf3.patch and 
ada8de
  the crash-4.0-8.11-optflags.patch
ada8de
ada8de
* Sun Aug 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 4.0.8.11-2
ada8de
- Fix reading of dwarf 3 DW_AT_data_member_location
ada8de
- Use proper compiler flags
ada8de
ada8de
* Wed Aug 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 4.0.8.11-1
ada8de
- Update to later upstream release
ada8de
- Fix abuse of Revision tag
ada8de
ada8de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ada8de
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-9.7.2
ada8de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ada8de
ada8de
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-8.7.2
ada8de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ada8de
ada8de
* Thu Feb 19 2009 Dave Anderson <anderson@redhat.com> - 4.0-7.7.2
ada8de
- Replace exclusive arch i386 with ix86.
ada8de
ada8de
* Thu Feb 19 2009 Dave Anderson <anderson@redhat.com> - 4.0-7.7.1
ada8de
- Updates to this file per crash merge review
ada8de
- Update to upstream version 4.0-7.7.  Full changelog viewable in:
ada8de
    http://people.redhat.com/anderson/crash.changelog.html
ada8de
ada8de
* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.0-7
ada8de
- fix license tag
ada8de
ada8de
* Tue Apr 29 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.3
ada8de
- Added crash-devel subpackage
ada8de
- Updated crash.patch to match upstream version 4.0-6.3
ada8de
ada8de
* Wed Feb 20 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.0.5
ada8de
- Second attempt at addressing the GCC 4.3 build, which failed due
ada8de
  to additional ptrace.h includes in the lkcd vmdump header files.
ada8de
ada8de
* Wed Feb 20 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.0.4
ada8de
- First attempt at addressing the GCC 4.3 build, which failed on x86_64
ada8de
  because ptrace-abi.h (included by ptrace.h) uses the "u32" typedef,
ada8de
  which relies on <asm/types.h>, and include/asm-x86_64/types.h
ada8de
  does not not typedef u32 as done in include/asm-x86/types.h.
ada8de
ada8de
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.0-6.0.3
ada8de
- Autorebuild for GCC 4.3
ada8de
ada8de
* Wed Jan 23 2008 Dave Anderson <anderson@redhat.com> - 4.0-5.0.3
ada8de
- Updated crash.patch to match upstream version 4.0-5.0.
ada8de
ada8de
* Wed Aug 29 2007 Dave Anderson <anderson@redhat.com> - 4.0-4.6.2
ada8de
- Updated crash.patch to match upstream version 4.0-4.6.
ada8de
ada8de
* Wed Sep 13 2006 Dave Anderson <anderson@redhat.com> - 4.0-3.3
ada8de
- Updated crash.patch to match upstream version 4.0-3.3.
ada8de
- Support for x86_64 relocatable kernels.  BZ #204557
ada8de
ada8de
* Mon Aug  7 2006 Dave Anderson <anderson@redhat.com> - 4.0-3.1
ada8de
- Updated crash.patch to match upstream version 4.0-3.1.
ada8de
- Added kdump reference to description.
ada8de
- Added s390 and s390x to ExclusiveArch list.  BZ #199125
ada8de
- Removed LKCD v1 pt_regs references for s390/s390x build.
ada8de
- Removed LKCD v2_v3 pt_regs references for for s390/s390x build.
ada8de
ada8de
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 4.0-3
ada8de
- rebuild
ada8de
ada8de
* Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.4
ada8de
- Updated crash.patch such that <asm/page.h> is not #include'd
ada8de
  by s390_dump.c; IBM did not make the file s390[s] only; BZ #192719
ada8de
ada8de
* Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.3
ada8de
- Updated crash.patch such that <asm/page.h> is not #include'd
ada8de
  by vas_crash.h; only ia64 build complained; BZ #191719
ada8de
ada8de
* Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.2
ada8de
- Updated crash.patch such that <asm/segment.h> is not #include'd
ada8de
  by lkcd_x86_trace.c; also for BZ #191719
ada8de
ada8de
* Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.1
ada8de
- Updated crash.patch to bring it up to 4.0-2.26, which should 
ada8de
  address BZ #191719 - "crash fails to build in mock"
ada8de
ada8de
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.0-2.18.1
ada8de
- rebuilt for new gcc4.1 snapshot and glibc changes
ada8de
ada8de
* Wed Jan 04 2006 Dave Anderson <anderson@redhat.com> 4.0-2.18
ada8de
- Updated source package to crash-4.0.tar.gz, and crash.patch
ada8de
  to bring it up to 4.0-2.18.
ada8de
ada8de
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
ada8de
- rebuilt
ada8de
ada8de
* Thu Mar 03 2005 Dave Anderson <anderson@redhat.com> 3.10-13
ada8de
- Compiler error- and warning-related fixes for gcc 4 build.
ada8de
- Update to enhance x86 and x86_64 gdb disassembly output so as to
ada8de
  symbolically display call targets from kernel module text without
ada8de
  requiring module debuginfo data.
ada8de
- Fix hole where an ia64 vmcore could be mistakenly accepted as a
ada8de
  usable dumpfile on an x86_64 machine, leading eventually to a
ada8de
  non-related error message.
ada8de
* Wed Mar 02 2005 Dave Anderson <anderson@redhat.com> 3.10-12
ada8de
- rebuild (gcc 4)
ada8de
* Thu Feb 10 2005 Dave Anderson <anderson@redhat.com> 3.10-9
ada8de
- Updated source package to crash-3.10.tar.gz, containing
ada8de
  IBM's final ppc64 processor support for RHEL4
ada8de
- Fixes potential "bt -a" hang on dumpfile where netdump IPI interrupted
ada8de
  an x86 process while executing the instructions just after it had entered
ada8de
  the kernel for a syscall, but before calling the handler.  BZ #139437
ada8de
- Update to handle backtraces in dumpfiles generated on IA64 with the
ada8de
  INIT switch (functionality intro'd in RHEL3-U5 kernel).  BZ #139429
ada8de
- Fix for handling ia64 and x86_64 machines booted with maxcpus=1 on
ada8de
  an SMP kernel.  BZ #139435
ada8de
- Update to handle backtraces in dumpfiles generated on x86_64 from the
ada8de
  NMI exception stack (functionality intro'd in RHEL3-U5 kernel).
ada8de
- "kmem -[sS]" beefed up to more accurately verify slab cache chains
ada8de
  and report errors found.
ada8de
- Fix for ia64 INIT switch-generated backtrace handling when
ada8de
  init_handler_platform() is inlined into ia64_init_handler();
ada8de
  properly handles both RHEL3 and RHEL4 kernel patches.
ada8de
  BZ #138350
ada8de
- Update to enhance ia64 gdb disassembly output so as to
ada8de
  symbolically display call targets from kernel module
ada8de
  text without requiring module debuginfo data.
ada8de
ada8de
* Wed Jul 14 2004 Dave Anderson <anderson@redhat.com> 3.8-5
ada8de
- bump release for fc3
ada8de
ada8de
* Tue Jul 13 2004 Dave Anderson <anderson@redhat.com> 3.8-4
ada8de
- Fix for gcc 3.4.x/gdb issue where vmlinux was mistakenly presumed non-debug 
ada8de
ada8de
* Fri Jun 25 2004 Dave Anderson <anderson@redhat.com> 3.8-3
ada8de
- remove (harmless) error message during ia64 diskdump invocation when
ada8de
  an SMP system gets booted with maxcpus=1
ada8de
- several 2.6 kernel specific updates
ada8de
ada8de
* Thu Jun 17 2004 Dave Anderson <anderson@redhat.com> 3.8-2
ada8de
- updated source package to crash-3.8.tar.gz 
ada8de
- diskdump support
ada8de
- x86_64 processor support 
ada8de
ada8de
* Mon Sep 22 2003 Dave Anderson <anderson@redhat.com> 3.7-5
ada8de
- make bt recovery code start fix-up only upon reaching first faulting frame
ada8de
ada8de
* Fri Sep 19 2003 Dave Anderson <anderson@redhat.com> 3.7-4
ada8de
- fix "bt -e" and bt recovery code to recognize new __KERNEL_CS and DS
ada8de
ada8de
* Wed Sep 10 2003 Dave Anderson <anderson@redhat.com> 3.7-3
ada8de
- patch to recognize per-cpu GDT changes that redefine __KERNEL_CS and DS
ada8de
ada8de
* Wed Sep 10 2003 Dave Anderson <anderson@redhat.com> 3.7-2
ada8de
- patches for netdump active_set determination and slab info gathering 
ada8de
ada8de
* Wed Aug 20 2003 Dave Anderson <anderson@redhat.com> 3.7-1
ada8de
- updated source package to crash-3.7.tar.gz
ada8de
ada8de
* Wed Jul 23 2003 Dave Anderson <anderson@redhat.com> 3.6-1
ada8de
- removed Packager, Distribution, and Vendor tags
ada8de
- updated source package to crash-3.6.tar.gz 
ada8de
ada8de
* Fri Jul 18 2003 Jay Fenlason <fenlason@redhat.com> 3.5-2
ada8de
- remove ppc from arch list, since it doesn't work with ppc64 kernels
ada8de
- remove alpha from the arch list since we don't build it any more
ada8de
ada8de
* Fri Jul 18 2003 Matt Wilson <msw@redhat.com> 3.5-1
ada8de
- use %%defattr(-,root,root)
ada8de
ada8de
* Tue Jul 15 2003 Jay Fenlason <fenlason@redhat.com>
ada8de
- Updated spec file as first step in turning this into a real RPM for taroon.
ada8de
- Wrote man page.