All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] latency: failed to set periodic, code -110
@ 2011-08-03  4:09 ke zhou
  2011-08-03  7:12 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: ke zhou @ 2011-08-03  4:09 UTC (permalink / raw)
  To: xenomai

hello ,everyone!
I`m trying to patch the 2.6.25 kernel with Adeos Ipipe.And the xenomai
version is xenomai-2.4.4.tar.gz.
But when I execute " ./latency -t0 -T60 -p100 -h " on the s3c2440 board,there 
are some errors : 
== Sampling period: 100 us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...
latency: failed to set periodic, code -110
latency: failed to pend on semaphore, code -110

Any idea about that ?
Thank you!







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] latency: failed to set periodic, code -110
  2011-08-03  4:09 [Xenomai-help] latency: failed to set periodic, code -110 ke zhou
@ 2011-08-03  7:12 ` Gilles Chanteperdrix
  2011-08-03  8:39   ` ke zhou
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2011-08-03  7:12 UTC (permalink / raw)
  To: ke zhou; +Cc: xenomai

On 08/03/2011 06:09 AM, ke zhou wrote:
> hello ,everyone!
> I`m trying to patch the 2.6.25 kernel with Adeos Ipipe.And the xenomai
> version is xenomai-2.4.4.tar.gz.
> But when I execute " ./latency -t0 -T60 -p100 -h " on the s3c2440 board,there 
> are some errors : 
> == Sampling period: 100 us
> == Test mode: periodic user-mode task
> == All results in microseconds
> warming up...
> latency: failed to set periodic, code -110
> latency: failed to pend on semaphore, code -110
> 
> Any idea about that ?

The latencies on s3c24x will not allow you to run with a 100us period.
Also, you should use xenomai 2.5.6.

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] latency: failed to set periodic, code -110
  2011-08-03  7:12 ` Gilles Chanteperdrix
@ 2011-08-03  8:39   ` ke zhou
  0 siblings, 0 replies; 3+ messages in thread
From: ke zhou @ 2011-08-03  8:39 UTC (permalink / raw)
  To: xenomai

Gilles Chanteperdrix <gilles.chanteperdrix <at> xenomai.org> writes:

> 
> On 08/03/2011 06:09 AM, ke zhou wrote:
> > hello ,everyone!
> > I`m trying to patch the 2.6.25 kernel with Adeos Ipipe.And the xenomai
> > version is xenomai-2.4.4.tar.gz.
> > But when I execute " ./latency -t0 -T60 -p100 -h " on the s3c2440 
board,there 
> > are some errors : 
> > == Sampling period: 100 us
> > == Test mode: periodic user-mode task
> > == All results in microseconds
> > warming up...
> > latency: failed to set periodic, code -110
> > latency: failed to pend on semaphore, code -110
> > 
> > Any idea about that ?
> 
> The latencies on s3c24x will not allow you to run with a 100us period.
> Also, you should use xenomai 2.5.6.
> 


I`d tried to run with a 100000000us period or 10000000us ,that`s the same 
problem.Actually,the error was thrown out by rt_task_set_periodic
().Especially,when  I use rt_task_set_periodic() or rt_task_wait_period() in 
my program,they can`t return 0.
But I`ll try to use xenomai.2.5.6.
Thank you!





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-03  8:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03  4:09 [Xenomai-help] latency: failed to set periodic, code -110 ke zhou
2011-08-03  7:12 ` Gilles Chanteperdrix
2011-08-03  8:39   ` ke zhou

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.