Discussion:
[Fastboot] Error message from makedumpfile
Shan
2007-06-29 09:49:14 UTC
Permalink
Hi,

I wanted to test makedumpfile utility in my system and installed
makedumpfile-1.1.4-3.x86_64.rpm (distribution Open SuSE).
The makedumpfile version is
makedumpfile: version 1.1.4 (released on 08 June 2007)

First I moved to the dump directory (as root) and executed the command
makedumpfile -c -d 31 -x
/boot/vmlinux-2.6.16.21-0.8.uis.1-smpvmcore test_vmcoe

I got the following error message
get_debug_info: Can't create a handle for a new debug session.

makedumpfile Failed.

I looked into makedumpfile.c file and found the following part of the code
in function get_debug_info() throws the error message.

if (!(dwarfd =3D dwarf_begin_elf(elfd, DWARF_C_READ, NULL))) {
ERRMSG("Can't create a handle for a new debug session.\n");
goto out;
}

I also tried to look into the function dwarf_begin_elf function found in the
following link

http://www.koders.com/c/fid3470AEB14EE81F5C819D1D4AB40324F0E59E4556.aspx

But could not understand much.

Could anybody assist me to get the proper result?

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/fastboot/attachments/20070=
629/f81997f6/attachment.htm
Neil Horman
2007-07-02 10:15:44 UTC
Permalink
Post by Shan
Hi,
I wanted to test makedumpfile utility in my system and installed
makedumpfile-1.1.4-3.x86_64.rpm (distribution Open SuSE).
The makedumpfile version is
makedumpfile: version 1.1.4 (released on 08 June 2007)
First I moved to the dump directory (as root) and executed the command
makedumpfile -c -d 31 -x
/boot/vmlinux-2.6.16.21-0.8.uis.1-smpvmcore test_vmcoe
I got the following error message
get_debug_info: Can't create a handle for a new debug session.
makedumpfile Failed.
I looked into makedumpfile.c file and found the following part of the code
in function get_debug_info() throws the error message.
if (!(dwarfd = dwarf_begin_elf(elfd, DWARF_C_READ, NULL))) {
ERRMSG("Can't create a handle for a new debug session.\n");
goto out;
}
I also tried to look into the function dwarf_begin_elf function found in the
following link
http://www.koders.com/c/fid3470AEB14EE81F5C819D1D4AB40324F0E59E4556.aspx
But could not understand much.
Could anybody assist me to get the proper result?
Thanks,
you need to install the debug version of the kernel that you are interested in.
if can be found in the corresponding kernel-debuginfo package for the kernel you
are interested in, as /usr/lib/debug/lib/modules/<version>/vmlinux

Regards
Neil
Post by Shan
_______________________________________________
fastboot mailing list
https://lists.linux-foundation.org/mailman/listinfo/fastboot
--
/***************************************************
*Neil Horman
*Software Engineer
*Red Hat, Inc.
****@tuxdriver.com
*gpg keyid: 1024D / 0x92A74FA1
*http://pgp.mit.edu
***************************************************/
Loading...