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 < [email protected]>: > On 09/30/2014 10:23 PM, Hasret Sarıyer wrote: > > 2014-09-30 21:34 GMT+03:00 Gilles Chanteperdrix < > > [email protected]>: > > > >> On 09/30/2014 08:29 PM, Hasret Sarıyer wrote: > >>> 2014-09-30 19:44 GMT+03:00 Gilles Chanteperdrix < > >>> [email protected]>: > >>> > >>>> On 09/30/2014 06:11 PM, Hasret Sarıyer wrote: > >>>>> 2014-09-30 18:07 GMT+03:00 Gilles Chanteperdrix < > >>>>> [email protected]>: > >>>>> > >>>>>> 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. > _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
