This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: semantic error: libdwfl failure (dwfl_linux_kernel_report_modules): Exec format error
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Esther Horbert <horbert at lfbs dot RWTH-Aachen dot DE>
- Cc: systemtap at sources dot redhat dot com
- Date: Wed, 30 Jan 2008 12:20:26 -0500
- Subject: Re: semantic error: libdwfl failure (dwfl_linux_kernel_report_modules): Exec format error
- References: <47A0A7D7.6000201@lfbs.rwth-aachen.de>
Esther Horbert <horbert@lfbs.RWTH-Aachen.DE> 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