From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20806 invoked by alias); 30 Jan 2008 17:21:58 -0000 Received: (qmail 20795 invoked by uid 22791); 30 Jan 2008 17:21:57 -0000 X-Spam-Status: No, hits=-2.4 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, 30 Jan 2008 17:21:30 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m0UHLSmO005140; Wed, 30 Jan 2008 12:21:28 -0500 Received: from pobox-3.corp.redhat.com (pobox-3.corp.redhat.com [10.11.255.67]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0UHLSx5029647; Wed, 30 Jan 2008 12:21:28 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.yyz.redhat.com [10.15.16.9]) by pobox-3.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0UHL2Dw028687; Wed, 30 Jan 2008 12:21:27 -0500 Received: from ton.toronto.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 8C8C98001FF; Wed, 30 Jan 2008 12:20:44 -0500 (EST) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id m0UHKRlL027914; Wed, 30 Jan 2008 12:20:27 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id m0UHKRMh027913; Wed, 30 Jan 2008 12:20:27 -0500 X-Authentication-Warning: ton.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: Esther Horbert Cc: systemtap@sources.redhat.com Subject: Re: semantic error: libdwfl failure (dwfl_linux_kernel_report_modules): Exec format error References: <47A0A7D7.6000201@lfbs.rwth-aachen.de> From: fche@redhat.com (Frank Ch. Eigler) Date: Wed, 30 Jan 2008 17:21:00 -0000 In-Reply-To: <47A0A7D7.6000201@lfbs.rwth-aachen.de> (Esther Horbert's message of "Wed, 30 Jan 2008 17:37:43 +0100") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 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: 2008-q1/txt/msg00185.txt.bz2 Esther Horbert writes: > [...] > We installed like described here: > http://sourceware.org/systemtap/wiki/SystemtapOnDebian only installed > the kernel manually (make install). > Does somebody know what this Exec format error means and how to fix it? > [...] > # stap -vvv -e 'probe kernel.function("sys_open") {log("hello world") > exit()}' I note there is no systemtap version identification printed here. This means that your copy of systemtap is pretty old. > [...] > semantic error: libdwfl failure (dwfl_linux_kernel_report_modules): > Exec format error > Ensure kernel debuginfo is installed > [...] More modern versions give a more precise error message. Your elfutils is also rather aged. If you rebuild with a newer systemtap (perhaps a cvs snapshot), consider also fetching a copy of elfutils from http://sources.redhat.com/systemtap/ftp/elfutils and using the "--with-elfutils=" bundling method. >[...] > # ls -l /boot/vmlinux-$(uname -r) > -rwxr-xr-x 1 root root 43252479 2008-01-30 16:21 /boot/vmlinux-2.6.20-oprofile That looks big enough to have all the dwarf data we could possibly want, so you should not have to rebuild that nor reboot (if you're already running it). - FChE