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]

Re: Problem with modules


At 22:02 3/8/2006, Frank Ch. Eigler wrote:
Ranieri Romera <rromera@terra.com.br> writes:

> [...] I can get the information of the kernel.fuction("*"), but if I
> modules ip_tables, nfs, ext3 and other, always return a semantic
> error [...]

This suggests a problem with the modules' debugging information, or
with systemtap's attempts to process it.  There is a known
elfutils-related problem that may kick in if systemtap is installed in
an unusual place, and LD_LIBRARY_PATH is unset.

By the way, the wiki page http://sourceware.org/systemtap/wiki/HowToReportBugs
will gradually contain more relevant advice about such problems. Nevertheless,
including basic data like "stap -V" is good general practice.


- FChE

In first test I´m using the elfutil 0.97-7 (the version provided in RHAS4). After this response I get the version 0.122-0.4 and get the same error.

[root@alcala ~]# stap -p2 -e 'probe module("nfs").function("nfs_readdir") {}' -vvv
Created temporary directory "/tmp/stapVj0t29"
Searched '/usr/share/systemtap/tapset/2.6.9-34.EL.tlxsmp/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.9-34.EL.tlxsmp/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.9/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.9/*.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 10
Pass 1: parsed user script and 11 library script(s) in 90usr/0sys/92real ms.
parsed 'nfs_readdir' -> func 'nfs_readdir'
pattern 'nfs' matches module 'nfs'
focused on module 'nfs' = [f8ac7000-f8afa329, bias 0]
semantic error: cannot find module nfs debuginfo: invalid section index
semantic error: no match for probe point
while: resolving probe point module("nfs").function("nfs_readdir")
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 global(s) in 0usr/0sys/8real ms.
Pass 2: analysis failed.
Running rm -rf /tmp/stapVj0t29
[root@alcala ~]#


See more information obout my environment:

[root@alcala ~]# rpm -qi systemtap
Name : systemtap Relocations: (not relocatable)
Version : 0.5.4 Vendor: Terra
Release : 0.EL4 Build Date: Fri 07 Apr 2006 05:44:30 PM BRT
Install Date: Wed 02 Aug 2006 06:30:06 PM BRT Build Host: mueru.terra.com.br
Group : Development/System Source RPM: systemtap-0.5.4-0.EL4.src.rpm
Size : 1598199 License: GPL
Signature : DSA/SHA1, Wed 12 Apr 2006 03:26:52 PM BRT, Key ID e99a23e1b2b8f4b0
Packager : Terra Linux <trratlas@terra.com.br>
URL : http://sourceware.org/systemtap/
Summary : Instrumentation System
Description :
SystemTap is an instrumentation system for systems running Linux 2.6.
Developers can write instrumentation to collect data on the operation
of the system.


[root@alcala ~]# stap -V
SystemTap translator/driver (version 0.5.4 built 2006-04-07)
Copyright (C) 2005-2006 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
[root@alcala ~]#

[root@alcala ~]# rpm -ql systemtap |while read line ; do if [ -d "${line}" ] ; then echo "${line}" ; fi ; done
/usr/lib/systemtap
/usr/share/doc/systemtap-0.5.4
/usr/share/systemtap
/usr/share/systemtap/runtime
/usr/share/systemtap/runtime/probes
/usr/share/systemtap/runtime/probes/agg
/usr/share/systemtap/runtime/probes/bench
/usr/share/systemtap/runtime/probes/os_timer
/usr/share/systemtap/runtime/probes/scf
/usr/share/systemtap/runtime/probes/shellsnoop
/usr/share/systemtap/runtime/probes/tasklet
/usr/share/systemtap/runtime/probes/test4
/usr/share/systemtap/runtime/probes/where_func
/usr/share/systemtap/runtime/relayfs
/usr/share/systemtap/runtime/relayfs/linux
/usr/share/systemtap/runtime/transport
/usr/share/systemtap/tapset
/usr/share/systemtap/tapset/i686
/usr/share/systemtap/tapset/x86_64
/var/cache/systemtap
[root@alcala ~]#


[root@alcala ~]# echo -e "\npath=[${PATH}]\n\nld-library-path=[${LD_LIBRARY_PATH}]\n"

path=[/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin]

ld-library-path=[]

[root@alcala ~]#

[root@alcala ~]# locate stap
/usr/share/man/man1/stap.1.gz
/usr/share/man/man5/stapprobes.5.gz
/usr/share/man/man5/stapfuncs.5.gz
/usr/share/man/man5/stapex.5.gz
/usr/bin/stap
[root@alcala ~]#

[root@alcala ~]# gcc --version
gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@alcala ~]#

[root@alcala ~]# uname -a
Linux alcala.hst.terra.com.br 2.6.9-34.EL.tlxsmp #1 SMP Sat Mar 18 22:05:04 BRT 2006 i686 i686 i386 GNU/Linux
[root@alcala ~]#


[root@alcala ~]# dmesg |head
Linux version 2.6.9-34.EL.tlxsmp (tlx@mueru.terra.com.br) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Sat Mar 18 22:05:04 BRT 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 0000000000100000 - 00000000cfbc0000 (usable)
BIOS-e820: 00000000cfbc0000 - 00000000cfbcfc00 (ACPI data)
BIOS-e820: 00000000cfbcfc00 - 00000000cfbff000 (reserved)
BIOS-e820: 00000000cfc00000 - 00000000d0000000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000fec90000 (reserved)
BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
[root@alcala ~]#


The machine is a dell 6850 (i686) with 4 processors (SMP) HT enable, and 8G of ram.

[root@alcala ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) MP CPU 3.33GHz
stepping : 1
cpu MHz : 3325.665
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl est tm2 cid xtpr
bogomips : 6655.64


processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) MP CPU 3.33GHz
stepping : 1
cpu MHz : 3325.665
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl est tm2 cid xtpr
bogomips : 6650.15


processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) MP CPU 3.33GHz
stepping : 1
cpu MHz : 3325.665
cache size : 1024 KB
physical id : 3
siblings : 2
core id : 3
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl est tm2 cid xtpr
bogomips : 6650.30


processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) MP CPU 3.33GHz
stepping : 1
cpu MHz : 3325.665
cache size : 1024 KB
physical id : 3
siblings : 2
core id : 3
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl est tm2 cid xtpr
bogomips : 6650.37


processor : 4
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) MP CPU 3.33GHz
stepping : 1
cpu MHz : 3325.665
cache size : 1024 KB
physical id : 4
siblings : 2
core id : 4
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl est tm2 cid xtpr
bogomips : 6650.43


processor : 5
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) MP CPU 3.33GHz
stepping : 1
cpu MHz : 3325.665
cache size : 1024 KB
physical id : 4
siblings : 2
core id : 4
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl est tm2 cid xtpr
bogomips : 6650.58


processor : 6
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) MP CPU 3.33GHz
stepping : 1
cpu MHz : 3325.665
cache size : 1024 KB
physical id : 7
siblings : 2
core id : 7
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl est tm2 cid xtpr
bogomips : 6650.53


processor : 7
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) MP CPU 3.33GHz
stepping : 1
cpu MHz : 3325.665
cache size : 1024 KB
physical id : 7
siblings : 2
core id : 7
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl est tm2 cid xtpr
bogomips : 6579.30




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