[Crash-utility] Unable to switch stack frames while using crash
Shashidhara Shamaiah
Shashidhara.Shamaiah at mphasis.com
Tue Jun 21 12:36:34 UTC 2011
Hi Dave,
I updated the makedumpfile utility from 1.3.5 to 1.3.7 . When I run the
below command
makedumpfile -c -d 31 -x vmlinux_temp vmcore vmcore-new
The kernel version is not supported.
The created dumpfile may be incomplete.
check_release: Can't get the kernel version.
makedumpfile Failed.
Is there any other way to extract the ELF style vmcore file from the
kdump compressed format. Please guide me.
Regards
Shashidhara
-----Original Message-----
From: crash-utility-bounces at redhat.com
[mailto:crash-utility-bounces at redhat.com] On Behalf Of Dave Anderson
Sent: Thursday, June 16, 2011 7:30 PM
To: Discussion list for crash utility usage,maintenance and development
Subject: Re: [Crash-utility] Unable to switch stack frames while using
crash
----- Original Message -----
> Hi,
>
> Thank you Dave for your time and help.
>
> As suggested, I will update my crash utility first and then go about
> analyzing the dump.
>
> >>> I believe that something like this might work?:
>
> >>> $ makedumpfile -c -d 31 -x vmlinux_temp vmcore-old vmcore-new
>
> I tried to use the command you suggested " makedumpfile -c -d 31 -x
> vmlinux_temp vmcore vmcore-new " . I got an error message " The kernel
> version is not supported.The created dumpfile may be incomplete.
> check_release: Can't get the kernel version"
>
> Should I update makedumpfile utility as well? Or just updating crash
> will do?
That's a makedumpfile issue -- the message comes from here in
makedumpfile.c:
if ((version < OLDEST_VERSION) || (LATEST_VERSION < version)) {
MSG("The kernel version is not supported.\n");
MSG("The created dumpfile may be incomplete.\n");
}
where, at least in the RHEL6 version of makedumpfile (1.3.5), this
is the range:
#define OLDEST_VERSION KERNEL_VERSION(2, 6, 15)/*
linux-2.6.15 */
#define LATEST_VERSION KERNEL_VERSION(2, 6, 32)/*
linux-2.6.32 */
The upstream version of makedumpfile is now 1.3.7, which bumps
LATEST_VERSION:
#define LATEST_VERSION KERNEL_VERSION(2, 6, 36)/*
linux-2.6.36 */
But it's a warning message, and your vmcore-new may still be usable.
Dave
--
Crash-utility mailing list
Crash-utility at redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
Information transmitted by this e-mail is proprietary to MphasiS, its associated companies and/ or its customers and is intended
for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded
to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly
prohibited. In such cases, please notify us immediately at mailmaster at mphasis.com and delete this mail from your records.
More information about the Crash-utility
mailing list