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
/usr/src/linux-4.9.38/debian/linux-headers-4.9.38-xenomai-3.0.5

chmod -R og=rX /usr/src/linux-4.9.38/debian/linux-headers-4.9.38-xenomai-3.0.5

dpkg --build /usr/src/linux-4.9.38/debian/linux-headers-4.9.38-xenomai-3.0.5 ..

dpkg-deb: building package `linux-headers-4.9.38-xenomai-3.0.5' in
`../linux-headers-4.9.38-xenomai-3.0.5_4.9.38-xenomai-3.0.5-10.00.Custom_amd64.deb'.

cp -pf debian/control.dist debian/control

make[2]: Leaving directory `/usr/src/linux-4.9.38'

make[1]: Leaving directory `/usr/src/linux-4.9.38'

for module in ; do \

if test -d $module; then \

(cd $module; \

if ./debian/rules KVERS="4.9.38-xenomai-3.0.5" KSRC="/usr/src/linux-4.9.38" \

KMAINT="Unknown Kernel Package Maintainer"
KEMAIL="unkn...@unconfigured.in.etc.kernel-pkg.conf" \

KPKG_DEST_DIR="/usr/src/linux-4.9.38/.." \

KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \

ARCH=x86_64 \

KPKG_EXTRAV_ARG="" \

KDREV="4.9.38-xenomai-3.0.5-10.00.Custom" kdist; then \

echo "Module $module processed fine"; \

else \

echo "Module $module failed."; \

if [ "Xfakeroot" != "X" ]; then \

echo "Perhaps $module does not understand --rootcmd?"; \

echo "If you see messages that indicate that it is not"; \

echo "in fact being built as root, please file a bug "; \

echo "against $module."; \

fi; \

echo "Hit return to Continue?"; \

read ans; \

fi; \

); \

else \

echo "Module $module does not exist"; \

echo "Hit return to Continue?"; \

fi; \

done

for module in ; do \

if test -d $module; then \

(cd $module; \

if ./debian/rules KVERS="4.9.38-xenomai-3.0.5" KSRC="/usr/src/linux-4.9.38" \

KMAINT="Unknown Kernel Package Maintainer"
KEMAIL="unkn...@unconfigured.in.etc.kernel-pkg.conf" \

KPKG_DEST_DIR="/usr/src/linux-4.9.38/.." \

KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \

KPKG_EXTRAV_ARG="" \

ARCH="x86_64" \

KDREV="4.9.38-xenomai-3.0.5-10.00.Custom" kdist_image; then \

echo "Module $module processed fine"; \

else \

echo "Module $module failed."; \

if [ "Xfakeroot" != "X" ]; then \

echo "Perhaps $module does not understand --rootcmd?"; \

echo "If you see messages that indicate that it is not"; \

echo "in fact being built as root, please file a bug "; \

echo "against $module."; \

fi; \

echo "Hit return to Continue"; \

read ans; \

fi; \

); \

else \

echo "Module $module does not exist"; \

echo "Hit return to Continue?"; \

fi; \

done



On Wed, Jun 20, 2018 at 12:16 AM, Greg Gallagher  wrote:
> 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.
>
> https://gitlab.denx.de/Xenomai/xenomai/wikis/Programming
>
> For your module problem you need to look at the  make-kpkg command and
> see how to use modules_image flag.  It should build your modules.
>
> -Greg
>
> On Tue, Jun 19, 2018 at 2:33 PM, Ashok kumar  wrote:
>> 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 struck with the problem to
>> get the modules installed,
>> mainly rtdm modules which is used to open rteth0 for ethercat communication.
>>
>> https://gist.github.com/cbhust/62a01ff22007b9695ef1da2ccc16b993
>>
>> can you please help to solve the problems to configure and to build
>> the kernel and installing the modules in x86_64 architecture.
>>
>> Thank you
>>
>>
>> On Tue, Jun 19, 2018 at 11:11 PM, Greg Gallagher  
>> wrote:
>>> 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 building an x86 kernel.  With
>>> the above tutorial you'll need to do the modules_image step to
>>> generate an image for the modules.  If you explain what you are trying
>>> to achieve I may be able to help you configure you system better.
>>>
>>> -Greg
>>>
>>> On Tue, Jun 19, 2018 at 1:26 PM, Ashok kumar  
>>> wrote:
 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 how to build xenomai -3 in x86_64 

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.

https://gitlab.denx.de/Xenomai/xenomai/wikis/Programming

For your module problem you need to look at the  make-kpkg command and
see how to use modules_image flag.  It should build your modules.

-Greg

On Tue, Jun 19, 2018 at 2:33 PM, Ashok kumar  wrote:
> 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 struck with the problem to
> get the modules installed,
> mainly rtdm modules which is used to open rteth0 for ethercat communication.
>
> https://gist.github.com/cbhust/62a01ff22007b9695ef1da2ccc16b993
>
> can you please help to solve the problems to configure and to build
> the kernel and installing the modules in x86_64 architecture.
>
> Thank you
>
>
> On Tue, Jun 19, 2018 at 11:11 PM, Greg Gallagher  
> wrote:
>> 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 building an x86 kernel.  With
>> the above tutorial you'll need to do the modules_image step to
>> generate an image for the modules.  If you explain what you are trying
>> to achieve I may be able to help you configure you system better.
>>
>> -Greg
>>
>> On Tue, Jun 19, 2018 at 1:26 PM, Ashok kumar  wrote:
>>> 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 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 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 that you can follow.
> If this isn't an existing project I really recommend using Xenomai-3
> instead of the older version.
>
> -Greg
>
> On Tue, Jun 19, 2018 at 12:45 PM, Ashok kumar  
> wrote:
>> 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 gave me the same result, and I am using x86_64 architecture.
>>
>> On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  
>> wrote:
>>> 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 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, Greg Gallagher 
  wrote:
> 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 Gallagher 
>>  wrote:
>>> What command are you using to build the kernel?
>>>
>>> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar 
>>>  wrote:
 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.

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 struck with the problem to
get the modules installed,
mainly rtdm modules which is used to open rteth0 for ethercat communication.

https://gist.github.com/cbhust/62a01ff22007b9695ef1da2ccc16b993

can you please help to solve the problems to configure and to build
the kernel and installing the modules in x86_64 architecture.

Thank you


On Tue, Jun 19, 2018 at 11:11 PM, Greg Gallagher  wrote:
> 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 building an x86 kernel.  With
> the above tutorial you'll need to do the modules_image step to
> generate an image for the modules.  If you explain what you are trying
> to achieve I may be able to help you configure you system better.
>
> -Greg
>
> On Tue, Jun 19, 2018 at 1:26 PM, Ashok kumar  wrote:
>> 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 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 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 that you can follow.
 If this isn't an existing project I really recommend using Xenomai-3
 instead of the older version.

 -Greg

 On Tue, Jun 19, 2018 at 12:45 PM, Ashok kumar  
 wrote:
> 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 gave me the same result, and I am using x86_64 architecture.
>
> On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  
> wrote:
>> 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 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, Greg Gallagher  
>>> wrote:
 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 Gallagher 
>  wrote:
>> What command are you using to build the kernel?
>>
>> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar 
>>  wrote:
>>> 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 modules
>>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>>> in Real-time sub-system. kernel configuration.
>>>
>>>
>>> # Configure and build kernel
>>> # 1. Processor type and features -> Processor family -- select 
>>> proper
>>> #processor.
>>> # 2. Power management and ACPI options -> ACPI (Advanced 
>>> Configuration and
>>> #Power Interface) Support -- turn of Processor.
>>> # 3. Power 

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 building an x86 kernel.  With
the above tutorial you'll need to do the modules_image step to
generate an image for the modules.  If you explain what you are trying
to achieve I may be able to help you configure you system better.

-Greg

On Tue, Jun 19, 2018 at 1:26 PM, Ashok kumar  wrote:
> 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 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 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 that you can follow.
>>> If this isn't an existing project I really recommend using Xenomai-3
>>> instead of the older version.
>>>
>>> -Greg
>>>
>>> On Tue, Jun 19, 2018 at 12:45 PM, Ashok kumar  
>>> wrote:
 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 gave me the same result, and I am using x86_64 architecture.

 On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  
 wrote:
> 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 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, Greg Gallagher  
>> wrote:
>>> 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 Gallagher 
  wrote:
