* [Xenomai] Xenomai: binding failed: Operation not permitted.
@ 2014-09-29 22:34 Hasret Sarıyer
2014-09-30 7:10 ` Michael Haberler
0 siblings, 1 reply; 15+ messages in thread
From: Hasret Sarıyer @ 2014-09-29 22:34 UTC (permalink / raw)
To: Xenomai
I installed xenomai using this guide
<http://xenomai.org/2014/06/building-debian-packages/>. And there are some
examples under xenomai2.6/examples/rtdm/driver-api folder. I
copied /driver-api folder to desktop. I executed tut02-skeleton-app file,
the output was *Xenomai: binding failed: Operation not permitted.*
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-29 22:34 [Xenomai] Xenomai: binding failed: Operation not permitted Hasret Sarıyer
@ 2014-09-30 7:10 ` Michael Haberler
2014-09-30 9:47 ` Hasret Sarıyer
0 siblings, 1 reply; 15+ messages in thread
From: Michael Haberler @ 2014-09-30 7:10 UTC (permalink / raw)
To: Hasret Sarıyer; +Cc: Xenomai
http://xenomai.org/troubleshooting-a-dual-kernel-configuration/#binding_failed_Operation_not_permitted
-m
Am 30.09.2014 um 00:34 schrieb Hasret Sarıyer <hsrtsryr@gmail.com>:
> I installed xenomai using this guide
> <http://xenomai.org/2014/06/building-debian-packages/>. And there are some
> examples under xenomai2.6/examples/rtdm/driver-api folder. I
> copied /driver-api folder to desktop. I executed tut02-skeleton-app file,
> the output was *Xenomai: binding failed: Operation not permitted.*
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 7:10 ` Michael Haberler
@ 2014-09-30 9:47 ` Hasret Sarıyer
2014-09-30 11:45 ` Gilles Chanteperdrix
0 siblings, 1 reply; 15+ messages in thread
From: Hasret Sarıyer @ 2014-09-30 9:47 UTC (permalink / raw)
To: Michael Haberler; +Cc: Xenomai
2014-09-30 10:10 GMT+03:00 Michael Haberler <mail17@mah.priv.at>:
>
> http://xenomai.org/troubleshooting-a-dual-kernel-configuration/#binding_failed_Operation_not_permitted
>
> -m
> Am 30.09.2014 um 00:34 schrieb Hasret Sarıyer <hsrtsryr@gmail.com>:
>
> > I installed xenomai using this guide
> > <http://xenomai.org/2014/06/building-debian-packages/>. And there are
> some
> > examples under xenomai2.6/examples/rtdm/driver-api folder. I
> > copied /driver-api folder to desktop. I executed tut02-skeleton-app file,
> > the output was *Xenomai: binding failed: Operation not permitted.*
> > _______________________________________________
> > Xenomai mailing list
> > Xenomai@xenomai.org
> > http://www.xenomai.org/mailman/listinfo/xenomai
>
>
I try to use rtdm modules. Which command should be executed on terminal?
For nucleus, it is xeno_nucleus.xenomai_gid=<gid>.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 9:47 ` Hasret Sarıyer
@ 2014-09-30 11:45 ` Gilles Chanteperdrix
2014-09-30 14:56 ` Hasret Sarıyer
0 siblings, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-30 11:45 UTC (permalink / raw)
To: Hasret Sarıyer, Michael Haberler; +Cc: Xenomai
On 09/30/2014 11:47 AM, Hasret Sarıyer wrote:
> 2014-09-30 10:10 GMT+03:00 Michael Haberler <mail17@mah.priv.at>:
>
>>
>> http://xenomai.org/troubleshooting-a-dual-kernel-configuration/#binding_failed_Operation_not_permitted
>>
>> -m
>> Am 30.09.2014 um 00:34 schrieb Hasret Sarıyer <hsrtsryr@gmail.com>:
>>
>>> I installed xenomai using this guide
>>> <http://xenomai.org/2014/06/building-debian-packages/>. And there are
>> some
>>> examples under xenomai2.6/examples/rtdm/driver-api folder. I
>>> copied /driver-api folder to desktop. I executed tut02-skeleton-app file,
>>> the output was *Xenomai: binding failed: Operation not permitted.*
>>
>>
> I try to use rtdm modules. Which command should be executed on terminal?
> For nucleus, it is xeno_nucleus.xenomai_gid=<gid>.
This is not a command to be executed on terminal, this is an option to
add to the kernel command line.
Also, first things first, could you try and run the "latency" test as
root, to see if everything is working, or if you still have the missing
/dev/rtheap issue?
--
Gilles.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 11:45 ` Gilles Chanteperdrix
@ 2014-09-30 14:56 ` Hasret Sarıyer
2014-09-30 15:07 ` Gilles Chanteperdrix
0 siblings, 1 reply; 15+ messages in thread
From: Hasret Sarıyer @ 2014-09-30 14:56 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: Xenomai
2014-09-30 14:45 GMT+03:00 Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org>:
> On 09/30/2014 11:47 AM, Hasret Sarıyer wrote:
> > 2014-09-30 10:10 GMT+03:00 Michael Haberler <mail17@mah.priv.at>:
> >
> >>
> >>
> http://xenomai.org/troubleshooting-a-dual-kernel-configuration/#binding_failed_Operation_not_permitted
> >>
> >> -m
> >> Am 30.09.2014 um 00:34 schrieb Hasret Sarıyer <hsrtsryr@gmail.com>:
> >>
> >>> I installed xenomai using this guide
> >>> <http://xenomai.org/2014/06/building-debian-packages/>. And there are
> >> some
> >>> examples under xenomai2.6/examples/rtdm/driver-api folder. I
> >>> copied /driver-api folder to desktop. I executed tut02-skeleton-app
> file,
> >>> the output was *Xenomai: binding failed: Operation not permitted.*
> >>
> >>
> > I try to use rtdm modules. Which command should be executed on terminal?
> > For nucleus, it is xeno_nucleus.xenomai_gid=<gid>.
>
> This is not a command to be executed on terminal, this is an option to
> add to the kernel command line.
>
> Also, first things first, could you try and run the "latency" test as
> root, to see if everything is working, or if you still have the missing
> /dev/rtheap issue?
>
> --
>
I did all step on this guide
<http://xenomai.org/2014/06/building-debian-packages/>. And I expexted that
xenomai was ready to use.
> Gilles.
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 14:56 ` Hasret Sarıyer
@ 2014-09-30 15:07 ` Gilles Chanteperdrix
2014-09-30 16:11 ` Hasret Sarıyer
0 siblings, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-30 15:07 UTC (permalink / raw)
To: Hasret Sarıyer; +Cc: Xenomai
On 09/30/2014 04:56 PM, Hasret Sarıyer wrote:
> I did all step on this guide
> <http://xenomai.org/2014/06/building-debian-packages/>. And I expexted that
> xenomai was ready to use.
Xenomai should be ready to use, the latency test is a utility part of
xenomai using xenomai, so running it as root will tell you if xenomai is
ready or if you still have other issues (actually, most issues with
beginner are kernel configuration issues).
--
Gilles.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 15:07 ` Gilles Chanteperdrix
@ 2014-09-30 16:11 ` Hasret Sarıyer
2014-09-30 16:44 ` Gilles Chanteperdrix
0 siblings, 1 reply; 15+ messages in thread
From: Hasret Sarıyer @ 2014-09-30 16:11 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: Xenomai
2014-09-30 18:07 GMT+03:00 Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org>:
> On 09/30/2014 04:56 PM, Hasret Sarıyer wrote:
> > I did all step on this guide
> > <http://xenomai.org/2014/06/building-debian-packages/>. And I expexted
> that
> > xenomai was ready to use.
>
> Xenomai should be ready to use, the latency test is a utility part of
> xenomai using xenomai, so running it as root will tell you if xenomai is
> ready or if you still have other issues (actually, most issues with
> beginner are kernel configuration issues).
>
> --
> Gilles.
>
I run "xeno-test" and the output is below
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 11.png
Type: image/png
Size: 84609 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20140930/81265745/attachment.png>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 16:11 ` Hasret Sarıyer
@ 2014-09-30 16:44 ` Gilles Chanteperdrix
2014-09-30 18:29 ` Hasret Sarıyer
0 siblings, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-30 16:44 UTC (permalink / raw)
To: Hasret Sarıyer; +Cc: Xenomai
On 09/30/2014 06:11 PM, Hasret Sarıyer wrote:
> 2014-09-30 18:07 GMT+03:00 Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org>:
>
>> On 09/30/2014 04:56 PM, Hasret Sarıyer wrote:
>>> I did all step on this guide
>>> <http://xenomai.org/2014/06/building-debian-packages/>. And I expexted
>> that
>>> xenomai was ready to use.
>>
>> Xenomai should be ready to use, the latency test is a utility part of
>> xenomai using xenomai, so running it as root will tell you if xenomai is
>> ready or if you still have other issues (actually, most issues with
>> beginner are kernel configuration issues).
>
>
> I run "xeno-test" and the output is below
Ok. Xenomai seems to be working on your system, and you seem not to
have any pathological latency issues.
Note that since latency output is plain text, you could have pasted it
in the mail body.
So, your last problem now, if you want to run programs as a user and
not as root, is to follow:
http://xenomai.org/2014/06/running-a-xenomai-application-as-a-regular-user/
--
Gilles.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 16:44 ` Gilles Chanteperdrix
@ 2014-09-30 18:29 ` Hasret Sarıyer
2014-09-30 18:34 ` Gilles Chanteperdrix
0 siblings, 1 reply; 15+ messages in thread
From: Hasret Sarıyer @ 2014-09-30 18:29 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: Xenomai
2014-09-30 19:44 GMT+03:00 Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org>:
> On 09/30/2014 06:11 PM, Hasret Sarıyer wrote:
> > 2014-09-30 18:07 GMT+03:00 Gilles Chanteperdrix <
> > gilles.chanteperdrix@xenomai.org>:
> >
> >> On 09/30/2014 04:56 PM, Hasret Sarıyer wrote:
> >>> I did all step on this guide
> >>> <http://xenomai.org/2014/06/building-debian-packages/>. And I expexted
> >> that
> >>> xenomai was ready to use.
> >>
> >> Xenomai should be ready to use, the latency test is a utility part of
> >> xenomai using xenomai, so running it as root will tell you if xenomai is
> >> ready or if you still have other issues (actually, most issues with
> >> beginner are kernel configuration issues).
> >
> >
> > I run "xeno-test" and the output is below
>
> Ok. Xenomai seems to be working on your system, and you seem not to
> have any pathological latency issues.
>
> Note that since latency output is plain text, you could have pasted it
> in the mail body.
>
> So, your last problem now, if you want to run programs as a user and
> not as root, is to follow:
> http://xenomai.org/2014/06/running-a-xenomai-application-as-a-regular-user/
>
>
> --
> Gilles.
>
ok. But I am not clear some points.To compile,the necessary modules are
added in makefile.
What should I do to add to the kernel? I did using "modprobe", but it
didn't work.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 18:29 ` Hasret Sarıyer
@ 2014-09-30 18:34 ` Gilles Chanteperdrix
2014-09-30 20:23 ` Hasret Sarıyer
0 siblings, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-30 18:34 UTC (permalink / raw)
To: Hasret Sarıyer; +Cc: Xenomai
On 09/30/2014 08:29 PM, Hasret Sarıyer wrote:
> 2014-09-30 19:44 GMT+03:00 Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org>:
>
>> On 09/30/2014 06:11 PM, Hasret Sarıyer wrote:
>>> 2014-09-30 18:07 GMT+03:00 Gilles Chanteperdrix <
>>> gilles.chanteperdrix@xenomai.org>:
>>>
>>>> On 09/30/2014 04:56 PM, Hasret Sarıyer wrote:
>>>>> I did all step on this guide
>>>>> <http://xenomai.org/2014/06/building-debian-packages/>. And I expexted
>>>> that
>>>>> xenomai was ready to use.
>>>>
>>>> Xenomai should be ready to use, the latency test is a utility part of
>>>> xenomai using xenomai, so running it as root will tell you if xenomai is
>>>> ready or if you still have other issues (actually, most issues with
>>>> beginner are kernel configuration issues).
>>>
>>>
>>> I run "xeno-test" and the output is below
>>
>> Ok. Xenomai seems to be working on your system, and you seem not to
>> have any pathological latency issues.
>>
>> Note that since latency output is plain text, you could have pasted it
>> in the mail body.
>>
>> So, your last problem now, if you want to run programs as a user and
>> not as root, is to follow:
>> http://xenomai.org/2014/06/running-a-xenomai-application-as-a-regular-user/
>
>
> ok. But I am not clear some points.To compile,the necessary modules are
> added in makefile.
>
> What should I do to add to the kernel? I did using "modprobe", but it
> didn't work.
>
It depends on how you configured the kernel. As indicated in the
documentation, if you configured xenomai to be built-in, there is no
xeno_nucleus module, so you have to pass the xeno_nucleus.xenomai_gid
parameter to the kernel.
As indicated in the documentation, you can also use sysfs.
--
Gilles.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 18:34 ` Gilles Chanteperdrix
@ 2014-09-30 20:23 ` Hasret Sarıyer
2014-09-30 20:26 ` Gilles Chanteperdrix
0 siblings, 1 reply; 15+ messages in thread
From: Hasret Sarıyer @ 2014-09-30 20:23 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: Xenomai
2014-09-30 21:34 GMT+03:00 Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org>:
> On 09/30/2014 08:29 PM, Hasret Sarıyer wrote:
> > 2014-09-30 19:44 GMT+03:00 Gilles Chanteperdrix <
> > gilles.chanteperdrix@xenomai.org>:
> >
> >> On 09/30/2014 06:11 PM, Hasret Sarıyer wrote:
> >>> 2014-09-30 18:07 GMT+03:00 Gilles Chanteperdrix <
> >>> gilles.chanteperdrix@xenomai.org>:
> >>>
> >>>> On 09/30/2014 04:56 PM, Hasret Sarıyer wrote:
> >>>>> I did all step on this guide
> >>>>> <http://xenomai.org/2014/06/building-debian-packages/>. And I
> expexted
> >>>> that
> >>>>> xenomai was ready to use.
> >>>>
> >>>> Xenomai should be ready to use, the latency test is a utility part of
> >>>> xenomai using xenomai, so running it as root will tell you if xenomai
> is
> >>>> ready or if you still have other issues (actually, most issues with
> >>>> beginner are kernel configuration issues).
> >>>
> >>>
> >>> I run "xeno-test" and the output is below
> >>
> >> Ok. Xenomai seems to be working on your system, and you seem not to
> >> have any pathological latency issues.
> >>
> >> Note that since latency output is plain text, you could have pasted it
> >> in the mail body.
> >>
> >> So, your last problem now, if you want to run programs as a user and
> >> not as root, is to follow:
> >>
> http://xenomai.org/2014/06/running-a-xenomai-application-as-a-regular-user/
> >
> >
> > ok. But I am not clear some points.To compile,the necessary modules are
> > added in makefile.
> >
> > What should I do to add to the kernel? I did using "modprobe", but it
> > didn't work.
> >
>
> It depends on how you configured the kernel. As indicated in the
> documentation, if you configured xenomai to be built-in, there is no
> xeno_nucleus module, so you have to pass the xeno_nucleus.xenomai_gid
> parameter to the kernel.
>
> As indicated in the documentation, you can also use sysfs.
>
>
> --
> Gilles.
>
I tried three ways(as root or not), but they didn't.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 20:23 ` Hasret Sarıyer
@ 2014-09-30 20:26 ` Gilles Chanteperdrix
2014-09-30 20:34 ` Hasret Sarıyer
0 siblings, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-30 20:26 UTC (permalink / raw)
To: Hasret Sarıyer; +Cc: Xenomai
On 09/30/2014 10:23 PM, Hasret Sarıyer wrote:
> 2014-09-30 21:34 GMT+03:00 Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org>:
>
>> On 09/30/2014 08:29 PM, Hasret Sarıyer wrote:
>>> 2014-09-30 19:44 GMT+03:00 Gilles Chanteperdrix <
>>> gilles.chanteperdrix@xenomai.org>:
>>>
>>>> On 09/30/2014 06:11 PM, Hasret Sarıyer wrote:
>>>>> 2014-09-30 18:07 GMT+03:00 Gilles Chanteperdrix <
>>>>> gilles.chanteperdrix@xenomai.org>:
>>>>>
>>>>>> On 09/30/2014 04:56 PM, Hasret Sarıyer wrote:
>>>>>>> I did all step on this guide
>>>>>>> <http://xenomai.org/2014/06/building-debian-packages/>. And I
>> expexted
>>>>>> that
>>>>>>> xenomai was ready to use.
>>>>>>
>>>>>> Xenomai should be ready to use, the latency test is a utility part of
>>>>>> xenomai using xenomai, so running it as root will tell you if xenomai
>> is
>>>>>> ready or if you still have other issues (actually, most issues with
>>>>>> beginner are kernel configuration issues).
>>>>>
>>>>>
>>>>> I run "xeno-test" and the output is below
>>>>
>>>> Ok. Xenomai seems to be working on your system, and you seem not to
>>>> have any pathological latency issues.
>>>>
>>>> Note that since latency output is plain text, you could have pasted it
>>>> in the mail body.
>>>>
>>>> So, your last problem now, if you want to run programs as a user and
>>>> not as root, is to follow:
>>>>
>> http://xenomai.org/2014/06/running-a-xenomai-application-as-a-regular-user/
>>>
>>>
>>> ok. But I am not clear some points.To compile,the necessary modules are
>>> added in makefile.
>>>
>>> What should I do to add to the kernel? I did using "modprobe", but it
>>> didn't work.
>>>
>>
>> It depends on how you configured the kernel. As indicated in the
>> documentation, if you configured xenomai to be built-in, there is no
>> xeno_nucleus module, so you have to pass the xeno_nucleus.xenomai_gid
>> parameter to the kernel.
>>
>> As indicated in the documentation, you can also use sysfs.
>
>
> I tried three ways(as root or not), but they didn't.
>
What did you try, what error message did you get? Note that passing
xenomai_gid on modprobe line, and passing it on the kernel command line
need not be tried both, the one to use depends on how you configured the
kernel.
--
Gilles.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 20:26 ` Gilles Chanteperdrix
@ 2014-09-30 20:34 ` Hasret Sarıyer
2014-09-30 20:37 ` Gilles Chanteperdrix
0 siblings, 1 reply; 15+ messages in thread
From: Hasret Sarıyer @ 2014-09-30 20:34 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: Xenomai
I did configuration like this guide.
<http://xenomai.org/2014/06/building-debian-packages/#patch_and_configure_the_kernel>
When
I run "*echo "<gid>" > /sys/module/xeno_nucleus/parameters/xenomai_gid" *as
root*,*the error was Invalid argument. As not root, the error was *"Permission
denied".*
2014-09-30 23:26 GMT+03:00 Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org>:
> On 09/30/2014 10:23 PM, Hasret Sarıyer wrote:
> > 2014-09-30 21:34 GMT+03:00 Gilles Chanteperdrix <
> > gilles.chanteperdrix@xenomai.org>:
> >
> >> On 09/30/2014 08:29 PM, Hasret Sarıyer wrote:
> >>> 2014-09-30 19:44 GMT+03:00 Gilles Chanteperdrix <
> >>> gilles.chanteperdrix@xenomai.org>:
> >>>
> >>>> On 09/30/2014 06:11 PM, Hasret Sarıyer wrote:
> >>>>> 2014-09-30 18:07 GMT+03:00 Gilles Chanteperdrix <
> >>>>> gilles.chanteperdrix@xenomai.org>:
> >>>>>
> >>>>>> On 09/30/2014 04:56 PM, Hasret Sarıyer wrote:
> >>>>>>> I did all step on this guide
> >>>>>>> <http://xenomai.org/2014/06/building-debian-packages/>. And I
> >> expexted
> >>>>>> that
> >>>>>>> xenomai was ready to use.
> >>>>>>
> >>>>>> Xenomai should be ready to use, the latency test is a utility part
> of
> >>>>>> xenomai using xenomai, so running it as root will tell you if
> xenomai
> >> is
> >>>>>> ready or if you still have other issues (actually, most issues with
> >>>>>> beginner are kernel configuration issues).
> >>>>>
> >>>>>
> >>>>> I run "xeno-test" and the output is below
> >>>>
> >>>> Ok. Xenomai seems to be working on your system, and you seem not to
> >>>> have any pathological latency issues.
> >>>>
> >>>> Note that since latency output is plain text, you could have pasted it
> >>>> in the mail body.
> >>>>
> >>>> So, your last problem now, if you want to run programs as a user and
> >>>> not as root, is to follow:
> >>>>
> >>
> http://xenomai.org/2014/06/running-a-xenomai-application-as-a-regular-user/
> >>>
> >>>
> >>> ok. But I am not clear some points.To compile,the necessary modules are
> >>> added in makefile.
> >>>
> >>> What should I do to add to the kernel? I did using "modprobe", but it
> >>> didn't work.
> >>>
> >>
> >> It depends on how you configured the kernel. As indicated in the
> >> documentation, if you configured xenomai to be built-in, there is no
> >> xeno_nucleus module, so you have to pass the xeno_nucleus.xenomai_gid
> >> parameter to the kernel.
> >>
> >> As indicated in the documentation, you can also use sysfs.
> >
> >
> > I tried three ways(as root or not), but they didn't.
> >
>
> What did you try, what error message did you get? Note that passing
> xenomai_gid on modprobe line, and passing it on the kernel command line
> need not be tried both, the one to use depends on how you configured the
> kernel.
>
> --
> Gilles.
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 20:34 ` Hasret Sarıyer
@ 2014-09-30 20:37 ` Gilles Chanteperdrix
2014-09-30 20:39 ` Hasret Sarıyer
0 siblings, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-30 20:37 UTC (permalink / raw)
To: Hasret Sarıyer; +Cc: Xenomai
On 09/30/2014 10:34 PM, Hasret Sarıyer wrote:
> I did configuration like this guide.
> <http://xenomai.org/2014/06/building-debian-packages/#patch_and_configure_the_kernel>
> When
> I run "*echo "<gid>" > /sys/module/xeno_nucleus/parameters/xenomai_gid" *as
> root*,*the error was Invalid argument. As not root, the error was *"Permission
> denied".*
Are you for real? <gid> should be replaced with the gid of a group of
your choice, as per the first sentence of the documentation:
"As of Xenomai release 2.3.2, you can allow non-root users to access
Xenomai services from user space. You only have to provide the ID of a
unix group whose members shall obtain this right plus additional Linux
capabilities required to work with Xenomai.
And of course you need to be root to pass this argument.
--
Gilles.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Xenomai] Xenomai: binding failed: Operation not permitted.
2014-09-30 20:37 ` Gilles Chanteperdrix
@ 2014-09-30 20:39 ` Hasret Sarıyer
0 siblings, 0 replies; 15+ messages in thread
From: Hasret Sarıyer @ 2014-09-30 20:39 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: Xenomai
2014-09-30 23:37 GMT+03:00 Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org>:
> On 09/30/2014 10:34 PM, Hasret Sarıyer wrote:
> > I did configuration like this guide.
> > <
> http://xenomai.org/2014/06/building-debian-packages/#patch_and_configure_the_kernel
> >
> > When
> > I run "*echo "<gid>" > /sys/module/xeno_nucleus/parameters/xenomai_gid"
> *as
> > root*,*the error was Invalid argument. As not root, the error was
> *"Permission
> > denied".*
>
> Are you for real? <gid> should be replaced with the gid of a group of
> your choice, as per the first sentence of the documentation:
> "As of Xenomai release 2.3.2, you can allow non-root users to access
> Xenomai services from user space. You only have to provide the ID of a
> unix group whose members shall obtain this right plus additional Linux
> capabilities required to work with Xenomai.
>
> And of course you need to be root to pass this argument.
>
> --
> Gilles.
>
sorry, I am newbie.
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2014-09-30 20:39 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-29 22:34 [Xenomai] Xenomai: binding failed: Operation not permitted Hasret Sarıyer
2014-09-30 7:10 ` Michael Haberler
2014-09-30 9:47 ` Hasret Sarıyer
2014-09-30 11:45 ` Gilles Chanteperdrix
2014-09-30 14:56 ` Hasret Sarıyer
2014-09-30 15:07 ` Gilles Chanteperdrix
2014-09-30 16:11 ` Hasret Sarıyer
2014-09-30 16:44 ` Gilles Chanteperdrix
2014-09-30 18:29 ` Hasret Sarıyer
2014-09-30 18:34 ` Gilles Chanteperdrix
2014-09-30 20:23 ` Hasret Sarıyer
2014-09-30 20:26 ` Gilles Chanteperdrix
2014-09-30 20:34 ` Hasret Sarıyer
2014-09-30 20:37 ` Gilles Chanteperdrix
2014-09-30 20:39 ` Hasret Sarıyer
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.