All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Pierre Ficheux <pierre.ficheux@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai on Crusoe TM5900
Date: Fri, 17 Jul 2009 18:14:42 +0200	[thread overview]
Message-ID: <4A60A372.90105@domain.hid> (raw)
In-Reply-To: <4A60A0D7.5020006@domain.hid>

Pierre Ficheux wrote:
> Hi all,
> 
> I try to use Xenomai on TM5900 CPU:
> 
> Kernel is 2.6.28.9
> Xenomai is 2.4.8
> 
> First configuration (CONFIG_HPET_TIMER is not set) gives lots of
> overruns with latency program:
> 
> == Sampling period: 100 us
> == Test mode: periodic user-mode task
> == All results in microseconds
> warming up...
> RTT|  00:00:01  (periodic user-mode task, 100 us period, priority 99)
> RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat
> worst
> RTD|       4.493|      12.861|      25.111|       0|       4.493|
> 25.111
> RTD|       9.057|      13.876|    1152.413|      37|       4.493|
> 1152.413
> RTD|      12.180|      13.755|     640.259|      53|       4.493|
> 1152.413
> RTD|      12.285|      13.924|     618.703|      70|       4.493|
> 1152.413
> ...
> 
> Please not I use CONFIG_HZ=250 as CONFIG_HZ=1000 freezes at boot time
> system with "clocksource tsc unstable" message.

Ok. Your processor likely halts the tsc when idle, or something. You
should try and see if there is no processor-specific kernel parameter to
prevent this behaviour, or alternatively try passing idle=poll.

You may also have issues with SMIs, see the TROUBLESHOOTING guide.

> 
> 
> If I set HPET:
> 
> CONFIG_HPET_TIMER=y
> CONFIG_HPET_EMULATE_RTC=y
> CONFIG_X86_UP_APIC=y
> CONFIG_X86_UP_IOAPIC=y
> CONFIG_X86_LOCAL_APIC=y
> CONFIG_X86_IO_APIC=y
> 
> I have a very strange message when starting latency:
> 
> Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
> (modprobe xeno_native?)
> 
> Of course native skin is present and CONFIG_XENO_OPT_PERVASIVE enabled
> 
> CONFIG_XENO_SKIN_NATIVE=y
> CONFIG_XENO_OPT_PERVASIVE=y
> 
> Any idea?

Please show us the full .config.

-- 
                                          Gilles



      reply	other threads:[~2009-07-17 16:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-17 16:03 [Xenomai-help] Xenomai on Crusoe TM5900 Pierre Ficheux
2009-07-17 16:14 ` Gilles Chanteperdrix [this message]

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=4A60A372.90105@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=pierre.ficheux@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.