> What command are you using to build the kernel?
>
> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar 
>  wrote:
>> 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 modules
>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>> in Real-time sub-system. kernel configuration.
>>
>>
>> # Configure and build kernel
>> # 1. Processor type and features -> Processor family -- select proper
>> #processor.
>> # 2. Power management and ACPI options -> ACPI (Advanced 
>> Configuration and
>> #Power Interface) Support -- turn of Processor.
>> # 3. Power management and ACPI options -> CPU Frequency scaling -- 
>> turn off
>> #CPU Frequency scaling.
>> # 4. Power management and ACPI options -- turn off CPU idle PM 
>> support.
>> # 5. Kernel hacking turn off KGDB: kernel debugger.
>> # 6. Turn off Virtualization.
>> # 7. Make appropriate changes to Real-time sub-system.
>> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>>
>>
>> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher 
>>  wrote:
>>> 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
>>>

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 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 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 that you can follow.
>> If this isn't an existing project I really recommend using Xenomai-3
>> instead of the older version.
>>
>> -Greg
>>
>> On Tue, Jun 19, 2018 at 12:45 PM, Ashok kumar  
>> wrote:
>>> 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 gave me the same result, and I am using x86_64 architecture.
>>>
>>> On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  
>>> wrote:
 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 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, Greg Gallagher  
> wrote:
>> 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 Gallagher  
>>> wrote:
 What command are you using to build the kernel?

 On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar 
  wrote:
> 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 modules
> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
> in Real-time sub-system. kernel configuration.
>
>
> # Configure and build kernel
> # 1. Processor type and features -> Processor family -- select proper
> #processor.
> # 2. Power management and ACPI options -> ACPI (Advanced 
> Configuration and
> #Power Interface) Support -- turn of Processor.
> # 3. Power management and ACPI options -> CPU Frequency scaling -- 
> turn off
> #CPU Frequency scaling.
> # 4. Power management and ACPI options -- turn off CPU idle PM 
> support.
> # 5. Kernel hacking turn off KGDB: kernel debugger.
> # 6. Turn off Virtualization.
> # 7. Make appropriate changes to Real-time sub-system.
> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>
>
> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher 
>  wrote:
>> 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 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 support in user-space (Enable)
>>> * Power management and ACPI options
>>>   --> Run-time PM core functionality (Disable)
>>>   --> ACPI (Advanced Configuration and Power 

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 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 that you can follow.
> If this isn't an existing project I really recommend using Xenomai-3
> instead of the older version.
>
> -Greg
>
> On Tue, Jun 19, 2018 at 12:45 PM, Ashok kumar  wrote:
>> 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 gave me the same result, and I am using x86_64 architecture.
>>
>> On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  
>> wrote:
>>> 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 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, Greg Gallagher  
 wrote:
> 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 Gallagher  
>> wrote:
>>> What command are you using to build the kernel?
>>>
>>> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar  
>>> wrote:
 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 modules
 xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
 in Real-time sub-system. kernel configuration.


 # Configure and build kernel
 # 1. Processor type and features -> Processor family -- select proper
 #processor.
 # 2. Power management and ACPI options -> ACPI (Advanced Configuration 
 and
 #Power Interface) Support -- turn of Processor.
 # 3. Power management and ACPI options -> CPU Frequency scaling -- 
 turn off
 #CPU Frequency scaling.
 # 4. Power management and ACPI options -- turn off CPU idle PM support.
 # 5. Kernel hacking turn off KGDB: kernel debugger.
 # 6. Turn off Virtualization.
 # 7. Make appropriate changes to Real-time sub-system.
 # 8. Device Drivers -> IOMMU Hardware Support -- turn off


 On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher 
  wrote:
> 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 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 support in user-space (Enable)
>> * Power management and ACPI options
>>   --> Run-time PM core functionality (Disable)
>>   --> ACPI (Advanced Configuration and Power Interface) Support
>>   --> Processor (Disable)
>>   --> CPU Frequency scaling
>>   --> CPU Frequency scaling (Disable)
>>   --> CPU idle
>>   --> CPU idle PM support (Disable)
>> * Pocessor type and features
>>   --> Processor family
>>   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | 

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 that you can follow.
If this isn't an existing project I really recommend using Xenomai-3
instead of the older version.

-Greg

On Tue, Jun 19, 2018 at 12:45 PM, Ashok kumar  wrote:
> 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 gave me the same result, and I am using x86_64 architecture.
>
> On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  
> wrote:
>> 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 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, Greg Gallagher  
>>> wrote:
 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 Gallagher  
> wrote:
>> What command are you using to build the kernel?
>>
>> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar  
>> wrote:
>>> 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 modules
>>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>>> in Real-time sub-system. kernel configuration.
>>>
>>>
>>> # Configure and build kernel
>>> # 1. Processor type and features -> Processor family -- select proper
>>> #processor.
>>> # 2. Power management and ACPI options -> ACPI (Advanced Configuration 
>>> and
>>> #Power Interface) Support -- turn of Processor.
>>> # 3. Power management and ACPI options -> CPU Frequency scaling -- turn 
>>> off
>>> #CPU Frequency scaling.
>>> # 4. Power management and ACPI options -- turn off CPU idle PM support.
>>> # 5. Kernel hacking turn off KGDB: kernel debugger.
>>> # 6. Turn off Virtualization.
>>> # 7. Make appropriate changes to Real-time sub-system.
>>> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>>>
>>>
>>> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  
>>> wrote:
 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 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 support in user-space (Enable)
> * Power management and ACPI options
>   --> Run-time PM core functionality (Disable)
>   --> ACPI (Advanced Configuration and Power Interface) Support
>   --> Processor (Disable)
>   --> CPU Frequency scaling
>   --> CPU Frequency scaling (Disable)
>   --> CPU idle
>   --> CPU idle PM support (Disable)
> * Pocessor type and features
>   --> Processor family
>   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
> returns 6, set as Generic otherwise)
> * Power management and ACPI options
>   --> Memory power savings
>   --> Intel chipset idle memory power saving driver (Disable)
> and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc
>
> and I am using x86_64 processor configuration.
>

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 gave me the same result, and I am using x86_64 architecture.

