public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
To: "Theodore Ts'o" <tytso@mit.edu>
Cc: systemtap@sources.redhat.com
Subject: Re: Latest systemtap fails when used with latest Linux kernel
Date: Tue, 06 Jan 2009 08:50:00 -0000	[thread overview]
Message-ID: <20090106084243.GA7868@linux.vnet.ibm.com> (raw)
In-Reply-To: <E1LK6di-00037H-Hl@closure.thunk.org>


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

  reply	other threads:[~2009-01-06  8:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-06  7:46 Theodore Ts'o
2009-01-06  8:50 ` Srikar Dronamraju [this message]
2009-01-06 17:49 ` Frank Ch. Eigler
2009-01-06 20:45   ` Masami Hiramatsu
2009-01-06 23:09     ` Masami Hiramatsu
2009-01-06 18:39 ` Frank Ch. Eigler
2009-01-06 20:30   ` David Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090106084243.GA7868@linux.vnet.ibm.com \
    --to=srikar@linux.vnet.ibm.com \
    --cc=systemtap@sources.redhat.com \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).