The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.

9.2.1 Installing the crash Packages

To use crash, you must install the crash package and the appropriate debuginfo and debuginfo-common packages.

To install the required packages:

  1. Install the latest version of the crash package:

    # yum install crash
  2. Download the appropriate debuginfo and debuginfo-common packages for the vmcore or kernel that you want to examine from https://oss.oracle.com/ol6/debuginfo/:

    • If you want to examine the running Unbreakable Enterprise Kernel on the system, use commands such as the following to download the packages:

      # export DLP="https://oss.oracle.com/ol6/debuginfo"
      # wget ${DLP}/kernel-uek-debuginfo-`uname -r`.rpm
      # wget ${DLP}/kernel-uek-debuginfo-common-`uname -r`.rpm
    • If you want to examine the running Red Hat Compatible Kernel on the system, use commands such as the following to download the packages:

      # export DLP="https://oss.oracle.com/ol6/debuginfo"
      # wget ${DLP}/kernel-debuginfo-`uname -r`.rpm
      # wget ${DLP}/kernel-debuginfo-common-`uname -r`.rpm
    • If you want to examine a vmcore file that relates to a different kernel than is currently running, download the appropriate debuginfo and debuginfo-common packages for the kernel that produce the vmcore, for example:

      # export DLP="https://oss.oracle.com/ol6/debuginfo"
      # wget ${DLP}/kernel-uek-debuginfo-2.6.32-300.27.1.el6uek.x86_64.rpm
      # wget ${DLP}/kernel-uek-debuginfo-common-2.6.32-300.27.1.el6uek.x86_64.rpm
      Note

      If the vmcore file was produced by Kdump, you can use the following crash command to determine the version:

      # crash --osrelease /var/tmp/vmcore/2013-0211-2358.45-host03.28.core
      2.6.39-200.24.1.el6uek.x86_64
  3. Install the debuginfo and debuginfo-common packages, for example:

    # rpm -Uhv kernel-uek-debuginfo-2.6.32-300.27.1.el6uek.x86_64.rpm \
      kernel-uek-debuginfo-common-2.6.32-300.27.1.el6uek.x86_64.rpm

    The vmlinux kernel object file (also known as the namelist file) that crash requires is installed in /usr/lib/debug/lib/modules/kernel_version/.