Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles

Edit Package crash

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.

Refresh
Refresh
Source Files
Filename Size Changed
README.SUSE 0000000656 656 Bytes
crash-6.0.5.tar.gz 0026830972 25.6 MB
crash-crosscrash-hint.diff 0000000856 856 Bytes
crash-debuginfo-compressed.patch 0000002106 2.06 KB
crash-foreach-match-running.patch 0000001341 1.31 KB
crash-kmp-preamble 0000000020 20 Bytes
crash-make-emacs-default.diff 0000000659 659 Bytes
crash-missing-declarations.patch 0000000684 684 Bytes
crash-rl_digit_loop-return.patch 0000000505 505 Bytes
crash-sial-ps-2.6.29.diff 0000000444 444 Bytes
crash-sles9-quirk.patch 0000002633 2.57 KB
crash-sles9-time.patch 0000002701 2.64 KB
crash.changes 0000097702 95.4 KB
crash.spec 0000008744 8.54 KB
crash_whitepaper-2003.tar.bz2 0000074717 73 KB
depmod.sh 0000000221 221 Bytes
gcore-2011-09-22.tar.bz2 0000035207 34.4 KB
get-kernel-flavors.sh 0000000195 195 Bytes
mkinitrd.sh 0000000647 647 Bytes
rpmlintrc 0000000262 262 Bytes
sial-scripts-2008-02-08.tar.bz2 0000007236 7.07 KB
Revision 104 (latest revision is 195)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 111826 from Petr Tesařík's avatar Petr Tesařík (ptesarik) (revision 104)
- Update to crash 6.0.5 from upstream and adjust patch positions
  to match current crash source.
  6.0.5 changelog is:
  o Enhancement to the "foreach" command to allow any of the "name"
    arguments to be POSIX extended regular expressions.  The
    expression string must be encompassed by "'" characters, and
    will be matched against the names of all tasks.
  o Fix for the embedded gdb module's "ptype" command, and by
    extension, the crash utility's "struct" command, to be able to
    fully display embedded structure or union members of a
    structure/union.  Without the patch, if a structure or union is
    a member of a structure or union that is a member of a
    structure or union, then it is displayed as "struct {...}" or
    "union {...}".
  o Extend the "ps -l" output to also display the task state next
    to its last_run/timestamp value.
  o Enhancement to the "foreach" command which adds a new "state"
    task-indentifier argument that filters tasks by their task
    state. The state argument may be any of the task states
    displayed by the "ps" command: RU, IN, UN, ST, ZO, SW or DE.
  o Implemented a new pc->cmd_cleanup function pointer and an
    optional pc->cmd_cleanup_arg argument that will allow any
    command to register a function and an optional argument that
    will be called after a command has completed successfully, or
    more likely, unsuccessfully. Normally the only cleanup required
    for a command is the freeing of buffers that were allocated
    with GETBUF(), but that is performed automatically after each
    command is run.  However, with the introduction of the new
    POSIX regular expression functionality of the "foreach"
    command, there needed to be a way to call regfree() in the case
    where where regcomp() was called successfully, but then the
    command later encountered one of several fatal error
    conditions. This facility is also available for use by
    extension module commands.
  o Enforce the usage of a kernel thread's pgd from its active_mm
    for the ARM "vtop -c" command; if its active_mm is NULL, make
    the command fail similarly to the other architectures,
    displaying the error message "vtop: no active_mm for this
    kernel thread".
  o Fix for the x86_64 "bt" command running against recent kernels
    if an active task was operating on its IRQ stack when the crash
    occurred.  Without the patch, the determination of the IRQ
    exception frame was off-by-8, displaying invalid register data
    and the error message "bt: WARNING: possibly bogus exception
    frame".
  o Update to handle the vfsmount structure change in 3.3 kernels,
    in which most members of the vfsmount structure have been moved
    into a new "struct mount", and the vfsmount structure has been
    embedded in the new mount structure.  Without the patch, the
    following commands will fail, displaying the following error
    messages:
      mount: "mount: invalid structure member offset: vfsmount_mnt_list"
      files: "files: invalid structure member offset: dentry_d_covers"
         vm: "vm: invalid structure member offset: dentry_d_covers"
       swap: "swap: invalid structure member offset: dentry_d_covers
      fuser: "files: invalid structure member offset: dentry_d_covers"
    The "fuser" command generates the above error because it uses
    the "files" command behind the scenes.
  o Fix for the "ps" command to prevent the display of "??" under
    the ST (task state) column.  Without the patch, in more recent
    kernels, if more than one bit were set in the task_struct.state
    field, the state would display "??".  With the fix, the primary
    state will always be displayed.
  o Update to the output of the "set" command when it displays a
    task's state.  Without the patch, if more than one bit was set
    in the task_struct.state field, "STATE: (unknown)" would be
    displayed.  With the fix, all bits in both the task_struct.state
    and task_struct.exit_state fields are translated.
  o Implemented a new "vm -P <vma-address>" option, which is similar
    to "vm -p", but only does the page translations of the specified
    VM area of a context.
  o Add support for the Freescale PowerPC e500mc version of the E500
    processor chipset, and rework the PPC platform-specific code in
    order to more easily support new processors.
  o Implemented a new "gdb" crash environment variable that can be
    used to alter a crash session's behavior such that all commands
    are passed directly to the embedded gdb module.  The new mode
    is turned on and off by entering "set gdb on" and "set gdb off".
    When running in this mode, the command prompt will be "gdb>".
    In order to execute native crash commands while running in this
    mode, precede the command with the "crash" directive, for
    example, "crash ps".
  o Fix for a "*** stack smashing detected ***: crash terminated"
    failure during the initial system banner display on a 32-bit
    PPC platform.
  o Redesigned/simplified the internal read_string() function to
    prevent a potential segmentation violation.
  o Updates for the 32-bit PPC "vtop" command output:
      (1) Translate kernel virtual addresses for FSL BOOKE by using 
          the TLBCAM setting
      (2) Remove the PMD line from the display
      (3) Fix the displayed PHYSICAL values of FSL BOOKE PTE format
  o Fix for crash invocation failure on 3.3-era kernels in which
    the former standalone "xtime" timespec structure has been moved
    into the "timekeeper" structure.  Without the patch, the crash
    session would fail early on with the message "crash: cannot
    resolve: xtime". The patch also prevents the crash session
    failure in the unlikely event that the timespec access fails. (forwarded request 111468 from dmair)
Comments 0
openSUSE Build Service is sponsored by