From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8776 invoked by alias); 8 Jun 2007 18:53:10 -0000 Received: (qmail 8762 invoked by uid 22791); 8 Jun 2007 18:53:09 -0000 X-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_40,DK_POLICY_SIGNSOME,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; Fri, 08 Jun 2007 18:53:05 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l58Ir2xf025407 for ; Fri, 8 Jun 2007 14:53:02 -0400 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l58Iqqf3010520; Fri, 8 Jun 2007 14:53:02 -0400 Received: from [10.11.231.252] (unused [10.11.231.252] (may be forged)) by lacrosse.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id l58Iqp56009139; Fri, 8 Jun 2007 14:52:52 -0400 Message-ID: <4669A583.7090701@redhat.com> Date: Fri, 08 Jun 2007 18:53:00 -0000 From: William Cohen User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: William Cohen CC: SystemTAP Subject: Re: Fedora 7 based Systemtap LiveCD for i686 machines References: <46672EE9.50306@redhat.com> In-Reply-To: <46672EE9.50306@redhat.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-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00533.txt.bz2 William Cohen wrote: > Hi All, > > I have been working on a Fedora 7 based liveCD that can be used for > the OLS tutorial. The process of generating the livecd is getting a > bit easier now that livecd-creator can use a kickstart file to > generate the iso image. I started with the > /usr/share/livecd-tools/livecd-fedora-desktop.ks, verified that I > could build a live CD (and a live usb key flash). Then added the RPMs > for systemtap (systemtap, kernel-devel, kernel-debuginfo). These > additional RPMs pushed the size well over the 700MB limit for a CDROM > (about 1GB). I used to USB flash key to veryify that I could boot the > image and run systemtap. I then started editing the list of packages > on the image to reduce the image size under the 700MB limit. I ended > up using "yum remove [rpm package]" (with question "n") to determine what > other packages were dependent on a that RPM and ended up with a 687MB > image. > > The resulting iso image has been uploaded for other people to test out > at: > > ftp://sourceware.redhat.com/pub/systemtap/livecds/Fedora-7-systemtap-20070606.iso > > > For more information about the livecd tools and creating a livecd: > > http://fedoraproject.org/wiki/FedoraLiveCD > > Attached is the kickstart file (livecd-fedora-7-staptut7.ks) used to > create the livecd on a F7 machine. The following command was run as root to > create the image: > > livecd-creator --config=livecd-fedora-7-staptut8.ks \ > --fslabel=Fedora-7-systemtap-20070606 >& build_stap8.log > > Please give it a try and let me know whether how it works. > > -Will There was a question on how much memory is used by the fedora 7 stap livecd when running. This was done on a IBM thinkpad t41 laptop with 512MB of RAM. Here is the output of "free" when just one terminal open on the GUI after boot up: total used free shared buffers cached Mem: 514712 508852 5860 0 61552 330872 -/+ buffers/cache: 116428 398284 Swap: 0 0 0 There is still lots of memory available. Output of free when running the an example from the /usr/share/docs/systemtap-0.5.13 directory (kmalloc2.stp) still shows a fair amount of memory available. total used free shared buffers cached Mem: 514712 490568 24144 0 48304 300488 -/+ buffers/cache: 141776 372936 Swap: 0 0 0 Given that the livecd doesn't mount swap, it is possible that for some examples to get oom kills if there is a large amount of debug information pulled in by the translator. -Will