This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Latest systemtap fails when used with latest Linux kernel
- From: Srikar Dronamraju <srikar at linux dot vnet dot ibm dot com>
- To: "Theodore Ts'o" <tytso at mit dot edu>
- Cc: systemtap at sources dot redhat dot com
- Date: Tue, 6 Jan 2009 14:12:43 +0530
- Subject: Re: Latest systemtap fails when used with latest Linux kernel
- References: <E1LK6di-00037H-Hl@closure.thunk.org>
- Reply-to: Srikar Dronamraju <srikar at linux dot vnet dot ibm dot com>
Hi Ted,
This error is occuring because of uid,gid, fields in task_struct being
moved over to struct cred patch. Kamalesh has already raised a bug
http://sourceware.org/bugzilla/show_bug.cgi?id=9699 for the same.
--
Thanks and Regards
Srikar
>
> Using the latest Systemtap (commit be21f2db) compiling a 2.6.28-git7
> kernel, I get this failure....
>
> - Ted
>
> % stap --vp 0001 --vp 0001 helloworld.stp
> Running make -C "/lib/modules/2.6.28-05784-gd5b9778/build" M="/tmp/stapsXvMb1" modules >/dev/null
> In file included from /usr/local/share/systemtap/runtime/transport/transport.c:23,
> from /usr/local/share/systemtap/runtime/print.c:17,
> from /usr/local/share/systemtap/runtime/runtime.h:84,
> from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:41:
> /usr/local/share/systemtap/runtime/transport/../procfs.c: In function â??_stp_mkdir_proc_moduleâ??:
> /usr/local/share/systemtap/runtime/transport/../procfs.c:102: error: â??struct nameidataâ?? has no member named â??dentryâ??
> /usr/local/share/systemtap/runtime/transport/../procfs.c:103: error: implicit declaration of function â??path_releaseâ??
> In file included from /usr/local/share/systemtap/runtime/transport/transport.c:35,
> from /usr/local/share/systemtap/runtime/print.c:17,
> from /usr/local/share/systemtap/runtime/runtime.h:84,
> from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:41:
> /usr/local/share/systemtap/runtime/transport/utt.c: In function â??utt_dropped_openâ??:
> /usr/local/share/systemtap/runtime/transport/utt.c:199: error: â??struct inodeâ?? has no member named â??uâ??
> In file included from /usr/local/share/systemtap/runtime/print.c:17,
> from /usr/local/share/systemtap/runtime/runtime.h:84,
> from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:41:
> /usr/local/share/systemtap/runtime/transport/transport.c: In function â??_stp_transport_initâ??:
> /usr/local/share/systemtap/runtime/transport/transport.c:214: error: â??struct task_structâ?? has no member named â??uidâ??
> /usr/local/share/systemtap/runtime/transport/transport.c:215: error: â??struct task_structâ?? has no member named â??gidâ??
> In file included from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:42:
> /usr/local/share/systemtap/runtime/regs.c: In function â??_stp_ret_addrâ??:
> /usr/local/share/systemtap/runtime/regs.c:49: error: â??struct pt_regsâ?? has no member named â??espâ??
> /usr/local/share/systemtap/runtime/regs.c: In function â??_stp_print_regsâ??:
> /usr/local/share/systemtap/runtime/regs.c:235: error: â??struct pt_regsâ?? has no member named â??eipâ??
> /usr/local/share/systemtap/runtime/regs.c:236: error: â??struct pt_regsâ?? has no member named â??espâ??
> /usr/local/share/systemtap/runtime/regs.c:238: error: â??struct pt_regsâ?? has no member named â??eaxâ??
> /usr/local/share/systemtap/runtime/regs.c:238: error: â??struct pt_regsâ?? has no member named â??ebxâ??
> /usr/local/share/systemtap/runtime/regs.c:238: error: â??struct pt_regsâ?? has no member named â??ecxâ??
> /usr/local/share/systemtap/runtime/regs.c:238: error: â??struct pt_regsâ?? has no member named â??edxâ??
> /usr/local/share/systemtap/runtime/regs.c:240: error: â??struct pt_regsâ?? has no member named â??esiâ??
> /usr/local/share/systemtap/runtime/regs.c:240: error: â??struct pt_regsâ?? has no member named â??ediâ??
> /usr/local/share/systemtap/runtime/regs.c:240: error: â??struct pt_regsâ?? has no member named â??ebpâ??
> /usr/local/share/systemtap/runtime/regs.c:242: error: â??struct pt_regsâ?? has no member named â??xdsâ??
> /usr/local/share/systemtap/runtime/regs.c:242: error: â??struct pt_regsâ?? has no member named â??xesâ??
> /usr/local/share/systemtap/runtime/regs.c: In function â??_stp_get_spâ??:
> /usr/local/share/systemtap/runtime/regs.c:417: error: â??struct pt_regsâ?? has no member named â??espâ??
> /usr/local/share/systemtap/runtime/regs.c:418: error: â??struct pt_regsâ?? has no member named â??espâ??
> /usr/local/share/systemtap/runtime/regs.c: In function â??_stp_get_arg32_by_numberâ??:
> /usr/local/share/systemtap/runtime/regs.c:505: error: â??struct pt_regsâ?? has no member named â??eaxâ??
> /usr/local/share/systemtap/runtime/regs.c:506: error: â??struct pt_regsâ?? has no member named â??edxâ??
> /usr/local/share/systemtap/runtime/regs.c:507: error: â??struct pt_regsâ?? has no member named â??ecxâ??
> In file included from /usr/local/share/systemtap/runtime/stack.c:35,
> from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:43:
> /usr/local/share/systemtap/runtime/stack-i386.c: In function â??__stp_stack_printâ??:
> /usr/local/share/systemtap/runtime/stack-i386.c:33: error: â??struct pt_regsâ?? has no member named â??espâ??
> /usr/local/share/systemtap/runtime/stack-i386.c:37: error: â??struct pt_regsâ?? has no member named â??ebpâ??
> In file included from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:43:
> /usr/local/share/systemtap/runtime/stack.c: In function â??_stp_stack_printâ??:
> /usr/local/share/systemtap/runtime/stack.c:61: error: â??struct pt_regsâ?? has no member named â??eipâ??
> /usr/local/share/systemtap/runtime/stack.c:65: error: â??struct pt_regsâ?? has no member named â??eipâ??
> /usr/local/share/systemtap/runtime/stack.c:67: error: â??struct pt_regsâ?? has no member named â??eipâ??
> distcc[11858] ERROR: compile /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c on localhost failed
> make[1]: *** [/tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.o] Error 1
> make: *** [_module_/tmp/stapsXvMb1] Error 2
> Pass 4: compiled C into "stap_7e482897f22605cdad02e8e11f34d749_334.ko" in 860usr/790sys/1733real ms.
> Pass 4: compilation failed. Try again with another '--vp 0001' option.
> Running rm -rf /tmp/stapsXvMb1