2004-09-09 03:56:49 +00:00
|
|
|
#
|
|
|
|
# crash core analysis suite
|
|
|
|
#
|
2009-02-19 15:59:27 +00:00
|
|
|
Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles
|
2004-09-09 03:56:49 +00:00
|
|
|
Name: crash
|
2011-10-26 19:33:37 +00:00
|
|
|
Version: 6.0.0
|
2011-09-20 19:18:37 +00:00
|
|
|
Release: 1%{?dist}
|
2008-07-15 19:33:16 +00:00
|
|
|
License: GPLv2
|
2004-09-09 03:56:49 +00:00
|
|
|
Group: Development/Debuggers
|
2009-09-11 14:38:37 +00:00
|
|
|
Source: http://people.redhat.com/anderson/crash-%{version}.tar.gz
|
2006-05-15 20:09:33 +00:00
|
|
|
URL: http://people.redhat.com/anderson
|
2004-09-09 03:56:49 +00:00
|
|
|
ExclusiveOS: Linux
|
2011-05-31 13:02:11 +00:00
|
|
|
ExclusiveArch: %{ix86} ia64 x86_64 ppc64 s390 s390x %{arm}
|
2009-02-19 15:59:27 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
|
2004-09-09 03:56:49 +00:00
|
|
|
BuildRequires: ncurses-devel zlib-devel
|
2006-11-14 16:38:19 +00:00
|
|
|
Requires: binutils
|
2004-09-09 03:56:49 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The core analysis suite is a self-contained tool that can be used to
|
|
|
|
investigate either live systems, kernel core dumps created from the
|
2006-08-07 15:53:53 +00:00
|
|
|
netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch
|
2004-09-09 03:57:03 +00:00
|
|
|
offered by Mission Critical Linux, or the LKCD kernel patch.
|
2004-09-09 03:56:49 +00:00
|
|
|
|
2008-04-29 15:43:28 +00:00
|
|
|
%package devel
|
2009-02-19 15:59:27 +00:00
|
|
|
Requires: %{name} = %{version}, zlib-devel
|
|
|
|
Summary: kernel crash analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles
|
2008-04-29 15:43:28 +00:00
|
|
|
Group: Development/Debuggers
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The core analysis suite is a self-contained tool that can be used to
|
|
|
|
investigate either live systems, kernel core dumps created from the
|
|
|
|
netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch
|
|
|
|
offered by Mission Critical Linux, or the LKCD kernel patch.
|
|
|
|
|
2004-09-09 03:56:49 +00:00
|
|
|
%prep
|
2009-09-11 14:38:37 +00:00
|
|
|
%setup -n %{name}-%{version} -q
|
2004-09-09 03:56:49 +00:00
|
|
|
|
|
|
|
%build
|
2009-08-09 12:26:35 +00:00
|
|
|
make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}"
|
2004-09-09 03:56:49 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2009-02-19 15:59:27 +00:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
2004-09-09 03:56:49 +00:00
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man8
|
2009-02-19 15:59:27 +00:00
|
|
|
cp -p crash.8 %{buildroot}%{_mandir}/man8/crash.8
|
2008-04-29 15:43:28 +00:00
|
|
|
mkdir -p %{buildroot}%{_includedir}/crash
|
|
|
|
chmod 0644 defs.h
|
2009-02-19 15:59:27 +00:00
|
|
|
cp -p defs.h %{buildroot}%{_includedir}/crash
|
2004-09-09 03:56:49 +00:00
|
|
|
|
2006-01-04 19:34:13 +00:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2004-09-09 03:56:49 +00:00
|
|
|
%files
|
2009-02-19 15:59:27 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/crash
|
2004-09-09 03:56:49 +00:00
|
|
|
%{_mandir}/man8/crash.8*
|
2010-07-20 17:34:10 +00:00
|
|
|
%doc README COPYING3
|
2004-09-09 03:56:49 +00:00
|
|
|
|
2008-04-29 15:43:28 +00:00
|
|
|
%files devel
|
2009-02-19 15:59:27 +00:00
|
|
|
%defattr(-,root,root,-)
|
2008-04-29 15:43:28 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
|
2004-09-09 03:56:49 +00:00
|
|
|
%changelog
|
2011-10-26 19:33:37 +00:00
|
|
|
* Wed Oct 26 2011 Dave Anderson <anderson@redhat.com> - 6.0.0-1
|
|
|
|
- Update to latest upstream release
|
|
|
|
|
2011-09-20 19:18:37 +00:00
|
|
|
* Tue Sep 20 2011 Dave Anderson <anderson@redhat.com> - 5.1.8-1
|
|
|
|
- Update to latest upstream release
|
|
|
|
- Additional fixes for gcc-4.6 -Werror compile failures for ARM architecture.
|
|
|
|
|
2011-09-01 15:02:08 +00:00
|
|
|
* Thu Sep 1 2011 Dave Anderson <anderson@redhat.com> - 5.1.7-2
|
|
|
|
- Fixes for gcc-4.6 -Werror compile failures for ARM architecture.
|
|
|
|
|
2011-08-17 20:02:18 +00:00
|
|
|
* Wed Aug 17 2011 Dave Anderson <anderson@redhat.com> - 5.1.7-1
|
|
|
|
- Update to latest upstream release
|
|
|
|
- Fixes for gcc-4.6 -Werror compile failures for ppc64/ppc.
|
|
|
|
|
2011-05-31 13:02:11 +00:00
|
|
|
* Tue May 31 2011 Peter Robinson <pbrobinson@gmail.com> - 5.1.5-1
|
|
|
|
- Update to latest upstream release
|
|
|
|
- Add ARM to the Exclusive arch
|
|
|
|
|
2011-02-25 16:04:01 +00:00
|
|
|
* Wed Feb 25 2011 Dave Anderson <anderson@redhat.com> - 5.1.2-2
|
|
|
|
- Fixes for gcc-4.6 -Werror compile failures in gdb module.
|
|
|
|
|
2011-02-23 21:01:25 +00:00
|
|
|
* Wed Feb 23 2011 Dave Anderson <anderson@redhat.com> - 5.1.2-1
|
|
|
|
- Upstream version.
|
|
|
|
|
2011-02-08 11:49:08 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-07-20 17:35:51 +00:00
|
|
|
* Tue Jul 20 2010 Dave Anderson <anderson@redhat.com> - 5.0.6-2
|
|
|
|
- Bump version.
|
|
|
|
|
2010-07-20 15:57:56 +00:00
|
|
|
* Tue Jul 20 2010 Dave Anderson <anderson@redhat.com> - 5.0.6-1
|
|
|
|
- Update to upstream version.
|
|
|
|
|
2009-09-11 14:51:14 +00:00
|
|
|
* Fri Sep 11 2009 Dave Anderson <anderson@redhat.com> - 4.0.9-2
|
|
|
|
Bump version.
|
|
|
|
|
2009-09-11 14:38:37 +00:00
|
|
|
* Fri Sep 11 2009 Dave Anderson <anderson@redhat.com> - 4.0.9-1
|
|
|
|
- Update to upstream release, which allows the removal of the
|
|
|
|
Revision tag workaround, the crash-4.0-8.11-dwarf3.patch and
|
|
|
|
the crash-4.0-8.11-optflags.patch
|
|
|
|
|
2009-08-09 12:26:35 +00:00
|
|
|
* Sun Aug 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 4.0.8.11-2
|
|
|
|
- Fix reading of dwarf 3 DW_AT_data_member_location
|
|
|
|
- Use proper compiler flags
|
|
|
|
|
2009-08-04 22:54:50 +00:00
|
|
|
* Wed Aug 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 4.0.8.11-1
|
|
|
|
- Update to later upstream release
|
|
|
|
- Fix abuse of Revision tag
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
2009-07-24 19:37:52 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-9.7.2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-24 09:38:05 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-8.7.2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-19 16:36:37 +00:00
|
|
|
* Thu Feb 19 2009 Dave Anderson <anderson@redhat.com> - 4.0-7.7.2
|
|
|
|
- Replace exclusive arch i386 with ix86.
|
|
|
|
|
2009-02-19 15:59:27 +00:00
|
|
|
* Thu Feb 19 2009 Dave Anderson <anderson@redhat.com> - 4.0-7.7.1
|
|
|
|
- Updates to this file per crash merge review
|
|
|
|
- Update to upstream version 4.0-7.7. Full changelog viewable in:
|
|
|
|
http://people.redhat.com/anderson/crash.changelog.html
|
|
|
|
|
2008-07-15 19:33:16 +00:00
|
|
|
* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.0-7
|
|
|
|
- fix license tag
|
|
|
|
|
|
|
|
* Tue Apr 29 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.3
|
2008-04-29 17:57:33 +00:00
|
|
|
- Added crash-devel subpackage
|
|
|
|
- Updated crash.patch to match upstream version 4.0-6.3
|
|
|
|
|
2008-02-19 21:22:10 +00:00
|
|
|
* Wed Feb 20 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.0.5
|
|
|
|
- Second attempt at addressing the GCC 4.3 build, which failed due
|
|
|
|
to additional ptrace.h includes in the lkcd vmdump header files.
|
|
|
|
|
2008-02-19 20:53:21 +00:00
|
|
|
* Wed Feb 20 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.0.4
|
|
|
|
- First attempt at addressing the GCC 4.3 build, which failed on x86_64
|
|
|
|
because ptrace-abi.h (included by ptrace.h) uses the "u32" typedef,
|
|
|
|
which relies on <asm/types.h>, and include/asm-x86_64/types.h
|
|
|
|
does not not typedef u32 as done in include/asm-x86/types.h.
|
|
|
|
|
2008-02-18 23:03:31 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.0-6.0.3
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-23 20:55:42 +00:00
|
|
|
* Wed Jan 23 2008 Dave Anderson <anderson@redhat.com> - 4.0-5.0.3
|
|
|
|
- Updated crash.patch to match upstream version 4.0-5.0.
|
|
|
|
|
2007-08-29 19:10:12 +00:00
|
|
|
* Wed Aug 29 2007 Dave Anderson <anderson@redhat.com> - 4.0-4.6.2
|
|
|
|
- Updated crash.patch to match upstream version 4.0-4.6.
|
|
|
|
|
2006-09-13 15:16:50 +00:00
|
|
|
* Wed Sep 13 2006 Dave Anderson <anderson@redhat.com> - 4.0-3.3
|
|
|
|
- Updated crash.patch to match upstream version 4.0-3.3.
|
|
|
|
- Support for x86_64 relocatable kernels. BZ #204557
|
|
|
|
|
2006-08-07 15:53:53 +00:00
|
|
|
* Mon Aug 7 2006 Dave Anderson <anderson@redhat.com> - 4.0-3.1
|
|
|
|
- Updated crash.patch to match upstream version 4.0-3.1.
|
|
|
|
- Added kdump reference to description.
|
|
|
|
- Added s390 and s390x to ExclusiveArch list. BZ #199125
|
2006-08-07 17:53:01 +00:00
|
|
|
- Removed LKCD v1 pt_regs references for s390/s390x build.
|
2006-08-07 19:00:29 +00:00
|
|
|
- Removed LKCD v2_v3 pt_regs references for for s390/s390x build.
|
2006-08-07 15:53:53 +00:00
|
|
|
|
2006-07-15 04:38:46 +00:00
|
|
|
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 4.0-3
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-15 21:24:48 +00:00
|
|
|
* Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.4
|
|
|
|
- Updated crash.patch such that <asm/page.h> is not #include'd
|
|
|
|
by s390_dump.c; IBM did not make the file s390[s] only; BZ #192719
|
|
|
|
|
2006-05-15 20:54:08 +00:00
|
|
|
* Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.3
|
|
|
|
- Updated crash.patch such that <asm/page.h> is not #include'd
|
|
|
|
by vas_crash.h; only ia64 build complained; BZ #191719
|
|
|
|
|
2006-05-15 20:33:11 +00:00
|
|
|
* Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.2
|
|
|
|
- Updated crash.patch such that <asm/segment.h> is not #include'd
|
|
|
|
by lkcd_x86_trace.c; also for BZ #191719
|
|
|
|
|
2006-05-15 20:09:33 +00:00
|
|
|
* Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.1
|
|
|
|
- Updated crash.patch to bring it up to 4.0-2.26, which should
|
|
|
|
address BZ #191719 - "crash fails to build in mock"
|
|
|
|
|
2006-02-07 11:18:14 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.0-2.18.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-04 19:34:13 +00:00
|
|
|
* Wed Jan 04 2006 Dave Anderson <anderson@redhat.com> 4.0-2.18
|
|
|
|
- Updated source package to crash-4.0.tar.gz, and crash.patch
|
|
|
|
to bring it up to 4.0-2.18.
|
|
|
|
|
2005-12-09 22:40:06 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-03 17:01:59 +00:00
|
|
|
* Thu Mar 03 2005 Dave Anderson <anderson@redhat.com> 3.10-13
|
|
|
|
- Compiler error- and warning-related fixes for gcc 4 build.
|
|
|
|
- Update to enhance x86 and x86_64 gdb disassembly output so as to
|
|
|
|
symbolically display call targets from kernel module text without
|
|
|
|
requiring module debuginfo data.
|
|
|
|
- Fix hole where an ia64 vmcore could be mistakenly accepted as a
|
|
|
|
usable dumpfile on an x86_64 machine, leading eventually to a
|
|
|
|
non-related error message.
|
2005-03-02 14:56:53 +00:00
|
|
|
* Wed Mar 02 2005 Dave Anderson <anderson@redhat.com> 3.10-12
|
|
|
|
- rebuild (gcc 4)
|
2005-02-10 18:39:42 +00:00
|
|
|
* Thu Feb 10 2005 Dave Anderson <anderson@redhat.com> 3.10-9
|
|
|
|
- Updated source package to crash-3.10.tar.gz, containing
|
|
|
|
IBM's final ppc64 processor support for RHEL4
|
|
|
|
- Fixes potential "bt -a" hang on dumpfile where netdump IPI interrupted
|
|
|
|
an x86 process while executing the instructions just after it had entered
|
|
|
|
the kernel for a syscall, but before calling the handler. BZ #139437
|
|
|
|
- Update to handle backtraces in dumpfiles generated on IA64 with the
|
|
|
|
INIT switch (functionality intro'd in RHEL3-U5 kernel). BZ #139429
|
|
|
|
- Fix for handling ia64 and x86_64 machines booted with maxcpus=1 on
|
|
|
|
an SMP kernel. BZ #139435
|
|
|
|
- Update to handle backtraces in dumpfiles generated on x86_64 from the
|
|
|
|
NMI exception stack (functionality intro'd in RHEL3-U5 kernel).
|
|
|
|
- "kmem -[sS]" beefed up to more accurately verify slab cache chains
|
|
|
|
and report errors found.
|
|
|
|
- Fix for ia64 INIT switch-generated backtrace handling when
|
|
|
|
init_handler_platform() is inlined into ia64_init_handler();
|
|
|
|
properly handles both RHEL3 and RHEL4 kernel patches.
|
|
|
|
BZ #138350
|
|
|
|
- Update to enhance ia64 gdb disassembly output so as to
|
|
|
|
symbolically display call targets from kernel module
|
|
|
|
text without requiring module debuginfo data.
|
|
|
|
|
2004-09-09 03:58:15 +00:00
|
|
|
* Wed Jul 14 2004 Dave Anderson <anderson@redhat.com> 3.8-5
|
|
|
|
- bump release for fc3
|
|
|
|
|
|
|
|
* Tue Jul 13 2004 Dave Anderson <anderson@redhat.com> 3.8-4
|
|
|
|
- Fix for gcc 3.4.x/gdb issue where vmlinux was mistakenly presumed non-debug
|
|
|
|
|
2004-09-09 03:57:09 +00:00
|
|
|
* Fri Jun 25 2004 Dave Anderson <anderson@redhat.com> 3.8-3
|
|
|
|
- remove (harmless) error message during ia64 diskdump invocation when
|
|
|
|
an SMP system gets booted with maxcpus=1
|
|
|
|
- several 2.6 kernel specific updates
|
|
|
|
|
2004-09-09 03:57:03 +00:00
|
|
|
* Thu Jun 17 2004 Dave Anderson <anderson@redhat.com> 3.8-2
|
|
|
|
- updated source package to crash-3.8.tar.gz
|
|
|
|
- diskdump support
|
|
|
|
- x86_64 processor support
|
|
|
|
|
2004-09-09 03:56:49 +00:00
|
|
|
* Mon Sep 22 2003 Dave Anderson <anderson@redhat.com> 3.7-5
|
|
|
|
- make bt recovery code start fix-up only upon reaching first faulting frame
|
|
|
|
|
|
|
|
* Fri Sep 19 2003 Dave Anderson <anderson@redhat.com> 3.7-4
|
|
|
|
- fix "bt -e" and bt recovery code to recognize new __KERNEL_CS and DS
|
|
|
|
|
|
|
|
* Wed Sep 10 2003 Dave Anderson <anderson@redhat.com> 3.7-3
|
|
|
|
- patch to recognize per-cpu GDT changes that redefine __KERNEL_CS and DS
|
|
|
|
|
|
|
|
* Wed Sep 10 2003 Dave Anderson <anderson@redhat.com> 3.7-2
|
|
|
|
- patches for netdump active_set determination and slab info gathering
|
|
|
|
|
|
|
|
* Wed Aug 20 2003 Dave Anderson <anderson@redhat.com> 3.7-1
|
|
|
|
- updated source package to crash-3.7.tar.gz
|
|
|
|
|
|
|
|
* Wed Jul 23 2003 Dave Anderson <anderson@redhat.com> 3.6-1
|
|
|
|
- removed Packager, Distribution, and Vendor tags
|
|
|
|
- updated source package to crash-3.6.tar.gz
|
|
|
|
|
|
|
|
* Fri Jul 18 2003 Jay Fenlason <fenlason@redhat.com> 3.5-2
|
|
|
|
- remove ppc from arch list, since it doesn't work with ppc64 kernels
|
|
|
|
- remove alpha from the arch list since we don't build it any more
|
|
|
|
|
|
|
|
* Fri Jul 18 2003 Matt Wilson <msw@redhat.com> 3.5-1
|
|
|
|
- use %%defattr(-,root,root)
|
|
|
|
|
|
|
|
* Tue Jul 15 2003 Jay Fenlason <fenlason@redhat.com>
|
|
|
|
- Updated spec file as first step in turning this into a real RPM for taroon.
|
|
|
|
- Wrote man page.
|