Why crash command giving message "WARNING: kernels compiled by different gcc versions" while opening a vmcore file ?

Solution Verified - Updated -

Issue

  • Crash utility giving warning messages while opening a vmcore file.
    Eg:
$ crash vmcore ./usr/lib/debug/lib/modules/2.6.32-279.5.1.el6.x86_64/vmlinux
[..]
WARNING: kernels compiled by different gcc versions:                    <<<-----
  ./usr/lib/debug/lib/modules/2.6.32-279.5.1.el6.x86_64/vmlinux: 4.4.6
  vmcore kernel: 4.4.5

WARNING: kernel version inconsistency between vmlinux and dumpfile      <<<-----

      KERNEL: ./usr/lib/debug/lib/modules/2.6.32-279.5.1.el6.x86_64/vmlinux
    DUMPFILE: vmcore  [PARTIAL DUMP]
        CPUS: 128
        DATE: Wed Sep 26 14:58:05 2012
      UPTIME: 28 days, 12:50:28
LOAD AVERAGE: 212.69, 210.74, 201.39
       TASKS: 1068
    NODENAME: server1
     RELEASE: 2.6.32-279.5.1.el6.x86_64
     VERSION: #1 SMP Wed Aug 22 09:24:24 PDT 2012
     MACHINE: x86_64  (2199 Mhz)
      MEMORY: 128 GB
       PANIC: "Oops: 0002 [#1] SMP " (check log for details)
         PID: 61768
     COMMAND: "bash"
        TASK: ffff8809b094e080  [THREAD_INFO: ffff88025c8d2000]
         CPU: 4
       STATE: TASK_RUNNING (PANIC)

Environment

  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • crash

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content