All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Adeos/Xenomai Arm Port
Date: Tue, 17 Oct 2006 12:04:34 +0200	[thread overview]
Message-ID: <1161079474.5154.8.camel@domain.hid> (raw)
In-Reply-To: <45349113.2010700@domain.hid>

On Tue, 2006-10-17 at 10:15 +0200, Gilles Chanteperdrix wrote:
> Philippe Gerum wrote:
> > On Mon, 2006-10-16 at 17:48 +0200, Schlägl Manfred jun. wrote:
> >>3. in-kernel periodic task & in-kernel timer benchmark 
> >>
> >>-sh-3.00# ./latency -t 2 -T 10
> >>== Sampling period: 100 us
> >>== Test mode: in-kernel timer handler
> >>== All results in microseconds
> >>latency: failed to start in-kernel timer benchmark, code -25
> > 
> > 
> > Eh? That's weird. The fact that the RTDM benchmark device could be
> > opened, but that a wrong ioctl code seemed to flow to it might be the
> > sign of the worm, somewhere in the Adeos syscall propagation path. Btw,
> > are the RTDM-based benchmark drivers compiled statically into the
> > kernel?
> 
> All benchmark drivers (timerbench, switchtest and irqbench) use the
> /dev/rttest%d devices, the device index is passed to latency
> and irqbench using the -D option whereas switchtest uses the ioctl error
> to find the correct device. So this error might simply be the sign that
> Manfred did not pass the -D option to latency.

AFAICS, the failed operation did not happen on an attempt to open the
device, but later when submitting an ioctl() request to it, in order to
start the sampling. So this can't be a simple device index issue. IOW,
the rttestX device is available and ready to use; the problem lies
beyond that point.

-- 
Philippe.




  parent reply	other threads:[~2006-10-17 10:04 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-16 15:48 [Xenomai-help] Adeos/Xenomai Arm Port Schlägl Manfred jun.
2006-10-16 16:24 ` Jan Kiszka
2006-10-16 18:20 ` Gilles Chanteperdrix
2006-10-16 21:30 ` Philippe Gerum
2006-10-17  8:15   ` Gilles Chanteperdrix
2006-10-17  8:38     ` Gilles Chanteperdrix
2006-10-17  9:54       ` Philippe Gerum
2006-10-17 10:04     ` Philippe Gerum [this message]
2006-10-17 12:05       ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2006-10-17  9:23 Schlägl Manfred jun.
2006-10-17  9:37 ` Jan Kiszka
2006-10-17 15:39 Schlägl Manfred jun.
2006-10-18  7:52 ` Schlägl Manfred jun.
2006-10-18 10:35   ` Jan Kiszka
2006-10-18 12:24     ` Schlägl Manfred jun.
2006-10-18 12:33       ` Jan Kiszka
2006-10-18 12:48         ` Gilles Chanteperdrix
2006-10-21 14:56       ` Schlägl Manfred jun.
2006-10-21 16:44         ` Jan Kiszka
2006-10-25  8:03           ` Schlägl Manfred jun.
2006-10-18 10:25 ` Philippe Gerum
2006-10-18 12:05   ` Gilles Chanteperdrix
2006-10-18 15:16 Schlägl Manfred jun.
2006-10-18 15:27 ` Jan Kiszka
2006-10-18 15:56   ` Schlägl Manfred jun.
2006-10-19  5:52     ` Jan Kiszka
2006-10-21 12:11   ` Schlägl Manfred jun.

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=1161079474.5154.8.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.