This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
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:05:51 -0700
- Subject: SystemTap build instructions for FC4
Perhaps this should be checked into CVS under docs.
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-debuginfo"# this may take a while
6) su -c "yum install kernel-smp-devel"
*_steps 7, 8 & 9 are optional (selecting the kernel at boot time
is also possible)_*
7) su -c "vi /boot/grub/menu.lst"
8) change default= to the appropriate FC4 kernel
9) save and close the file
10) su -c "/sbin/init 6" # reboot system
11) uname -r # verify new kernel (e.g. 2.6.12-1.1447_FC4)
*_steps 12 & 13 are optional for those using FC Development
(Rawhide)_*
12) 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
13) save and close the file
14) su -c "yum update elfutils"
15) su -c "yum update elfutils-devel"
16) 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
17) cd src
18) ./configure
19) make
20) 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