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]

[Bug translator/14226] semantic error: missing x86_64 kernel/module debuginfo under '...' while resolving probe point kernel.function("vfs_read").return


https://sourceware.org/bugzilla/show_bug.cgi?id=14226

--- Comment #13 from snehal <snehal at linux dot vnet.ibm.com> ---
Ignore previous comment (I pasted sles result by mistake)...
On ubuntu again I did run 
strace -e open stap --vp 09 -e 'probe kernel.function("sys_open") {log("hello
world") exit()}' |& grep vmlinu

open("/boot/vmlinux-3.16.0-23-generic", O_RDONLY) = 3
checking pattern '' vs. module 'kernel' file '/boot/vmlinux-3.16.0-23-generic'
Attempting to extract kernel debuginfo build ID from
/lib/modules/3.16.0-23-generic/build/vmlinux.id
open("/lib/modules/3.16.0-23-generic/build/vmlinux.id", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/boot/vmlinux-3.16.0-23-generic.debug", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/boot/.debug/vmlinux-3.16.0-23-generic.debug", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/debug/boot/vmlinux-3.16.0-23-generic.debug", O_RDONLY) = 4
focused on module 'kernel' = [0xc000000000000000-0xc0000000016fc81c, bias 0
file /usr/lib/debug/boot/vmlinux-3.16.0-23-generic.debug ELF machine powerpc|
(code 21)
open("/boot/vmlinux-3.16.0-23-generic", O_RDONLY) = 5
open("/lib/modules/3.16.0-23-generic/build/vmlinux.id", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/boot/vmlinux-3.16.0-23-generic.debug", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/boot/.debug/vmlinux-3.16.0-23-generic.debug", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/debug/boot/vmlinux-3.16.0-23-generic.debug", O_RDONLY) = 6
root@ubuntu:~# 


-----------------------------------------
I tried crating link 

 root@ubuntu:~#  ls -l /usr/lib/debug/boot/vmlinux-3.16.0-23-generic.debug
 lrwxrwxrwx 1 root root 45 Nov 10 03:35
/usr/lib/debug/boot/vmlinux-3.16.0-23-generic.debug ->
/usr/lib/debug/boot/vmlinux-3.16.0-23-generic

Then did try to run stap again 

#stap -v -e  'probe kernel.function("sys_open") {log("hello world") exit()}'

Pass 1: parsed user script and 102 library script(s) using
45376virt/35072res/6080shr/28480data kb, in 170usr/0sys/168real ms.
Pass 2: analyzed script: 1 probe(s), 2 function(s), 0 embed(s), 0 global(s)
using 77184virt/68800res/7488shr/60288data kb, in 560usr/90sys/665real ms.
Pass 3: translated to C into
"/tmp/stap7jBR5P/stap_249960a02a2d0edf9b9c7b95dc166d4d_1155_src.c" using
77184virt/69120res/7808shr/60288data kb, in 20usr/90sys/100real ms.
ld: BFD (GNU Binutils for Ubuntu) 2.24.90.20141014 internal error, aborting at
../../bfd/elf-eh-frame.c line 1727 in _bfd_elf_write_section_eh_frame

ld: Please report this bug.

scripts/Makefile.modpost:124: recipe for target
'/tmp/stap7jBR5P/stap_249960a02a2d0edf9b9c7b95dc166d4d_1155.ko' failed
make[1]: *** [/tmp/stap7jBR5P/stap_249960a02a2d0edf9b9c7b95dc166d4d_1155.ko]
Error 1
Makefile:1348: recipe for target 'modules' failed
make: *** [modules] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_249960a02a2d0edf9b9c7b95dc166d4d_1155.ko" in
5940usr/810sys/6885real ms.
Pass 4: compilation failed.  [man error::pass4]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.
root@ubuntu:~#

-- 
You are receiving this mail because:
You are the assignee for the bug.


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