From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9119 invoked by alias); 14 Feb 2009 00:43:10 -0000 Received: (qmail 9107 invoked by uid 22791); 14 Feb 2009 00:43:09 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from e33.co.us.ibm.com (HELO e33.co.us.ibm.com) (32.97.110.151) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 14 Feb 2009 00:42:59 +0000 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e33.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n1E0fkxP000738 for ; Fri, 13 Feb 2009 17:41:46 -0700 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id n1E0gut5195734 for ; Fri, 13 Feb 2009 17:42:56 -0700 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n1E0gtis022617 for ; Fri, 13 Feb 2009 17:42:55 -0700 Received: from [127.0.0.1] (9-10-86-165.rchland.ibm.com [9.10.86.165]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n1E0gswa022603; Fri, 13 Feb 2009 17:42:55 -0700 Message-ID: <49961390.7050601@us.ibm.com> Date: Sat, 14 Feb 2009 14:27:00 -0000 From: Maynard Johnson Reply-To: maynardj@us.ibm.com User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: David Smith CC: "Frank Ch. Eigler" , systemtap@sourceware.org Subject: Re: SystemTap on Fedora 11 References: <4991F2EC.3000604@us.ibm.com> <4995A1DE.7000300@us.ibm.com> <4995CC18.9090602@redhat.com> In-Reply-To: <4995CC18.9090602@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00441.txt.bz2 David Smith wrote: > Maynard Johnson wrote: >> Frank Ch. Eigler wrote: >>> Maynard Johnson 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 >