Skip to contentSkip to conversation

latency: failed to set periodic, code -110

Xenomai-help ke zhou 2 participants 3 messages Aug 3, 2011

lore
Share & tools
lore

ke zhou

author
#0 lore raw

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!

#1 lore raw
Quoted 12 lines · ke zhou

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

Quoted 1 line

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.

Signature · 1 line
                                                                Gilles.
author
#2 lore raw
Quoted 6 lines · Gilles Chanteperdrix <gilles.chanteperdrix <at> xenomai.org> writes:
Quoted 4 lines · ke zhou

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

Quoted 8 lines
Quoted 8 lines

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

Quoted 5 lines
Quoted 1 line

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.

Id tried to run with a 100000000us period or 10000000us ,thats 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!