Deployment of systemtap in centos 5.5

Source: Internet
Author: User
Tags systemtap

Systemtap of Version 5.5/1.1 is installed by default in centos 0.141, but the corresponding debuginfo-common and debuginfo packages must be installed for running systemtap normally.

The default kernel of centos 5.5 is 2.6.18-194.
The corresponding version of debuginfo-common, debuginfo package cannot be found on the http://debuginfo.centos.org/5. However, you can find the debuginfo-common and debuginfo packages of other versions, such as 2.6.18-194.8.1.el5. Therefore, you can first upgrade the kernel to 2.6.18-194.8.1.el5, and then install the corresponding version of the package.

You can download the following package and install it in sequence (the RPM package and kernel version must strictly match ):

Kernel-2.6.18-194.8.1.el5.x86_64.rpm
Search for downloads on the http://rpm.pbone.net, orHttp://linux.web.psi.ch/dist/scientific/5/kernel/2.6.18-194.8.1.el5/Download

Find download on kernel-debuginfo-common-2.6.18-194.8.1.el5.x86_64.rpm http://debuginfo.centos.org/5/

Find download on kernel-debuginfo-2.6.18-194.8.1.el5.x86_64.rpm http://debuginfo.centos.org/5/

Download on the kernel-devel-2.6.18-194.8.1.el5.x86_64.rpm http://rpm.pbone.net or onHttp://linux.web.psi.ch/dist/scientific/5/kernel/2.6.18-194.8.1.el5/Download

Download on the kernel-headers-2.6.18-194.8.1.el5.x86_64.rpm http://rpm.pbone.net or onHttp://linux.web.psi.ch/dist/scientific/5/kernel/2.6.18-194.8.1.el5/Download

After the installation is complete, start 2.6.18-194.8.1 to run systemtap. If the systemtap version is considered too low, you can download the systemtap source code for installation.

The following describes the impact of each RPM package. We can use the rpm-QL registration to check the location of the installation file after the RPM package is installed.

For example:

(1) files affected by kernel-2.6.18-194.8.1.el5.x86_64.rpm Installation

[Root @ test systemtap] # rpm-Q Kernel
Kernel-2.6.18-194.8.1.el5
[Root @ test systemtap] # rpm-QL kernel | HEAD
/Boot/. vmlinuz-2.6.18-194.8.1.el5.hmac
/Boot/system. map-2.6.18-194.8.1.el5
/Boot/config-2.6.18-194.8.1.el5
/Boot/initrd-2.6.18-194.8.1.el5.img
/Boot/symvers-2.6.18-194.8.1.el5.gz
/Boot/vmlinuz-2.6.18-194.8.1.el5
/Etc/modprobe. d/blacklist-FireWire
/Lib/modules/2.6.18-194.8.1.el5
/Lib/modules/2.6.18-194.8.1.el5/Build
/Lib/modules/2.6.18-194.8.1.el5/extra

(2) files affected by kernel-debuginfo-common-2.6.18-194.8.1.el5.x86_64.rpm Installation

[Root @ test systemtap] # rpm-Q kernel-debuginfo-common
Kernel-debuginfo-common-2.6.18-194.8.1.el5
[Root @ test systemtap] # rpm-QL kernel-debuginfo-common | HEAD
/Usr/lib/debug
/Usr/lib/debug/boot
/Usr/lib/debug/lib
/Usr/lib/debug/lib/modules
/Usr/lib/debug/usr/src/kernels
/Usr/src/debug
/Usr/src/debug/kernel-2.6.18/linux-2.6.18.x86_64
/Usr/src/debug/kernel-2.6.18/linux-2.6.18.x86_64/Arch
/Usr/src/debug/kernel-2.6.18/linux-2.6.18.x86_64/ARCH/i386
/Usr/src/debug/kernel-2.6.18/linux-2.6.18.x86_64/ARCH/i386/kernel

(3) files affected by kernel-debuginfo-2.6.18-194.8.1.el5.x86_64.rpm Installation

[Root @ gd86 ~] # Rpm-Q kernel-debuginfo
Kernel-debuginfo-2.6.18-194.8.1.el5
[Root @ gd86 ~] # Rpm-QL kernel-debuginfo | HEAD
/Usr/lib/debug/lib/modules/2.6.18-194.8.1.el5
/Usr/lib/debug/lib/modules/2.6.18-194.8.1.el5/kernel
/Usr/lib/debug/lib/modules/2.6.18-194.8.1.el5/kernel/Arch
/Usr/lib/debug/lib/modules/2.6.18-194.8.1.el5/kernel/ARCH/x86_64

(4) kernel-devel-2.6.18-194.8.1.el5.x86_64.rpm files affected after installation

[Root @ gd86 ~] # Rpm-Q kernel-devel
Kernel-devel-2.6.18-194.8.1.el5
[Root @ gd86 ~] # Rpm-QL kernel-devel | HEAD
/Usr/src/kernels
/Usr/src/kernels/2.6.18-194.8.1.el5-x86_64
/Usr/src/kernels/2.6.18-194.8.1.el5-x86_64/. config
/Usr/src/kernels/2.6.18-194.8.1.el5-x86_64/makefile
/Usr/src/kernels/2.6.18-194.8.1.el5-x86_64/module. KABI

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.