From: Roland Tollenaar <rwatollenaar@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: EML users <ethercatmaster-users@domain.hid>,
rtnet-users <rtnet-users@domain.hid>,
Xenomai-help@domain.hid
Subject: Re: [Xenomai-help] [Ethercatmaster-users] EML conflict with RTCAN? low_level_input framebuilding failed.
Date: Wed, 15 Aug 2007 08:11:09 +0200 [thread overview]
Message-ID: <46C298FD.8070300@domain.hid> (raw)
In-Reply-To: <46C1FFDA.4070709@domain.hid>
Hi,
> Check the /proc output again, there should be also RTnet's stack manager
> at prio 98. Maybe that is too low for your scenario and causes prio
> inversions (note: every incoming Ethernet frame goes through its hands).
> Try lowering the prio of your rt_task1 beneath 98.
Thanks. This seems to have made a big improvement. I have so far not
once detected the scope to loose lock on the sawtooth when the
index_check in eml is still disabled. Before lowering the priority of my
task (to 97) I could still invoke what I suspect to be a latency spike.
If the index_check is enabled I now mostly have less problems too. There
is a chance in start-up of the application that there is a latency spike
and then the warning kicks in. Due to the fact that the shift is
permanent, the error is persistent and this then destabilizes the
sawtooth a bit.
I will keep the check disabled but for the EML chaps I do think this is
a point of interest. I would be very interested how this index shift
occurs and why it is persistent after occurring once.
Sorry for the pragmatic qualifications here but in the end its the
stability of the outputs that will determine the behaviour of the
machine so its not a bad way to assess the software. :)
> If the problem persists (or your _really_ want to understand what
> happens), you could try to put an xntrace_user_freeze(0, 1) before the
> line which emits that EML warning, turn on the I-pipe tracer, set a
> large back_trace_points value (a few thousand), enable verbose mode, and
> grab what /proc/ipipe/trace/frozen reports after the hick-up. See [1]
> for more howtos.
Done this before so it should not be a problem. Don't think it is
necessary quite yet as the behaviour at the moment looks good.
Regards,
Roland.
>
> If you post the dump, we may be able to analyse what the system is doing
> before the problem report, if there are long delays due to high-prio
> tasks e.g.
>
> Jan
>
> [1] http://www.xenomai.org/index.php/I-pipe:Tracer
>
next prev parent reply other threads:[~2007-08-15 6:11 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-13 9:45 [Xenomai-help] EML conflict with RTCAN? low_level_input framebuilding failed Roland Tollenaar
2007-08-13 11:41 ` Wolfgang Grandegger
2007-08-13 12:41 ` Roland Tollenaar
2007-08-13 13:03 ` Wolfgang Grandegger
2007-08-13 13:11 ` Roland Tollenaar
2007-08-13 14:00 ` Roland Tollenaar
2007-08-13 14:51 ` [Xenomai-help] [Ethercatmaster-users] " Jan Kiszka
2007-08-13 15:55 ` Roland Tollenaar
2007-08-13 16:57 ` Jan Kiszka
2007-08-13 17:40 ` Roland Tollenaar
2007-08-13 17:57 ` Jan Kiszka
2007-08-13 18:17 ` Roland Tollenaar
2007-08-13 18:30 ` Jan Kiszka
2007-08-14 13:56 ` Roland Tollenaar
2007-08-14 14:47 ` Klaas Gadeyne
2007-08-14 18:03 ` Roland Tollenaar
2007-08-14 19:17 ` Jan Kiszka
2007-08-15 6:11 ` Roland Tollenaar [this message]
2007-08-15 8:24 ` Jan Kiszka
2007-08-15 8:37 ` Roland Tollenaar
2007-08-15 9:50 ` Roland Tollenaar
2007-08-15 10:30 ` Wolfgang Grandegger
2007-08-15 10:30 ` Roland Tollenaar
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=46C298FD.8070300@domain.hid \
--to=rwatollenaar@domain.hid \
--cc=Xenomai-help@domain.hid \
--cc=ethercatmaster-users@domain.hid \
--cc=jan.kiszka@domain.hid \
--cc=rolandtollenaar@domain.hid \
--cc=rtnet-users@domain.hid \
/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.