Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-20 Thread Ashok kumar
Hi, After patching and executing this command CONCURRENCY_LEVEL=$(nproc) make-kpkg --rootcmd fakeroot --initrd kernel_image kernel_headers I am get the following message and I have attached the screen shot for you chown -R root:root

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Greg Gallagher
You can use RTNet with Xenomai-3, please look through the mail list, there have been many threads about configuring RTNet and Xenomai-3. RTNet is built into Xenomai-3, you don't need these modules. The link below has some good information on RTNet.

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
I want to use xenomai with RTnet, so that I can use soem ethercat protocol for controlling applications for servo drive. for this I need to load the following modules. sudo modprobe xeno_rtdm.ko sudo modprobe xeno_hal.ko sudo modprobe xeno_nucleus.ko I followed this links to go with, but I got

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Greg Gallagher
You won't need them for Xenomai-3 if you aren't using things like rtnet, ipc or any driver that can be found in the Xenomai tree. Are you using a Debian system? This tutorial will get you started: http://rtt-lwr.readthedocs.io/en/latest/rtpc/xenomai3.html You'll post later tonight my steps on

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
can you please provide me steps to configure and to build xenomai -3 in x86_64 architecture. to get the modules xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko. thank you On Tue, Jun 19, 2018 at 10:35 PM, Ashok kumar wrote: > Ok I will go through the make-kpkg command can you please provide me > to

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
Ok I will go through the make-kpkg command can you please provide me to how to build xenomai -3 in x86_64 architecture. to get the modules xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko. On Tue, Jun 19, 2018 at 10:24 PM, Greg Gallagher wrote: > Look at the documentation for make-kpkg, you need to

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Greg Gallagher
Look at the documentation for make-kpkg, you need to build the modules using 'modules_image' https://manpages.debian.org/jessie/kernel-package/make-kpkg.1.en.html I don't think this is a Xenomai problem, this is an issue with using make-kpkg. There are other ways to build a kernel for x86_64

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
I have build 3.14.17-xenomai-2.6.4 and I have build 3.14.17-xenomai-2.6.4 too using the links below https://github.com/lma-cfpp/cfppa-framework-old/wiki/Xenomai-Kernel http://rtt-lwr.readthedocs.io/en/latest/rtpc/xenomai.html http://rtt-lwr.readthedocs.io/en/latest/adv-tutos/bicompil.html both

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Greg Gallagher
You said before you are using 3.18.20? Are you building for 3.18.20 or 3.14.17? Are you seeing the object files in your build directory in the driver folder? On Tue, Jun 19, 2018 at 12:33 PM, Ashok kumar wrote: > in my lib/module/ > > I am able to get this folder 3.14.17-xenomai-2.6.4 , > in

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
in my lib/module/ I am able to get this folder 3.14.17-xenomai-2.6.4 , in this folder I am able to get xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o. some where in arch , drivers, kernel directory , but I am not able to get xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko, On Tue, Jun 19, 2018 at 9:56 PM,

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Greg Gallagher
When you install your package what do you see under /lib/modules ? On Tue, Jun 19, 2018 at 12:13 PM, Ashok kumar wrote: > sudo make menuconfig > > make-kpkg --bzimage --initrd --append-to-version=-xenomai-2.6.4 -j8 > kernel-image kernel-headers modules > > On Tue, Jun 19, 2018 at 9:41 PM, Greg

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
sudo make menuconfig make-kpkg --bzimage --initrd --append-to-version=-xenomai-2.6.4 -j8 kernel-image kernel-headers modules On Tue, Jun 19, 2018 at 9:41 PM, Greg Gallagher wrote: > What command are you using to build the kernel? > > On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar wrote: >> I

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
I too have followed the steps as mentioned in http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt in kernel config point number 7. Make appropriate changes to Real-time sub-system. I am using x86_64 architecture ,64 bit processor what features should I enable and disable to get these

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Greg Gallagher
Make sure you do your make step with 'make modules'. I used this tutorial [1] when i was building xenomai 2.6 a long time ago, it should help you as well. [1] http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt On Tue, Jun 19, 2018 at 11:47 AM, Ashok kumar wrote: > In menuconfig I

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
In menuconfig I have used the following * General setup --> Local version - append to kernel release: -xenomai-2.6.5 --> Timers subsystem --> High Resolution Timer Support (Enable) * Real-time sub-system --> Xenomai (Enable) --> Nucleus (Enable) --> Pervasive real-time

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Greg Gallagher
Under the Xenomai section of menuconfig, do you have them selected as modules you can load or built into the kernel? Also you are using a pretty old version on Xenomai, have you considered using Xenomai-3 instead? I haven't used Xenomai 2.6 in a while so my support may be rusty. On Tue, Jun 19,

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
Hi, I am getting xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o. file but I am not getting xeno_rtdm.ko, xeno_hal.ko, xeno_nucleus.ko I should get .ko file to load it in kernel module . Thank you On Tue, Jun 19, 2018 at 8:47 PM, Greg Gallagher wrote: > Are you building the RTDM modules? Do you see

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Greg Gallagher
Are you building the RTDM modules? Do you see them getting built in the kernel output. Please refrain from continuously posting the same question, we will try to help you but it may take some time to respond. -Greg On Tue, Jun 19, 2018 at 5:44 AM, Ashok kumar wrote: > Hi, > > I have turned

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
Hi, I have turned modules ON, I have attached the enable modules section in the kernel configuration thank you R.Ashokkumar On Mon, Jun 18, 2018 at 7:30 PM, Greg Gallagher wrote: > Did you turn them on in menuconfig when you built your kernel? > > -Greg > > On Mon, Jun 18, 2018 at 1:40 AM,

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-18 Thread Greg Gallagher
Did you turn them on in menuconfig when you built your kernel? -Greg On Mon, Jun 18, 2018 at 1:40 AM, Ashok kumar wrote: > Hi, > > I have patched xenomai -2.6.4 with linux 3.18.20 . > and installed the patched kernel, and compiled the xenomai library using > below > commands > > cd /usr/src >