File crash.spec of Package crash

#
# spec file for package crash (Version 4.0.7.4)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           crash
%ifarch ppc
%define build_sial 0
%else
%define build_sial 1
%endif
Url:            http://people.redhat.com/anderson/
Summary:        Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles
Version:        4.0.7.4
Release:        8.<RELEASE7>
%define crash_version    %(echo %{version} | cut -d . -f 1-2)
%define crash_subversion %(echo %{version} | cut -d . -f 3-4)
%define whitepaper_version 2003
%define scripts_version  2008-02-08
License:        GPL v2 only; GPL v2 or later; LGPL v2.1 or later
Group:          Development/Tools/Debuggers
Source:         %{name}-%{crash_version}-%{crash_subversion}.tar.bz2
Source2:        crash_whitepaper-%{whitepaper_version}.tar.bz2
Source3:        README.SUSE
Source4:        sial-scripts-%{scripts_version}.tar.bz2
Source99:       rpmlintrc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch0:         %{name}-Makefile-ADD_CFLAGS
Patch1:         %{name}-make-emacs-default.diff
Patch2:         %{name}-sles9-quirk.patch
Patch3:         %{name}-search-also-in-lib-crash
Patch4:         %{name}-fixed-uninitialised
Patch5:         %{name}-sles9-time.patch
Patch6:         %{name}-compressed-kernel
Patch7:         %{name}-sial-fix-bitfield.diff
Patch8:         %{name}-fix-files-2.6.25-later.diff
Patch9:         %{name}-segmentation-fault-fix.diff
Patch10:        %{name}-ppc64-nr_cpus.diff
Patch11:        %{name}-struct-module-2.6.27.diff
Patch12:        %{name}-crosscrash-hint.diff
Patch13:        %{name}-4096-cpus-x86_64.diff
Patch14:        %{name}-xen-no-polling.diff
Patch15:        %{name}-xen-vm-2.6.27.diff
BuildRequires:  bison flex ncurses-devel zlib-devel
Requires:       /usr/bin/nm
ExcludeArch:    ppc

%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
netdump and diskdump packages from Red Hat Linux, the mcore kernel
patch offered by Mission Critical Linux, or the LKCD kernel patch.



Authors:
--------
    David Anderson <anderson@redhat.com>

%package doc
License:        GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Requires:       %{name} = %{version}
Summary:        Documentation for Crash
Group:          Development/Tools/Debuggers

%description doc
This subpackage contains the crash whitepaper from Dave Anderson.



Authors:
--------
    David Anderson <anderson@redhat.com>

%package devel
License:        LGPL v2.1 or later
Requires:       %{name} = %{version}
Summary:        Development files for crash
Group:          Development/Tools/Debuggers

%description devel
This files are required to build extensions for crash.

Crash is the core analysis suite that can be used to investigate either
live systems, kernel core dumps created from the netdump and diskdump
packages from Red Hat Linux, the mcore kernel patch offered by Mission
Critical Linux, or the LKCD kernel patch.



Authors:
--------
    David Anderson <anderson@redhat.com>

%if %build_sial

%package sial
License:        GPL v2 or later; LGPL v2.1 or later
Requires:       %{name} = %{version}
Summary:        SIAL extension for crash
Group:          Development/Tools/Debuggers

%description sial
This module is a prerequisite for the loading of SIAL scripts.

Upon loading the sial.so object file with extend, any SIAL scripts
located in the /usr/share/sial/crash or $HOME/.sial directories will be
loaded automatically.



Authors:
--------
    David Anderson <anderson@redhat.com>

%endif

%prep
%setup -q -n %{name}-%{crash_version}-%{crash_subversion} -a 2 -a 4
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
## SIAL patches
# cd sial-scripts-%{scripts_version}
## Patch here
# cd -
cp %{S:3} .

%build
#export CFLAGS="$RPM_OPT_FLAGS -fno-builtin-memset -fno-strict-aliasing"
make ADD_CFLAGS="$RPM_OPT_FLAGS -fno-builtin-memset -fno-strict-aliasing -fno-builtin-memset" \
        RPMPKG="`cat .rh_rpm_package`" %{?jobs:-j%jobs}
make ADD_CFLAGS="$RPM_OPT_FLAGS -fno-builtin-memset -fno-strict-aliasing -fno-builtin-memset" \
        extensions %{?jobs:-j%jobs}

%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_libdir}
make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}%{_mandir}/man8
install -m 0644 crash.8 %{buildroot}%{_mandir}/man8/crash.8 
# devel files
mkdir -p $RPM_BUILD_ROOT/%{_includedir}/crash
install -m 0644 defs.h $RPM_BUILD_ROOT/%{_includedir}/crash
# permissions
chmod 644 COPYING
# extensions
%if %build_sial
mkdir $RPM_BUILD_ROOT/%{_libdir}/crash
install -m 0644 extensions/sial.so $RPM_BUILD_ROOT/%{_libdir}/crash
# scripts
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/sial/crash
install -m 0644 sial-scripts-%{scripts_version}/*.c \
                $RPM_BUILD_ROOT/%{_datadir}/sial/crash
%endif

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/crash
%{_mandir}/man8/crash.8*
%doc README README.SUSE COPYING 

%files devel
%defattr(-,root,root)
%{_includedir}/*

%files doc
%defattr(-,root,root)
%doc crash_whitepaper/*
%if %build_sial

%files sial
%defattr(-,root,root)
%doc extensions/libsial/README
%{_libdir}/crash/sial.so
%{_datadir}/sial/crash
%dir %{_datadir}/sial
%dir %{_libdir}/crash
%endif

%changelog
* Fri Jan 23 2009 bwalle@suse.de
- Don't build on 32 bit PPC to prevent distribution of 32 bit
  PPC packages. Since kdump doesn't exist on ppc and crash-ppc
  cannot read ppc64 (ELF64) dumps, such a package doesn't have
  any practical benefit.
* Wed Nov 26 2008 bwalle@suse.de
- Fix Xen hypervisor mode (removal of struct domain::is_polling
  element in Xen).
- Fix opening of Xen Dom0 dumps (switch from end_pfn to max_pfn
  between 2.6.26 and 2.6.27).
* Wed Nov 12 2008 bwalle@suse.de
- Increase NR_CPUs on x86_64 to 4096 (FATE#304266).
* Tue Nov 11 2008 bwalle@suse.de
- Don't fail to start when no namelist (kernel) is specified on the
  command line and live debugging (/dev/mem) is used.
* Mon Nov 10 2008 bwalle@suse.de
- Advise the user to use 'crosscrash' if he tries to open dumps
  from different machines (FATE #302896).
* Thu Nov 06 2008 bwalle@suse.de
- Increase NR_CPUS to 1024 on ppc64.
- Implement size changes of struct module for kernel 2.6.27.
  to be able to open dumps with that kernel version at ppc64.
* Thu Nov 06 2008 bwalle@suse.de
- Fix segmentation fault while executing crash command without any
  parameter (bnc#441818).
* Sat Oct 25 2008 bwalle@suse.de
- Fix for the "files" command when run on 2.6.25 and later kernels,
  which either fails with an "invalid kernel virtual address" error
  of type "fill_dentry_cache", or shows nonsensical/garbage "ROOT"
  and "CWD" directory pathnames.
* Tue Oct 21 2008 bwalle@suse.de
- SIAL extension: bitfield handling fixup.
* Thu Oct 16 2008 bwalle@suse.de
- Require /usr/bin/nm.
* Tue Oct 14 2008 bwalle@suse.de
- update to crash 4.0-7.4
  o Fix for a build regression for non-xen architectures introduced
  in  version 4.0-7.3.
- Remove crash-non-xen-build.diff: Mainline.
* Sat Oct 11 2008 bwalle@suse.de
- Fix build on non-Xen architectures (s390/s390x and ppc64).
* Sat Oct 11 2008 bwalle@suse.de
- update to crash 4.0-7.3
  - Fix for nonsensical usage of the "set" command when running
  against the xen hypervisor binary.
  - Fix for "bt" command on x86 architectures when the backtrace
  starts on the hard IRQ stack.
  - Fix for "search -k" option on some ia64 hardware, depending
  upon the underlying physical memory layout.
  - Fixes for the "bt" command when running against the xen
  hypervisor binary.
  - The "foreach" command has been removed from the set of commands
  supported for usage with the xen hypervisor.
  - Fix for "irq -d" option when run on x86_64 xen kernels.
  - Avoid the symbolic translation of ia64 unity-mapped region 7
  kernel virtual addresses as they are displayed by the "bt -r"
  and "rd -[sS]"  commands.
  - Remove redundant storage of "swapper_pg_dir" symbol value
  during x86 initialization.
  - Recognize the removal of the "jiffies" variable when running
  against newer versions of the xen hypervisor by indicating
  "--:--:--" next to the UPTIME display.
  - Fix to determine whether an x86 or x86_64 xen hypervisor was
  built with PERCPU_SHIFT value of 12 or 13.
* Mon Oct 06 2008 bwalle@suse.de
- update to crash 4.0-7.2
  o Fix for initialization-time failure when running against 2.6.27
  x86_64 kernels, which indicate "crash: cannot resolve:
  end_pfn".
  o When an improper structure member offset or structure size is
  attempted, a partial crash backtrace is displayed in the
  ensuing error message.
  o Fix for LKCD kerntypes debuginfo files to use "node_states"
  when  "node_online_map" is not in use.
  o Implement support for s390/s390x CONFIG_SPARSEMEM kernels.
  o Fix for "kmem -[sS]" when running against 2.6.27 CONFIG_SLUB
  kernels, in which the kmem_cache.objects and .order members
  were replaced by  a kmem_cache_order_objects structure.
  o Increased the maximum number of SIAL commands from 100 to 200.
- Remove crash-config-sparse.diff: Mainline.
- Remove crash-config-sparse.diff: Mainline.
* Fri Sep 05 2008 bwalle@suse.de
- Update crash-config-sparse.diff to match new upstream patch
  version that will be included in next upstream release
  (bnc#412894).
* Mon Aug 25 2008 bwalle@suse.de
- call "/usr/bin/nm" without -D first, and if that fails, use "-D".
* Mon Aug 25 2008 bwalle@suse.de
- update "/usr/bin/nm -d" instead of "/usr/bin/nm" to display the
  backtrace because that works even if crash has been compiled
  without debug information (without -g)
* Tue Aug 19 2008 bwalle@suse.de
- update to crash 4.0-7.1
  o Fix to address RT kernel's renaming of the
  address_space.nrpages member to address_space.__nrpages
  o For crash utility debug backtraces displayed in error
  conditions, the usage of __builtin_return_address() has been
  replaced with the backtrace() function.
  o Fix for ia64 hypervisor backtraces when the entries in the cpu
  map are not contiguous.
  o Fix to make shell-escaped commands in a crash input file direct
  their output properly.
  o Fix to allow the usage of the "-i inputfile" command line
  option when operating from an init script.
  o Fix for the "kmem -P <address>" option, where <address> is an
  invalid physical address.
  o Fix for a potential endless cascade of SIGFPE exceptions during
  session initialization when a vmlinux and vmcore do not match,
  and a correct System.map or a non-debug vmlinux file is not
  supplied.
  o More gracefully handle a nonsensical "search -u <address>"
  command attempt on a kernel thread or any context with no user
  address space.
  o Reworked the "search" command for usage with the Xen
  Hypervisor.
  o Fix for initialization-time segmentation violation due to a
  module allocating and creating an exported symbol list outside
  of its own virtual address space, and then overwriting its own
  symbol list pointer.
  o Implementation of a "--minimal" command line option, which
  brings up a crash session that is restricted to the "log",
  "dis", "rd", "sym", "eval" and "exit" commands.
- drop crash-builtin-return-addr: mainline
- drop crash-rt-nrpages: mainline
- drop crash-minimal-debugging.diff: mainline
* Fri Aug 15 2008 bwalle@suse.de
- minimal debugging support for corrupted dumps (FATE#304994)
* Thu Aug 14 2008 bwalle@suse.de
- fix CONFIG_SPARSEMEM kernels on s390x (bnc#412894) [IBM patch]
* Wed May 14 2008 bwalle@suse.de
- print the correct kernel image name in case automatic
  decompression is used
* Wed May 14 2008 bwalle@suse.de
- use the patch that went upstream for the bnc#389907 fix below
  (http://article.gmane.org/gmane.linux.kernel.crash-dump.crash-utility/1148)
* Tue May 13 2008 bwalle@suse.de
- Fix "crash" crashes on SLERT crashdump when running "kmem -i"
  (bnc#389907)
  o Use backtrace() instead of __builtin_return_address()
  o Use address_space.__nrpages for RT kernel
* Wed Apr 30 2008 bwalle@suse.de
- update to crash 4.0-6.3
  o Support for Fedora FC9 kernels containing the
  linux-2.6.utrace.patch, which removes the task_struct.parent
  member.
  o Further scalability improvements to the "search -k" mechanisms.
  o Changed ppc64 manner of determining the number of cpus to first
  check the cpu_present_map
  o Fix/workaround for the ppc64 "bt" command on panic/active tasks
  when run against dumpfiles whose kernel had crashed with one or
  more cpus offline.
  o Added support for vtop translation of 1MB large pages available
  on new z10 (s390x) systems.
  o Prevent misleading init-time warning message for s390/s390x when
  verifying the vmlinux file with respect to the host machine type.
  o Minor documentation fix to crash.8 man page.
  o Support for running against an x86 xen-syms hypervisor binary
  based upon xen 3.1.2 or later.
  o Support for running against an x86_64 xen-syms hypervisor binary
  based upon xen 3.1.2 or later.
* Mon Mar 31 2008 bwalle@suse.de
- update to crash 4.0-6.2
  o Implemented a new "rd -S" option which, like the "-s" option.
  o Make the found address displayed by "kmem -[sS] <address>" be
  the address of the containing object if the <address> argument
  is offset from the beginning of the object.
  o Fix for "kmem -[sS] [address]" in 2.6.25 CONFIG_SLUB kernels.
  o Fix for "kmem -[sS] <slab-address>" in 2.6.25 CONFIG_SLUB
  kernels.
  o Fix for an initialization-time failure with Ubuntu kernels
  because of a mismatch between the /proc/version string and the
  linux_banner string.
  o Fix for the "net" command in 2.6.22 and later kernels.
  o For kernels configured with CONFIG_SLUB, "kmem -S" has been
  updated to properly differentiate whether a cache's "full"
  slabs are tracked but whose full list is empty, or whether the
  full slabs are not tracked at all.
  o Fix for the "vm" command when the crash session was invoked with
  the -s command line option.
  o Fix/workaround for the "search -k" command option on relocatable
  2.6-era ia64 machines configured with CONFIG_SPARSEMEM.
* Wed Mar 05 2008 bwalle@suse.de
- crash-compressed-kernel: implement support for compressed kernel
  images (vmlinux.gz, not bzImage of course)
* Fri Feb 29 2008 bwalle@suse.de
- update to crash 4.0-6.1
  o Support for 2.6.25 x86_64 kernels
  o Fix for "bt" command when running on a live 2.6.25 x86 kernel
  o Fix for the "timer" command in 2.6.25 kernels.
  o Cosmetic change to the x86 "bt" command to recognize the entry
  point name change from "sysenter_entry" to
  "ia32_sysenter_target".
* Fri Feb 22 2008 bwalle@suse.de
- update to crash 4.0-5.1
  o Update "ps -l" to use task_struct.sched_info.last_arrival value
  on 2.6.23 and later kernels that don't have a
  task_struct.last_ran member.
  o Fix for potential initialization-time failure when running
  against 2.4-era x86 netdump dumpfiles
  o Fix to make the unused do_radix_tree() function work as
  advertised.
- update to crash 4.0-5.0
  o Fix for a potential segmentation violation during crash session
  initialization
  o Fix for the "bt" command when run on xen x86 dom0 dumpfiles
  o Initial support for OpenVZ kernels.
* Fri Feb 08 2008 bwalle@suse.de
- updated SIAL scripts to 2008-02-08
  o fix problem on kernel-smp/x86_64 with ps.c
* Wed Feb 06 2008 bwalle@suse.de
- updated SIAL scripts to 2008-02-06
- delete crash-sial-fix-files-script: upstream
- delete crash-sial-ps-non-smp: upstream
- delete crash-sial-scripts-fix-taskt_t: upstream
* Sat Feb 02 2008 bwalle@suse.de
- fix wrong access to .counter on non-SMP kernels in ps.c SIAL
  sample script (bnc#355982)
* Sat Jan 26 2008 bwalle@suse.de
- don't typedef task_t for kernels below 2.6.18 (bnc#355982)
* Fri Jan 11 2008 bwalle@suse.de
- update to crash 4.0-4.13
  o improve error message when trying to open a dump of another
  architecture/endianess
  o update for "kmem -V" option
  o Implemented a new "kmem -z" option to display per-zone memory
  statistics
  o Fix for the RSS amounts displayed by the "ps" and "vm" commands
  on 2.6 kernels prior to 2.6.13.
  o Fix for the x86 "bt" command when running a version of crash
  built on a pre-2.6.20 host against a 2.6.20 or later dumpfile,
  or when running a version of crash build on a 2.6.20 or later
  host against a pre-2.6.20 dumpfile
  o Fix for FC8 xen x86 kernels (2.6.21-2952.fc8xen)
  o Set a default "phys_base" value for recent fully-virtualized
  relocatable x86_64 kernels whose text start address is not
  equal to the __START_KERNEL_map value.
  o Debug: implemented a new "--active" crash command line option
  o Debug: "help -n" formats and displays ASCII VMCOREINFO data
- removed crash-search-also-in-lib-crash (fixed mainline)
* Wed Jan 09 2008 bwalle@suse.de
- fix different initialisation of jiffies on SLES9 (352836)
* Fri Dec 21 2007 bwalle@suse.de
- improve error handling when target architecture doesn't match
  host architecture (345517)
* Sun Dec 16 2007 bwalle@suse.de
- split crash_whitepaper into crash-doc subpackage
* Wed Dec 12 2007 bwalle@suse.de
- update to crash 4.0-4.12
  o Fix "kmem -n" command to handle the 2.6.24 kernel changes
  o Fix for "kmem -p" on 2.6.24 x86_64 kernels that are configured
  with CONFIG_SPARSEMEM_VMEMMAP
  o Fix for "dev" command's character device name string output to
  recognize the change of the name structure member from a
  pointer to an embedded string.
  o Fix for the "kmem -[sS]" command to handle the 2.6.24 change
  to the CONFIG_SLUB kmem_cache structure
  o Fix for "kmem -[fF]" command to handle the 2.6.24 kernel change
  of the free_area struct
  o Fix for the "runq" command to handle the 2.6.24 kernel change
  to the CFS scheduler
* Thu Dec 06 2007 bwalle@suse.de
- update to crash 4.0-4.11
  o Fix for task-gathering to handle the 2.6.24 pid_namespace-
  related changes to the kernel pid_hash array.
  o Fix for "kmem -f <address>" and "kmem <address>" commands on
  x86 kernels, which may incorrectly indicate that the address is
  in the kernel's free page list.
  o Fix for x86 "bt" command for active tasks in Egenera dumpfiles
  based upon LKCD version 7.
  o Fix for a potential segmentation violation during crash session
  initialization if a task's kernel stack has been completely
  overrun
  o Fix for "kmem -S" error message if a slab object is found in
  both a per-cpu list and on a slab's global free list.
* Fri Nov 30 2007 bwalle@suse.de
- fixed file.c SIAL script for linux 2.6.22 and later
- removed spu.c from SIAL package since this was not a SIAL script
  but an extension module
* Mon Nov 26 2007 bwalle@suse.de
- update to crash 4.0-4.10
  o Fix a regression introduced in 4.0-4.9 that causes the
  "kmem -p" command to fail in SPARSEMEM kernels that that have
  the struct page.index member embedded in an anonymous union
* Wed Nov 21 2007 bwalle@suse.de
- dropped crash-lkcd-use-kernel-start-address.patch,
  crash-fixed-uninitialised-mainline, crash-fix-sial-warnings,
  crash-fix-echo-extension: merged mainline
- update to crash 4.0-4.9
  o Fix for the "kmem -p" command in kernels configured with
  CONFIG_SPARSEMEM
  o Fix for the "kmem -p" command output of MAPPING and INDEX
  values on kernels where the mapping and index members of the
  page structure are contained within anonymous unions.
  o Fix for the "mod" command to search for module object files in
  the /lib/modules/<release>/updates directory tree before
  looking in /lib/modules/<release>.
  o Fix for the "waitq" command for 2.6.15-era and later kernels
  o SIAL interpreter fix for an "operation on 'v1' may be
  undefined" warning
  o Fix for several unpredictable failure modes when attempting
  "crash -h [command] > outputfile" from a shell command line.
  o Addressed several compiler warnings
  o Fix for "kmem -p" on i386 CONFIG_SPARSEMEM kernels with greater
  than 4GB of memory
  o Fix to redirect SIAL script command output to pipes, files,
  etc., in the same manner as native crash commands.
  o Fix for ppc64 kernels with 64K pages whose PTE_RPN_SHIFT has
  changed from 32 to 30.
  o Fix for "kmem -s" if a slab cache whose name string cannot be
  read is encountered.
  o Fix for x86-64 SPARSEMEM kernels with CONFIG_NUMA off.
  o Fix to use the ia64 physical start address from the LKCD dump
  header instead of the default value.
  o For s390[x] kernels the page table allocation method will be
  changed such that instead of 3 levels, it will be now possible
  to allocate 4 levels.
  o Fix for LKCD dumpfile access failures that abort() the crash
  session after displaying an error message indicating a problem
  with physical memory zones in the dumpfile.
* Fri Nov 09 2007 bwalle@suse.de
- load extension modules also when the ".so" suffix is not provided
* Fri Nov 09 2007 bwalle@suse.de
- fix compile warnings in the echo (sample) extension
* Fri Nov 09 2007 bwalle@suse.de
- build all files with RPM_OPT_FLAGS
- fix compiler warnings
* Tue Oct 30 2007 bwalle@suse.de
- update to crash 4.0-4.8
  o support for kernels configured with CONFIG_SLUB
  o SIAL interpreter extension module has been updated to support
  the ia64, ppc64, s390 and s390x architectures.
  o Fixed a bug in the CONFIG_SPARSEMEM patch
  o Fixed the "mach" command in CONFIG_SLUB kernels
  o Fix for missing NODE header
  o Fix for the chronology of the contents of the kernel message
  buffer output by the "log" command.
  o Display a WARNING message if a PT_LOAD segment in an ELF-style
  dumpfile advertises a memory segment that would go beyond the
  end of the dumpfile.
- set maximum number of CPUs to 4096 to sync with upstream
  (dropping crash-ia64-increase-nr-cpu)
- crash-fetch-registers-from-lkcd.patch, crash-check-filesize,
  crash-sial-fix-ia64: dropped (now mainline)
* Tue Oct 30 2007 bwalle@suse.de
- crash-fix-other-lkcd-versions: fix for
  crash-fetch-registers-from-lkcd.patch for older LKCD versions
* Sat Oct 27 2007 bwalle@suse.de
- move sial.so to /usr/lib{,64} (because of shared library policy)
- add /usr/lib{,64} to the search path for the "extend" command
* Mon Oct 22 2007 bwalle@suse.de
- fix warnings in crash-lkcd-use-kernel-start-address.patch,
  crash-ia64-increase-nr-cpu, crash-fetch-registers-from-lkcd.patch
  (found by "make warn")
* Thu Oct 18 2007 bwalle@suse.de
- increase NR_CPUS to 16384 (BZ #334609, FATE #302671)
* Wed Sep 26 2007 bwalle@suse.de
- fix SIAL build on ia64
- build SIAL extension only on i386, x86_64 and ia64
* Tue Sep 25 2007 bwalle@suse.de
- update to crash 4.0-4.7
  o Incorporation of Luc Chouinard's SIAL interpreter
  o Removed hardwired-dependencies in the top-level and extensions
  subdirectory Makefiles for building extension modules
  o When a 32-bit x86 xenU guest is run on an x86_64 dom0 host, the
  new-style xen ELF format dumpfile contains an ELF header with
  an e_machine type of EM_X86_64 (instead of EM_386)
  o Enhanced the "kmem <address>" option
  o Fix for determining starting rip/rsp backtrace hooks for the
  panic task in x86_64 xen dom0 kdumps
  o Fix for ia64 LKCD dumpfiles
  o Fix for potential "mod -[sS]" failures
  o Fix to prevent dumpfile reads beyond EOF when reading new
  (optimized) xen ELF core xendumps.
  o Fix in x86_xen_kdump_p2m_create() when debug level was equal
  to or larger than 7
- added sial subpackage for the SIAL extension
* Tue Sep 25 2007 bwalle@suse.de
- crash-check-filesize: Added patch that checks the size of the
  vmcore file and prints a clear error message (#326558)
* Tue Sep 25 2007 bwalle@suse.de
- crash-fetch-registers-from-lkcd.patch: remove debugging output
* Mon Sep 03 2007 bwalle@suse.de
- fetch LKCD registers for ESP/EIP instead of guessing on the
  stack (#266841)
- crash-sles9-quirk.patch: rewrite based on the previous patch
* Thu Aug 30 2007 bwalle@suse.de
- don't use a macro for the version tag, instead get the major and
  minor version for the tarball from the version tag itself
* Mon Aug 27 2007 bwalle@suse.de
- update to crash 4.0-4.6
  o Implemented the "runq" command for 2.6.20 and later kernels
  that have replaced the O(1) scheduler with the CFS scheduler.
  o kerntypes support: added a new "-k" command line option that
  allows the usage of standard -g compiled LKCD Kerntypes files.
  o Update of "xencrash" support to properly handle dom0/hypervisor
  kdumps taken under xen version 3.1 in addition to those taken
  under xen 3.0.x.
* Fri Jul 27 2007 bwalle@suse.de
- update to crash 4.0-4.5
  o Addresses FC7/upstream x86 kernels that have been configured
  such that the vmlinux symbol values do not match their
  relocated values when loaded.
  o Fix for x86 2.6.22 kernel initialization-time failure
  indicating: "crash: invalid size request: 0  type:
  __per_cpu_offset"
  o Fix to recognize the 2.6.22 kernel's replacement of kmalloc
  slab subsystem
  o fix for the LKCD kerntypes support which addresses error during
  during initialization on 2.6.22 kernels: "WARNING: cannot
  determine pgdat list for this kernel/architecture".
* Sat Jul 21 2007 bwalle@suse.de
- update to crash-4.0-4.4
  o Fix for kernels in which the irq_desc_t typedef is not included
  in the vmlinux debuginfo data,
  o Implemented new "irq -u" option that displays only in-use IRQs
  o Prevent occasional 99%% cpu usage waiting for the built-in less
  o Implemented support for the use of "kerntypes" debuginfo files
  o Fixes, code improvement and cleanup for "crash -h [command]"
  o New CRASHPAGER environment variable to set the pager.
  o Updated crash(8) man page.
* Thu Jul 05 2007 bwalle@suse.de
- use the load address of the kernel from the LKCD header on
  IA64 instead of the default (#282475)
* Fri Jun 22 2007 bwalle@suse.de
- update to crash 4.0-4.3
  o Fix for "kmem -f" command on 2.6.17 and later
  CONFIG_DISCONTIGMEM kernels
  o Fix for segmentation violation when using the wrong vmlinux
  file command line argument on a live system on either the
  x86_64 or ia64 architectures.
  o For all 4 types of input-file processing If a command in the
  input file encounters a FATAL error, the remainder of the
  commands will be executed.
* Mon Jun 04 2007 bwalle@suse.de
- update to crash 4.0-4.2
  o Fix for support of 2.6.22 kernels
  o Fix to account for the number of pgdata nodes being less than
  the number of cpus.
  o Implemented support for ia64 dom0/HV kdump dumpfile support
  o Created a "--no_panic" command line option
  o Implmented a new "ps -r" option
  o Implement support for the registration of CLEANUP extension
  commands
  o Implemented a new symbol_value_module() primitive
- Split into main package and devel package. The devel package
  contains the defs.h file that is required to build extensions
  for crash.
* Fri Apr 27 2007 bwalle@suse.de
- update to crash 4.0-4.1
  o Implemented dependable backtraces for the x86_64 architecture.
  o Fix for s390 and s390x backtrace commands to recognize the kernel
  structure name change from "runqueue" to "rq".
  o Merged fourth round of "xencrash" patches
* Tue Apr 10 2007 bwalle@suse.de
- update to crash 4.0-3.22
  o support for 2.6.20 "__bug_table"
  o Fix for the x86 backtrace code to recognize the encoded
  filename and line number information
  o Added preparations for an upcoming version update to kdump's
  associated makedumpfile utility
  o Implemented "help -n" debug output function for compressed
  diskdump and compressed kdump dumpfiles.
  o improved output for "help -n" if dump_level exists
  o Support for xendumps of fully-virtualized x86_64 relocatable
  kernels.
  o Fix for 4.0-3.21 "BOOKE" ppc.c patch
* Thu Mar 29 2007 bwalle@suse.de
- added ncurses-devel to BuildRequires to provide termcap
- added zlib-devel to BuildRequires
* Mon Mar 19 2007 bwalle@suse.de
- update to crash 4.0-3.21
  o Introduced support for upstream xensource ELF format dumpfiles
  o "xencrash" fixes
  o Fix for "vtop" on x86 PAE kernels
  o Fix for "vm -p" or "vtop" on 2.6 x86 PAE kernels
  o Fix for "vm -p" on x86_64 kernels
  o In current 2.6 kernels, it is now possible to recognize ppc
  BOOKE processors
  o Fix for live system analysis of Ubuntu kernels
  o Fix for 2.6.21 kernels that fail during initialization with the
  message: "crash: invalid (optional) structure member offsets:
* Wed Feb 21 2007 bwalle@suse.de
- update to crash 4.0-3.19
  o merged third round of "xencrash" patches
  o verified support of live system analysis of ia64 xen kernels
  o added gdb's "shell" command to the prohibited gdb command list
  o fix for the x86 "bt" command for the 2.6.20 kernel
  o fix for the "mount" command for the 2.6.20 kernel
  o fix for the "files" command for the 2.6.20 kernel
  o fix for the "net -[sS]" command options for the 2.6.20 kernel
  o fix for the "vm" command for the 2.6.20 kernel
  o fix for the "swap" command for the 2.6.20 kernel
* Wed Feb 07 2007 bwalle@suse.de
- update to crash 4.0-3.19
  o Fix for support of paravirtual x86 xendumps under special
  circumstances
  o Fix for the "kmem -p [page-struct-address]" command construct
  o Added a new "struct -u" option
  o Added new "rd -f" and "struct -f" options
  o Cosmetic fix to prevent double-printing of "kmem -p" and
  "kmem -v" headers
* Fri Feb 02 2007 bwalle@suse.de
- update to crash 4.0-3.18
  o enhancement to the "mod" command to expand the number of
  section arguments to the internal "add-symbol-file"
  o speed up the initialization of crash sessions when running
  against multi-gigabyte xen kernels
  o Fix for a segmentation violation
  o Cosmetic fix to prepend newlines
  o Addressed several compiler warnings
  o Fix for the s390x "bt -f" command option
* Tue Jan 30 2007 bwalle@suse.de
- added documentation from webpage ("Crash Whitepaper")
- added README.SUSE
- disabled s390 patch because it's unnecessary (structure is
  exported by kernel headers)
* Tue Jan 30 2007 bwalle@suse.de
- make Emacs the default editing mode
* Wed Jan 17 2007 bwalle@suse.de
- fixed compile warnings that results in ERROR in autobuild
* Tue Jan 16 2007 bwalle@suse.de
- added RPM_OPT_FLAGS
- fixed some compile warnings
* Mon Jan 15 2007 bwalle@suse.de
- update to crash 4.0-3.17
  o fixes for "dev -p" command option
  o fix to recognize "linux_banner" symbol type change in
  2.6.20-rc2 kernels
  o fix to recognize "__per_cpu_start" and "__per_cpu_end" symbol
  in relocatable kernels
  o fix for the xencrash "dumpinfo -t" command
  o fix for x86_64 backtraces that may end prematurely
  o fix for a possible empty panic message in 2.6 kernels
- added patch that fixes the problem on IA64 that the CONFIG_NR_CPU
  must be the same in crash and in the kernel which created the dump
  when reading lkcd dump files (related to #208972)
* Fri Dec 22 2006 bwalle@suse.de
- update to crash 4.0-3.16
  o Recognize new XC_CORE_MAGIC_HVM xendump magic number
  o Recognize an INVALID_MFN marker in the indexed mfn list of a
  xendump
* Wed Dec 20 2006 bwalle@suse.de
- update to crash 4.0-3.15
  o Introduced support for xendumps
  o Additional support for the current kexec/kdump patch for Xen
  o Turn off the LKCD dumpfile-access
  o Update to MODULES_IN_CWD code segment
  o Support LKCD "map" files in lieu of standard System.map
  o The ia64 PR_UNALIGN_NOPRINT and PR_FPEMU_NOPRINT prctl commands
  have been moved earlier in time, in order to prevent "unaligned
  access" messages when accessing ELF header contents.
  o The dlopen() call used by the "extensions" facility has been
  changed to use the RTLD_GLOBAL flag
  messages when accessing ELF header contents.
  o The dlopen() call used by the "extensions" facility has been
  changed to use the RTLD_GLOBAL flag
* Fri Dec 08 2006 olh@suse.de
- update to crash 4.0-3.14
  handle pseudo task on ia64 after INIT or MCA
  handle per_cpu_* variables
  more x86_64 dwarf CFI changes
  recognizes memory holes in the sys command
  merge some xencrash changes
* Fri Nov 03 2006 olh@suse.de
- update to crash 4.0-3.9
  fix x86_64 irq stack handling
  fix ia64 DISCONTIGMEM handling
  more struct command updates
* Mon Oct 23 2006 olh@suse.de
- update to crash 4.0-3.8
  fix irq command for post 2.6.17 kernels
  optionally use dwarf unwind data on x86_64
  fix struct -o command when member is a function pointer
* Fri Oct 13 2006 olh@suse.de
- update to crash 4.0-3.7
  fix accessing user space stack addresses in ia64 kernels
  Implemented a new "sig -g" option
  allow the entry of multiple "list -s struct.member" arguments
* Mon Oct 02 2006 olh@suse.de
- update to crash 4.0-3.5
  new ps -e and ps -g command, timer command fix
* Tue Sep 19 2006 olh@suse.de
- update to crash 4.0-3.4
  support for x86_64 and ia64 compressed kdump dumpfiles
  fix "timer" command on 2.6.17 and later kernels
  more ia64 and sig command fixes
* Fri Sep 08 2006 olh@suse.de
- update to crash 4.0-3.3
  kmem and sig cmd updates
  support for relocatable x86_64 kernels
  many other fixes
* Fri Aug 18 2006 olh@suse.de
- update to crash 4.0-3.1
  4-level pagetable support for ia64
  new "--cpus " cmdline option
  read HZ and NR_CPUS from in-kernel CONFIG_IKCONFIG
* Thu Jul 20 2006 olh@suse.de
- update to crash 4.0-2.33
  handle runqueue struct change in 2.6.18
  (192053 - LTC25200;189227 - LTC24353)
* Thu Jun 01 2006 tiwai@suse.de
- Add a warning message when /proc/version doesn't match
  (#169708)
- Don't remove build-root at install
* Tue Apr 18 2006 mason@suse.de
- Update to crash 4.0-2.23
  Fix kmem -s (bug 159651)
  More xen support
* Mon Mar 27 2006 olh@suse.de
- Update to crash 4.0-2.22
  some xen support
* Wed Mar 22 2006 olh@suse.de
- update sparsemem patch for all archs
* Tue Mar 21 2006 olh@suse.de
- apply sparsemem patch only on ppc64 for the time being
* Mon Mar 20 2006 olh@suse.de
- add sparsemem support (149714 - LTC21350)
* Mon Mar 13 2006 olh@suse.de
- more ppc64, handle NR_CPUS mismatch
* Sun Mar 12 2006 olh@suse.de
- more ppc64, handle poisoned per_cpu data
* Wed Mar 01 2006 olh@suse.de
- more ppc64, but still not there
  build as non-root, build faster
* Wed Mar 01 2006 olh@suse.de
- some ppc64 updates (149714 - LTC21350)
* Sat Feb 11 2006 mason@suse.de
- Update to crash 4.0-2.20 (better fix for x86-64 cpu pda structs)
* Mon Jan 30 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 30 2006 mason@suse.de
- Update for new x86-64 cpu pda structs
* Mon Jan 16 2006 mason@suse.de
- Fix %%setup
* Mon Jan 16 2006 kukuk@suse.de
- Fix %%setup
* Mon Jan 09 2006 mason@suse.de
- fix build errors on s390
* Mon Jan 09 2006 mason@suse.de
- update va_server.c to build on ia64
openSUSE Build Service is sponsored by