[7115] | 1 | # |
---|
| 2 | # crash core analysis suite |
---|
| 3 | # |
---|
| 4 | Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles |
---|
| 5 | Name: crash |
---|
| 6 | Version: 6.1.0 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
| 8 | License: GPLv3 |
---|
| 9 | Group: Development/Debuggers |
---|
| 10 | Source: http://people.redhat.com/anderson/crash-%{version}.tar.gz |
---|
| 11 | URL: http://people.redhat.com/anderson |
---|
| 12 | ExclusiveOS: Linux |
---|
| 13 | ExclusiveArch: %{ix86} ia64 x86_64 ppc64 s390 s390x %{arm} |
---|
| 14 | Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n) |
---|
| 15 | BuildRequires: ncurses-devel zlib-devel |
---|
| 16 | Requires: binutils |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | The core analysis suite is a self-contained tool that can be used to |
---|
| 20 | investigate either live systems, kernel core dumps created from the |
---|
| 21 | netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch |
---|
| 22 | offered by Mission Critical Linux, or the LKCD kernel patch. |
---|
| 23 | |
---|
| 24 | %package devel |
---|
| 25 | Requires: %{name} = %{version}, zlib-devel |
---|
| 26 | Summary: kernel crash analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles |
---|
| 27 | Group: Development/Debuggers |
---|
| 28 | |
---|
| 29 | %description devel |
---|
| 30 | The core analysis suite is a self-contained tool that can be used to |
---|
| 31 | investigate either live systems, kernel core dumps created from the |
---|
| 32 | netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch |
---|
| 33 | offered by Mission Critical Linux, or the LKCD kernel patch. |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -n %{name}-%{version} -q |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | rm -rf %{buildroot} |
---|
| 43 | mkdir -p %{buildroot}%{_bindir} |
---|
| 44 | make DESTDIR=%{buildroot} install |
---|
| 45 | mkdir -p %{buildroot}%{_mandir}/man8 |
---|
| 46 | cp -p crash.8 %{buildroot}%{_mandir}/man8/crash.8 |
---|
| 47 | mkdir -p %{buildroot}%{_includedir}/crash |
---|
| 48 | chmod 0644 defs.h |
---|
| 49 | cp -p defs.h %{buildroot}%{_includedir}/crash |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -rf %{buildroot} |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %{_bindir}/crash |
---|
| 57 | %{_mandir}/man8/crash.8* |
---|
| 58 | %doc README COPYING3 |
---|
| 59 | |
---|
| 60 | %files devel |
---|
| 61 | %defattr(-,root,root,-) |
---|
| 62 | %{_includedir}/* |
---|
| 63 | |
---|
| 64 | %changelog |
---|
| 65 | * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.1.0-1 |
---|
| 66 | - initial build for Vine Linux |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | * Tue Aug 21 2012 Dave Anderson <anderson@redhat.com> - 6.0.9-1 |
---|
| 71 | - Update to latest upstream release |
---|
| 72 | |
---|
| 73 | * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.8-2 |
---|
| 74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 75 | |
---|
| 76 | * Mon Jul 1 2012 Dave Anderson <anderson@redhat.com> - 6.0.8-1 |
---|
| 77 | - Update to latest upstream release. |
---|
| 78 | - Replace usage of "struct siginfo" with "siginfo_t". |
---|
| 79 | |
---|
| 80 | * Mon Apr 30 2012 Dave Anderson <anderson@redhat.com> - 6.0.6-1 |
---|
| 81 | - Update to latest upstream release |
---|
| 82 | |
---|
| 83 | * Mon Mar 26 2012 Dave Anderson <anderson@redhat.com> - 6.0.5-1 |
---|
| 84 | - Update to latest upstream release |
---|
| 85 | |
---|
| 86 | * Wed Jan 4 2012 Dave Anderson <anderson@redhat.com> - 6.0.2-1 |
---|
| 87 | - Update to latest upstream release |
---|
| 88 | |
---|
| 89 | * Wed Oct 26 2011 Dave Anderson <anderson@redhat.com> - 6.0.0-1 |
---|
| 90 | - Update to latest upstream release |
---|
| 91 | |
---|
| 92 | * Tue Sep 20 2011 Dave Anderson <anderson@redhat.com> - 5.1.8-1 |
---|
| 93 | - Update to latest upstream release |
---|
| 94 | - Additional fixes for gcc-4.6 -Werror compile failures for ARM architecture. |
---|
| 95 | |
---|
| 96 | * Thu Sep 1 2011 Dave Anderson <anderson@redhat.com> - 5.1.7-2 |
---|
| 97 | - Fixes for gcc-4.6 -Werror compile failures for ARM architecture. |
---|
| 98 | |
---|
| 99 | * Wed Aug 17 2011 Dave Anderson <anderson@redhat.com> - 5.1.7-1 |
---|
| 100 | - Update to latest upstream release |
---|
| 101 | - Fixes for gcc-4.6 -Werror compile failures for ppc64/ppc. |
---|
| 102 | |
---|
| 103 | * Tue May 31 2011 Peter Robinson <pbrobinson@gmail.com> - 5.1.5-1 |
---|
| 104 | - Update to latest upstream release |
---|
| 105 | - Add ARM to the Exclusive arch |
---|
| 106 | |
---|
| 107 | * Wed Feb 25 2011 Dave Anderson <anderson@redhat.com> - 5.1.2-2 |
---|
| 108 | - Fixes for gcc-4.6 -Werror compile failures in gdb module. |
---|
| 109 | |
---|
| 110 | * Wed Feb 23 2011 Dave Anderson <anderson@redhat.com> - 5.1.2-1 |
---|
| 111 | - Upstream version. |
---|
| 112 | |
---|
| 113 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.6-3 |
---|
| 114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 115 | |
---|
| 116 | * Tue Jul 20 2010 Dave Anderson <anderson@redhat.com> - 5.0.6-2 |
---|
| 117 | - Bump version. |
---|
| 118 | |
---|
| 119 | * Tue Jul 20 2010 Dave Anderson <anderson@redhat.com> - 5.0.6-1 |
---|
| 120 | - Update to upstream version. |
---|
| 121 | |
---|
| 122 | * Fri Sep 11 2009 Dave Anderson <anderson@redhat.com> - 4.0.9-2 |
---|
| 123 | Bump version. |
---|
| 124 | |
---|
| 125 | * Fri Sep 11 2009 Dave Anderson <anderson@redhat.com> - 4.0.9-1 |
---|
| 126 | - Update to upstream release, which allows the removal of the |
---|
| 127 | Revision tag workaround, the crash-4.0-8.11-dwarf3.patch and |
---|
| 128 | the crash-4.0-8.11-optflags.patch |
---|
| 129 | |
---|
| 130 | * Sun Aug 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 4.0.8.11-2 |
---|
| 131 | - Fix reading of dwarf 3 DW_AT_data_member_location |
---|
| 132 | - Use proper compiler flags |
---|
| 133 | |
---|
| 134 | * Wed Aug 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 4.0.8.11-1 |
---|
| 135 | - Update to later upstream release |
---|
| 136 | - Fix abuse of Revision tag |
---|
| 137 | |
---|
| 138 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 139 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-9.7.2 |
---|
| 140 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 141 | |
---|
| 142 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-8.7.2 |
---|
| 143 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 144 | |
---|
| 145 | * Thu Feb 19 2009 Dave Anderson <anderson@redhat.com> - 4.0-7.7.2 |
---|
| 146 | - Replace exclusive arch i386 with ix86. |
---|
| 147 | |
---|
| 148 | * Thu Feb 19 2009 Dave Anderson <anderson@redhat.com> - 4.0-7.7.1 |
---|
| 149 | - Updates to this file per crash merge review |
---|
| 150 | - Update to upstream version 4.0-7.7. Full changelog viewable in: |
---|
| 151 | http://people.redhat.com/anderson/crash.changelog.html |
---|
| 152 | |
---|
| 153 | * Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.0-7 |
---|
| 154 | - fix license tag |
---|
| 155 | |
---|
| 156 | * Tue Apr 29 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.3 |
---|
| 157 | - Added crash-devel subpackage |
---|
| 158 | - Updated crash.patch to match upstream version 4.0-6.3 |
---|
| 159 | |
---|
| 160 | * Wed Feb 20 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.0.5 |
---|
| 161 | - Second attempt at addressing the GCC 4.3 build, which failed due |
---|
| 162 | to additional ptrace.h includes in the lkcd vmdump header files. |
---|
| 163 | |
---|
| 164 | * Wed Feb 20 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.0.4 |
---|
| 165 | - First attempt at addressing the GCC 4.3 build, which failed on x86_64 |
---|
| 166 | because ptrace-abi.h (included by ptrace.h) uses the "u32" typedef, |
---|
| 167 | which relies on <asm/types.h>, and include/asm-x86_64/types.h |
---|
| 168 | does not not typedef u32 as done in include/asm-x86/types.h. |
---|
| 169 | |
---|
| 170 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.0-6.0.3 |
---|
| 171 | - Autorebuild for GCC 4.3 |
---|
| 172 | |
---|
| 173 | * Wed Jan 23 2008 Dave Anderson <anderson@redhat.com> - 4.0-5.0.3 |
---|
| 174 | - Updated crash.patch to match upstream version 4.0-5.0. |
---|
| 175 | |
---|
| 176 | * Wed Aug 29 2007 Dave Anderson <anderson@redhat.com> - 4.0-4.6.2 |
---|
| 177 | - Updated crash.patch to match upstream version 4.0-4.6. |
---|
| 178 | |
---|
| 179 | * Wed Sep 13 2006 Dave Anderson <anderson@redhat.com> - 4.0-3.3 |
---|
| 180 | - Updated crash.patch to match upstream version 4.0-3.3. |
---|
| 181 | - Support for x86_64 relocatable kernels. BZ #204557 |
---|
| 182 | |
---|
| 183 | * Mon Aug 7 2006 Dave Anderson <anderson@redhat.com> - 4.0-3.1 |
---|
| 184 | - Updated crash.patch to match upstream version 4.0-3.1. |
---|
| 185 | - Added kdump reference to description. |
---|
| 186 | - Added s390 and s390x to ExclusiveArch list. BZ #199125 |
---|
| 187 | - Removed LKCD v1 pt_regs references for s390/s390x build. |
---|
| 188 | - Removed LKCD v2_v3 pt_regs references for for s390/s390x build. |
---|
| 189 | |
---|
| 190 | * Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 4.0-3 |
---|
| 191 | - rebuild |
---|
| 192 | |
---|
| 193 | * Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.4 |
---|
| 194 | - Updated crash.patch such that <asm/page.h> is not #include'd |
---|
| 195 | by s390_dump.c; IBM did not make the file s390[s] only; BZ #192719 |
---|
| 196 | |
---|
| 197 | * Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.3 |
---|
| 198 | - Updated crash.patch such that <asm/page.h> is not #include'd |
---|
| 199 | by vas_crash.h; only ia64 build complained; BZ #191719 |
---|
| 200 | |
---|
| 201 | * Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.2 |
---|
| 202 | - Updated crash.patch such that <asm/segment.h> is not #include'd |
---|
| 203 | by lkcd_x86_trace.c; also for BZ #191719 |
---|
| 204 | |
---|
| 205 | * Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.1 |
---|
| 206 | - Updated crash.patch to bring it up to 4.0-2.26, which should |
---|
| 207 | address BZ #191719 - "crash fails to build in mock" |
---|
| 208 | |
---|
| 209 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.0-2.18.1 |
---|
| 210 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 211 | |
---|
| 212 | * Wed Jan 04 2006 Dave Anderson <anderson@redhat.com> 4.0-2.18 |
---|
| 213 | - Updated source package to crash-4.0.tar.gz, and crash.patch |
---|
| 214 | to bring it up to 4.0-2.18. |
---|
| 215 | |
---|
| 216 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 217 | - rebuilt |
---|
| 218 | |
---|
| 219 | * Thu Mar 03 2005 Dave Anderson <anderson@redhat.com> 3.10-13 |
---|
| 220 | - Compiler error- and warning-related fixes for gcc 4 build. |
---|
| 221 | - Update to enhance x86 and x86_64 gdb disassembly output so as to |
---|
| 222 | symbolically display call targets from kernel module text without |
---|
| 223 | requiring module debuginfo data. |
---|
| 224 | - Fix hole where an ia64 vmcore could be mistakenly accepted as a |
---|
| 225 | usable dumpfile on an x86_64 machine, leading eventually to a |
---|
| 226 | non-related error message. |
---|
| 227 | * Wed Mar 02 2005 Dave Anderson <anderson@redhat.com> 3.10-12 |
---|
| 228 | - rebuild (gcc 4) |
---|
| 229 | * Thu Feb 10 2005 Dave Anderson <anderson@redhat.com> 3.10-9 |
---|
| 230 | - Updated source package to crash-3.10.tar.gz, containing |
---|
| 231 | IBM's final ppc64 processor support for RHEL4 |
---|
| 232 | - Fixes potential "bt -a" hang on dumpfile where netdump IPI interrupted |
---|
| 233 | an x86 process while executing the instructions just after it had entered |
---|
| 234 | the kernel for a syscall, but before calling the handler. BZ #139437 |
---|
| 235 | - Update to handle backtraces in dumpfiles generated on IA64 with the |
---|
| 236 | INIT switch (functionality intro'd in RHEL3-U5 kernel). BZ #139429 |
---|
| 237 | - Fix for handling ia64 and x86_64 machines booted with maxcpus=1 on |
---|
| 238 | an SMP kernel. BZ #139435 |
---|
| 239 | - Update to handle backtraces in dumpfiles generated on x86_64 from the |
---|
| 240 | NMI exception stack (functionality intro'd in RHEL3-U5 kernel). |
---|
| 241 | - "kmem -[sS]" beefed up to more accurately verify slab cache chains |
---|
| 242 | and report errors found. |
---|
| 243 | - Fix for ia64 INIT switch-generated backtrace handling when |
---|
| 244 | init_handler_platform() is inlined into ia64_init_handler(); |
---|
| 245 | properly handles both RHEL3 and RHEL4 kernel patches. |
---|
| 246 | BZ #138350 |
---|
| 247 | - Update to enhance ia64 gdb disassembly output so as to |
---|
| 248 | symbolically display call targets from kernel module |
---|
| 249 | text without requiring module debuginfo data. |
---|
| 250 | |
---|
| 251 | * Wed Jul 14 2004 Dave Anderson <anderson@redhat.com> 3.8-5 |
---|
| 252 | - bump release for fc3 |
---|
| 253 | |
---|
| 254 | * Tue Jul 13 2004 Dave Anderson <anderson@redhat.com> 3.8-4 |
---|
| 255 | - Fix for gcc 3.4.x/gdb issue where vmlinux was mistakenly presumed non-debug |
---|
| 256 | |
---|
| 257 | * Fri Jun 25 2004 Dave Anderson <anderson@redhat.com> 3.8-3 |
---|
| 258 | - remove (harmless) error message during ia64 diskdump invocation when |
---|
| 259 | an SMP system gets booted with maxcpus=1 |
---|
| 260 | - several 2.6 kernel specific updates |
---|
| 261 | |
---|
| 262 | * Thu Jun 17 2004 Dave Anderson <anderson@redhat.com> 3.8-2 |
---|
| 263 | - updated source package to crash-3.8.tar.gz |
---|
| 264 | - diskdump support |
---|
| 265 | - x86_64 processor support |
---|
| 266 | |
---|
| 267 | * Mon Sep 22 2003 Dave Anderson <anderson@redhat.com> 3.7-5 |
---|
| 268 | - make bt recovery code start fix-up only upon reaching first faulting frame |
---|
| 269 | |
---|
| 270 | * Fri Sep 19 2003 Dave Anderson <anderson@redhat.com> 3.7-4 |
---|
| 271 | - fix "bt -e" and bt recovery code to recognize new __KERNEL_CS and DS |
---|
| 272 | |
---|
| 273 | * Wed Sep 10 2003 Dave Anderson <anderson@redhat.com> 3.7-3 |
---|
| 274 | - patch to recognize per-cpu GDT changes that redefine __KERNEL_CS and DS |
---|
| 275 | |
---|
| 276 | * Wed Sep 10 2003 Dave Anderson <anderson@redhat.com> 3.7-2 |
---|
| 277 | - patches for netdump active_set determination and slab info gathering |
---|
| 278 | |
---|
| 279 | * Wed Aug 20 2003 Dave Anderson <anderson@redhat.com> 3.7-1 |
---|
| 280 | - updated source package to crash-3.7.tar.gz |
---|
| 281 | |
---|
| 282 | * Wed Jul 23 2003 Dave Anderson <anderson@redhat.com> 3.6-1 |
---|
| 283 | - removed Packager, Distribution, and Vendor tags |
---|
| 284 | - updated source package to crash-3.6.tar.gz |
---|
| 285 | |
---|
| 286 | * Fri Jul 18 2003 Jay Fenlason <fenlason@redhat.com> 3.5-2 |
---|
| 287 | - remove ppc from arch list, since it doesn't work with ppc64 kernels |
---|
| 288 | - remove alpha from the arch list since we don't build it any more |
---|
| 289 | |
---|
| 290 | * Fri Jul 18 2003 Matt Wilson <msw@redhat.com> 3.5-1 |
---|
| 291 | - use %%defattr(-,root,root) |
---|
| 292 | |
---|
| 293 | * Tue Jul 15 2003 Jay Fenlason <fenlason@redhat.com> |
---|
| 294 | - Updated spec file as first step in turning this into a real RPM for taroon. |
---|
| 295 | - Wrote man page. |
---|