[prev in list] [next in list] [prev in thread] [next in thread] 

List:       osdl-fastboot
Subject:    [Fastboot] Error message from makedumpfile
From:       Shan <only2mee () gmail ! com>
Date:       2007-06-29 11:51:33
Message-ID: b21fdb380706290449u130c69bfk9d8c575ff927f7f0 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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,

[Attachment #5 (text/html)]

<br>
<div>Hi,</div>
<div>&nbsp;</div>
<div>I wanted to test makedumpfile utility in my system and installed <font \
color="#000000"><font size="2">makedumpfile-1.1.4-3.x86_64.rpm (distribution Open \
SuSE)</font>.</font></div> <div>
<div>The makedumpfile version is </div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; makedumpfile: version 1.1.4 \
(released on 08 June 2007)</div></div> <div>&nbsp;</div>
<div>First I moved to the dump directory (as root) and&nbsp;executed&nbsp;the command \
</div> <div>&nbsp;&nbsp; </div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#000099">&gt; makedumpfile -c \
-d 31 -x /boot/vmlinux-2.6.16.21-0.8.uis.1-smp vmcore test_vmcoe</font></div> \
<div>&nbsp;</div> <div>I got the following error message</div>
<div><font color="#000080" \
size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
get_debug_info: Can&#39;t create a handle for a new debug session.</font></div> <div>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; makedumpfile \
Failed.</p> <p><font color="#000000">I looked into makedumpfile.c file and found the \
following part of the code in function get_debug_info() throws the error \
message.</font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!(dwarfd \
= dwarf_begin_elf(elfd, DWARF_C_READ, NULL))) \
{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
ERRMSG(&quot;Can&#39;t create a handle for a new debug \
session.\n&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
goto out;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br></p> <p><font \
color="#000000">I also tried to look into the function dwarf_begin_elf function found \
in the following link</font></p> <p><a onclick="return \
top.js.OpenExtLink(window,event,this)" \
href="http://www.koders.com/c/fid3470AEB14EE81F5C819D1D4AB40324F0E59E4556.aspx" \
target="_blank">http://www.koders.com/c/fid3470AEB14EE81F5C819D1D4AB40324F0E59E4556.aspx
 </a></p>
<p><font color="#000000">But could not understand much.</font></p>
<p><font color="#000000">Could anybody assist me to get the proper result?</font></p>
<p><font color="#000000">Thanks,</font></p></div>



_______________________________________________
fastboot mailing list
fastboot@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/fastboot

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic