All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] x86_64: problems with syscall tracing?
Date: Sun, 11 Nov 2007 18:32:41 +0100	[thread overview]
Message-ID: <47373CB9.2010104@domain.hid> (raw)
In-Reply-To: <47373B12.7020808@domain.hid>

Jan Kiszka wrote:
> Philippe,
> 
> you recently said there is a bug in the x86_64 support when syscall
> tracing is enabled. Now I think I stepped on it as well: In order to
> validate my APIC frequency patches for that arch, I wanted to use LTTng
> there. But as soon as I start the trace, the latency test fails to run,
> prematurely exiting due to a segfault.

Exactly what Gilles sees on his box too, latency segfaulting at startup.
On mine, the kernel does not even boot.

 Gdb and the kernel say that user
> land jumped to address 0, I just yet failed to find out where they come
> from. I strongly assume LTTng enables syscall tracing, because its
> entry/exit instrumentations are inside the hook function
> (syscall_trace_entry/leave).
> 
> Do you have any further details on your tracing issue? Does may
> observation correlates with yours?

Quite frankly, I did not dig the issue that far yet, but yes, my first
impression is that something is broken in the syscall return path (or
entry?), and it shows when the return path to user-space is diverted in
some way, either for security auditing, or likely for tracing like
you've just reported.

> 
> Jan
> 


-- 
Philippe.


  reply	other threads:[~2007-11-11 17:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-11 17:25 [Xenomai-core] x86_64: problems with syscall tracing? Jan Kiszka
2007-11-11 17:32 ` Philippe Gerum [this message]
2007-11-11 17:45   ` Jan Kiszka
2007-11-11 20:16   ` Gilles Chanteperdrix
2007-11-12  9:20     ` Jan Kiszka
2007-12-21 12:15       ` Jan Kiszka
2007-12-23 14:24         ` Philippe Gerum

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=47373CB9.2010104@domain.hid \
    --to=rpm@xenomai.org \
    --cc=jan.kiszka@domain.hid \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.