On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  wrote:
> 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 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, Greg Gallagher  
>> wrote:
>>> 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 Gallagher  
 wrote:
> What command are you using to build the kernel?
>
> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar  
> wrote:
>> 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 modules
>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>> in Real-time sub-system. kernel configuration.
>>
>>
>> # Configure and build kernel
>> # 1. Processor type and features -> Processor family -- select proper
>> #processor.
>> # 2. Power management and ACPI options -> ACPI (Advanced Configuration 
>> and
>> #Power Interface) Support -- turn of Processor.
>> # 3. Power management and ACPI options -> CPU Frequency scaling -- turn 
>> off
>> #CPU Frequency scaling.
>> # 4. Power management and ACPI options -- turn off CPU idle PM support.
>> # 5. Kernel hacking turn off KGDB: kernel debugger.
>> # 6. Turn off Virtualization.
>> # 7. Make appropriate changes to Real-time sub-system.
>> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>>
>>
>> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  
>> wrote:
>>> 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 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 support in user-space (Enable)
 * Power management and ACPI options
   --> Run-time PM core functionality (Disable)
   --> ACPI (Advanced Configuration and Power Interface) Support
   --> Processor (Disable)
   --> CPU Frequency scaling
   --> CPU Frequency scaling (Disable)
   --> CPU idle
   --> CPU idle PM support (Disable)
 * Pocessor type and features
   --> Processor family
   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
 returns 6, set as Generic otherwise)
 * Power management and ACPI options
   --> Memory power savings
   --> Intel chipset idle memory power saving driver (Disable)
 and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc

 and I am using x86_64 processor configuration.


 On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher 
  wrote:
> 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, 2018 at 11:29 AM, Ashok kumar 
>  wrote:
>> Hi,
>>
>> I am getting xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o. file but I am 

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 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, Greg Gallagher  wrote:
>> 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 Gallagher  
>>> wrote:
 What command are you using to build the kernel?

 On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar  
 wrote:
> 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 modules
> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
> in Real-time sub-system. kernel configuration.
>
>
> # Configure and build kernel
> # 1. Processor type and features -> Processor family -- select proper
> #processor.
> # 2. Power management and ACPI options -> ACPI (Advanced Configuration and
> #Power Interface) Support -- turn of Processor.
> # 3. Power management and ACPI options -> CPU Frequency scaling -- turn 
> off
> #CPU Frequency scaling.
> # 4. Power management and ACPI options -- turn off CPU idle PM support.
> # 5. Kernel hacking turn off KGDB: kernel debugger.
> # 6. Turn off Virtualization.
> # 7. Make appropriate changes to Real-time sub-system.
> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>
>
> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  
> wrote:
>> 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 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 support in user-space (Enable)
>>> * Power management and ACPI options
>>>   --> Run-time PM core functionality (Disable)
>>>   --> ACPI (Advanced Configuration and Power Interface) Support
>>>   --> Processor (Disable)
>>>   --> CPU Frequency scaling
>>>   --> CPU Frequency scaling (Disable)
>>>   --> CPU idle
>>>   --> CPU idle PM support (Disable)
>>> * Pocessor type and features
>>>   --> Processor family
>>>   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
>>> returns 6, set as Generic otherwise)
>>> * Power management and ACPI options
>>>   --> Memory power savings
>>>   --> Intel chipset idle memory power saving driver (Disable)
>>> and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc
>>>
>>> and I am using x86_64 processor configuration.
>>>
>>>
>>> On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  
>>> wrote:
 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, 2018 at 11:29 AM, Ashok kumar 
  wrote:
> 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 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.
>>

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, Greg Gallagher  wrote:
> 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 Gallagher  
>> wrote:
>>> What command are you using to build the kernel?
>>>
>>> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar  
>>> wrote:
 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 modules
 xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
 in Real-time sub-system. kernel configuration.


 # Configure and build kernel
 # 1. Processor type and features -> Processor family -- select proper
 #processor.
 # 2. Power management and ACPI options -> ACPI (Advanced Configuration and
 #Power Interface) Support -- turn of Processor.
 # 3. Power management and ACPI options -> CPU Frequency scaling -- turn off
 #CPU Frequency scaling.
 # 4. Power management and ACPI options -- turn off CPU idle PM support.
 # 5. Kernel hacking turn off KGDB: kernel debugger.
 # 6. Turn off Virtualization.
 # 7. Make appropriate changes to Real-time sub-system.
 # 8. Device Drivers -> IOMMU Hardware Support -- turn off


 On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  
 wrote:
> 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 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 support in user-space (Enable)
>> * Power management and ACPI options
>>   --> Run-time PM core functionality (Disable)
>>   --> ACPI (Advanced Configuration and Power Interface) Support
>>   --> Processor (Disable)
>>   --> CPU Frequency scaling
>>   --> CPU Frequency scaling (Disable)
>>   --> CPU idle
>>   --> CPU idle PM support (Disable)
>> * Pocessor type and features
>>   --> Processor family
>>   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
>> returns 6, set as Generic otherwise)
>> * Power management and ACPI options
>>   --> Memory power savings
>>   --> Intel chipset idle memory power saving driver (Disable)
>> and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc
>>
>> and I am using x86_64 processor configuration.
>>
>>
>> On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  
>> wrote:
>>> 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, 2018 at 11:29 AM, Ashok kumar  
>>> wrote:
 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 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 modules ON, I have attached the enable modules section
>> in the kernel configuration
>>
>> thank you
>> R.Ashokkumar
>>
>>
>>
>> On Mon, Jun 

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 Gallagher  wrote:
>> What command are you using to build the kernel?
>>
>> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar  
>> wrote:
>>> 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 modules
>>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>>> in Real-time sub-system. kernel configuration.
>>>
>>>
>>> # Configure and build kernel
>>> # 1. Processor type and features -> Processor family -- select proper
>>> #processor.
>>> # 2. Power management and ACPI options -> ACPI (Advanced Configuration and
>>> #Power Interface) Support -- turn of Processor.
>>> # 3. Power management and ACPI options -> CPU Frequency scaling -- turn off
>>> #CPU Frequency scaling.
>>> # 4. Power management and ACPI options -- turn off CPU idle PM support.
>>> # 5. Kernel hacking turn off KGDB: kernel debugger.
>>> # 6. Turn off Virtualization.
>>> # 7. Make appropriate changes to Real-time sub-system.
>>> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>>>
>>>
>>> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  
>>> wrote:
 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 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 support in user-space (Enable)
