This is the mail archive of the 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 newb having trouble getting it to work

Tony wrote:
> 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 <> 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,
>> and
>> I
>> > installed kernel-debug-info (2.6.15-1.2054_FC5), kernel-devel
>> > (2.6.17-1.2157_FC5), the elfutils package ( and systemtap
>> > (20060729).  I've tried to follow the instructions found at this link:
>> >  as closely as
>> I
>> > 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
>> say
>> > to make sure that the kernel-devel and the kernel-debuginfo versions
>> are
>> the
>> > same as the kernel version, and on my machine they aren't, but I don't
>> know
>> > 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)
>> but
>> yum
>> yum install kernel-devel (without the version name)
>> > can't find them, and when I internet search for them, I also can't find
>> them
>> > manually.  Yum actually couldn't find kernel-debuginfo at all, the
>> above
>> > version number just so happens to be the closest version number I could
>> find
>> > 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:
>> > and try to run
>> it
>> > 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
>> matched
>> > (all of them?).  If anyone thinks it's a different problem, please let
>> me
>> > know what you think that problem may be, because I can't seem to figure
>> this
>> > one out.
>> yum remove kernel-devel kernel-debuginfo then
>> yum install kernel-devel
>> download kernel-debuginfo rpm from the above link, install, and try
>> again.
>> Eugene
>> -- 
>> eteo  ph: +65 6490 4142
>> gpg fingerprint:  47B9 90F6 AE4A 9C51 37E0  D6E1 EA84 C6A2 58DF 8823

eteo  ph: +65 6490 4142
gpg fingerprint:  47B9 90F6 AE4A 9C51 37E0  D6E1 EA84 C6A2 58DF 8823

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