Revisions of crash
Petr Tesařík (ptesarik)
committed
(revision 135)
Petr Tesařík (ptesarik)
committed
(revision 134)
- Update to 4.1.0 o Fix "extend" regression on s390x and x86, introduced in crash 4.0.9 with the "-x" option o Cleanup top-level source files to address compiler warnings generated by the CFLAGS used in the Fedora build environment o Fix "pte" on s390 and s390x if the pte value argument evaluates as not present o Allow command redirection to pipes or files when using gdb commands alone on the command line without preceding it with "gdb" o Fix the processing of bit fields on big endian systems in the SIAL extension module o Fix "dis -l" to properly display line-number information for 2.6.21 and later x86_64 kernel module text addresses o Prevent querying the embedded gdb module for line numbers of kernel module text addresses if the module's debuginfo data has not been loaded o New option "ps -G" to restrict the process status output to the thread group leader of a thread group o Several fixes for the "repeat" command when used in conjunction with an input file. Without the patch: - Depending upon the command executed from the input file, a SIGINT would kill the command currently being executed from the input file, but the "repeat" command would then restart it. - If a command in the input file redirected its output to a pipe, the repeat operation could stop prematurely after executing that particular command. - If a command in the input file redirected its output to a pipe, the zombies of the command being piped to would not be cleaned up until the repeat command was stopped. - If the last command in the input file redirected its output to a pipe, all subsequent executions of the input file would only display the output of that last command. o New extension: "trace.so" o Fix for a potential failure to initialize the kmem slab cache subsystem on 2.6.22 and later CONFIG_SLAB kernels if the dumpfile has pages excluded by the makedumpfile facility o Fix a potential session initialization failure on x86_64 kernels if the dumpfile has pages excluded by the makedumpfile facility o Fix "kmem -z" on 2.6.29 and later kernels o Fix "irq" on 2.6.29 and later CONFIG_SPARSE_IRQ kernels o Fix "kmem -i" on 2.6.31 kernels o Fix "kmem -i" on x86_64 running 2.6.26 through 2.6.30 o Fix "kmem -p" on older 64-bit kernels that have a 32-bit page.flags field o Fix "kmem -i" on older kernels whose unreferenced page.count value was -1 (instead of 0) o Change the cursor location when cycling through the command history in "vi" editing mode (the default)
Petr Tesařík (ptesarik)
committed
(revision 133)
- Update to 4.0.9 o New mainline versioning o Wholesale replacement of the x86/x86_64 disassembly code in the embedded gdb-6.1 module to that used in gdb-6.8 to correctly decode the 5-byte NOP used by the function tracer o Fix compressed diskdump/kdump vmcores to properly handle page descriptor structures that are located beyond a 4GB file offset in the vmcore file o Fix the "sym <address>" command option when the address references a symbol in the vsyscall FIXMAP virtual address page in certain x86_64 kernel versions o Multiple fixes for the "bt" command on x86_64: - properly recognize vsyscall FIXMAP virtual addresses when encountered as the RIP in an exception frame. - always use the NMI exception stack when available, not the per-cpu IRQ stack of an active non-crashing task - correctly determine the frame just above an IRQ interrupt exception frame, or above an exception frame that gets handled on the process stack, such as a page fault - correctly calculate the frame size to differentiate between text return addresses and the precise text RIP address of an exception o Fix usage of a System.map file argument with 2.6.30 and later kernels to avoid "crash: symbol count overflow (trace_kmalloc)" messages o Fix usage of a System.map file argument whose symbol list does not contain an "_end" symbol. o Fix "kmem -p <address>" or "kmem <address>" when <address> is not a page structure address to avoid the annoying "kmem: WARNING: sparsemem: invalid section number: 8192" messages o Fix the snap.so extension module when run on pre-2.6.31 x86_64 kernels with more than 4GB of physical memory o Fix build of the snap.so extension module on older systems running with "make" versions 3.80 or earlier o Fix build of the sial.so extension module if /usr/bin/bison and /usr/bin/flex do not exist on the host build system o Fix for the "rd" and "vtop" commands on RHEL4 x86_64 Xen paravirtual kernels in the reading or translation of vmalloc addresses that are not in kernel module vmalloc address space o New command line option "-x" to automatically load extension modules
Petr Tesařík (ptesarik)
committed
(revision 132)
- Update to 4.0-8.12 o Support for the KVM "save-vm" file format o Support for 2.6.30 and later x86 CONFIG_4KSTACKS kernels, where hardirq_ctx[] and softirq_ctx[] arrays were changed to per-cpu o Replace the CFLAGS definition in the Makefile with a CRASH_CFLAGS definition, which in turn contains ${CFLAGS} to allow user-defined CFLAGS on the "make" command line o Bail out with a "not a supported file format" error immediately when trying to open x86 vmlinux file on an x86_64 host o Fix the "bt" command on x86 Xen hypervisor dumpfiles where a vcpu received a shutdown NMI while running in an interrupt handler o Correct cpu accounting when processors have been taken offline using a new get_highest_cpu_online() utility function o Fix a segmentation violation when running against kernels built with Fedora gcc version 4.4.0-12 and later, which introduced a more compact Dwarf 3 DW_AT_data_member location o Clean up gdb header files that generate warning messages when compiling the top-level cmdline.c file with "make warn" or "make Warn" - Delete crash-4096-cpus-x86_64.diff: Mainline.
Petr Tesařík (ptesarik)
committed
(revision 131)
update to 4.0-8.11
Petr Tesařík (ptesarik)
committed
(revision 130)
- Update to 4.0-8.9 o NEW: Add option "bt -g" to display the backtraces of all threads in a thread group o NEW: Support for kdump "split-dumpfile" format produced by "makedumpfile --split" o Fix for "kmem -i", "kmem -n" and "kmem -p" on x86_64 CONFIG_SPARSEMEM and CONFIG_SPARSEMEM_EXTREME kernels that have MAX_PHYSMEM_BITS increased from 40 to 44 o Allow multiple "--machdep option=value" command-line options o Produce a warning if "bt" is attempted on active, non-crashing, xen dom0 tasks using kdump dumpfiles o Fix for potentially empty "bt -t" output, and for "bt -T" potentially dumping the text return addresses in the hard or soft IRQ stacks instead of the process stack --This line, and those below, will be ignored-- D crash-4.0-8.8.tar.bz2 A crash-4.0-8.9.tar.bz2 M crash.changes M crash.spec Diff for working copy: . Index: crash.changes =================================================================== --- crash.changes (revision 129) +++ crash.changes (working copy) @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Mon Apr 27 15:35:31 CEST 2009 - ptesarik@suse.cz + +- Update to 4.0-8.9 + o NEW: Add option "bt -g" to display the backtraces of all + threads in a thread group + o NEW: Support for kdump "split-dumpfile" format produced by + "makedumpfile --split" + o Fix for "kmem -i", "kmem -n" and "kmem -p" on x86_64 + CONFIG_SPARSEMEM and CONFIG_SPARSEMEM_EXTREME kernels that have + MAX_PHYSMEM_BITS increased from 40 to 44 + o Allow multiple "--machdep option=value" command-line options + o Produce a warning if "bt" is attempted on active, non-crashing, + xen dom0 tasks using kdump dumpfiles + o Fix for potentially empty "bt -t" output, and for "bt -T" + potentially dumping the text return addresses in the hard or + soft IRQ stacks instead of the process stack + +------------------------------------------------------------------- +Mon Apr 21 12:34:08 CEST 2009 - ptesarik@suse.cz + +- Update to 4.0-8.8 + o Add the CONFIG_STRICT_DEVMEM hint when reading /dev/mem fails + o Fix segmentation violation in "bt" when reading certain x86_64 + Egenera/LKCD dumpfiles where the starting stack hooks + o Fix the "log" command for cases when the log buffer was cleared + with syslog() or klogctl() + o Improve the error message displayed by "bt -S" when given + a non-process stack address as an argument + o Search directories for the "extend" command in this order: + 1. the current working directory + 2. the directory specified in the CRASH_EXTENSIONS shell + environment variable + 3. /usr/lib64/crash/extensions (64-bit architectures) + 4. /usr/lib/crash/extensions + o Improve how the "bt" command determines which PID 0 swapper + task was interrupted by an ia64 INIT or MCA exception + o Remove an unused initialized variable in get_task_mem_usage() + o Add a debug-level 8 statement in readmem() to display the + current input address and its translated physical address under + the existing debug-level 4 "<readmem: ...>" line +- Delete crash-improve-find-extension.diff: Solved slightly + differently in mainline. + ------------------------------------------------------------------- Sat Feb 07 18:43:55 CET 2009 - bwalle@suse.de Index: crash.spec =================================================================== --- crash.spec (revision 129) +++ crash.spec (working copy) @@ -17,6 +17,11 @@ # norootforbuild +# Version stuff goes here +%define crash_version 4.0 +%define crash_subversion 8.9 +%define whitepaper_version 2003 +%define scripts_version 2008-02-08 Name: crash %ifarch ppc @@ -26,12 +31,8 @@ %endif Url: http://people.redhat.com/anderson/ Summary: Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles -Version: 4.0.8.8 +Version: %{crash_version}.%{crash_subversion} Release: 1 -%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 Index: crash-4.0-8.9.tar.bz2 =================================================================== Binary file crash-4.0-8.9.tar.bz2 has changed Index: crash-4.0-8.8.tar.bz2 =================================================================== Binary file crash-4.0-8.8.tar.bz2 has changed
Petr Tesařík (ptesarik)
committed
(revision 129)
fix failed mkdir %{_libdir}/crash/extensions This mkdir also needs "-p".
Petr Tesařík (ptesarik)
committed
(revision 128)
upgrade to crash-4.0-8.8
Bernhard Walle (bwalle)
committed
(revision 127)
- Update to 4.0-7.7 o Dynamic page size detection on PPC64 and IA64. o Fix for "mod -[sS]" command if the target module object filename contains both underscore and dash characters. o Reject s390 and s390x "L2^B" local label symbols from the kernel symbol list. o Enlarge the string format buffer in the show_last_run() function to prevent a buffer overflow when running "ps -l". o Fix for "bt -a" to continue with the backtraces of the remaining active tasks when one of them encounters a fatal error. o Only allow trusted versions of .crashrc and .gdbinit files to be sourced during session initialization. o Fix for a potential but highly unlikely buffer overflow in the gdb dwarfread.c and dwarf2read.c files, which requires a hand- crafted object file with a location block (DW_FORM_block) that contains a large number of operations. o Fix for a potential but highly unlikely integer overflow in the Binary File Descriptor (BFD) library, which requires a hand- crafted object file that that specifies a large number of section headers, leading to a heap-based buffer overflow. o Enable stack unwind on ia64 when using a kerntypes file as the kernel namelist. o Fix for failure of "files -R" command option if an inode is unknown due to a NULL f_dentry pointer in any open file structure because of a kernel error condition. o Allow an LKCD kerntypes debuginfo file created from a kernel module to be loaded with the command: "mod -s <module> <kerntypes-file>". o Increased NR_CPUS from 256 to 512 for x86_64, and from 128 to 1024 for ppc64. - Delete crash-fix_ps-l_buffer_overflow.patch: Mainline. - Delete crash-pagesize.diff: Mainline. - Delete crash-ppc64-nr_cpus.diff: Mainline. - Delete crash-s390-System.map-limit.diff: Mainline. - Delete crash-unwind-lkcd.diff: Mainline.
Bernhard Walle (bwalle)
committed
(revision 126)
- 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.
Bernhard Walle (bwalle)
committed
(revision 125)
Add missing patche
Bernhard Walle (bwalle)
committed
(revision 124)
- Correctly unwind with LKCD kerntypes files. - Merge crash-segmentation-fault-fix.diff into crash-compressed-kernel. - crash-pagesize.diff: Polish for mainline inclusion. o Remove the ia64 part that is responsible for dumps that are in ELF format and have no VMCOREINFO. o Only apply the code to ppc64 and ia64 since that's the only architectures that are affected.
Bernhard Walle (bwalle)
committed
(revision 123)
- Improve crash-s390-System.map-limit.diff: Don't increase the limit but filter out the unnecessary symbols.
Bernhard Walle (bwalle)
committed
(revision 122)
- Support dump page sizes that are different from the system page sizes on ppc and ia64.
Bernhard Walle (bwalle)
committed
(revision 121)
- Don't print error messages when locating the path of the extension, only print an error message if the extension cannot be found (bnc #457006). - Refresh other patches.
Bernhard Walle (bwalle)
committed
(revision 120)
- Workaround for L2^B1 symbols that repeat more than 200 times in s390x System.map (bnc #456682).
Bernhard Walle (bwalle)
committed
(revision 119)
- Fix ps -l buffer overflow problem (bnc #457151).
Bernhard Walle (bwalle)
committed
(revision 118)
- Update to 4.0-7.5 o Fix for "kmem -i" and "kmem -p" on 2.6.26 x86 CONFIG_SPARSEMEM PAE kernels to account for the change in value of SECTION_SIZE_BITS. o Fix for "bt -[tT]" options on x86 architectures when the backtrace starts on the hard IRQ stack. o Fix for the "bt" command when run on a xen hypervisor in which the backtrace leads to either "process_softirqs" or "page_fault". o Fix for the "kmem -[sS]" options that could cause a segmentation violation or bogus "bad slab pointer" and "bad inuse counter" error messages. o Fix for a bug in the SIAL extension when dealing with bitfields. o Fix for the "files" command when run on 2.6.25 and later kernels, which would either fail with an "invalid kernel virtual address" error of type "fill_dentry_cache", or would show nonsensical/garbage "ROOT" and "CWD" pathnames. o Addition of a new "null-stop" environment variable that can be turned on/off with the "set" command. o Fix for the builtin "g" alias, which would fail with an "Ambiguous command" error from the embedded gdb module. o Fix to handle the 2.6.27 kernel's change of the module structure's num_symtab, core_size and core_text_size members from long to int. o Implement support for the /dev/crash driver being built into x86 or x86_64 Red Hat kernels with the restricted /dev/mem driver. o If the /dev/crash driver module has been loaded prior to a live crash session, then it will not be unloaded when the crash session exits. o Fix to recognize the 2.6.25 re-naming of the x86 user_regs_struct structure members. o Fix for initialization-time failure when running against 2.6.27 x86_64 xen kernels, which indicate "crash: cannot resolve: end_pfn". o Fix for initialization-time failure when running against Xen 4.4 hypervisor binaries, which indicate "crash: invalid structure member offset: domain_is_polling". o Added a new "p -u" option, which indicates that the gdb expression argument evaluates to a user virtual address in the current context. o Fix for "bt -a" command when running against the xen hypervisor where the number of physical cpus outnumber the MAX_VIRT_CPUS value for the processor type. o Fix for the display of the processor speed on IBM Power6 hardware. - Drop crash-sial-fix-bitfield.diff: Mainline. - Drop crash-fix-files-2.6.25-later.diff: Mainline. - Drop crash-struct-module-2.6.27.diff: Mainline. - Drop crash-xen-no-polling.diff: Mainline. - Drop crash-xen-vm-2.6.27.diff: Mainline.
Bernhard Walle (bwalle)
committed
(revision 117)
- Improve crash-xen-no-polling.diff: Check if "is_polling" member of struct domain exists instead of removing all references entirely.
Bernhard Walle (bwalle)
committed
(revision 116)
- 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).
Displaying revisions 261 - 280 of 395