> * Power management and ACPI options
>   --> Run-time PM core functionality (Disable)
>   --> ACPI (Advanced Configuration and Power Interface) Support
>   --> Processor (Disable)
>   --> CPU Frequency scaling
>   --> CPU Frequency scaling (Disable)
>   --> CPU idle
>   --> CPU idle PM support (Disable)
> * Pocessor type and features
>   --> Processor family
>   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
> returns 6, set as Generic otherwise)
> * Power management and ACPI options
>   --> Memory power savings
>   --> Intel chipset idle memory power saving driver (Disable)
> and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc
>
> and I am using x86_64 processor configuration.
>
>
> On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  
> wrote:
>> 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, 2018 at 11:29 AM, Ashok kumar  
>> wrote:
>>> 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 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 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, 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
>>> 

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 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 modules
>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>> in Real-time sub-system. kernel configuration.
>>
>>
>> # Configure and build kernel
>> # 1. Processor type and features -> Processor family -- select proper
>> #processor.
>> # 2. Power management and ACPI options -> ACPI (Advanced Configuration and
>> #Power Interface) Support -- turn of Processor.
>> # 3. Power management and ACPI options -> CPU Frequency scaling -- turn off
>> #CPU Frequency scaling.
>> # 4. Power management and ACPI options -- turn off CPU idle PM support.
>> # 5. Kernel hacking turn off KGDB: kernel debugger.
>> # 6. Turn off Virtualization.
>> # 7. Make appropriate changes to Real-time sub-system.
>> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>>
>>
>> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  
>> wrote:
>>> 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 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 support in user-space (Enable)
 * Power management and ACPI options
   --> Run-time PM core functionality (Disable)
   --> ACPI (Advanced Configuration and Power Interface) Support
   --> Processor (Disable)
   --> CPU Frequency scaling
   --> CPU Frequency scaling (Disable)
   --> CPU idle
   --> CPU idle PM support (Disable)
 * Pocessor type and features
   --> Processor family
   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
 returns 6, set as Generic otherwise)
 * Power management and ACPI options
   --> Memory power savings
   --> Intel chipset idle memory power saving driver (Disable)
 and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc

 and I am using x86_64 processor configuration.


 On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  
 wrote:
> 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, 2018 at 11:29 AM, Ashok kumar  
> wrote:
>> 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 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 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, 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
>> sudo mkdir build_xenomai-2.6.4
>> cd build_xenomai-2.6.4
>>
>> sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp 
>> --enable-x86-sep
>> sudo make -j8

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 modules
xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
in Real-time sub-system. kernel configuration.


# Configure and build kernel
# 1. Processor type and features -> Processor family -- select proper
#processor.
# 2. Power management and ACPI options -> ACPI (Advanced Configuration and
#Power Interface) Support -- turn of Processor.
# 3. Power management and ACPI options -> CPU Frequency scaling -- turn off
#CPU Frequency scaling.
# 4. Power management and ACPI options -- turn off CPU idle PM support.
# 5. Kernel hacking turn off KGDB: kernel debugger.
# 6. Turn off Virtualization.
# 7. Make appropriate changes to Real-time sub-system.
# 8. Device Drivers -> IOMMU Hardware Support -- turn off


