This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Systemtap fails on IA64
- From: Keshavamurthy Anil S <anil dot s dot keshavamurthy at intel dot com>
- To: systemtap at sources dot redhat dot com
- Cc: anil dot s dot keshavamurthy at intel dot com
- Date: Thu, 8 Sep 2005 12:42:22 -0700
- Subject: Systemtap fails on IA64
- Reply-to: Keshavamurthy Anil S <anil dot s dot keshavamurthy at intel dot com>
Hi,
On IA64 (RHEL4 U2 system with stock kernel version 2.6.13 + few bug fixes),
I installed elfutils version 0.115-0.2 directly from sources and
systemtap snapshot version systemtap-20050903.tar.bz2, though I did not
had any problems compiling and installing elfutils/systemtap itself,
I am seeing problems when trying to run stap.
1) I see some stap unaligned access
2) and some errors and some undefined architecture
Here is the output, can any one let me know how can this be resolved.
---------------------------------
[root@csdor-tiger1 src]# cat test3.stp
probe kernel.function("do_fork")
{
print("enter");
}
---------------------------------
[root@csdor-tiger1 src]# stap -gv test3.stp
Created temporary directory "/tmp/stapg677Wa"
Searched '/usr/local/share/systemtap/tapset/2.6.13/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/*.stp', match count 4
Pass 1: parsed user script and 4 library script(s).
parsed 'do_fork' -> func 'do_fork'
pattern 'kernel' matches module 'kernel'
focused on module 'kernel' = [a000000100000000-a000000100b136d8, bias 0]
stap(4557): unaligned access to 0x20000000034f8016, ip=0x2000000000070710
stap(4557): unaligned access to 0x20000000034f8016, ip=0x2000000000070710
stap(4557): unaligned access to 0x20000000034f8035, ip=0x2000000000070c10
stap(4557): unaligned access to 0x20000000034f8071, ip=0x2000000000073190
pattern 'do_fork' matches function 'do_fork'
selected function do_fork
querying prologue-end of function 'do_fork'
pattern 'kernel' matches module 'kernel'
Pass 2: analyzed user script. 1 probe(s), 10 function(s), 0 global(s).
Pass 3: translated to C into "/tmp/stapg677Wa/stap_0_1126168634.c"
Running /usr/bin/make -C "/lib/modules/2.6.13/build" M="/tmp/stapg677Wa" modules
make: Entering directory `/root/Desktop/systemtap/linux/linux-2.6.13'
WARNING: Symbol version dump /root/Desktop/systemtap/linux/linux-2.6.13/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /tmp/stapg677Wa/stap_0_1126168634.o
In file included from /usr/local/share/systemtap/runtime/runtime.h:62,
from /tmp/stapg677Wa/stap_0_1126168634.c:7:
/usr/local/share/systemtap/runtime/copy.c: In function `_stp_strncpy_from_user':
/usr/local/share/systemtap/runtime/copy.c:99: warning: implicit declaration of function `__stp_strncpy_from_user'
In file included from /usr/local/share/systemtap/runtime/current.c:4,
from /tmp/stapg677Wa/stap_0_1126168634.c:8:
/usr/local/share/systemtap/runtime/regs.h:17:2: #error "Unimplemented architecture"
In file included from /tmp/stapg677Wa/stap_0_1126168634.c:8:
/usr/local/share/systemtap/runtime/current.c:33:3: #error Unimplemented architecture
In file included from /tmp/stapg677Wa/stap_0_1126168634.c:9:
/usr/local/share/systemtap/runtime/stack.c:101:2: #error "Unsupported architecture"
In file included from /tmp/stapg677Wa/stap_0_1126168634.c:9:
/usr/local/share/systemtap/runtime/stack.c: In function `_stp_stack_sprint':
/usr/local/share/systemtap/runtime/stack.c:115: warning: implicit declaration of function `REG_IP'
/usr/local/share/systemtap/runtime/stack.c:119: warning: implicit declaration of function `__stp_stack_sprint'
/usr/local/share/systemtap/runtime/stack.c:119: warning: implicit declaration of function `REG_SP'
/usr/local/share/systemtap/runtime/stack.c:119: error: invalid lvalue in unary `&'
/usr/local/share/systemtap/runtime/stack.c: In function `_stp_ustack_sprint':
/usr/local/share/systemtap/runtime/stack.c:160: warning: cast to pointer from integer of different size
make[1]: *** [/tmp/stapg677Wa/stap_0_1126168634.o] Error 1
make: *** [_module_/tmp/stapg677Wa] Error 2
make: Leaving directory `/root/Desktop/systemtap/linux/linux-2.6.13'
Pass 4: compiled into "stap_0_1126168634.ko"
Pass 4: compilation failed. Try again with '-v' (verbose) option.
Running /bin/rm -rf /tmp/stapg677Wa
-------------------------------------------------------------
regards,
Anil