* [Xenomai-help] xenomai, skins, design and a practical approach
@ 2010-05-19 19:23 haknick
2010-05-19 19:36 ` Vera Snowball
[not found] ` <AANLkTikXdeZFuZvhVk99zqLlF3vL68VId9lUh84tP4RV@mail.gmail.com>
0 siblings, 2 replies; 8+ messages in thread
From: haknick @ 2010-05-19 19:23 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 360 bytes --]
Hey everybody,
A friend of mine and I have written a paper on: "Xenomai as a Linux RT
framework, Skins design and
a practical approach to its architecture"
Was thinking this could be quite useful to others and wanted to share with
the community, so maybe here: http://www.xenomai.org/index.php/Publications
or wherever it makes sense.
Any suggestions ?
[-- Attachment #2: Type: text/html, Size: 405 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [Xenomai-help] xenomai, skins, design and a practical approach 2010-05-19 19:23 [Xenomai-help] xenomai, skins, design and a practical approach haknick @ 2010-05-19 19:36 ` Vera Snowball 2010-05-20 11:15 ` Gilles Chanteperdrix [not found] ` <AANLkTikXdeZFuZvhVk99zqLlF3vL68VId9lUh84tP4RV@mail.gmail.com> 1 sibling, 1 reply; 8+ messages in thread From: Vera Snowball @ 2010-05-19 19:36 UTC (permalink / raw) To: haknick, xenomai [-- Attachment #1: Type: text/plain, Size: 938 bytes --] Sounds good to me. Does it include by any chance a chapter on how to work with Xenosim simulator? Looks like it is the only simulator which can be used for debugging with valgrind. If you made it work, it would be great to know how. Thanks a lot, Vera ________________________________ From: xenomai-help-bounces@domain.hid [mailto:xenomai-help-bounces@domain.hid] On Behalf Of haknick@domain.hid Sent: Wednesday, May 19, 2010 12:24 PM To: xenomai@xenomai.org Subject: [Xenomai-help] xenomai, skins, design and a practical approach Hey everybody, A friend of mine and I have written a paper on: "Xenomai as a Linux RT framework, Skins design and a practical approach to its architecture" Was thinking this could be quite useful to others and wanted to share with the community, so maybe here: http://www.xenomai.org/index.php/Publications or wherever it makes sense. Any suggestions ? [-- Attachment #2: Type: text/html, Size: 3973 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] xenomai, skins, design and a practical approach 2010-05-19 19:36 ` Vera Snowball @ 2010-05-20 11:15 ` Gilles Chanteperdrix 2010-05-20 17:07 ` Vera Snowball 0 siblings, 1 reply; 8+ messages in thread From: Gilles Chanteperdrix @ 2010-05-20 11:15 UTC (permalink / raw) To: Vera Snowball; +Cc: xenomai, haknick Vera Snowball wrote: > Sounds good to me. Does it include by any chance a chapter on how to > work with Xenosim simulator? Looks like it is the only simulator which > can be used for debugging with valgrind. If you made it work, it would > be great to know how. Xenosim requires an old 32 bits installation to be compiled, so, it may not be straightforward to use it. If what you want to debug with valgrind is your application and not Xenomai, you can arrange to compile your application for Linux pthreads, and you will be able to debug it. If you are using the POSIX skin, it should be easy. If you are using a legacy skin, such as vxworks, psos, uitron, etc... we already have support for running them on plain linux with the xenomai-solo package. Only if you are using the native skin it will be a little harder. -- Gilles. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] xenomai, skins, design and a practical approach 2010-05-20 11:15 ` Gilles Chanteperdrix @ 2010-05-20 17:07 ` Vera Snowball 2010-05-20 17:33 ` Gilles Chanteperdrix 0 siblings, 1 reply; 8+ messages in thread From: Vera Snowball @ 2010-05-20 17:07 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai, haknick We do use native skin. The reason I'm trying to compile xenosim simulator is because I found that this is the only way to test xenomai app with valgrind. Although I'm having an issue with the compilation during 'make install' (I posted this question as well): make[1]: Leaving directory `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/vm' Making install in adapter make[1]: Entering directory `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/adapter' g++ -DHAVE_CONFIG_H -I. -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter -I../include -D__XENO_SIM__ -fno-exceptions -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/.. -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include -O2 -MT adapter.o -MD -MP -MF .deps/adapter.Tpo -c -o adapter.o /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc In file included from /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/sched.h:31, from /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/pod.h:34, from /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:23: /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/thread.h: In function âxnthread* xnthread_lookup(xnhandle_t)â: /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/thread.h:431: error: invalid conversion from âvoid*â to âxnthread*â In file included from /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/manager.h:38, from /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:25: /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/thread.h: At global scope: /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/thread.h:52: warning: âtypedefâ was ignored in this declaration /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc: In function âconst char* mvm_get_thread_mode(void*)â: /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:65: error: too few arguments to function /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:67: error: too few arguments to function make[1]: *** [adapter.o] Error 1 make[1]: Leaving directory `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/adapter' make: *** [install-recursive] Error 1 If you have any suggestion on how to run the xenomai app with valgrind, it would be great to know it. I got syscall 555 error by trying to run our app with valgrind in a usual way (w/o xenosim). Any help is much appreciated. Best Regards, Vera -----Original Message----- From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org Sent: Thursday, May 20, 2010 4:16 AM To: Vera Snowball Cc: haknick@domain.hid; xenomai@xenomai.org Subject: Re: [Xenomai-help] xenomai, skins, design and a practical approach Vera Snowball wrote: > Sounds good to me. Does it include by any chance a chapter on how to > work with Xenosim simulator? Looks like it is the only simulator which > can be used for debugging with valgrind. If you made it work, it would > be great to know how. Xenosim requires an old 32 bits installation to be compiled, so, it may not be straightforward to use it. If what you want to debug with valgrind is your application and not Xenomai, you can arrange to compile your application for Linux pthreads, and you will be able to debug it. If you are using the POSIX skin, it should be easy. If you are using a legacy skin, such as vxworks, psos, uitron, etc... we already have support for running them on plain linux with the xenomai-solo package. Only if you are using the native skin it will be a little harder. -- Gilles. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] xenomai, skins, design and a practical approach 2010-05-20 17:07 ` Vera Snowball @ 2010-05-20 17:33 ` Gilles Chanteperdrix 2010-05-21 0:25 ` Vera Snowball 0 siblings, 1 reply; 8+ messages in thread From: Gilles Chanteperdrix @ 2010-05-20 17:33 UTC (permalink / raw) To: Vera Snowball; +Cc: xenomai, haknick Vera Snowball wrote: > We do use native skin. The reason I'm trying to compile xenosim > simulator is because I found that this is the only way to test > xenomai app with valgrind. Although I'm having an issue with the > compilation during 'make install' (I posted this question as well): > > make[1]: Leaving directory > `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/vm' Making install in > adapter make[1]: Entering directory > `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/adapter' g++ > -DHAVE_CONFIG_H -I. -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter > -I../include -D__XENO_SIM__ -fno-exceptions > -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/.. > -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include -O2 > -MT adapter.o -MD -MP -MF .deps/adapter.Tpo -c -o adapter.o > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc In file > included from > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/sched.h:31, > from > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/pod.h:34, > from /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:23: > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/thread.h: > In function âxnthread* xnthread_lookup(xnhandle_t)â: > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/thread.h:431: > error: invalid conversion from âvoid*â to âxnthread*â In file > included from > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/manager.h:38, from > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:25: > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/thread.h: At > global scope: > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/thread.h:52: > warning: âtypedefâ was ignored in this declaration > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc: In function > âconst char* mvm_get_thread_mode(void*)â: > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:65: error: > too few arguments to function > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:67: error: > too few arguments to function make[1]: *** [adapter.o] Error 1 > make[1]: Leaving directory > `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/adapter' make: *** > [install-recursive] Error 1 You are probably using a too recent version of gcc. > > If you have any suggestion on how to run the xenomai app with > valgrind, it would be great to know it. I got syscall 555 error by > trying to run our app with valgrind in a usual way (w/o xenosim). As I told you, the only practical way is to have a way to compile your application for using plain Linux services. If you are using the posix skin, it is easy, if you are using the native skin, it is a bit harder, but not impossible. -- Gilles. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] xenomai, skins, design and a practical approach 2010-05-20 17:33 ` Gilles Chanteperdrix @ 2010-05-21 0:25 ` Vera Snowball 0 siblings, 0 replies; 8+ messages in thread From: Vera Snowball @ 2010-05-21 0:25 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai, haknick OK, finally got a change to come back to this. I do use the proper version of gcc source code: [root@domain.hid]# gcc --version gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [root@domain.hid]# ll ../gcc-src-4.3.0/ total 57996 -rwx------ 1 root root 59321957 2010-05-17 15:31 gcc-4.3.0.tar.bz2 Is anything else I can do/check/install to make xenosim to compile? Thanks a lot in advance, Vera -----Original Message----- From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org Sent: Thursday, May 20, 2010 10:34 AM To: Vera Snowball Cc: haknick@domain.hid; xenomai@xenomai.org Subject: Re: [Xenomai-help] xenomai, skins, design and a practical approach Vera Snowball wrote: > We do use native skin. The reason I'm trying to compile xenosim > simulator is because I found that this is the only way to test > xenomai app with valgrind. Although I'm having an issue with the > compilation during 'make install' (I posted this question as well): > > make[1]: Leaving directory > `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/vm' Making install in > adapter make[1]: Entering directory > `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/adapter' g++ > -DHAVE_CONFIG_H -I. -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter > -I../include -D__XENO_SIM__ -fno-exceptions > -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/.. > -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include -O2 > -MT adapter.o -MD -MP -MF .deps/adapter.Tpo -c -o adapter.o > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc In file > included from > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/sched.h:31, > from > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/pod.h:34, > from /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:23: > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/thread.h: > In function âxnthread* xnthread_lookup(xnhandle_t)â: > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/thread.h:431: > error: invalid conversion from âvoid*â to âxnthread*â In file > included from > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/manager.h:38, from > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:25: > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/thread.h: At > global scope: > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/thread.h:52: > warning: âtypedefâ was ignored in this declaration > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc: In function > âconst char* mvm_get_thread_mode(void*)â: > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:65: error: > too few arguments to function > /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:67: error: > too few arguments to function make[1]: *** [adapter.o] Error 1 > make[1]: Leaving directory > `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/adapter' make: *** > [install-recursive] Error 1 You are probably using a too recent version of gcc. > > If you have any suggestion on how to run the xenomai app with > valgrind, it would be great to know it. I got syscall 555 error by > trying to run our app with valgrind in a usual way (w/o xenosim). As I told you, the only practical way is to have a way to compile your application for using plain Linux services. If you are using the posix skin, it is easy, if you are using the native skin, it is a bit harder, but not impossible. -- Gilles. ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <AANLkTikXdeZFuZvhVk99zqLlF3vL68VId9lUh84tP4RV@mail.gmail.com>]
* [Xenomai-help] Fwd: xenomai, skins, design and a practical approach [not found] ` <AANLkTikXdeZFuZvhVk99zqLlF3vL68VId9lUh84tP4RV@mail.gmail.com> @ 2010-05-19 20:03 ` Eric Noulard 2010-05-19 20:52 ` [Xenomai-help] " haknick 1 sibling, 0 replies; 8+ messages in thread From: Eric Noulard @ 2010-05-19 20:03 UTC (permalink / raw) To: Xenomai help incidentally dropped the list. Re-sending. ---------- Forwarded message ---------- From: Eric Noulard <eric.noulard@domain.hid> Date: 2010/5/19 Subject: Re: [Xenomai-help] xenomai, skins, design and a practical approach To: haknick@domain.hid 2010/5/19 <haknick@domain.hid>: > Hey everybody, > > A friend of mine and I have written a paper on: "Xenomai as a Linux RT > framework, Skins design and > a practical approach to its architecture" > > Was thinking this could be quite useful to others and wanted to share with > the community, so maybe here: http://www.xenomai.org/index.php/Publications > or wherever it makes sense. > > Any suggestions ? May be you can send here on the list a link to the actual paper? This way we can read it and give you more valuable feedback. Then I would find adding it to the publication section a good idea but I this is a xenomai.org admin site decision. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] xenomai, skins, design and a practical approach [not found] ` <AANLkTikXdeZFuZvhVk99zqLlF3vL68VId9lUh84tP4RV@mail.gmail.com> 2010-05-19 20:03 ` [Xenomai-help] Fwd: " Eric Noulard @ 2010-05-19 20:52 ` haknick 1 sibling, 0 replies; 8+ messages in thread From: haknick @ 2010-05-19 20:52 UTC (permalink / raw) To: Eric Noulard, <vera.snowball@domain.hid> to, xenomai [-- Attachment #1: Type: text/plain, Size: 1068 bytes --] On May 19, 2010 4:03pm, Eric Noulard <eric.noulard@gmail.com> wrote: > 2010/5/19 haknick@gmail.com>: > > Hey everybody, > > > > A friend of mine and I have written a paper on: "Xenomai as a Linux RT > > framework, Skins design and > > a practical approach to its architecture" > > > > Was thinking this could be quite useful to others and wanted to share > with > > the community, so maybe here: > http://www.xenomai.org/index.php/Publications > > or wherever it makes sense. > > > > Any suggestions ? > May be you can send here on the list a link to the actual paper? > This way we can read it and give you more valuable feedback. > Then I would find adding it to the publication section a good idea > but I this is a xenomai.org admin site decision. > -- > Erk > Membre de l'April - « promouvoir et défendre le logiciel libre » - > http://www.april.org Thanks, Makes sense, I couldn't find a way to contact them though. Here's the link: http://albsource.com/xenomai.pdf [-- Attachment #2: Type: text/html, Size: 1557 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-05-21 0:25 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19 19:23 [Xenomai-help] xenomai, skins, design and a practical approach haknick
2010-05-19 19:36 ` Vera Snowball
2010-05-20 11:15 ` Gilles Chanteperdrix
2010-05-20 17:07 ` Vera Snowball
2010-05-20 17:33 ` Gilles Chanteperdrix
2010-05-21 0:25 ` Vera Snowball
[not found] ` <AANLkTikXdeZFuZvhVk99zqLlF3vL68VId9lUh84tP4RV@mail.gmail.com>
2010-05-19 20:03 ` [Xenomai-help] Fwd: " Eric Noulard
2010-05-19 20:52 ` [Xenomai-help] " haknick
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.