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: Anyone tried SystemTap with the latest RHEL5 Beta refresh


On Thu, 2006-11-02 at 14:09 -0500, Frank Ch. Eigler wrote:
> Hi -
> 
> On Thu, Nov 02, 2006 at 10:51:20AM -0800, Badari Pulavarty wrote:
> > Okay, just to make some progress and verify systemtap ..
> > 
> > Where can I get -debuginfo package from ? I looked at all
> > 6 RHEL5 Beta CD images and didn't find it. What am I missing ?
> 
> I believe that the debuginfo packages are at this time not placed on
> CDs at all.  However, they are online in the same place where the .iso
> files were.


Okay, I installed the debug-info rpm packages and now running into 
new issue ..

# stap -vv xx.stp
Created temporary directory "/tmp/stapDnsZZn"
Searched '/usr/share/systemtap/tapset/2.6.18-1.2714.el5/x86_64/*.stp',
match count 0
Searched '/usr/share/systemtap/tapset/2.6.18-1.2714.el5/*.stp', match
count 0
Searched '/usr/share/systemtap/tapset/2.6.18/x86_64/*.stp', match count
0
Searched '/usr/share/systemtap/tapset/2.6.18/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6/x86_64/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/x86_64/*.stp', match count 1
Searched '/usr/share/systemtap/tapset/*.stp', match count 26
Searched
'/usr/share/systemtap/tapset/LKET/2.6.18-1.2714.el5/x86_64/*.stp', match
count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6.18-1.2714.el5/*.stp',
match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6.18/x86_64/*.stp', match
count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6.18/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6/x86_64/*.stp', match
count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/x86_64/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/*.stp', match count 13
Pass 1: parsed user script and 40 library script(s) in
120usr/10sys/136real ms.
probe submit_bio@block/ll_rw_blk.c:3112 pc=0xffffffff80035c09
probe bio_endio@fs/bio.c:1032 pc=0xffffffff8003cd09
Pass 2: analyzed script: 3 probe(s), 10 function(s), 0 global(s) in
200usr/50sys/243real ms.
probe_734 locks nothing
probe_736 locks nothing
probe_738 locks nothing
Running grep " [tT] " /proc/kallsyms | sort -k 1,16 -s -
o /tmp/stapDnsZZn/symbols.sorted
Pass 3: translated to C into "/tmp/stapDnsZZn/stap_9870.c" in
80usr/70sys/161real ms.
Running make -C "/lib/modules/2.6.18-1.2714.el5/build"
M="/tmp/stapDnsZZn" modules V=1
make: Entering directory `/usr/src/kernels/2.6.18-1.2714.el5-x86_64'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
        echo;
\
        echo "  ERROR: Kernel configuration is invalid.";
\
        echo "         include/linux/autoconf.h or
include/config/auto.conf are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel
src to fix it.";  \
        echo;
\
        /bin/false)
mkdir -p /tmp/stapDnsZZn/.tmp_versions
rm -f /tmp/stapDnsZZn/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/stapDnsZZn
  gcc -Wp,-MD,/tmp/stapDnsZZn/.stap_9870.o.d  -nostdinc -
isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include -D__KERNEL__ -
Iinclude  -include include/linux/autoconf.h  -Wall -Wundef -Wstrict-
prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-
prototypes -Wundef -Werror-implicit-function-declaration -Os  -
mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-
blocks -Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -
mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -
fasynchronous-unwind-tables -g  -fno-stack-protector -Wdeclaration-
after-statement -Wno-pointer-sign -freorder-blocks -Wno-unused -Werror -
I"/usr/share/systemtap/runtime"   -DMODULE -D"KBUILD_STR(s)=#s" -
D"KBUILD_BASENAME=KBUILD_STR(stap_9870)"  -D"KBUILD_MODNAME=KBUILD_STR
(stap_9870)" -c -
o /tmp/stapDnsZZn/.tmp_stap_9870.o /tmp/stapDnsZZn/stap_9870.c
In file included from /usr/share/systemtap/runtime/print.c:14,
                 from /usr/share/systemtap/runtime/runtime.h:65,
                 from /tmp/stapDnsZZn/stap_9870.c:31:
include/linux/config.h:6:2: error: #warning Including config.h is
deprecated.
make[1]: *** [/tmp/stapDnsZZn/stap_9870.o] Error 1
make: *** [_module_/tmp/stapDnsZZn] Error 2
make: Leaving directory `/usr/src/kernels/2.6.18-1.2714.el5-x86_64'
Pass 4: compiled C into "stap_9870.ko" in 1020usr/360sys/1386real ms.
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapDnsZZn



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