From: Philippe Gerum <rpm@xenomai.org>
To: xenoka09@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] T_WARNSW ignored?
Date: Sat, 15 Aug 2009 16:01:54 +0200 [thread overview]
Message-ID: <1250344914.2933.82.camel@domain.hid> (raw)
In-Reply-To: <alpine.DEB.2.00.0908142138480.7626@domain.hid>
On Fri, 2009-08-14 at 21:52 +0200, Waschk,Kolja wrote:
> >>> 0 277 10210 20412 0 00320186 2.5 Head_UDP_Thread
> > UDP, like... socket() interface?
>
> No. There's a custom RTDM driver with a DMA completion ISR and an IOCTL_RT that
> can be used by the application to fetch a pointer to received data. The thread
> has "UDP" in its name because the data comes in UDP-like packets over a
> Blackfin SPORT interface, and on other platforms (PC) the code indeed uses
> Ethernet and real sockets for reception.
>
Ok.
> Hmm, the solution to my question may be very simple. In the past I had to
> enclose the ioctl call to the driver with explicit mode switches, because
> otherwise the application would always crash (remember my previous problem with
> the xnshadow_relax() symptom). They're still there. I somehow expected the
> SIGXCPU to occur even before the first ioctl is made. But if that doesn't
> happen, and an explicit call to rt_task_set_mode doesn't cause SIGXCPU,
Indeed, it does not, since clearing the T_PRIMARY bit this way is an
action which is supposed to be done willingly by the application code,
so there is normally no point in notifying it about the mode switch it
just asked for.
> that
> may be the (silly) cause... Unfortunately I can't check right now. Will report
> if that's it...
>
> Kolja
>
>
--
Philippe.
next prev parent reply other threads:[~2009-08-15 14:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-14 9:05 [Xenomai-help] T_WARNSW ignored? Kolja Waschk
2009-08-14 10:05 ` Gilles Chanteperdrix
2009-08-14 10:08 ` Kolja Waschk
2009-08-14 10:13 ` Philippe Gerum
2009-08-14 10:26 ` Kolja Waschk
2009-08-14 15:05 ` Philippe Gerum
2009-08-14 19:52 ` Waschk,Kolja
2009-08-15 14:01 ` Philippe Gerum [this message]
2009-08-15 13:14 ` Waschk,Kolja
2009-08-15 14:10 ` Philippe Gerum
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=1250344914.2933.82.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=xenoka09@domain.hid \
--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.