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.
To use crash, you must install the
crash
package and the appropriate
debuginfo
and
debuginfo-common
packages.
To install the required packages:
Install the latest version of the
crash
package:#
yum install crash
Download the appropriate
debuginfo
anddebuginfo-common
packages for thevmcore
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 appropriatedebuginfo
anddebuginfo-common
packages for the kernel that produce thevmcore
, 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
NoteIf 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
Install the
debuginfo
anddebuginfo-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
/