From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24073 invoked by alias); 7 Sep 2005 22:05:17 -0000 Mailing-List: contact systemtap-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sources.redhat.com Received: (qmail 24042 invoked by uid 22791); 7 Sep 2005 22:05:10 -0000 Message-ID: <431F643F.1080101@us.ibm.com> Date: Wed, 07 Sep 2005 22:05:00 -0000 From: Kevin Stafford User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: systemtap@sources.redhat.com Subject: SystemTap build instructions for FC4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-q3/txt/msg00465.txt.bz2 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