public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Getting Build-Id errors wth a systemtap build on ubuntu 9.10
@ 2009-11-24 14:41 Kannan Ramaswamy
  2009-11-26  7:00 ` naresh kamboju
  0 siblings, 1 reply; 2+ messages in thread
From: Kannan Ramaswamy @ 2009-11-24 14:41 UTC (permalink / raw)
  To: systemtap

Hi,
I was able to build the latest systemtap code on ubuntu 9.10 with elfutils 0.143 release code. But I am getting a "Build-Id mismatch between kernel and vmlinux error" when I run stap. I checked the instructions at http://sourceware.org/systemtap/wiki/SystemtapOnUbuntu. I am not sure what I am doing wrong. Has anyone come across this issue before?

Thanks,
--Kannan.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Getting Build-Id errors wth a systemtap build on ubuntu 9.10
  2009-11-24 14:41 Getting Build-Id errors wth a systemtap build on ubuntu 9.10 Kannan Ramaswamy
@ 2009-11-26  7:00 ` naresh kamboju
  0 siblings, 0 replies; 2+ messages in thread
From: naresh kamboju @ 2009-11-26  7:00 UTC (permalink / raw)
  To: Kannan Ramaswamy; +Cc: systemtap

Hi Ramaswamy,

On Tue, Nov 24, 2009 at 8:11 PM, Kannan Ramaswamy
<Kannan.Ramaswamy@cogcap.com> wrote:
> Hi,
> I was able to build the latest systemtap code on ubuntu 9.10 with elfutils 0.143 release >code. But I am getting a "Build-Id mismatch between kernel and vmlinux error" when I run stap. I checked the instructions at >http://sourceware.org/systemtap/wiki/SystemtapOnUbuntu. I am not sure what I am doing >wrong. Has anyone come across this issue before?

I did not try on Ubuntu yet.
However, I got the same kind of error on ARM architecture.I guess ...
please find the below links for the more info.

http://sourceware.org/ml/systemtap/2009-q4/msg00418.html
http://sourceware.org/ml/systemtap/2009-q4/msg00419.html
http://sourceware.org/ml/systemtap/2009-q4/msg00420.html
http://sourceware.org/ml/systemtap/2009-q4/msg00436.html
http://sourceware.org/ml/systemtap/2009-q4/msg00437.html
http://sourceware.org/ml/systemtap/2009-q4/msg00438.html
http://sourceware.org/ml/systemtap/2009-q4/msg00439.html
http://sourceware.org/ml/systemtap/2009-q4/msg00441.html
http://sourceware.org/ml/systemtap/2009-q4/msg00533.html

in the below I have appiled the patch and able to resolve the issue.
it may be help full.

Index: b/translate.cxx
===================================================================
--- a/translate.cxx
+++ b/translate.cxx
@@ -4905,8 +4905,13 @@ dump_unwindsyms (Dwfl_Module *m,
        correct either.  We may instead need a relocation basis different
        from _stext, such as __start_notes.  */
     if (modname == "kernel")
+#if 0
       c->output << ".build_id_offset = 0x" << hex << build_id_vaddr -
(base + extra_offset)
                 << dec << ",\n";
+#else
+      c->output << ".build_id_offset = 0x" << hex << build_id_vaddr
+                << dec << ",\n";
+#endif
     else
       c->output << ".build_id_offset = 0x" << hex
                 << build_id_vaddr - base


If not please provide the full config.log and build log for error msg
with systemtap/gcc/glibc/kernel/arch/elfutils versions.

Best regards
Naresh Kamboju

>
> Thanks,
> --Kannan.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-26  7:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 14:41 Getting Build-Id errors wth a systemtap build on ubuntu 9.10 Kannan Ramaswamy
2009-11-26  7:00 ` naresh kamboju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).