On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  wrote:
> 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 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 support in user-space (Enable)
>> * Power management and ACPI options
>>   --> Run-time PM core functionality (Disable)
>>   --> ACPI (Advanced Configuration and Power Interface) Support
>>   --> Processor (Disable)
>>   --> CPU Frequency scaling
>>   --> CPU Frequency scaling (Disable)
>>   --> CPU idle
>>   --> CPU idle PM support (Disable)
>> * Pocessor type and features
>>   --> Processor family
>>   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
>> returns 6, set as Generic otherwise)
>> * Power management and ACPI options
>>   --> Memory power savings
>>   --> Intel chipset idle memory power saving driver (Disable)
>> and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc
>>
>> and I am using x86_64 processor configuration.
>>
>>
>> On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  
>> wrote:
>>> 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, 2018 at 11:29 AM, Ashok kumar  
>>> wrote:
 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 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 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, 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
 sudo mkdir build_xenomai-2.6.4
 cd build_xenomai-2.6.4

 sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp 
 --enable-x86-sep
 sudo make -j8
 sudo make install

 in /usr/xenomai/ I am not able to get the modules directory and 
 xenomai modules
 are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.

 I used the below command to load the modules

 sudo modprobe xeno_rtdm,
 sudo modprobe xeno_hal
 sudo modprobe xeno_nucleus

 but the modules are not getting loaded.


 is there any modification should be done in the make file, or any
 other options should be enabled in the configure options

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 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 support in user-space (Enable)
> * Power management and ACPI options
>   --> Run-time PM core functionality (Disable)
>   --> ACPI (Advanced Configuration and Power Interface) Support
>   --> Processor (Disable)
>   --> CPU Frequency scaling
>   --> CPU Frequency scaling (Disable)
>   --> CPU idle
>   --> CPU idle PM support (Disable)
> * Pocessor type and features
>   --> Processor family
>   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
> returns 6, set as Generic otherwise)
> * Power management and ACPI options
>   --> Memory power savings
>   --> Intel chipset idle memory power saving driver (Disable)
> and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc
>
> and I am using x86_64 processor configuration.
>
>
> On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  wrote:
>> 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, 2018 at 11:29 AM, Ashok kumar  
>> wrote:
>>> 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 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 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, 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
>>> sudo mkdir build_xenomai-2.6.4
>>> cd build_xenomai-2.6.4
>>>
>>> sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp 
>>> --enable-x86-sep
>>> sudo make -j8
>>> sudo make install
>>>
>>> in /usr/xenomai/ I am not able to get the modules directory and xenomai 
>>> modules
>>> are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.
>>>
>>> I used the below command to load the modules
>>>
>>> sudo modprobe xeno_rtdm,
>>> sudo modprobe xeno_hal
>>> sudo modprobe xeno_nucleus
>>>
>>> but the modules are not getting loaded.
>>>
>>>
>>> is there any modification should be done in the make file, or any
>>> other options should be enabled in the configure options
>>>
>>> kindly help me the get the xenomai modules available.
>>>
>>>
>>> Thank you
>>> R.Ashokkumar
>>>
>>> ___
>>> Xenomai mailing list
>>> Xenomai@xenomai.org
>>> https://xenomai.org/mailman/listinfo/xenomai

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


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 support in user-space (Enable)
* Power management and ACPI options
  --> Run-time PM core functionality (Disable)
  --> ACPI (Advanced Configuration and Power Interface) Support
  --> Processor (Disable)
  --> CPU Frequency scaling
  --> CPU Frequency scaling (Disable)
  --> CPU idle
  --> CPU idle PM support (Disable)
* Pocessor type and features
  --> Processor family
  --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
returns 6, set as Generic otherwise)
* Power management and ACPI options
  --> Memory power savings
  --> Intel chipset idle memory power saving driver (Disable)
and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc

and I am using x86_64 processor configuration.


