From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16750 invoked by alias); 1 Nov 2006 17:20:42 -0000 Received: (qmail 16743 invoked by uid 22791); 1 Nov 2006 17:20:42 -0000 X-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Nov 2006 17:20:34 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id kA1HKWI0002057 for ; Wed, 1 Nov 2006 12:20:32 -0500 Received: from pobox.hsv.redhat.com (pobox.hsv.redhat.com [172.16.16.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id kA1HKWgR018804; Wed, 1 Nov 2006 12:20:32 -0500 Received: from [172.16.17.170] (dhcp-170.hsv.redhat.com [172.16.17.170]) by pobox.hsv.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id kA1HKV5r031402; Wed, 1 Nov 2006 12:20:31 -0500 Message-ID: <4548D711.2060904@redhat.com> Date: Wed, 01 Nov 2006 18:06:00 -0000 From: David Smith User-Agent: Thunderbird 1.5.0.7 (X11/20061008) MIME-Version: 1.0 To: David Wilder CC: "Frank Ch. Eigler" , ken@odtv.com, "'Badari Pulavarty'" , systemtap@sources.redhat.com Subject: Re: Anyone tried SystemTap with the latest RHEL5 Beta refresh References: <20061101013734.GU4978@redhat.com> <017f01c6fd83$da5ed930$0301a8c0@wxp1mbl1> <4548DB65.5020202@us.ibm.com> In-Reply-To: <4548DB65.5020202@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q4/txt/msg00314.txt.bz2 David Wilder wrote: > Frank Ch. Eigler wrote: > >> "Ken Robson" writes: >> >> >> >>> [...] To me it is valid to install minus the debuginfo files on >>> almost all Production hosts. I am experimenting with developing my >>> scripts off box with my cache directory set to an exported read-only >>> NFS share which is then mounted as the module cache directory on my >>> Production boxes [...] >>> >> >> More than that - on such production boxes, you will need to install >> only the "staprun" (formerly "stapd") binary, now separated into a >> systemtap-runtime RPM. For the moment though please be careful with >> building probes for mismatching machines: the module address tables >> are not yet fully adaptive. >> >> - FChE >> >> > The cached debuginfo is a really cool concept. You got a bit confused here. The debuginfo isn't cached, the systemtap compiled modules are cached. > But it wont solve the > problem of simplifying the use of systemtap for the customers. From a > support standpoint if a customer system is missing a debug tool (or some > dependent component) the tool may as well not exist! If it comes down to > fix the debug tool or find another approach to solve the customers > problem the later will generally win. To make stap successful we need to > get people using it and providing feedback, let's make it as easy as > possible to use. All dependencies must be installed when selecting a > product for install. In general, I certainly agree with you that all dependencies must be installed. However, systemtap (and any other program that would like to use debuginfo) is a special case. From my understanding, there is a policy (perhaps unwritten) that no rpm can require a debuginfo rpm. Plus, even if we did require the debuginfo rpm, it still wouldn't get installed automatically. For FC[56], the debuginfo yum repositories are disabled by default. For RHEL[34], the debuginfo RPMs aren't available from a RHN channel, they have to be downloaded separately (from my vague understanding which could be wrong). In addition, debuginfo RPMs are not present on RHEL/FC install media. So, from a current logistical point of view, if the systemtap RPM required the kernel debuginfo RPM, systemtap itself could never be installed because of missing dependencies that could never be met. Currently, using systemtap isn't much different than using gdb. Let's assume that /bin/ls keeps crashing on you for some strange reason that you'd like to debug. You are going to need to download/install the coreutils debuginfo RPM, then use gdb to debug your problem. -- David Smith dsmith@redhat.com Red Hat http://www.redhat.com 256.217.0141 (direct) 256.837.0057 (fax)