This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: help with running systemtap
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: p v <pvlogin at yahoo dot com>
- Cc: systemtap at sourceware dot org
- Date: Tue, 9 Sep 2008 09:13:00 -0400
- Subject: Re: help with running systemtap
- References: <929956.84009.qm@web65602.mail.ac4.yahoo.com>
Hi -
On Mon, Sep 08, 2008 at 11:45:54PM -0700, p v wrote:
> [...]
> [root@robot ~]# stap -v -k hello.stp
> [...]
> Pass 3: using cached /root/.systemtap/cache/2b/stap_2b11f1a63be8d5e9310e1f646ee698de_264.c
> Pass 4: using cached /root/.systemtap/cache/2b/stap_2b11f1a63be8d5e9310e1f646ee698de_264.ko
> Pass 5: starting run.
> Error inserting module '/tmp/stapvQz24y/stap_2b11f1a63be8d5e9310e1f646ee698de_264.ko': Invalid module format
> [...]
Here's the key hint. Systemtap reused a prior compiled version of the
same script, which must have been built back when you had the .14-108
kernels set up. It should not have done that - that's a bug. You can
work around it by "rm -rf /root/.systemtap/cache".
- FChE