From: "Frank Ch. Eigler" <fche@redhat.com>
To: Karl Hiramoto <karl@hiramoto.org>
Cc: systemtap@sourceware.org
Subject: Re: ERROR: Build-id mismatch: "kernel" vs. "vmlinux" byte 0 (0x00 vs 0x00)
Date: Thu, 08 Apr 2010 17:06:00 -0000 [thread overview]
Message-ID: <20100408170639.GB28054@redhat.com> (raw)
In-Reply-To: <4BBE073E.7020602@hiramoto.org>
Hi -
> >-14 is -EFAULT. This should not happen unless our address
> >calculations have gotten messed up somehow. Try rerunning stap with
> >-DDEBUG_TRANS -DDEBUG_SYMBOLS.
> Here are full logs with " stap --vp 9999 -DDEBUG_TRANS -DDEBUG_SYMBOLS"
> The working dropwatch:
> http://karl.hiramoto.org/temp/stap_dropwatch.txt
> The non working tcp_trace
> http://karl.hiramoto.org/temp/stap_tcp_trace.txt
Thanks.
The difference is that dropwatch uses tracepoints only, and does not
rely on kernel symbol/debug data. That in turn means that stap does
not emit build-id-checking code. A better test would be to vary
kernel version and/or systemtap version, but running with the same
script. (Even a simple one like probe kernel.function("sys_open"){}
should show the problem.)
I'm building myself a 2.6.34-rc3 kernel to see if something became
broken lately.
> there's also some errors like:
> [...]
> /tmp/stapEyVbEM/stapconf_6415a8d55b7118f55f4e4a8368ac8512_390.h
> /usr/share/systemtap/runtime/autoconf-grsecurity.c: In function foo:
> /usr/share/systemtap/runtime/autoconf-grsecurity.c:10: error: struct
> module) has no member namedi~init_size_
> [...]
That's OK, runtime/autoconf-* bits are meant to detect kernel
characteristics by compilation success / failures.
- FChE
next prev parent reply other threads:[~2010-04-08 17:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-07 16:50 Karl Hiramoto
2010-04-07 19:32 ` Frank Ch. Eigler
2010-04-08 6:46 ` Karl Hiramoto
2010-04-08 14:55 ` Frank Ch. Eigler
2010-04-08 16:44 ` Karl Hiramoto
[not found] ` <4BBE073E.7020602@hiramoto.org>
2010-04-08 17:06 ` Frank Ch. Eigler [this message]
2010-04-08 18:23 ` Karl Hiramoto
2010-04-08 18:30 ` Frank Ch. Eigler
2010-06-11 15:53 ` Tony Jones
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=20100408170639.GB28054@redhat.com \
--to=fche@redhat.com \
--cc=karl@hiramoto.org \
--cc=systemtap@sourceware.org \
/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).