All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Julien Heyman <bidsonux@domain.hid>
Cc: xenomai@xenomai.org, Jan Kiszka <jan.kiszka@domain.hid>
Subject: Re: [Xenomai-help] Beginner's question / testsuite / latency
Date: Sun, 30 Jul 2006 19:49:07 +0200	[thread overview]
Message-ID: <1154281747.4970.10.camel@domain.hid> (raw)
In-Reply-To: <200607301929.08176.bidsonux@domain.hid>

On Sun, 2006-07-30 at 19:29 +0200, Julien Heyman wrote:
> On Friday 28 July 2006 23:32, Gilles Chanteperdrix wrote:
> > Julien Heyman wrote:
> >  > > Losing too many ticks!
> >  > > TSC cannot be used as a timesource. ~
> >  > > Possible reasons for this are:
> >  > > ~ You're running with Speedstep,
> >  > > ~ You don't have DMA enabled for your hard disk (see hdparm),
> >  > > ~ Incorrect TSC synchronization on an SMP system (see dmesg).
> >  > > Falling back to a sane timesource now.
> >  > >
> >  > > Do you see such message in kernel logs ?
> >  >
> >  > No, I don't get any of these.
> >  >
> >  > > If this is the issue you are having, then you may try passing
> >  > > idle=poll on kernel boot line. Or recompile the kernel selecting a
> >  > > processor that has no tsc (for example 486), xenomai will then use the
> >  > > 8254 counter to emulate the tsc.
> >  >
> >  > I tried to rebuild with CPU=486, but it gives the same result.
> >
> > Did you try booting with the idle=poll option ? Also, could you try
> > re-enabling ACPI, except the "processor" module ?
> 
> I tried both, without success.
> My quest goes on... :/
> 
> By the way, there is something I don't understand : I get the following error 
> message at boot time :
> Incompatible timer mode found (aperiodic, need periodic)
> VxWorks skin init failed, code -16
> 

It's because the VxWorks skin requires periodic timing whilst the
native/POSIX ones require aperiodic setup. This error is raised whenever
multiple skins with conflicting timing requirements are built statically
into the kernel. The best way to handle this is to enable skins as
modules.

> whereas I do have periodic timer enabled, I think :

> bids@domain.hid$ cat .config | grep PERIO
> CONFIG_XENO_OPT_TIMING_PERIODIC=y
> CONFIG_XENO_OPT_TIMING_PERIOD=0
> 
> (or am I checking the wrong setting ? Also, it "0" a legitimate value for the
>  
> timing period ?)

Yes. The skins requiring periodic timing will substitute their own
default values.

> 
> Julien Heyman
> 
> 
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
-- 
Philippe.




  reply	other threads:[~2006-07-30 17:49 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-20 21:17 [Xenomai-help] Beginner's question / testsuite / latency Julien Heyman
2006-07-20 21:58 ` Jan Kiszka
2006-07-22  9:52   ` Julien Heyman
2006-07-22 17:17     ` Jan Kiszka
2006-07-28 21:17       ` Julien Heyman
2006-07-28 21:32         ` Gilles Chanteperdrix
2006-07-30 17:29           ` Julien Heyman
2006-07-30 17:49             ` Philippe Gerum [this message]
2006-07-30 20:39             ` Gilles Chanteperdrix
2006-07-29 14:20         ` Jan Kiszka
2006-07-30 17:36           ` Julien Heyman
2006-07-30 18:03           ` Philippe Gerum
2006-07-30 19:33             ` Jan Kiszka
2006-07-30 20:03               ` Gilles Chanteperdrix
2006-07-30 22:00                 ` Jan Kiszka
2006-07-30 21:23               ` Philippe Gerum
2006-07-30 22:00                 ` Jan Kiszka
2006-07-31  9:57                   ` Philippe Gerum
2006-07-31 11:39                 ` Gilles Chanteperdrix
2006-07-31 14:19                   ` Philippe Gerum
2006-07-31 20:49                     ` Julien Heyman
2006-08-01 13:13                       ` Gilles Chanteperdrix
2006-08-01 13:38                         ` Philippe Gerum
2006-08-01 14:30                     ` Philippe Gerum
2006-08-01 14:45                       ` [Xenomai-core] [RFC] tame the watchdog (was: Beginner's question / testsuite / latency) Jan Kiszka
2006-08-02  8:52                         ` [Xenomai-core] " Philippe Gerum
2006-08-02 11:04                           ` [Xenomai-core] Re: [RFC] tame the watchdog Jan Kiszka
2006-07-21 13:25 ` [Xenomai-help] Beginner's question / testsuite / latency Gilles Chanteperdrix
2006-07-22  9:58   ` Julien Heyman

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