This discussion is archived
3 Replies Latest reply: Apr 16, 2013 3:37 AM by Dude! RSS

How to analyze the live/panicedUEK kernel.

user13138496 Newbie
Currently Being Moderated
I want to analyze the live UEK kernel and also the panic'ed vmcore with a debugger (crash etc.,)
So like as "mdb -k" on Solaris.

However, I can not find out vmlinux image file on UEK environment.
--
hideshi
  • 1. Re: How to analyze the live/panicedUEK kernel.
    Dude! Guru
    Currently Being Moderated
    To analyze a kernel core dump using the crash utility you need to configure the Kdump facility and install the kernel debuginfo package. Documentation and examples are easy to find on the web.

    You can get the UEK kernel debuginfo and other debug info packages from:
    https://oss.oracle.com/ol6/debuginfo/

    Or add a repository configuration for YUM, for instance:
    cat >> /etc/yum.repos.d/public-yum-ol6.repo <<EOF
    
    [ol6_debuginfo]
    name=Debuginfo for Oracle Linux \$releasever
    baseurl=http://oss.oracle.com/ol6/debuginfo
    gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
    gpgcheck=1
    enabled=1
    EOF
    
    yum repolist
    
    yum list kernel*debuginfo
  • 2. Re: How to analyze the live/panicedUEK kernel.
    user13138496 Newbie
    Currently Being Moderated
    Thanks for your info.

    Unfortunately, I can not download the latest version for UEK kernel debug moduless (i.e. kernel-uek-debuginfo-2.6.39-400.21.1.el6uek.x86_86) using yum.
    So, yum downloaded the old version (*2.6.39-200.29.2.el6uek.x86_86)... I don't know why....

    So, After downlaod the latest rpms from the web site directry, I analyze the live/paniced vmcore.
    Thanks so much.
    --
    hideshi
  • 3. Re: How to analyze the live/panicedUEK kernel.
    Dude! Guru
    Currently Being Moderated
    When using YUM to install software from the configured software repository you need to specify the package name, not the rpm file. I don't know what you did exactly, but perhaps yum install kernel-uek-debuginfo-$(uname -r) might have worked.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points