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] Performance issue with memory allocators

2018-06-19 Thread Steve Freyder

On 6/15/2018 1:26 PM, Philippe Gerum wrote:

On 06/15/2018 07:23 PM, Steve Freyder wrote:

On 6/14/2018 11:52 AM, Philippe Gerum wrote:

On 06/14/2018 06:41 PM, Steve Freyder wrote:

#2  0x76f418fc in shavl_search_inner (ops=0x76f56630 ,
delta=0x76f418fc , n=0x7eca29d4,
  avl=0x741f38ec) at
../../../../xenomai-3/include/boilerplate/avl-inner.h:285
#3  shavl_search_nearest (ops=0x76f56630 , dir=1,
node=0x7eca29d4, avl=0x741f38ec)
  at ../../../../xenomai-3/include/boilerplate/avl-inner.h:395
#4  shavl_search_ge (ops=0x76f56630 , node=0x7eca29d4,
avl=0x741f38ec)

The search operations parameter is last in the original code, but first
in your backtrace. Does this mean that you had conflicts there and fixed
them up manually? Since this is a new code, I'm unsure why you had such
conflicts in the first place.

Could you check with a pristine -next tree so that we may compare our
results from the same code base?

Thanks,


Philippe,

I went back to do a full git clone, checkout, patch, rebuild, and I
found that when I fetched the -next branch that the patch had been
comitted already.  So I proceeded to skip to the build step, and then
retest the simultaneous execution of two instances of the smokey
memory_pshared test, but still got the same failure.

Are you seeing the test failure with your build?

No, that is why I've asked for a confirmation actually.


I've never had any reason to doubt the validity of my SDK or build
procedures, but if your build is passing the test, something must be
wrong on my end.


Not necessarily, maybe I got lucky because of some setting. I'll follow
up on this when I have tested more configurations.


Philippe,

I don't know if it was evident from some of the other emails we've
been exchanging, but I'm running on armv7a-neon, any possibility that
might be part of the problem?  32 vs. 64-bit maybe?


___
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
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 manageme

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 Interfa

[Xenomai] FUSE package error while doing configure for xenomai-3

2018-06-19 Thread Шевченко Тарас Григорьевич
The same issue, could be ubuntu 18 a problem ? 

[ https://xenomai.org/pipermail/xenomai/2018-March/038528.html | [Xenomai] FUSE 
package error while doing configure for xenomai-3 ] 

С уважением и надеждой на сотрудничество, 
Шевченко Т.Г. 
___
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
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 | gre

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 18,

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 Greg Gallagher
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
> 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 modp

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


[Xenomai] Xenomai modules xeno_rtdm, xeno_hal, xeno_nucleus not getting installed

2018-06-19 Thread Ashok kumar
Hi,

I have patched xenomai -2.6.4 with linux 3.18.20 .
and after installing ,I am not able to get Xenomai modules xeno_rtdm.ko,
xeno_hal.ko, xeno_nucleus.ko,


I am using x86_64 bit architecture,

kindly help me to get install the xenomai modules.

Thank you
R.Ashokkumar

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


Re: [Xenomai] ipipe-4.4.y LTS

2018-06-19 Thread Philippe Gerum
On 06/18/2018 03:59 PM, Greg Gallagher wrote:
> Are there still plans to have a ipipe patch for the CIP kernel?  I
> think this was brought up at the last meet up?  Maybe the bigger
> question (which is a lot more work) is do we plan on maintaining ipipe
> for 4.4, 4.9 and older?
> 

ARM-wise, I don't think we would have the resources required to maintain
the I-pipe for more than a single kernel release at a time.

-- 
Philippe.

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


Re: [Xenomai] ipipe-4.4.y LTS

2018-06-19 Thread Greg Gallagher
I can run some tests on ARM boards I have.

-Greg

