This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Simple script to grab and install the appropriate kernel RPMs
- From: "K.Prasad" <prasad at linux dot vnet dot ibm dot com>
- To: William Cohen <wcohen at redhat dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Tue, 4 Nov 2008 08:11:27 +0530
- Subject: Re: Simple script to grab and install the appropriate kernel RPMs
- References: <490F4D6C.2030200@redhat.com>
- Reply-to: prasad at linux dot vnet dot ibm dot com
On Mon, Nov 03, 2008 at 02:13:48PM -0500, William Cohen wrote:
> Hi All,
>
> In an effort to make it a bit easier to install systemtap on RHEL
> machines, I have made a small script to figure out which RPMs to install
> based either on the running kernel (no arguments to script) or the output
> of "uname -r" as an argument to the script. This script is only designed
> to work on RHEL. I would like to comments on it. The plan is to include
> this in the Systemtap beginners guide to make it easier for people to
> machine setup to run systemtap.
>
Just thinking if the script mitigates the problem seen with PAE and smp
versions of the kernel, wherein uname -r would contain the string PAE
and smp, and the kernel package's name isn't a simple 'kernel-debuginfo'
but a 'kernel-PAE-debuginfo'.
Thanks,
K.Prasad