This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

semantic error: libdwfl failure (dwfl_linux_kernel_report_modules): Exec format error


Hi!

I got the following problem after installing systemtap while trying out the example from the webpage (http://sourceware.org/systemtap/wiki/SystemtapOnUbuntu).
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()}'
Created temporary directory "/tmp/stapPOB94Z"
Searched '/usr/share/systemtap/tapset/2.6.20-oprofile/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.20-oprofile/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.20/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.20/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/i686/*.stp', match count 1
Searched '/usr/share/systemtap/tapset/*.stp', match count 33
Searched '/usr/share/systemtap/tapset/LKET/2.6.20-oprofile/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6.20-oprofile/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6.20/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6.20/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/*.stp', match count 19
Pass 1: parsed user script and 53 library script(s) in 310usr/10sys/439real ms.
semantic error: libdwfl failure (dwfl_linux_kernel_report_modules): Exec format error
Ensure kernel debuginfo is installed
while: resolving probe point kernel.function("sys_open")
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 global(s) in 10usr/0sys/36real ms.
Pass 2: analysis failed. Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapPOB94Z


# dpkg -l libdw-dev elfutils
ii elfutils 0.123-3 collection of utilities to handle ELF objects
ii libdw-dev 0.123-3 library that provides access to the DWARF debug information



# ls -l /boot/vmlinux-$(uname -r)
-rwxr-xr-x 1 root root 43252479 2008-01-30 16:21 /boot/vmlinux-2.6.20-oprofile



# zcat /proc/config.gz CONFIG_KALLSYMS=y
CONFIG_PROFILING=y
CONFIG_OPROFILE=y
CONFIG_KPROBES=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
...


Thanks!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]