On Tue, Jun 19, 2018 at 3:09 AM, Jan Kiszka  wrote:
> On 2018-06-18 15:59, Greg Gallagher wrote:
>> Are there still plans to have a ipipe patch for the CIP kernel?  I
>> think this was brought up at the last meet up?  Maybe the bigger
>> question (which is a lot more work) is do we plan on maintaining ipipe
>> for 4.4, 4.9 and older?
>
> Yes, there are plans to go over 4.4-CIP. So far, I'm only maintaining
> based on 4.4-LTS, just tested on x86, pushed to
> https://lab.xenomai.org/ipipe-jki.git/log/?h=for-upstream/4.4-update.
> Would be happy to receive contributions in form of tests on other
> architectures!
>
> Jan
>
>>
>> -Greg
>>
>> On Mon, Jun 18, 2018 at 8:52 AM, Radu Rendec  wrote:
>>> Hi all,
>>>
>>> Are there any plans to maintain the ipipe-4.4.y branch and update it to
>>> later versions of kernel 4.4? It would be nice to have, since at this
>>> point kernel 4.4 has the longest projected EOL.
>>>
>>> Currently the latest thing that can be merged cleanly on top of
>>> ipipe-core-4.4.71-powerpc-8 is kernel 4.4.73, which is only 2 releases
>>> later than what's already in there.
>>>
>>> Thanks,
>>> Radu Rendec
>>>
>>> ___
>>> Xenomai mailing list
>>> Xenomai@xenomai.org
>>> https://xenomai.org/mailman/listinfo/xenomai
>
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> Corporate Competence Center Embedded Linux

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


Re: [Xenomai] ipipe-4.4.y LTS

2018-06-19 Thread Philippe Gerum
On 06/19/2018 03:55 PM, Radu Rendec wrote:
> On Tue, Jun 19, 2018 at 3:09 AM Jan Kiszka  wrote:
>>
>> On 2018-06-18 15:59, Greg Gallagher wrote:
>>> Are there still plans to have a ipipe patch for the CIP kernel?  I
>>> think this was brought up at the last meet up?  Maybe the bigger
>>> question (which is a lot more work) is do we plan on maintaining ipipe
>>> for 4.4, 4.9 and older?
>>
>> Yes, there are plans to go over 4.4-CIP. So far, I'm only maintaining
>> based on 4.4-LTS, just tested on x86, pushed to
>> https://lab.xenomai.org/ipipe-jki.git/log/?h=for-upstream/4.4-update.
>> Would be happy to receive contributions in form of tests on other
>> architectures!
> 
> That's great news! Thanks for the hard work! I'm targeting powerpc, so I
> will probably get back with some test results during the next couple of
> weeks.
> 
> Looking at the history in Jan's tree, it seems "for-upstream/4.4-update"
> is updated quite often. Perhaps it would be a good idea to keep the
> ipipe-4.4.y branch in sync or at least advertise Jan's tree on the
> Xenomai website. It would be useful for people like me who are interested
> in a recent 4.4-LTS version of ipipe.

Jan as Master mode access to [1], a 4.4 LTS branch may be maintained
directly there.

[1] https://gitlab.denx.de/Xenomai/ipipe.git

-- 
Philippe.

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


Re: [Xenomai] ipipe-4.4.y LTS

2018-06-19 Thread Radu Rendec
On Tue, Jun 19, 2018 at 3:09 AM Jan Kiszka  wrote:
>
> On 2018-06-18 15:59, Greg Gallagher wrote:
> > Are there still plans to have a ipipe patch for the CIP kernel?  I
> > think this was brought up at the last meet up?  Maybe the bigger
> > question (which is a lot more work) is do we plan on maintaining ipipe
> > for 4.4, 4.9 and older?
>
> Yes, there are plans to go over 4.4-CIP. So far, I'm only maintaining
> based on 4.4-LTS, just tested on x86, pushed to
> https://lab.xenomai.org/ipipe-jki.git/log/?h=for-upstream/4.4-update.
> Would be happy to receive contributions in form of tests on other
> architectures!

That's great news! Thanks for the hard work! I'm targeting powerpc, so I
will probably get back with some test results during the next couple of
weeks.

Looking at the history in Jan's tree, it seems "for-upstream/4.4-update"
is updated quite often. Perhaps it would be a good idea to keep the
ipipe-4.4.y branch in sync or at least advertise Jan's tree on the
Xenomai website. It would be useful for people like me who are interested
in a recent 4.4-LTS version of ipipe.

Thanks,
Radu

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


