Skip to contentSkip to conversation

rt_task_wait_period returning -ETIMEDOUT

Xenomai-core Ignacio García Pérez 2 participants 2 messages Jun 6, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

rt_task_wait_period() is spuriously returning -ETIMEDOUT.

(spuriously = maybe once every two hours with period = 500us)

I'm using the trunk code and that error code is not mentioned in the rt_task_wait_period documentation.

Any clues?

Nacho.

#1 lore raw
Quoted 10 lines · Ignacio García Pérez

Hi,

rt_task_wait_period() is spuriously returning -ETIMEDOUT.

(spuriously = maybe once every two hours with period = 500us)

I'm using the trunk code and that error code is not mentioned in the rt_task_wait_period documentation.

Any clues?

testsuite/latency makes use of rt_task_wait_period as well. Already tried to run it at the same frequency? Does it fail as well?

Further question: Does this error correlate with some real deadline miss of your application?

SMI&friends might be a reason here, check delays of the testsuite (and your kernel config, of course). Is the workaround enabled? Is it reported to be used (kernel log)?

Jan