All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: robert165 <robert165@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] xeno-test can not run
Date: Tue, 22 Dec 2009 16:17:02 +0100	[thread overview]
Message-ID: <4B30E2EE.6000308@domain.hid> (raw)
In-Reply-To: <17562953.1358371261493595174.JavaMail.coremail@domain.hid>

robert165 wrote:
> Hi all,
> I installed xenomai-2.4.4 on AT91RM9200DK, all have done OK. But the
> board halted when running xeno-test.
> would anyone help me, thanks a lot.
> Besides, which version of xenomai is a good choice for real application
> with arm?

Any version is as good as we can make it, but if you want to be able to
report a bug, and not to stumble upon bugs which have been fixed, you
should be using the latest versoin.

There is also the recent discovery of a very old bug of basically all
the I-pipe patches on arm, so, you should be using Xenomai 2.4.10 and
the patches it provides. Add to that the integration of the FCSE patch
into the I-pipe patch which will give you much better real-time
performances.

> I used linux-2.6.20.21 + 2.6.20-at91.patch +
> adeos-ipipe-2.6.20-arm-1.8-03.patch + xenomai-2.4.4
> The run info is as follows, and the full log is attached.
>  
> Thu Jan  1 00:07:57 UTC 1998
> running: top
> [H[JMem: 5692K used, 24184K free, 0K shrd, 0K buff, 1884K cached
> Load average: 0.71, 0.17, 0.06    (State: S=sleeping R=running, W=waiting)
> [7m  PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND[0m
>  1025 0        R        376     1 98.0  1.2 dd
>  1212 0        R        676  1211  2.9  2.2 top
>   738 0        S        760     1  0.0  2.5 sh
>   743 0        S        612   738  0.0  2.0 xeno-test
>     1 0        S        568     0  0.0  1.9 init
>   798 0        S        472   743  0.0  1.5 xeno-test
> Thu Jan  1 00:07:58 UTC 1998
> running: ./run -- -sh -T 120 -t0 # latency
> *
> *
> * Type ^C to stop this application.
> *
> *

That is a bug which has been around for too long due to my lazyness, but
which Philippe has finally fixed in 2.4.10. The default period of the
latency test is 100us, which is too short for an ARM. Run latency with
-p 1000 to ask for a 1ms period.

-- 
					    Gilles.



  reply	other threads:[~2009-12-22 15:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-22 14:53 [Xenomai-help] xeno-test can not run robert165
2009-12-22 15:17 ` Gilles Chanteperdrix [this message]
     [not found] ` <23404643.433811261586259575.JavaMail.coremail@domain.hid>
     [not found]   ` <1201618.436081261588028205.JavaMail.coremail@domain.hid>
     [not found]     ` <18018862.440661261596184606.JavaMail.coremail@domain.hid>
     [not found]       ` <4B326F1A.3000905@domain.hid>
     [not found]         ` <4B325C12.7000902@domain.hid>
2009-12-23 19:42         ` robert165
2009-12-23 19:45           ` Gilles Chanteperdrix
2009-12-23 19:53             ` robert165

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=4B30E2EE.6000308@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=robert165@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.