Re: [Xenomai] Kernel oops during rtnet loopback usage on x86_64 (e1000e)

2018-06-19 Thread Pintu Kumar
Hi,
I upgraded to xenomai-3-next branch for x86, but still rtnet loopback
is crashing for me.
The xenomai kernel is used from 4.9.51 until
commit: 10605b427b1408cdc6926f7c25d4a4eda527da8d
Author: Philippe Gerum 
Date:   Mon Mar 26 09:17:02 2018 +0200

ipipe-core-4.9.51-x86-5

Is the rtnet loopback working with 4.9 ?
Please let me know if this issue is fixed already ?

This is the kernel logs:
--
[612871.612307]
*** RTnet for Xenomai v3.1-devel ***

[612871.612310] RTnet: initialising real-time networking
[612906.855980] initializing loopback...
[612906.855998] RTnet: registered rtlo
[613075.162006] BUG: unable to handle kernel paging request at 7ffc7893b148
[613075.162009] IP: [] rt_udp_getfrag+0x3e/0x110 [rtudp]
[613075.162013] PGD 744f76067
[613075.162014] PUD 80e1ae067
[613075.162015] PMD 6893dd067
[613075.162015] PTE 800581853867

[613075.162018] Oops: 0001 [#1] SMP
[613075.162019] Modules linked in: rt_loopback rtpacket rtudp rtipv4
rtnet binfmt_misc 8021q garp mrp stp llc rfcomm bnep
snd_hda_codec_hdmi nls_iso8859_1 eeepc_wmi intel_rapl btusb asus_wmi
x86_pkg_temp_thermal btrtl sparse_keymap intel_powerclamp coretemp
ath10k_pci kvm ath10k_core irqbypass ath mac80211 crct10dif_pclmul
crc32_pclmul ghash_clmulni_intel aesni_intel snd_hda_codec_realtek
aes_x86_64 snd_hda_codec_generic lrw cfg80211 gf128mul glue_helper
ablk_helper snd_hda_intel cryptd snd_hda_codec snd_hda_core input_leds
snd_hwdep mei_me mei shpchp serio_raw hci_uart btbcm btqca btintel
bluetooth acpi_als kfifo_buf intel_lpss_acpi industrialio intel_lpss
mac_hid acpi_pad autofs4 hid_generic usbhid nouveau mxm_wmi ttm
psmouse e1000e ptp pps_core ahci libahci i2c_hid pinctrl_sunrisepoint
wmi hid video
[613075.162049]  pinctrl_intel fjes
[613075.162052] CPU: 0 PID: 12658 Comm: rtnet-client Not tainted
4.9.51-amd-x86-64-pintu-xeno3-rtdm #4
[613075.162053] Hardware name: System manufacturer System Product Name/xxx
[613075.162054] I-pipe domain: Linux
[613075.162055] task: 903e8921da00 task.stack: 9e2f03348000
[613075.162056] RIP: 0010:[]  []
rt_udp_getfrag+0x3e/0x110 [rtudp]
[613075.162058] RSP: 0018:9e2f0334bb70  EFLAGS: 00010202
[613075.162059] RAX:  RBX: 000a RCX:
7ffc7893b140
[613075.162060] RDX:  RSI: 903e88e431e4 RDI:
9e2f0334bc40
[613075.162061] RBP: 9e2f0334bb90 R08: 9e2f0334bdb8 R09:

[613075.162062] R10: 903e88e43100 R11: 90400c1c8800 R12:
903e88e431e4
[613075.162063] R13: 0001 R14: 9e2f0334bc40 R15:
001e
[613075.162064] FS:  7f310b789740() GS:90401620()
knlGS:
[613075.162065] CS:  0010 DS:  ES:  CR0: 8005003b
[613075.162066] CR2: 7ffc7893b148 CR3: 000744e5b000 CR4:
003406f0
[613075.162067] DR0:  DR1:  DR2:

[613075.162067] DR3:  DR6: fffe0ff0 DR7:
0400
[613075.162068] Stack:
[613075.162069]  9040121bec00 90400e262240 9e2f0334bdb8
000a
[613075.162071]  9e2f0334bc00 c0a0f204 903dd1a84500
9e2f0334bc10
[613075.162074]  00033768 9e2f0334bc40 c0a05000
000f
[613075.162076] Call Trace:
[613075.162091]  [] rt_ip_build_xmit+0x1c4/0x2a0 [rtipv4]
[613075.162093]  [] ? 0xc0a05000
[613075.162094]  [] rt_udp_sendmsg+0x37b/0x3d0 [rtudp]
[613075.162097]  [] ? update_curr+0x66/0x180
[613075.162098]  [] ? dequeue_entity+0x268/0xc00
[613075.162100]  [] ? ___xnsched_run.part.73+0x3d7/0x400
[613075.162102]  [] ? hrtick_update+0x5/0x70
[613075.162103]  [] ? dequeue_task_fair+0x587/0x900
[613075.162105]  [] ? CoBaLt_recvmmsg+0x30/0x30
[613075.162106]  [] ? CoBaLt_recvmmsg+0x30/0x30
[613075.162108]  [] rtdm_fd_sendmsg+0xcb/0x240
[613075.162109]  [] ? CoBaLt_recvmmsg+0x30/0x30
[613075.162111]  [] CoBaLt_sendmsg+0x4e/0x70
[613075.162113]  [] ipipe_syscall_hook+0x117/0x340
[613075.162114]  [] __ipipe_notify_syscall+0xbf/0x170
[613075.162116]  [] pipeline_syscall+0x8/0x1b
[613075.162118] Code: 54 49 89 f4 53 89 cb 8b 57 20 0f 85 c3 00 00 00
85 d2 7e 2f 8b 47 24 45 31 ed 49 63 cd 89 c2 41 83 c5 01 48 c1 e1 04
49 03 4e 18 <8b> 71 08 48 8b 39 e8 e7 f4 a0 e6 41 8b 56 20 41 89 46 24
44 39
[613075.162141] RIP  [] rt_udp_getfrag+0x3e/0x110 [rtudp]
[613075.162143]  RSP 
[613075.162144] CR2: 7ffc7893b148
[613075.162145] ---[ end trace 90458bf1f92e3557 ]---
On Thu, Apr 26, 2018 at 9:53 PM Jan Kiszka  wrote:
>
> On 2018-04-25 13:36, Pintu Kumar wrote:
> > Dear Jan,
> >
> > Thank you so much for your reply.
> > I will try the latest stable version to check again.
> > Is ipipe patches (linux: 4.9.51) also needs to be upgraded for this
> > issue? Or only xenomai-3/kernel patches are enough?
>
> This particular issue was addressed in the Xenomai core, not the I-pipe
> patch.
>
> >
> > Actually, now I am stuck with another question.

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: 
<http://xenomai.org/pipermail/xenomai/attachments/20180619/d91f7d23/attachment.png>
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] ipipe-4.4.y LTS

2018-06-19 Thread Jan Kiszka
On 2018-06-18 15:59, Greg Gallagher wrote:
> Are there still plans to have a ipipe patch for the CIP kernel?  I
> think this was brought up at the last meet up?  Maybe the bigger
> question (which is a lot more work) is do we plan on maintaining ipipe
> for 4.4, 4.9 and older?

Yes, there are plans to go over 4.4-CIP. So far, I'm only maintaining
based on 4.4-LTS, just tested on x86, pushed to
https://lab.xenomai.org/ipipe-jki.git/log/?h=for-upstream/4.4-update.
Would be happy to receive contributions in form of tests on other
architectures!

Jan

> 
> -Greg
> 
> On Mon, Jun 18, 2018 at 8:52 AM, Radu Rendec  wrote:
>> Hi all,
>>
>> Are there any plans to maintain the ipipe-4.4.y branch and update it to
>> later versions of kernel 4.4? It would be nice to have, since at this
>> point kernel 4.4 has the longest projected EOL.
>>
>> Currently the latest thing that can be merged cleanly on top of
>> ipipe-core-4.4.71-powerpc-8 is kernel 4.4.73, which is only 2 releases
>> later than what's already in there.
>>
>> Thanks,
>> Radu Rendec
>>
>> ___
>> Xenomai mailing list
>> Xenomai@xenomai.org
>> https://xenomai.org/mailman/listinfo/xenomai

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

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