lp:debian/squeeze/crash

Created by James Westby and last modified
Get this branch:
bzr branch lp:debian/squeeze/crash
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Development

Recent revisions

16. By Troy Heber

* New upstream version 5.0.6 (see
  http://people.redhat.com/anderson/crash.changelog)
* Fix for support of xendump and Xen kdump dumpfiles from 2.6.27 and and
  later x86_64 kernels.
* Fix for the "s390dbf" command to allow the command's output to be
  redirected to a pipe.
* Fix for the x86 "bt" command to generically recognize the end of trace
  condition for tasks entering the kernel from user-space without having to
  hardwire any more kernel entry point function names. Without the patch, a
  task that took a clock interrupt from user-space and crashed while
  operating on the soft IRQ stack failed with the error message "bt: cannot
  resolve stack trace". (<email address hidden>)
* Display the "machine type mismatch" warning when attempting to use a ppc64
  vmlinux file on a non-ppc64 64-bit host. Without the patch, the fact that
  ppc64 vmlinux ELF files are type ET_DYN, and not type ET_EXEC like all of
  the other architectures, was allowing the vmlinux to be accepted without
  the mismatch warning, and would subsequently fail without a meaningful
  explanation being displayed. (<email address hidden>)
* Fix for the x86_64 "bt" command if the kdump-generated NMI interrupts a
  multi-threaded task that has just entered kernel space but has not changed
  the RSP stack pointer register from its user-space per-thread stack
  location to the kernel stack. Without the patch, the command follows the
  display of the exception frame on the NMI exception stack with the message
  "WARNING: possibly bogus exception frame", displays the error message "bt:
  cannot transition from exception stack to current process stack", and does
  not display the user-space exception frame. (<email address hidden>)
* Added the "set" command to the list of commands acceptable when running
  in --minimal mode. The command is limited to the setting of internal
  variables since there is no task context in that mode.
  (<email address hidden>)
* Fix for the "vtop" command when run against x86 Xen PAE kernels. Without
  the patch, the "PAGE:" displays (machine and pseudo-physical) contained
  non-zero values in the lower 12 bits, and the translation of the PTE entry
  was incorrect as a result of receiving the incorrect contents in the lower
  12-bits of the PTE entry. (<email address hidden>)
* Implemented support for running against live x86_64 pv_ops/Xen guest
  kernels. (<email address hidden>)
* Implemented support for xendump ELF dumpfiles generated from x86_64
  pvops/Xen guest kernels. (<email address hidden>)
* Implemented support for running against live x86 pv_ops/Xen guest kernels.
  (<email address hidden>)
* Implemented support for xendump ELF dumpfiles generated from x86 pvops/Xen
  guest kernels. (<email address hidden>)
* Determine the bit positions of PG_reserved and PG_slab using the newer
  pageflags enumerator values if available. (<email address hidden>)
* Fix to prevent the "repeat" command from keeping a crash session alive if
  the controlling terminal session is killed. (<email address hidden>)

15. By Troy Heber

* New upstream version 5.0.5 (see
  http://people.redhat.com/anderson/crash.changelog)
* Implemented a new "bt -F" flag as an extension of the "bt -f" flag.
* Fix for the %install stanza in the crash.spec file to check for the
  existence of the sial.so extension module.
* Minor correction to the error message displayed by the "crash -x" command
   line option when the pre-loading of an extension module fails.
* Fix for the x86_64 "bt" and "bt -E" commands if the kdump-generated NMI
  interrupts a task that has just entered kernel space but has not changed
  the RSP stack pointer register from its user-space location to the kernel
  stack.
* Fix for compiler warnings when building "net.c" with -O2.
* Fix for a compiler warning when building "gdb_interface.c" with -O2
* Fix for the x86 "bt" command if the crash occurs during the execution of a
  kernel module's init_module() function.
* Fix to support newer KVM dumpfile format generated by "virsh dump" that
  may contain "block" and "kvmclock" devices in the dumpfile header.
* Fix for "kmem -[sS]" command on 2.6.34 and later CONFIG_SLUB kernels,
  which changed the kmem_cache.cpu_slab[NR_CPUS] array to be a per-cpu
  offset value.
* Modified the "kmem -p" output to show the "INDEX" column values with a
  hexadecimal value because the "page.index" member is typically a
  shared-use field that may also contain a pointer value.
* Addressed compiler warnings generated by net.c when built with -O2.
* Fix for the "kmem <address>" command if the kernel's free page lists are
  corrupt, or in a state of flux, and cannot be followed.
* Fix to read KVM dumpfiles generated by the "virsh dump" of a RHEL5 guest
  from a RHEL6 host, and to support dumpfile format changes that contain
  "apic" and "__rhel5" devices.

14. By Troy Heber

* New upstream version 5.0.4 (see
  http://people.redhat.com/anderson/crash.changelog)
* Fix for the x86 "bt" command when a newly-forked task's resumption EIP
  address value is set to the "ret_from_fork" entry point by copy_thread().
* Fix for the x86 "bt" command if the kdump-generated NMI interrupts a task
  running in kernel space at a point in the system_call entry point code
  prior to the call to a system call function.
* Fix for the "bt" command on 2.6.29 and later x86_64 kernels to recognize
  and display exception frames generated by exceptions that do not result in
  a stack switch, such as general protection faults.
* The kernel patch for ppc64 CONFIG_SPARSEMEM_VMEMMAP kernels that stores
  vmemmap page mapping information so that the crash utility is able to
  translate vmemmap'd kernel virtual addresses has been updated.
* Fix the error message for the "dev -p" comand when run on 2.6.26 or later
  kernels, which no longer have the global "pci_devices" list head.
* If a cpu in an s390 or s390x dumpfile is offline, and the "bt" command
  receives a backtrace request for the "swapper" task on that cpu, the
  command will display "CPU offline".
* Fix for 2.6.34 and later x86_64 kernels which generate per-cpu symbols of
  type 'd' or type 'D' instead of type 'V'.
* Fix to prevent a segmentation violation during initialization in the
  x86_64_get_active_set() function by verifying that the array of current
  tasks in machdep->machspec->current[] has actually been allocated.
* Fix to support KVM dumpfiles created with "virsh dump" that create "cpu"
  header sections using a QEMU CPU_SAVE_VERSION version greater than the
  supported version of 9.
* Fix for x86_64 KVM dumpfiles created with "virsh dump" whose kernels have
  a "_text" virtual address higher than __START_KERNEL_map.
* Implemented a new "map" command that is seen only when running with KVM
  guest dumpfiles created with "virsh dump".
* Fix for an incorrect calculation of the physical base address of a
  fully-virtualized x86_64 RHEL6 guest kernel running on a RHEL5 Xen host.
* Fix for the "bt" command on inactive (blocked) tasks on 2.6.33 and later
  x86_64 kernels, which have the "thread_return" symbol removed from the
  embedded "switch_to" macro.
* Fix for the "bt" command on 2.6.33 and later x86 kernels, which moved the
  "system_call" assembly function to the .kprobes.text section.
* Fix for a segmentation violation caused by the "extensions/trace.c"
  extension module, as seen when running the "trace show -c <cpu>" command
  from that module.
* Implemented a "trace dump -t" command for the "extensions/trace.c"
  extension module.

13. By Troy Heber

* New upstream version 5.0.3 (see
  http://people.redhat.com/anderson/crash.changelog)
* Fix for running against 2.6.34 and later kernels to recognize and handle
  changes in the kernel's per-cpu data symbol naming, which no longer
  prefixes "per_cpu__" to declared per-cpu symbol names.
* Fix for "swap" and "kmem -i" commands on 2.6.29 or later, big-endian,
  ppc64 kernels, where the swap_info_struct.flags member was changed from an
  int to a long.
* Fix for the "vm" and "ps" command's task RSS value on 2.6.34 or later
  kernels.
* Fixed "possible aternatives" spelling typo used in informational messages
  when an incorrect/unknown symbol name is used in "rd", "dis", "sym" and
  "struct" commands.
* Fix for CONFIG_SPARSEMEM kernels that are not configured with
  CONFIG_SPARSEMEM_EXTREME.
* Change the output of the "kmem -[cC]" options to indicate that they are
  not supported when that is relevant.

12. By Troy Heber

* Fix FTBFS with gcc-4.5 bug (Closes: #564973).
* Use POSIX compliant "uname -m" instead of arch. (Closes: #568325).
* New upstream version 5.0.1 (see
  http://people.redhat.com/anderson/crash.changelog)
- Use archive version of mkstemps() function
- Fix irq command on 2.6.33+ kernels.
- Defend against corrupted cach_cache kmem_cache structs
- Fix swap, kmem -i and vm -p commands on 2.6.33+ kernels
- Fix for 2.6.30+ kernels configured without CONFIG_SMP
- Fix for x86, s390, s390x and ia64 architectures to set the system cpu
count equal to the highest cpu online plus one
- Fix to recognize the symbol type change of per-cpu variables from
'd' or 'D' to 'V'.
- Fix for the "struct" and "union" commands when passed an address that is
in a valid kernel virtual address region but is either unmapped or
non-existent.
- Update for 2.6.33 and later s390 and s390x kernels to account for the
"_lowcore" structure member name change from "st_status_fixed_logout" to
"psw_save_area".
- Fix for very large Xen domU dumpfiles that locate the base offset of
relevant ELF sections beyond the 4GB mark.
- If a kernel crash occurs during a kernel module loading operation, it is
possible that a subsequent crash session on the vmcore may result in a
segmentation violation during the "please wait... (gathering module symbol
data)" phase.
- Fix for a gdb-7.0 regression that causes the line number capability to
fail with certain ranges of x86 base kernel text addresses.
- Preparation for future s390x ELF dumpfile format.

11. By Troy Heber

* New upstream version 5.0.0 (see
  http://people.redhat.com/anderson/crash.changelog)
- Fix for the ppc64 "irq" command where the "irq_desc_t" is no longer
recognized as a typedef for "struct irq_desc".
- Fix for 2.6.26 and later ppc64 CONFIG_SPARSEMEM_VMEMMAP kernels to
recognize VMEMMAP_REGION virtual addresses
- Fix for segmentation violation when running the "ps -r" command option on
2.6.25 or later kernels.
- Fix for the "mount" command on 2.6.32 and later kernels.
- Fix for the "bt" command on 2.6.29 and later x86_64 kernels to always
recognize and display BUG()-induced exception frames.
- Fix for the "rd" and "kmem" commands to prevent the unnecessary "WARNING:
sparsemem: invalid section number: <number>" message when testing whether an
address is represented by a page structure in CONFIG_SPARSEMEM_EXTREME
kernels.
- Fix for a 4.0-8.11 regression that introduced a bug in determining the
number of cpus in ppc64 kernels when the cpu_possible_[map/mask] has more
cpus than the cpu_online_[map/mask]. In that case, the kernel contains
per-cpu runqueue data and "swapper" tasks for the extra cpus.

10. By Troy Heber

* New upstream version 4.1.1 (see
  http://people.redhat.com/anderson/crash.changelog)
- Fix for amd64 with CONFIG_NEED_MULTIPLE_NODES on kernels >= 2.6.31
- Fix for snap.c extension module to handle NUMA systems with multiple
nodes.
- Handle corrupt Elf32_Phdr/Elf64_Phdr structures in ELF vmcore.
- Prepare for integration of gdb 7.0
- Fix x86 bt with the stak is >= 3 level deep and handeling an IRQ.
- Fix handcrafted backsrace starting point command bt -S

9. By Troy Heber

* New upstream version 4.1.0 (see
  http://people.redhat.com/anderson/crash.changelog)
- Fix s390x & x86 "extend" command regression created by the "crash -x"
option introduced in crash version 4.0.9.
- Clean up source to remove compiler warnings in Fedora
- Fix for "pte" command on s390 and s390x machines if the pte value argument
evaluates as not present
- Allow command redirection to pipes or files when using gdb commands alone
on the command line without preceding the command string with "gdb".
- Fix for the processing of bit fields on big endian systems in the SIAL
extension module.
- Fix for "dis -l" to properly display line-number information for 2.6.21
and later x86_64 kernel module text addresses.
- Fix to prevent querying the embedded gdb module for line numbers of kernel
module text addresses if the module's debuginfo data has not been loaded.
- Implemented a new "ps -G" option, which restricts the process status
output to show only the data of the thread group leader of a thread group.
- Several fixes for the "repeat" command when used in conjunction with an
input file.
- Added "trace" to the extension
- 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.
- Fix for a potential session initialization failure on x86_64 kernels if
the dumpfile has pages excluded by the makedumpfile facility.
- Fix for "kmem -z" option on 2.6.29 and later kernels.
- Fix for "irq" command on 2.6.29 and later CONFIG_SPARSE_IRQ kernels.
- Fix for the "kmem -i" option on 2.6.31 kernels.
- Fix for the "kmem -i" option on 2.6.26 through 2.6.30 x86_64 kernels.
- Fix for "kmem -p" option on older 64-bit kernels that have a 32-bit
page.flags field.
- Fix for "kmem -i" option on older kernels whose unreferenced page.count
value was -1 (instead of 0).
- Change the cursor location when cycling through the command history when
in "vi" editing mode (the default).

8. By Troy Heber

* New upstream version 4.0.9 (see
  http://people.redhat.com/anderson/crash.changelog)
- New versioning format such that the upstream version no longe rcontains
the "-" in the version number.
- backport of the x86/x86_64 disassembly code from gdb-6.8 to the embedded
gdb-6.1.
- Fix compressed diskdump/kdump vmcores to work with page descriptor
structure that are beyond 4GB offsets in the vmcore file.
- Fix for multipal x86_64 bt command issues
- Fix for usage of System.map argument with kernels >= 2.6.30.
- Fix for usage of System.map that does not contaon an "_end" symbol.
- Fix for "kmem -p <addr>" or "kmem <addr>" options when <addr> is not a
page struct address.
- Fix for the snap.so extension to work on < 2.6.12 kernels with more than
4GB physical memory.
- Fix how extensions are built, for example give a proper error message is
the host does not have the build deps for the extension module, but still
allow crash to build.
- RHEL_4 fix for "rd" and "vtop" command on x86_64 Xen kernels.

7. By Troy Heber

* New upstream version 4.0-8.11 (see
  http://people.redhat.com/anderson/crash.changelog)
- Fix backtrace when offline CPUs doe not have NT_PRSTATUS notes
- Fix "dev" command for 2.6.26 later kernels.
- Fix segfaul when running "foreach bt" on active live system.
- Fix to read LKCD V8 x86 dumpfile headers
- Fix bt when NMI was issued ot non-crashing amd64 CPU.
- Fix bt on amd64 when transitioning from the IRQ stack back to the process
stack on >= 2.6.29 kernels.
- Enhance "runq" to show current task in each cpu's runqueue.
- Fix mem leak when running on live systems.
- Support dwarf 3 vmlinux debuginfo format
- Allow any order for system map and compressed vmlinux file on the cmd
line.
- Fix seg fault when vmcore and system map do not match
- Adjust virt and phys memory definitions for >= 2.6.31
- Fix for "kmem -[sS]" when using CONFIG_SLUB and there is an invalid link.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers