deployer-xenomai

Hi all

im having the following problem with orocos + ros + xenomai

carlos@carlos-Latitude-E6530:~$ deployer-xenomai Real-time memory: 521056 bytes free of 524288 allocated. WARNING: You are not root. This program *may* require that you are root. 0.001 [ ERROR ][Logger] could not load library '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed 0.032 [ Warning][Logger] Some found plugins could not be loaded ! 0.032 [ Warning][Logger] Corrupted files found in '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'. Fix or remove these plugins.

   Switched to : Deployer
any ideas on how to make it work?

thanks

deployer-xenomai

maybe "WARNING: You are not root. This program *may* require that you are
root." is one problem, did you tried to run this as root as suggested ?
(there is a way to configure linux/xenomai properly to do it without being
root but I can't find a link to this).

But I'm quite sure it won't correct the "corrupt file" issue.

2013/4/3 <sagan61 [..] ...>

> Hi all
>
> im having the following problem with orocos + ros + xenomai
>
> carlos@carlos-Latitude-E6530:~$ deployer-xenomai
> Real-time memory: 521056 bytes free of 524288 allocated.
> WARNING: You are not root. This program *may* require that you are root.
> 0.001 [ ERROR ][Logger] could not load library
>
> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
> libpthread_rt.so.1: shared object cannot be dlopen()ed
> 0.032 [ Warning][Logger] Some found plugins could not be loaded !
> 0.032 [ Warning][Logger] Corrupted files found in
>
> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
> Fix or remove these plugins.
> Switched to : Deployer
>
>
> any ideas on how to make it work?
>
> thanks
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

deployer-xenomai

On Wed, Apr 3, 2013 at 6:04 PM, <sagan61 [..] ...> wrote:
> Hi all
>
> im having the following problem with orocos + ros + xenomai
>
> carlos@carlos-Latitude-E6530:~$ deployer-xenomai
> Real-time memory: 521056 bytes free of 524288 allocated.
> WARNING: You are not root. This program *may* require that you are root.
> 0.001 [ ERROR ][Logger] could not load library
> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
> libpthread_rt.so.1: shared object cannot be dlopen()ed
> 0.032 [ Warning][Logger] Some found plugins could not be loaded !
> 0.032 [ Warning][Logger] Corrupted files found in
> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
> Fix or remove these plugins.
> Switched to : Deployer
>
>
> any ideas on how to make it work?

The dlopen issue is a configuration option of the xenomai configure
script. It's documented on the Xenomai website....

Peter

deployer-xenomai

2013/4/18 Peter Soetens <peter [..] ...>

> On Wed, Apr 3, 2013 at 6:04 PM, <sagan61 [..] ...> wrote:
> > Hi all
> >
> > im having the following problem with orocos + ros + xenomai
> >
> > carlos@carlos-Latitude-E6530:~$ deployer-xenomai
> > Real-time memory: 521056 bytes free of 524288 allocated.
> > WARNING: You are not root. This program *may* require that you are root.
> > 0.001 [ ERROR ][Logger] could not load library
> >
> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
> > libpthread_rt.so.1: shared object cannot be dlopen()ed
> > 0.032 [ Warning][Logger] Some found plugins could not be loaded !
> > 0.032 [ Warning][Logger] Corrupted files found in
> >
> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
> > Fix or remove these plugins.
> > Switched to : Deployer
> >
> >
> > any ideas on how to make it work?
>
> The dlopen issue is a configuration option of the xenomai configure
> script. It's documented on the Xenomai website....
>
>
FYI, here is an old thread on that topic :
http://www.orocos.org/forum/orocos/orocos-users/problem-orocos-under-xen...

> Peter
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

deployer-xenomai

hello willy im aware of that thread, unfortunately it seems that is not a
real solution anyways. have you had the same problem? did you solved it
that way? thanks

2013/4/18 Willy Lambert <lambert [dot] willy [..] ...>

>
>
>
> 2013/4/18 Peter Soetens <peter [..] ...>
>
>> On Wed, Apr 3, 2013 at 6:04 PM, <sagan61 [..] ...> wrote:
>> > Hi all
>> >
>> > im having the following problem with orocos + ros + xenomai
>> >
>> > carlos@carlos-Latitude-E6530:~$ deployer-xenomai
>> > Real-time memory: 521056 bytes free of 524288 allocated.
>> > WARNING: You are not root. This program *may* require that you are root.
>> > 0.001 [ ERROR ][Logger] could not load library
>> >
>> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
>> > libpthread_rt.so.1: shared object cannot be dlopen()ed
>> > 0.032 [ Warning][Logger] Some found plugins could not be loaded !
>> > 0.032 [ Warning][Logger] Corrupted files found in
>> >
>> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
>> > Fix or remove these plugins.
>> > Switched to : Deployer
>> >
>> >
>> > any ideas on how to make it work?
>>
>> The dlopen issue is a configuration option of the xenomai configure
>> script. It's documented on the Xenomai website....
>>
>>
> FYI, here is an old thread on that topic :
>
> http://www.orocos.org/forum/orocos/orocos-users/problem-orocos-under-xen...
>
>
>> Peter
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>
>

Ruben Smits's picture

deployer-xenomai

This is the real solution imo:

Quote:

> I believe the solution to this issue is is to build Xenomai with the
> "--enable-dlopen-skins" option. If you're using "configure", just make it
> an option of that. If you're going with the Debian package, edit the
> ./debian/config file and add the option to the list.

Ruben Smits, Phd
Chief Technology Officer
Intermodalics BVBA
+32479511786
www.intermodalics.eu

On Thu, Apr 18, 2013 at 1:55 PM, Carlos David Rodriguez
<sagan61 [..] ...>wrote:

> hello willy im aware of that thread, unfortunately it seems that is not a
> real solution anyways. have you had the same problem? did you solved it
> that way? thanks
>
>
> 2013/4/18 Willy Lambert <lambert [dot] willy [..] ...>
>
>>
>>
>>
>> 2013/4/18 Peter Soetens <peter [..] ...>
>>
>>> On Wed, Apr 3, 2013 at 6:04 PM, <sagan61 [..] ...> wrote:
>>> > Hi all
>>> >
>>> > im having the following problem with orocos + ros + xenomai
>>> >
>>> > carlos@carlos-Latitude-E6530:~$ deployer-xenomai
>>> > Real-time memory: 521056 bytes free of 524288 allocated.
>>> > WARNING: You are not root. This program *may* require that you are
>>> root.
>>> > 0.001 [ ERROR ][Logger] could not load library
>>> >
>>> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
>>> > libpthread_rt.so.1: shared object cannot be dlopen()ed
>>> > 0.032 [ Warning][Logger] Some found plugins could not be loaded !
>>> > 0.032 [ Warning][Logger] Corrupted files found in
>>> >
>>> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
>>> > Fix or remove these plugins.
>>> > Switched to : Deployer
>>> >
>>> >
>>> > any ideas on how to make it work?
>>>
>>> The dlopen issue is a configuration option of the xenomai configure
>>> script. It's documented on the Xenomai website....
>>>
>>>
>> FYI, here is an old thread on that topic :
>>
>> http://www.orocos.org/forum/orocos/orocos-users/problem-orocos-under-xen...
>>
>>
>>> Peter
>>> --
>>> Orocos-Users mailing list
>>> Orocos-Users [..] ...
>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>>
>>
>>
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>

deployer-xenomai

hi ruben thanks for the reply

i'll try to do it tho, any advice on doing this? (i already have the
xenomai up and running) i mean expert advice... im working on the .deb
xenomai version and i have it recompiled using --enable-dlopen-skins on the
rules script (it is not on the config) but now i need to re install the
thing.

any advice? or tutorial you know on doing this? or it is better to
reinstall all (linux included)?

thanks

2013/4/18 Ruben Smits <ruben [dot] smits [..] ...>

> This is the real solution imo:
>
>

Quote:

> > I believe the solution to this issue is is to build Xenomai with the
> > "--enable-dlopen-skins" option. If you're using "configure", just make it
> > an option of that. If you're going with the Debian package, edit the
> > ./debian/config file and add the option to the list.
>

>
> Ruben Smits, Phd
> Chief Technology Officer
> Intermodalics BVBA
> +32479511786
> www.intermodalics.eu
>
>
> On Thu, Apr 18, 2013 at 1:55 PM, Carlos David Rodriguez <sagan61 [..] ...
> > wrote:
>
>> hello willy im aware of that thread, unfortunately it seems that is not a
>> real solution anyways. have you had the same problem? did you solved it
>> that way? thanks
>>
>>
>> 2013/4/18 Willy Lambert <lambert [dot] willy [..] ...>
>>
>>>
>>>
>>>
>>> 2013/4/18 Peter Soetens <peter [..] ...>
>>>
>>>> On Wed, Apr 3, 2013 at 6:04 PM, <sagan61 [..] ...> wrote:
>>>> > Hi all
>>>> >
>>>> > im having the following problem with orocos + ros + xenomai
>>>> >
>>>> > carlos@carlos-Latitude-E6530:~$ deployer-xenomai
>>>> > Real-time memory: 521056 bytes free of 524288 allocated.
>>>> > WARNING: You are not root. This program *may* require that you are
>>>> root.
>>>> > 0.001 [ ERROR ][Logger] could not load library
>>>> >
>>>> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
>>>> > libpthread_rt.so.1: shared object cannot be dlopen()ed
>>>> > 0.032 [ Warning][Logger] Some found plugins could not be loaded !
>>>> > 0.032 [ Warning][Logger] Corrupted files found in
>>>> >
>>>> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
>>>> > Fix or remove these plugins.
>>>> > Switched to : Deployer
>>>> >
>>>> >
>>>> > any ideas on how to make it work?
>>>>
>>>> The dlopen issue is a configuration option of the xenomai configure
>>>> script. It's documented on the Xenomai website....
>>>>
>>>>
>>> FYI, here is an old thread on that topic :
>>>
>>> http://www.orocos.org/forum/orocos/orocos-users/problem-orocos-under-xen...
>>>
>>>
>>>> Peter
>>>> --
>>>> Orocos-Users mailing list
>>>> Orocos-Users [..] ...
>>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>>>
>>>
>>>
>>
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>>
>

Ruben Smits's picture

deployer-xenomai

On Thu, Apr 18, 2013 at 3:28 PM, Carlos David Rodriguez
<sagan61 [..] ...>wrote:

> hi ruben thanks for the reply
>
> i'll try to do it tho, any advice on doing this? (i already have the
> xenomai up and running) i mean expert advice... im working on the .deb
> xenomai version and i have it recompiled using --enable-dlopen-skins on the
> rules script (it is not on the config) but now i need to re install the
> thing.
>
> any advice? or tutorial you know on doing this? or it is better to
> reinstall all (linux included)?
>
>
If you have recompiled the deb you should be able to use dpkg to install
it: sudo dpkg -i /your-new-xenomai-deb.

Ruben

> thanks
>
>
> 2013/4/18 Ruben Smits <ruben [dot] smits [..] ...>
>
>> This is the real solution imo:
>>
>>

Quote:

>> > I believe the solution to this issue is is to build Xenomai with the
>> > "--enable-dlopen-skins" option. If you're using "configure", just make
>> it
>> > an option of that. If you're going with the Debian package, edit the
>> > ./debian/config file and add the option to the list.
>>

>>
>> Ruben Smits, Phd
>> Chief Technology Officer
>> Intermodalics BVBA
>> +32479511786
>> www.intermodalics.eu
>>
>>
>> On Thu, Apr 18, 2013 at 1:55 PM, Carlos David Rodriguez <
>> sagan61 [..] ...> wrote:
>>
>>> hello willy im aware of that thread, unfortunately it seems that is not
>>> a real solution anyways. have you had the same problem? did you solved it
>>> that way? thanks
>>>
>>>
>>> 2013/4/18 Willy Lambert <lambert [dot] willy [..] ...>
>>>
>>>>
>>>>
>>>>
>>>> 2013/4/18 Peter Soetens <peter [..] ...>
>>>>
>>>>> On Wed, Apr 3, 2013 at 6:04 PM, <sagan61 [..] ...> wrote:
>>>>> > Hi all
>>>>> >
>>>>> > im having the following problem with orocos + ros + xenomai
>>>>> >
>>>>> > carlos@carlos-Latitude-E6530:~$ deployer-xenomai
>>>>> > Real-time memory: 521056 bytes free of 524288 allocated.
>>>>> > WARNING: You are not root. This program *may* require that you are
>>>>> root.
>>>>> > 0.001 [ ERROR ][Logger] could not load library
>>>>> >
>>>>> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
>>>>> > libpthread_rt.so.1: shared object cannot be dlopen()ed
>>>>> > 0.032 [ Warning][Logger] Some found plugins could not be loaded !
>>>>> > 0.032 [ Warning][Logger] Corrupted files found in
>>>>> >
>>>>> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
>>>>> > Fix or remove these plugins.
>>>>> > Switched to : Deployer
>>>>> >
>>>>> >
>>>>> > any ideas on how to make it work?
>>>>>
>>>>> The dlopen issue is a configuration option of the xenomai configure
>>>>> script. It's documented on the Xenomai website....
>>>>>
>>>>>
>>>> FYI, here is an old thread on that topic :
>>>>
>>>> http://www.orocos.org/forum/orocos/orocos-users/problem-orocos-under-xen...
>>>>
>>>>
>>>>> Peter
>>>>> --
>>>>> Orocos-Users mailing list
>>>>> Orocos-Users [..] ...
>>>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>>>>
>>>>
>>>>
>>>
>>> --
>>> Orocos-Users mailing list
>>> Orocos-Users [..] ...
>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>>
>>>
>>
>

deployer-xenomai

Yeah but is warning me a lot in an intimidating way :s that's why I'm asking if you've done it before :)

On 18/04/2013, at 16:01, Ruben Smits <ruben [dot] smits [..] ...> wrote:

>
>
>
> On Thu, Apr 18, 2013 at 3:28 PM, Carlos David Rodriguez <sagan61 [..] ...> wrote:
>> hi ruben thanks for the reply
>>
>> i'll try to do it tho, any advice on doing this? (i already have the xenomai up and running) i mean expert advice... im working on the .deb xenomai version and i have it recompiled using --enable-dlopen-skins on the rules script (it is not on the config) but now i need to re install the thing.
>>
>> any advice? or tutorial you know on doing this? or it is better to reinstall all (linux included)?
>>
>
> If you have recompiled the deb you should be able to use dpkg to install it: sudo dpkg -i /your-new-xenomai-deb.
>
> Ruben
>
>
>> thanks
>>
>>
>> 2013/4/18 Ruben Smits <ruben [dot] smits [..] ...>
>>> This is the real solution imo:
>>>
>>>

Quote:

>>> > I believe the solution to this issue is is to build Xenomai with the
>>> > "--enable-dlopen-skins" option. If you're using "configure", just make it
>>> > an option of that. If you're going with the Debian package, edit the
>>> > ./debian/config file and add the option to the list.
>>>

>>>
>>> Ruben Smits, Phd
>>> Chief Technology Officer
>>> Intermodalics BVBA
>>> +32479511786
>>> www.intermodalics.eu
>>>
>>>
>>> On Thu, Apr 18, 2013 at 1:55 PM, Carlos David Rodriguez <sagan61 [..] ...> wrote:
>>>> hello willy im aware of that thread, unfortunately it seems that is not a real solution anyways. have you had the same problem? did you solved it that way? thanks
>>>>
>>>>
>>>> 2013/4/18 Willy Lambert <lambert [dot] willy [..] ...>
>>>>>
>>>>>
>>>>>
>>>>> 2013/4/18 Peter Soetens <peter [..] ...>
>>>>>> On Wed, Apr 3, 2013 at 6:04 PM, <sagan61 [..] ...> wrote:
>>>>>> > Hi all
>>>>>> >
>>>>>> > im having the following problem with orocos + ros + xenomai
>>>>>> >
>>>>>> > carlos@carlos-Latitude-E6530:~$ deployer-xenomai
>>>>>> > Real-time memory: 521056 bytes free of 524288 allocated.
>>>>>> > WARNING: You are not root. This program *may* require that you are root.
>>>>>> > 0.001 [ ERROR ][Logger] could not load library
>>>>>> > '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
>>>>>> > libpthread_rt.so.1: shared object cannot be dlopen()ed
>>>>>> > 0.032 [ Warning][Logger] Some found plugins could not be loaded !
>>>>>> > 0.032 [ Warning][Logger] Corrupted files found in
>>>>>> > '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
>>>>>> > Fix or remove these plugins.
>>>>>> > Switched to : Deployer
>>>>>> >
>>>>>> >
>>>>>> > any ideas on how to make it work?
>>>>>>
>>>>>> The dlopen issue is a configuration option of the xenomai configure
>>>>>> script. It's documented on the Xenomai website....
>>>>>>
>>>>>
>>>>> FYI, here is an old thread on that topic :
>>>>> http://www.orocos.org/forum/orocos/orocos-users/problem-orocos-under-xen...
>>>>>
>>>>>> Peter
>>>>>> --
>>>>>> Orocos-Users mailing list
>>>>>> Orocos-Users [..] ...
>>>>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>>>>
>>>>
>>>>
>>>> --
>>>> Orocos-Users mailing list
>>>> Orocos-Users [..] ...
>>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>>>
>>>
>>
>

deployer-xenomai

one big question is, do i have to build the whole kernel and install it
again?

thanks

2013/4/18 Carlos Rodríguez Guerrero <sagan61 [..] ...>

> Yeah but is warning me a lot in an intimidating way :s that's why I'm
> asking if you've done it before :)
>
> On 18/04/2013, at 16:01, Ruben Smits <ruben [dot] smits [..] ...> wrote:
>
>
>
>
> On Thu, Apr 18, 2013 at 3:28 PM, Carlos David Rodriguez <sagan61 [..] ...
> > wrote:
>
>> hi ruben thanks for the reply
>>
>> i'll try to do it tho, any advice on doing this? (i already have the
>> xenomai up and running) i mean expert advice... im working on the .deb
>> xenomai version and i have it recompiled using --enable-dlopen-skins on the
>> rules script (it is not on the config) but now i need to re install the
>> thing.
>>
>> any advice? or tutorial you know on doing this? or it is better to
>> reinstall all (linux included)?
>>
>>
> If you have recompiled the deb you should be able to use dpkg to install
> it: sudo dpkg -i /your-new-xenomai-deb.
>
> Ruben
>
>
>
>> thanks
>>
>>
>> 2013/4/18 Ruben Smits <ruben [dot] smits [..] ...>
>>
>>> This is the real solution imo:
>>>
>>>

Quote:

>>> > I believe the solution to this issue is is to build Xenomai with the
>>> > "--enable-dlopen-skins" option. If you're using "configure", just make
>>> it
>>> > an option of that. If you're going with the Debian package, edit the
>>> > ./debian/config file and add the option to the list.
>>>

>>>
>>> Ruben Smits, Phd
>>> Chief Technology Officer
>>> Intermodalics BVBA
>>> +32479511786
>>> www.intermodalics.eu
>>>
>>>
>>> On Thu, Apr 18, 2013 at 1:55 PM, Carlos David Rodriguez <
>>> sagan61 [..] ...> wrote:
>>>
>>>> hello willy im aware of that thread, unfortunately it seems that is not
>>>> a real solution anyways. have you had the same problem? did you solved it
>>>> that way? thanks
>>>>
>>>>
>>>> 2013/4/18 Willy Lambert <lambert [dot] willy [..] ...>
>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2013/4/18 Peter Soetens <peter [..] ...>
>>>>>
>>>>>> On Wed, Apr 3, 2013 at 6:04 PM, <sagan61 [..] ...> wrote:
>>>>>> > Hi all
>>>>>> >
>>>>>> > im having the following problem with orocos + ros + xenomai
>>>>>> >
>>>>>> > carlos@carlos-Latitude-E6530:~$ deployer-xenomai
>>>>>> > Real-time memory: 521056 bytes free of 524288 allocated.
>>>>>> > WARNING: You are not root. This program *may* require that you are
>>>>>> root.
>>>>>> > 0.001 [ ERROR ][Logger] could not load library
>>>>>> >
>>>>>> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
>>>>>> > libpthread_rt.so.1: shared object cannot be dlopen()ed
>>>>>> > 0.032 [ Warning][Logger] Some found plugins could not be loaded !
>>>>>> > 0.032 [ Warning][Logger] Corrupted files found in
>>>>>> >
>>>>>> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
>>>>>> > Fix or remove these plugins.
>>>>>> > Switched to : Deployer
>>>>>> >
>>>>>> >
>>>>>> > any ideas on how to make it work?
>>>>>>
>>>>>> The dlopen issue is a configuration option of the xenomai configure
>>>>>> script. It's documented on the Xenomai website....
>>>>>>
>>>>>>
>>>>> FYI, here is an old thread on that topic :
>>>>>
>>>>> http://www.orocos.org/forum/orocos/orocos-users/problem-orocos-under-xen...
>>>>>
>>>>>
>>>>>> Peter
>>>>>> --
>>>>>> Orocos-Users mailing list
>>>>>> Orocos-Users [..] ...
>>>>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> Orocos-Users mailing list
>>>> Orocos-Users [..] ...
>>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>>>
>>>>
>>>
>>
>

Ruben Smits's picture

deployer-xenomai

Op donderdag 18 april 2013 schreef Carlos David Rodriguez (sagan61 [..] ...)
het volgende:

> one big question is, do i have to build the whole kernel and install it
> again?
>

No, this should not be necessary, only Xenomai itself should do it.

Ruben

>
>
>
> thanks
>

>
> 2013/4/18 Carlos Rodríguez Guerrero <sagan61 [..] ...>
>
> Yeah but is warning me a lot in an intimidating way :s that's why I'm
> asking if you've done it before :)
>
> On 18/04/2013, at 16:01, Ruben Smits <ruben [dot] smits [..] ...> wrote:
>
>
>
>
> On Thu, Apr 18, 2013 at 3:28 PM, Carlos David Rodriguez <sagan61 [..] ...
> > wrote:
>
> hi ruben thanks for the reply
>
> i'll try to do it tho, any advice on doing this? (i already have the
> xenomai up and running) i mean expert advice... im working on the .deb
> xenomai version and i have it recompiled using --enable-dlopen-skins on the
> rules script (it is not on the config) but now i need to re install the
> thing.
>
> any advice? or tutorial you know on doing this? or it is better to
> reinstall all (linux included)?
>
>
> If you have recompiled the deb you should be able to use dpkg to install
> it: sudo dpkg -i /your-new-xenomai-deb.
>
> Ruben
>
>
>
> thanks
>
>
> 2013/4/18 Ruben Smits <ruben [dot] smits [..] ...>
>
> This is the real solution imo:
>
>

Quote:

> > I believe the solution to this issue is is to build Xenomai with the
> > "--enable-dlopen-skins" option. If you're using "configure", just make it
> > an option of that. If you're going with the Debian package, edit the
> > ./debian/config file and add the option to the list.
>

>
> Ruben Smits, Phd
> Chief Technology Officer
> Intermodalics BVBA
> +32479511786
> www.intermodalics.eu
>
>
> On Thu, Apr 18, 2013 at 1:55 PM, Carlos David Rodriguez <sagan61 [..] ...
> > wrote:
>
> hello willy im aware of that thread, unfortunately it seems that is not a
> real solution anyways. have you had the same problem? did you solved it
> that way? thanks
>
>
> 2013/4/18 Willy Lambert <lambert [dot] willy [..] ...>
>
>
>
>
> 2013/4/18 Peter Soetens <peter [..] ...>
>
> On Wed, Apr 3, 2013 at 6:04 PM, <sagan61 [..] ...> wrote:
> > Hi all
> >
> > im having the following problem with orocos + ros + xenomai
> >
> > carlos@carlos-Latitude-E6530
>
>

deployer-xenomai

thank you very much!

it worked like a charn now the deployer is up and running under xenomai!

so the solution is as suggested on the older thread, to compile xenomai
again (only xenomai not the whole kernel as the problem is only for a .so
file) adding the *--enable-dlopen-skins * option like this on the
xenomai/debian/rules file for instance:

CONFIG_OPTS = --prefix=/usr \
--includedir=/usr/include/xenomai \
--mandir=/usr/share/man \
--with-testdir=/usr/lib/xenomai \
*--enable-dlopen-skins *

then compile it again for instance

td@lab_td:~/Downloads/xenomai/xenomai-2.6.2.1$ DEBEMAIL="your@email"
DEBFULLNAME="Your Name" debchange -v 2.6.2.1 Release 2.6.2.1
td@lab_td:~/Downloads/xenomai/xenomai-2.6.2.1$ debuild -uc -us
td@lab_td:~/Downloads/xenomai/xenomai-2.6.2.1$ sudo dpkg -i ../*.deb

taken from http://www.stanley.gatech.edu/skelly/uncategorized/installing-xenomai-on...

thanks guys!

2013/4/18 Ruben Smits <ruben [dot] smits [..] ...>

>
>
> Op donderdag 18 april 2013 schreef Carlos David Rodriguez (
> sagan61 [..] ...) het volgende:
>
> one big question is, do i have to build the whole kernel and install it
>> again?
>>
>
> No, this should not be necessary, only Xenomai itself should do it.
>
> Ruben
>
>>
>>
>>
>> thanks
>>
>
>>
>> 2013/4/18 Carlos Rodríguez Guerrero <sagan61 [..] ...>
>>
>> Yeah but is warning me a lot in an intimidating way :s that's why I'm
>> asking if you've done it before :)
>>
>> On 18/04/2013, at 16:01, Ruben Smits <ruben [dot] smits [..] ...>
>> wrote:
>>
>>
>>
>>
>> On Thu, Apr 18, 2013 at 3:28 PM, Carlos David Rodriguez <
>> sagan61 [..] ...> wrote:
>>
>> hi ruben thanks for the reply
>>
>> i'll try to do it tho, any advice on doing this? (i already have the
>> xenomai up and running) i mean expert advice... im working on the .deb
>> xenomai version and i have it recompiled using --enable-dlopen-skins on the
>> rules script (it is not on the config) but now i need to re install the
>> thing.
>>
>> any advice? or tutorial you know on doing this? or it is better to
>> reinstall all (linux included)?
>>
>>
>> If you have recompiled the deb you should be able to use dpkg to install
>> it: sudo dpkg -i /your-new-xenomai-deb.
>>
>> Ruben
>>
>>
>>
>> thanks
>>
>>
>> 2013/4/18 Ruben Smits <ruben [dot] smits [..] ...>
>>
>> This is the real solution imo:
>>
>>

Quote:

>> > I believe the solution to this issue is is to build Xenomai with the
>> > "--enable-dlopen-skins" option. If you're using "configure", just make
>> it
>> > an option of that. If you're going with the Debian package, edit the
>> > ./debian/config file and add the option to the list.
>>

>>
>> Ruben Smits, Phd
>> Chief Technology Officer
>> Intermodalics BVBA
>> +32479511786
>> www.intermodalics.eu
>>
>>
>> On Thu, Apr 18, 2013 at 1:55 PM, Carlos David Rodriguez <
>> sagan61 [..] ...> wrote:
>>
>> hello willy im aware of that thread, unfortunately it seems that is not a
>> real solution anyways. have you had the same problem? did you solved it
>> that way? thanks
>>
>>
>> 2013/4/18 Willy Lambert <lambert [dot] willy [..] ...>
>>
>>
>>
>>
>> 2013/4/18 Peter Soetens <peter [..] ...>
>>
>> On Wed, Apr 3, 2013 at 6:04 PM, <sagan61 [..] ...> wrote:
>> > Hi all
>> >
>> > im having the following problem with orocos + ros + xenomai
>> >
>> > carlos@carlos-Latitude-E6530
>>
>>
>
> --
> Ruben Smits, Phd
> Chief Technology Officer
> Intermodalics BVBA
> +32479511786
> www.intermodalics.eu
>

deployer-xenomai

normally i dont even try to run things that i know they are supposed to be run not as a SU as it could mess up all your file permissions and it will be worse.

you are not supposed to be running this as root... it should be something else.

i will be very thankful if you can provide the link though.

El 03/04/2013, a las 22:33, Willy Lambert <lambert [dot] willy [..] ...> escribió:

> maybe "WARNING: You are not root. This program *may* require that you are root." is one problem, did you tried to run this as root as suggested ? (there is a way to configure linux/xenomai properly to do it without being root but I can't find a link to this).
>
> But I'm quite sure it won't correct the "corrupt file" issue.
>
>
> 2013/4/3 <sagan61 [..] ...>
> Hi all
>
> im having the following problem with orocos + ros + xenomai
>
> carlos@carlos-Latitude-E6530:~$ deployer-xenomai
> Real-time memory: 521056 bytes free of 524288 allocated.
> WARNING: You are not root. This program *may* require that you are root.
> 0.001 [ ERROR ][Logger] could not load library
> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
> libpthread_rt.so.1: shared object cannot be dlopen()ed
> 0.032 [ Warning][Logger] Some found plugins could not be loaded !
> 0.032 [ Warning][Logger] Corrupted files found in
> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
> Fix or remove these plugins.
> Switched to : Deployer
>
>
> any ideas on how to make it work?
>
> thanks
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

deployer-xenomai

On 04/03/2013 10:33 PM, Willy Lambert wrote:
> maybe "WARNING: You are not root. This program *may* require that you
> are root." is one problem, did you tried to run this as root as
> suggested ? (there is a way to configure linux/xenomai properly to do it
> without being root but I can't find a link to this).

http://xenomai.org/index.php/Non-root_RT

There you go :) Also, it's easiest to add the user to the xenomai group
on most debian-like systems.

/Sagar

> But I'm quite sure it won't correct the "corrupt file" issue.
>
>
> 2013/4/3 <sagan61 [..] ... <mailto:sagan61 [..] ...>>
>
> Hi all
>
> im having the following problem with orocos + ros + xenomai
>
> carlos@carlos-Latitude-E6530:~$ deployer-xenomai
> Real-time memory: 521056 bytes free of 524288 allocated.
> WARNING: You are not root. This program *may* require that you are root.
> 0.001 [ ERROR ][Logger] could not load library
> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
> libpthread_rt.so.1: shared object cannot be dlopen()ed
> 0.032 [ Warning][Logger] Some found plugins could not be loaded !
> 0.032 [ Warning][Logger] Corrupted files found in
> '/home/carlos/groovy_workspace/sandbox/orocos_toolchain/rtt/../install/lib/orocos'.
> Fix or remove these plugins.
> Switched to : Deployer
>
>
> any ideas on how to make it work?
>
> thanks
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> <mailto:Orocos-Users [..] ...>
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>
>
>