On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  wrote:
> 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, 2018 at 11:29 AM, Ashok kumar  wrote:
>> 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 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 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, 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
>> sudo mkdir build_xenomai-2.6.4
>> cd build_xenomai-2.6.4
>>
>> sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp 
>> --enable-x86-sep
>> sudo make -j8
>> sudo make install
>>
>> in /usr/xenomai/ I am not able to get the modules directory and xenomai 
>> modules
>> are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.
>>
>> I used the below command to load the modules
>>
>> sudo modprobe xeno_rtdm,
>> sudo modprobe xeno_hal
>> sudo modprobe xeno_nucleus
>>
>> but the modules are not getting loaded.
>>
>>
>> is there any modification should be done in the make file, or any
>> other options should be enabled in the configure options
>>
>> kindly help me the get the xenomai modules available.
>>
>>
>> Thank you
>> R.Ashokkumar
>>
>> ___
>> Xenomai mailing list
>> Xenomai@xenomai.org
>> https://xenomai.org/mailman/listinfo/xenomai

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


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, 2018 at 11:29 AM, Ashok kumar  wrote:
> 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 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 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, 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
> sudo mkdir build_xenomai-2.6.4
> cd build_xenomai-2.6.4
>
> sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp 
> --enable-x86-sep
> sudo make -j8
> sudo make install
>
> in /usr/xenomai/ I am not able to get the modules directory and xenomai 
> modules
> are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.
>
> I used the below command to load the modules
>
> sudo modprobe xeno_rtdm,
> sudo modprobe xeno_hal
> sudo modprobe xeno_nucleus
>
> but the modules are not getting loaded.
>
>
> is there any modification should be done in the make file, or any
> other options should be enabled in the configure options
>
> kindly help me the get the xenomai modules available.
>
>
> Thank you
> R.Ashokkumar
>
> ___
> Xenomai mailing list
> Xenomai@xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


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 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 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, 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
 sudo mkdir build_xenomai-2.6.4
 cd build_xenomai-2.6.4

 sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp 
 --enable-x86-sep
 sudo make -j8
 sudo make install

 in /usr/xenomai/ I am not able to get the modules directory and xenomai 
 modules
 are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.

 I used the below command to load the modules

 sudo modprobe xeno_rtdm,
 sudo modprobe xeno_hal
 sudo modprobe xeno_nucleus

 but the modules are not getting loaded.


 is there any modification should be done in the make file, or any
 other options should be enabled in the configure options

 kindly help me the get the xenomai modules available.


 Thank you
 R.Ashokkumar

 ___
 Xenomai mailing list
 Xenomai@xenomai.org
 https://xenomai.org/mailman/listinfo/xenomai

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


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 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, 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
>>> sudo mkdir build_xenomai-2.6.4
>>> cd build_xenomai-2.6.4
>>>
>>> sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp 
>>> --enable-x86-sep
>>> sudo make -j8
>>> sudo make install
>>>
>>> in /usr/xenomai/ I am not able to get the modules directory and xenomai 
>>> modules
>>> are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.
>>>
>>> I used the below command to load the modules
>>>
>>> sudo modprobe xeno_rtdm,
>>> sudo modprobe xeno_hal
>>> sudo modprobe xeno_nucleus
>>>
>>> but the modules are not getting loaded.
>>>
>>>
>>> is there any modification should be done in the make file, or any
>>> other options should be enabled in the configure options
>>>
>>> kindly help me the get the xenomai modules available.
>>>
>>>
>>> Thank you
>>> R.Ashokkumar
>>>
>>> ___
>>> Xenomai mailing list
>>> Xenomai@xenomai.org
>>> https://xenomai.org/mailman/listinfo/xenomai

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


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, 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
>> sudo mkdir build_xenomai-2.6.4
>> cd build_xenomai-2.6.4
>>
>> sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp --enable-x86-sep
>> sudo make -j8
>> sudo make install
>>
>> in /usr/xenomai/ I am not able to get the modules directory and xenomai 
>> modules
>> are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.
>>
>> I used the below command to load the modules
>>
>> sudo modprobe xeno_rtdm,
>> sudo modprobe xeno_hal
>> sudo modprobe xeno_nucleus
>>
>> but the modules are not getting loaded.
>>
>>
>> is there any modification should be done in the make file, or any
>> other options should be enabled in the configure options
>>
>> kindly help me the get the xenomai modules available.
>>
>>
>> Thank you
>> R.Ashokkumar
>>
>> ___
>> Xenomai mailing list
>> Xenomai@xenomai.org
>> https://xenomai.org/mailman/listinfo/xenomai
-- next part --
A non-text attachment was scrubbed...
Name: Screenshot from 2018-06-19 15:11:41.png
Type: image/png
Size: 286626 bytes
Desc: not available
URL: 

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


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
> sudo mkdir build_xenomai-2.6.4
> cd build_xenomai-2.6.4
>
> sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp --enable-x86-sep
> sudo make -j8
> sudo make install
>
> in /usr/xenomai/ I am not able to get the modules directory and xenomai 
> modules
> are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.
>
> I used the below command to load the modules
>
> sudo modprobe xeno_rtdm,
> sudo modprobe xeno_hal
> sudo modprobe xeno_nucleus
>
> but the modules are not getting loaded.
>
>
> is there any modification should be done in the make file, or any
> other options should be enabled in the configure options
>
> kindly help me the get the xenomai modules available.
>
>
> Thank you
> R.Ashokkumar
>
> ___
> Xenomai mailing list
> Xenomai@xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai