public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Re: iostat-scsi.stp
       [not found] <C0E61E23F3364E42BED1D9F6674DF28205400279@SJOCEXCN01.egger.com>
@ 2008-12-19 17:36 ` Frank Ch. Eigler
       [not found]   ` <C0E61E23F3364E42BED1D9F6674DF2820540027A@SJOCEXCN01.egger.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Ch. Eigler @ 2008-12-19 17:36 UTC (permalink / raw)
  To: Krahbichler Roland; +Cc: systemtap

Hi -

On Fri, Dec 19, 2008 at 05:51:13PM +0100, Krahbichler Roland wrote:
> [...]
> # stap -g iostat-scsi.stp 10
> WARNING: cannot find module sd_mod debuginfo: Unsupported relocation type
> semantic error: no match while resolving probe point module("sd_mod").function("sd_init_command")
> [...]
> but the module is already loaded:
> filename:       /lib/modules/2.6.25.5-1.1-default/kernel/drivers/scsi/sd_mod.ko
> [...]

A web search of "systemtap unsupported relocation" indicates two
possible causes, one of which was an installation glitch with
elfutils.  Please give more information about how systemtap was built;
"stap -V"; or if your installation is recent enough, the relevant bits
of the "stap-report" output.

- FChE

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

* Re: iostat-scsi.stp
       [not found]   ` <C0E61E23F3364E42BED1D9F6674DF2820540027A@SJOCEXCN01.egger.com>
@ 2008-12-19 19:54     ` Frank Ch. Eigler
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2008-12-19 19:54 UTC (permalink / raw)
  To: Krahbichler Roland; +Cc: systemtap

Hi -

> version:
> SystemTap translator/driver (version 0.6.1/0.137 built 2008-06-06)
> [...]

Yeah, pretty old, but that should not account for the present problems.

> i didn´t know anything about glitch but i installed libelf1 on the system.
> # rpm -ql libelf1-0.137-4.18
> /usr/lib64/libelf-0.137.so
> /usr/lib64/libelf.so.1

Please check whether /usr/lib*/elfutils/libebl* are also installed.
You could also run stap under strace to see whether it's finding
these various elfutils shared libraries: something like
% strace -eopen stap ...

> stap-report isn´t a part of systemtap in the version 0.6 wich i
> have. should i upgrade to a newer version

That's not necessary for the current problem, but there are other
reasons one may wish to upgrade.

> and did i need the systemtap-debuginfo?

One needs the -debuginfo for a package mainly if one needs to debug
that package.  That does not seem to be an issue here yet.

- FChE

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

end of thread, other threads:[~2008-12-19 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <C0E61E23F3364E42BED1D9F6674DF28205400279@SJOCEXCN01.egger.com>
2008-12-19 17:36 ` iostat-scsi.stp Frank Ch. Eigler
     [not found]   ` <C0E61E23F3364E42BED1D9F6674DF2820540027A@SJOCEXCN01.egger.com>
2008-12-19 19:54     ` iostat-scsi.stp Frank Ch. Eigler

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).