public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* SystemTap build instructions for FC4
@ 2005-09-07 22:05 Kevin Stafford
  0 siblings, 0 replies; only message in thread
From: Kevin Stafford @ 2005-09-07 22:05 UTC (permalink / raw)
  To: systemtap

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-07 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-07 22:05 SystemTap build instructions for FC4 Kevin Stafford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).