From: Philippe Gerum <rpm@xenomai.org>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: "Xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] There is XDDP Sockets support in kernel?
Date: Mon, 30 Mar 2015 17:27:32 +0200 [thread overview]
Message-ID: <55196B64.9010901@xenomai.org> (raw)
In-Reply-To: <20150330152002.GL32766@hermes.click-hack.org>
On 03/30/2015 05:20 PM, Gilles Chanteperdrix wrote:
> On Mon, Mar 30, 2015 at 05:13:44PM +0200, Philippe Gerum wrote:
>> On 03/30/2015 04:55 PM, Helder Daniel wrote:
>>> Hi,
>>>
>>> When trying to compile a kernel module that sets up a XDDP socket (code
>>> snippet below) with Xenomai 3.x-rc3 on Cobalt setup,
>>> rtdm_bind() returns ENOSYS.
>>> This means that XDDP sockets can not be used in kernel?
>>>
>>
>> No, in this case it likely means that you are calling it from a
>> real-time context (i.e. a real-time kthread started with
>> rtdm_task_create()). The binding op can only run from a non-rt context,
>> e.g. module init code, regular kthread context, _nrt handler.
>
> Or that XDDP is not enabled in the kernel configuration, maybe?
>
It's an intra-kernel call, so it must be there.
--
Philippe.
next prev parent reply other threads:[~2015-03-30 15:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-30 14:55 [Xenomai] There is XDDP Sockets support in kernel? Helder Daniel
2015-03-30 15:13 ` Philippe Gerum
2015-03-30 15:17 ` Philippe Gerum
2015-03-30 15:20 ` Gilles Chanteperdrix
2015-03-30 15:27 ` Philippe Gerum [this message]
2015-03-30 15:29 ` Gilles Chanteperdrix
2015-03-30 15:37 ` Helder Daniel
2015-03-30 15:37 ` Philippe Gerum
2015-03-30 15:40 ` Helder Daniel
2015-03-30 15:55 ` Helder Daniel
2015-03-30 19:00 ` Philippe Gerum
2015-04-16 14:17 ` Helder Daniel
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=55196B64.9010901@xenomai.org \
--to=rpm@xenomai.org \
--cc=gilles.chanteperdrix@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.