From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4358 invoked by alias); 6 Jan 2009 07:46:24 -0000 Received: (qmail 4351 invoked by uid 22791); 6 Jan 2009 07:46:24 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from thunk.org (HELO thunker.thunk.org) (69.25.196.29) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Jan 2009 07:46:18 +0000 Received: from root (helo=closure.thunk.org) by thunker.thunk.org with local-esmtp (Exim 4.50 #1 (Debian)) id 1LK6dj-0008Nl-O5; Tue, 06 Jan 2009 02:46:15 -0500 Received: from tytso by closure.thunk.org with local (Exim 4.69) (envelope-from ) id 1LK6di-00037H-Hl; Tue, 06 Jan 2009 02:46:14 -0500 To: systemtap@sources.redhat.com Subject: Latest systemtap fails when used with latest Linux kernel From: "Theodore Ts'o" Full-Name: Theodore Ts'o Phone: (781) 391-3464 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: Date: Tue, 06 Jan 2009 07:46:00 -0000 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@mit.edu X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00029.txt.bz2 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