This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Updated: SystemTap build instructions for FC4
- From: Kevin Stafford <kevinrs at us dot ibm dot com>
- To: systemtap at sources dot redhat dot com
- Date: Wed, 07 Sep 2005 15:45:13 -0700
- Subject: Updated: SystemTap build instructions for FC4
Updated. Thanks Roland.
Though self evident to some, the following are the procedures I took to
install SystemTap (from source) on FC4.
1) su -c "yum update kernel"
2) su -c "yum install kernel-debuginfo" # this may take a while
3) su -c "yum install kernel-devel"
4) su -c "yum update kernel-smp"
5) su -c "yum install kernel-smp-devel"
*_steps 6, 7 & 8 are optional (selecting the kernel at boot time is
also possible)_*
6) edit /etc/grub.conf
7) change default= to the appropriate FC4 kernel
8) save and close the file
9) su -c "/sbin/init 6" # reboot system
10) uname -r # verify new kernel (e.g. 2.6.12-1.1447_FC4)
*_steps 11 & 12 are optional for those using FC Development
(Rawhide)_*
11) su -c "vi /etc/yum.repos.d/systemtap-elfutils.repo" # create
this file, add the following:
[systemtap-elfutils]
name=FOR SYSTEMTAP DEVELOPMENT ONLY
baseurl=ftp://sources.redhat.com/pub/systemtap/elfutils/
enabled=1
gpgcheck=0
12) save and close the file
13) su -c "yum update elfutils"
14) su -c "yum update elfutils-devel"
15) cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/systemtap login
{enter "anoncvs" as the password}
cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/systemtap co
src
16) cd src
17) ./configure
18) make
19) su -c "make install"
Notes: This will install 2.6.12-1.1447_FC4 (the kernel with correct
debuginfo)
2.6.12-1.1447_FC4 does not have built-in support for kretprobes.
--
Kevin Stafford
DES 2 | MS 2M3
Beaverton - OR
Linux Technology Center
IBM Systems & Technology
Phone: 1-503-578-3039
Email: kevinrs@us.ibm.com