On Fri, Jun 29, 2007 at 05:19:10PM +0530, Shan wrote: > 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 > _______________________________________________ > fastboot mailing list > fastboot@lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/fastboot -- /*************************************************** *Neil Horman *Software Engineer *Red Hat, Inc. [EMAIL PROTECTED] *gpg keyid: 1024D / 0x92A74FA1 *http://pgp.mit.edu ***************************************************/ _______________________________________________ fastboot mailing list fastboot@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/fastboot