This is the mail archive of the
mailing list for the systemtap project.
Re: Systemtap newb having trouble getting it to work
- From: Eugene Teo <eteo at redhat dot com>
- To: Tony <scatman4 at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Sat, 12 Aug 2006 00:32:05 +0800
- Subject: Re: Systemtap newb having trouble getting it to work
- Organization: Red Hat Asia-Pacific
- References: <email@example.com> <44DCAAE4.firstname.lastname@example.org> <email@example.com>
> Eugene (or any others who are willing to help me),
> First off, like to thank you for taking the time to help me. Now I know
> what I need to do (get the version numbers the same).
> However, I checked the link you gave to the mirror, and couldn't find
> kernel-debuginfo-2.6.16-1.2122. I couldn't even find anything 2.6.16* that
> I could download. I've been having this trouble for a while, and I can't
> even find this version number on the internet anywhere.
> In addition, after removing the kernel devel rpm and then typing "yum
> install kernel-devel" - the default install version number that yum
> wants to
> install is consistently 2.6.17-1.2174 _FC5, and I can't figure out how to
> tell yum to chill out and just install a smaller version (2.6.16-1.2122).
While you try to install kernel-devel and kernel-debuginfo rpms, why don't
you install the newest kernel. There are security fixes in the newer kernels
that you might need anyways.
> On 8/11/06, Eugene Teo <firstname.lastname@example.org> wrote:
>> Scatman4 wrote:
>> > I've recently been in an attempt to get system tap to run on my Linux
>> box. I
>> > have fedora 5 with a kernel release version of 2.6.16-1.2122_FC5smp,
>> > installed kernel-debug-info (2.6.15-1.2054_FC5), kernel-devel
>> > (2.6.17-1.2157_FC5), the elfutils package (0.119.1.2.1) and systemtap
>> > (20060729). I've tried to follow the instructions found at this link:
>> > http://sourceware.org/ml/systemtap/2006-q3/msg00125.html as closely as
>> > could.
>> kernel, kernel-devel, kernel-debuginfo - all have to be the same version.
>> > The part that I think might be causing the problem is, the instructions
>> > to make sure that the kernel-devel and the kernel-debuginfo versions
>> > same as the kernel version, and on my machine they aren't, but I don't
>> > how to make them the same. I've tried yuming a specific version number
>> > (I.E. yum install kernel-devel-2.6.16-1.2122 or something like that)
>> yum install kernel-devel (without the version name)
>> > can't find them, and when I internet search for them, I also can't find
>> > manually. Yum actually couldn't find kernel-debuginfo at all, the
>> > version number just so happens to be the closest version number I could
>> > to my Linux kernel version # on the internet.
>> > The actual error that I'm getting happens when I write the simple hello
>> > world script found on this link:
>> > http://sources.redhat.com/systemtap/tutorial/node2.html and try to run
>> > just like they say to. The error I receive is this:
>> > "Module directory /lib/modules/2.6.16-1.2122_FC5smp/build check
>> failed: No
>> > such filre or directory
>> > Make sure kernel devel is installed.
>> You have kernel-devel rpm installed, but for the wrong version of kernel.
>> > Pass 4: compilation failed. Try again with more verbose options."
>> > If anyone DOES think this is the problem, please tell me how to get the
>> > version numbers to match up, and which rpms I need to make sure are
>> > (all of them?). If anyone thinks it's a different problem, please let
>> > know what you think that problem may be, because I can't seem to figure
>> > one out.
>> yum remove kernel-devel kernel-debuginfo then
>> yum install kernel-devel
>> download kernel-debuginfo rpm from the above link, install, and try
>> eteo redhat.com ph: +65 6490 4142 http://www.kernel.org/~eugeneteo
>> gpg fingerprint: 47B9 90F6 AE4A 9C51 37E0 D6E1 EA84 C6A2 58DF 8823
eteo redhat.com ph: +65 6490 4142 http://www.kernel.org/~eugeneteo
gpg fingerprint: 47B9 90F6 AE4A 9C51 37E0 D6E1 EA84 C6A2 58DF 8823