From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21795 invoked by alias); 11 Sep 2009 14:15:38 -0000 Received: (qmail 21787 invoked by uid 22791); 11 Sep 2009 14:15:37 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Sep 2009 14:15:31 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8BEFTHR011092; Fri, 11 Sep 2009 10:15:29 -0400 Received: from localhost.localdomain (vpn-10-62.rdu.redhat.com [10.11.10.62]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8BEFRiQ030402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Sep 2009 10:15:29 -0400 Message-ID: <4AAA5B7F.1000509@redhat.com> Date: Fri, 11 Sep 2009 14:15:00 -0000 From: David Smith User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 MIME-Version: 1.0 To: Maynard Johnson CC: systemtap@sourceware.org Subject: Re: SystemTap on Fedora 11 References: <4991F2EC.3000604@us.ibm.com> <4AA93D6C.1090100@us.ibm.com> In-Reply-To: <4AA93D6C.1090100@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 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-q3/txt/msg00674.txt.bz2 On 09/10/2009 12:54 PM, Maynard Johnson wrote: > Maynard Johnson wrote: >> Hi, >> I plan on doing some systemtap development on a Fedora 11 G5 box. >> Started out by just installing the F11 systemtap rpm and tried the >> HelloWorld example from /usr/share/doc/systemtap-0.8/examples/general, >> but I get a bunch of error messages, as follows: >> >> [ppcteam@localhost general]$ sudo stap -p4 helloworld.stp >> parse error: command line argument index 1 out of range [1-0] >> at: operator '' at /usr/share/systemtap/tapset/argv.stp:15:29 >> source: %( $# >= 1 %? argv[1]=@1 %) >> ^ >> parse error: command line argument index 2 out of range [1-0] >> at: operator '' at /usr/share/systemtap/tapset/argv.stp:16:29 >> source: %( $# >= 2 %? argv[2]=@2 %) >> >> ..... lots more of the same kind of thing >> >> The verbose option doesn't help any. I'm just getting my feet wet >> with SystemTap, so maybe this is something simple I'm missing. Any >> idea what might be causing this? > > After posting the above message back in February, I got some feedback > from David S and Frank E. I tried building/installing from source, and > that worked for me, so I just did my development with that instead of > the Fedora systemtap RPM. Today, I went back to this same Fedora 11 G5 > box and, having forgotten what I ran into back in Feb, I tried again to > use systemtap from the rpm and got the same results. Is this a ppc-only > issue? Systemtap works OK on F11 for other architectures? > > I have the following packages installed: > systemtap-0.9.9-3.fc11.ppc > kernel-2.6.29.6-217.2.8.fc11.ppc64 > kernel-debuginfo-common-2.6.29.6-217.2.8.fc11.ppc64 > kernel-devel-2.6.29.6-217.2.8.fc11.ppc64 > kernel-debuginfo-2.6.29.6-217.2.8.fc11.ppc64 > > Does anyone have any other ideas what might be causing this problem? Unfortunately, I don't have access to a ppc box running fedora, so I can't check this out myself. Note that you'll need the 'systemtap-runtime' rpm to actually run a script. But, if you are still getting the same parse errors, that isn't the problem. Are you getting the exact same errors? -- David Smith dsmith@redhat.com Red Hat http://www.redhat.com 256.217.0141 (direct) 256.837.0057 (fax)