This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SystemTap on Fedora 11


David Smith wrote:
Maynard Johnson wrote:
Frank Ch. Eigler wrote:
Maynard Johnson <maynardj@us.ibm.com> writes:

I plan on doing some systemtap development on a Fedora 11 G5 box.
Started out by just installing the F11 systemtap rpm [...]
We're hoping to push a new release to F11/rawhide soon, since the
prior one is known to have incompatibilities with the kernel.  Please
try a build out of systemtap git.
I tried building and running with source from systemtap git and I'm
seeing the same parsing errors.  As the instructions at
http://sources.redhat.com/git/?p=systemtap.git;a=blob_plain;f=README;hb=HEAD
indicate, I left the F11-supplied systemtap rpm installed.  Is that the
right thing to do?  I put my own systemtap build in /usr/local.  I also
tried runing 'make installcheck', and that resulted in many errors.  My
system kernel level is 2.6.29-0.74.rc3.git3.fc11.ppc64.

Any other suggestions?

One thing to do is make sure which systemtap you were running. If you just ran 'stap', you probably got the one from the F11-supplied
No, /usr/local is first in my PATH.
systemtap rpm.  Try running the following command and let us know what
happens:

# /usr/local/bin/stap -ve 'probe begin {printf("hello\n"); exit()}'
OK, running this was helpful. It pointed at the need for "kernel-devel package', which this system did have a kernel-devel package installed. But when I started to look more closely, I saw mismatches in kernel versions between the running kernel and the kernel-devel package (kernel-debuginfo package, too). I *think* I have all that straightened out now. Now, when I run the above command, I get further. Here's the output. I'll dig into it on Monday.
------
[ppcteam@localhost ~]$ sudo /usr/local/bin/stap -ve 'probe begin {printf("hello\n"); exit()}'
Pass 1: parsed user script and 47 library script(s) in 640usr/50sys/695real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) in 10usr/0sys/8real ms.
Pass 3: using cached /home/ppcteam/.systemtap/cache/44/stap_4449db3bfcad42c34a15064adafe91cf_348.c
Pass 4: using cached /home/ppcteam/.systemtap/cache/44/stap_4449db3bfcad42c34a15064adafe91cf_348.ko
Pass 5: starting run.
Error inserting module '/tmp/stapUvlh6p/stap_4449db3bfcad42c34a15064adafe91cf_348.ko': Invalid module format
Retrying, after attempted removal of module stap_4449db3bfcad42c34a15064adafe91cf_348 (rc -1)
Error inserting module '/tmp/stapUvlh6p/stap_4449db3bfcad42c34a15064adafe91cf_348.ko': Invalid module format
Pass 5: run completed in 0usr/30sys/49real ms.
Pass 5: run failed. Try again with another '--vp 00001' option.
[ppcteam@localhost ~]$


-------

Thanks.
-Maynard



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]