From: Steve Kreyer <steve.kreyer@domain.hid>
To: rpm@xenomai.org
Cc: Bernhard Walle <bernhard@domain.hid>,
xenomai@xenomai.org, Jan Kiszka <jan.kiszka@domain.hid>
Subject: Re: [Xenomai-help] Re: Timer problems?
Date: Sun, 27 Aug 2006 11:21:42 +0200 [thread overview]
Message-ID: <44F16426.5010207@domain.hid> (raw)
In-Reply-To: <1156630353.4730.70.camel@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 2617 bytes --]
Hi Philippe,
disabling PM in Kernel was a good tip!
Now I can call standard linux library functions without resulting in a
system lock up :)
But the ETIMEDOUT error when calling e.g. rt_task_wait_period or
rt_task_sleep still persists.
The latency test gives me the following output:
-------------------------------------------------------------------------------------------------------------------
== Test mode: periodic user-mode task
== All results in microseconds
latency: failed to set periodic, code -110
warming up...
---|------------|------------|------------|--------|-------------------------
RTS| -208983.489| 0.000| 208983.489| 0| 00:00:26/00:00:26
-------------------------------------------------------------------------------------------------------------------
Also the attached application produces the below output:
-------------------------------------------------------------------------------------------------------------------
working!
working!
Warning: Cannot wait for task period! errcode=-110 110 timeout=1
working!
Warning: Cannot wait for task period! errcode=-110 110 timeout=1
-------------------------------------------------------------------------------------------------------------------
The output string "working!" and the warning messages printed at once
and not as expected every second (see attachment)...
The TROUBLESHOOTING file has no answer to this behaviour...
Do you have any hints on this?
Regards,
Steve
Philippe Gerum wrote:
> On Sat, 2006-08-26 at 23:23 +0200, Steve Kreyer wrote:
>
>> Hi Bernhard, :)
>> Bernhard Walle wrote:
>>
>>> Hello,
>>>
>>> first of all: you replied to a previous mail which results in a broken
>>> thread three in the mail client ... Pleaes create new mail for new
>>> requests.
>>> The example you've provided exits immediately here because you don't
>>> wait in the main() function.
>>>
>>>
>> Yes, Iam aware of this, but in fact the waiting via pause or sleep in
>> the Linux process (main function)
>> failed and results in a system lock up.
>>
>
> The latency test issues a number of native API calls mixed with standard
> glibc calls. Does it run on your box?
>
> Btw, your .config shows that PM is enabled, which is a known source of
> latency problems; you should disable it. Additionally, make sure to read
> the TROUBLESHOOTING file thoroughly: a number of configuration caveats
> for x86 are explained, including the PM one.
>
> Last point: the kernel shipped by Kanotix might have been patched up
> beyond all recognition. Did the Adeos patch apply cleanly against it?
>
>
[-- Attachment #2: example.c.gz --]
[-- Type: application/gzip, Size: 611 bytes --]
next prev parent reply other threads:[~2006-08-27 9:21 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-07 14:42 [Xenomai-help] Problems with rt_task_wait_period Steve Kreyer
2006-08-07 15:27 ` Jan Kiszka
2006-08-07 15:32 ` Philippe Gerum
2006-08-25 15:31 ` [Xenomai-help] Timer problems? Steve Kreyer
2006-08-25 17:47 ` Jan Kiszka
2006-08-26 20:34 ` Steve Kreyer
2006-08-27 10:38 ` Jan Kiszka
2006-08-27 12:08 ` Philippe Gerum
2006-08-27 12:24 ` Bernhard Walle
2006-08-28 14:46 ` Philippe Gerum
2006-08-27 12:34 ` Gilles Chanteperdrix
2006-08-27 13:02 ` Philippe Gerum
2006-08-27 13:56 ` Jan Kiszka
2006-08-27 13:47 ` Steve Kreyer
2006-08-27 14:22 ` Philippe Gerum
2006-08-27 14:25 ` Philippe Gerum
2006-08-27 14:45 ` Steve Kreyer
[not found] ` <44F196A0.2030006@domain.hid>
2006-08-27 13:00 ` Steve Kreyer
2006-08-25 17:57 ` [Xenomai-help] " Bernhard Walle
2006-08-26 21:23 ` Steve Kreyer
2006-08-26 21:38 ` Bernhard Walle
2006-08-26 22:12 ` Philippe Gerum
2006-08-27 9:21 ` Steve Kreyer [this message]
2006-08-27 9:34 ` Philippe Gerum
2006-08-27 10:31 ` Gilles Chanteperdrix
2006-08-27 9:27 ` Steve Kreyer
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=44F16426.5010207@domain.hid \
--to=steve.kreyer@domain.hid \
--cc=bernhard@domain.hid \
--cc=jan.kiszka@domain.hid \
--cc=rpm@xenomai.org \
--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.