* [Xenomai] Problem trying an example for the first time. @ 2012-10-24 17:45 Sebastian Pavez 2012-10-24 18:48 ` Gilles Chanteperdrix 0 siblings, 1 reply; 9+ messages in thread From: Sebastian Pavez @ 2012-10-24 17:45 UTC (permalink / raw) To: xenomai Hi everyone, Finally I was able to boot the kernel with xenomai. I did that with xenomai-2.6.1, linux-3.2.32 and ipipe-core-3.2.21-x86-1.patch with this steps as a guide http://code.google.com/p/jhu-lcsr-ros-pkg/wiki/UbuntuXenomai. Now when I try to execute an example like the one suggested on the quick build guide I get an error, I attached the capt of this, Any insights?? Seba -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2012-10-24 14:38:03.png Type: image/png Size: 295655 bytes Desc: not available URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20121024/f92c04e6/attachment.png> ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai] Problem trying an example for the first time. 2012-10-24 17:45 [Xenomai] Problem trying an example for the first time Sebastian Pavez @ 2012-10-24 18:48 ` Gilles Chanteperdrix [not found] ` <CANzNmi8qKWz2PwyS0e_fchO7xpcsq_a0yqDYbuiRU_PYVjsvQA@mail.gmail.com> 0 siblings, 1 reply; 9+ messages in thread From: Gilles Chanteperdrix @ 2012-10-24 18:48 UTC (permalink / raw) To: Sebastian Pavez; +Cc: xenomai On 10/24/2012 07:45 PM, Sebastian Pavez wrote: > Hi everyone, > > Finally I was able to boot the kernel with xenomai. I did that with > xenomai-2.6.1, linux-3.2.32 and ipipe-core-3.2.21-x86-1.patch with this > steps as a guide > http://code.google.com/p/jhu-lcsr-ros-pkg/wiki/UbuntuXenomai. > > Now when I try to execute an example like the one suggested on the quick > build guide I get an error, I attached the capt of this, Please try to run the latency test or the xeno-test script first before trying to compile examples. For patches on the issue with examples, see the mailing list archives. -- Gilles. ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <CANzNmi8qKWz2PwyS0e_fchO7xpcsq_a0yqDYbuiRU_PYVjsvQA@mail.gmail.com>]
* Re: [Xenomai] Problem trying an example for the first time. [not found] ` <CANzNmi8qKWz2PwyS0e_fchO7xpcsq_a0yqDYbuiRU_PYVjsvQA@mail.gmail.com> @ 2012-10-24 19:19 ` Gilles Chanteperdrix 2012-10-25 15:21 ` Sebastian Pavez 0 siblings, 1 reply; 9+ messages in thread From: Gilles Chanteperdrix @ 2012-10-24 19:19 UTC (permalink / raw) To: Sebastian Pavez; +Cc: Xenomai On 10/24/2012 09:08 PM, Sebastian Pavez wrote: > > > 2012/10/24 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org > <mailto:gilles.chanteperdrix@xenomai.org>> > > On 10/24/2012 07:45 PM, Sebastian Pavez wrote: > > Hi everyone, > > > > Finally I was able to boot the kernel with xenomai. I did that with > > xenomai-2.6.1, linux-3.2.32 and ipipe-core-3.2.21-x86-1.patch with > this > > steps as a guide > > http://code.google.com/p/jhu-lcsr-ros-pkg/wiki/UbuntuXenomai. > > > > Now when I try to execute an example like the one suggested on the > quick > > build guide I get an error, I attached the capt of this, > > Please try to run the latency test or the xeno-test script first before > trying to compile examples. > > For patches on the issue with examples, see the mailing list archives. > > -- > Gilles. > > Thank you Gilles for your response ... again > > I executed the test. I attach a capture of them. > I think the latency one is ok, but for xeno-test the result doesn't seem > nice. First, please stop wasting people's bandwidth with images. When the error is text, simply cut and paste the text. Please no private mails. Second the xeno-test you are running is not xenomai 2.6.1 xeno-test, so you have binaries of some other version of xenomai version installed, presumably xenomai 2.5. As explained in the troubleshooting guide, this is a risky situation. > > Regarding the issue with the examples I already read this post > http://www.xenomai.org/pipermail/xenomai/2012-October/026561.html but I > didn't understand exactly what to do with that ... I have to change the > entries that are different on the file?? Try applying the patch. Using xenomai supposes that you are a C programmer and as such you should already have seen "unresolved symbols", and that you are familiar with using the common unix tools. > > One last question, what does it mean the negative values on the latency > test?? Are they normal?? Yes, this too is an issue which has been discussed many times on this list. -- Gilles. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai] Problem trying an example for the first time. 2012-10-24 19:19 ` Gilles Chanteperdrix @ 2012-10-25 15:21 ` Sebastian Pavez 2012-10-25 15:31 ` Gilles Chanteperdrix 0 siblings, 1 reply; 9+ messages in thread From: Sebastian Pavez @ 2012-10-25 15:21 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: Xenomai 2012/10/24 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> > On 10/24/2012 09:08 PM, Sebastian Pavez wrote: > > > > > > 2012/10/24 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org > > <mailto:gilles.chanteperdrix@xenomai.org>> > > > > On 10/24/2012 07:45 PM, Sebastian Pavez wrote: > > > Hi everyone, > > > > > > Finally I was able to boot the kernel with xenomai. I did that with > > > xenomai-2.6.1, linux-3.2.32 and ipipe-core-3.2.21-x86-1.patch with > > this > > > steps as a guide > > > http://code.google.com/p/jhu-lcsr-ros-pkg/wiki/UbuntuXenomai. > > > > > > Now when I try to execute an example like the one suggested on the > > quick > > > build guide I get an error, I attached the capt of this, > > > > Please try to run the latency test or the xeno-test script first > before > > trying to compile examples. > > > > For patches on the issue with examples, see the mailing list > archives. > > > > -- > > Gilles. > > > > Thank you Gilles for your response ... again > > > > I executed the test. I attach a capture of them. > > I think the latency one is ok, but for xeno-test the result doesn't seem > > nice. > > First, please stop wasting people's bandwidth with images. When the > error is text, simply cut and paste the text. > > Please no private mails. > > Second the xeno-test you are running is not xenomai 2.6.1 xeno-test, so > you have binaries of some other version of xenomai version installed, > presumably xenomai 2.5. As explained in the troubleshooting guide, this > is a risky situation. > > > > > Regarding the issue with the examples I already read this post > > http://www.xenomai.org/pipermail/xenomai/2012-October/026561.html but I > > didn't understand exactly what to do with that ... I have to change the > > entries that are different on the file?? > > Try applying the patch. Using xenomai supposes that you are a C > programmer and as such you should already have seen "unresolved > symbols", and that you are familiar with using the common unix tools. > > > > > One last question, what does it mean the negative values on the latency > > test?? Are they normal?? > > Yes, this too is an issue which has been discussed many times on this list. > > > -- > Gilles. > Sorry for the private mail, I didn't mean to. Regarding the xeno-test issue, I don't know why other version of xenomai could be on the system, I recognize that I tried a lot of things before but never a Xenomai-2.5 ... In any case I re-install ubuntu from scratch to prevent any mistake about that. However when I tried to run xeno-test, the system demands me to install xenomai-runtime ... so, I did it. After that I get the same results: Thu Oct 25 11:56:39 CLST 2012 running: cat /proc/ipipe/version 1 Thu Oct 25 11:56:39 CLST 2012 running: generate_loads 1 dd workload started, pids 22055 stored in /var/lock/xeno-test.21910.pids 22055 pts/o 00:00:00 dd something died a 22055 or something died a 22055 or something died a 22055 or . . ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai] Problem trying an example for the first time. 2012-10-25 15:21 ` Sebastian Pavez @ 2012-10-25 15:31 ` Gilles Chanteperdrix 2012-10-25 15:35 ` Sebastian Pavez 0 siblings, 1 reply; 9+ messages in thread From: Gilles Chanteperdrix @ 2012-10-25 15:31 UTC (permalink / raw) To: Sebastian Pavez; +Cc: Xenomai On 10/25/2012 05:21 PM, Sebastian Pavez wrote: > 2012/10/24 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> > >> On 10/24/2012 09:08 PM, Sebastian Pavez wrote: >>> >>> >>> 2012/10/24 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org >>> <mailto:gilles.chanteperdrix@xenomai.org>> >>> >>> On 10/24/2012 07:45 PM, Sebastian Pavez wrote: >>> > Hi everyone, >>> > >>> > Finally I was able to boot the kernel with xenomai. I did that with >>> > xenomai-2.6.1, linux-3.2.32 and ipipe-core-3.2.21-x86-1.patch with >>> this >>> > steps as a guide >>> > http://code.google.com/p/jhu-lcsr-ros-pkg/wiki/UbuntuXenomai. >>> > >>> > Now when I try to execute an example like the one suggested on the >>> quick >>> > build guide I get an error, I attached the capt of this, >>> >>> Please try to run the latency test or the xeno-test script first >> before >>> trying to compile examples. >>> >>> For patches on the issue with examples, see the mailing list >> archives. >>> >>> -- >>> Gilles. >>> >>> Thank you Gilles for your response ... again >>> >>> I executed the test. I attach a capture of them. >>> I think the latency one is ok, but for xeno-test the result doesn't seem >>> nice. >> >> First, please stop wasting people's bandwidth with images. When the >> error is text, simply cut and paste the text. >> >> Please no private mails. >> >> Second the xeno-test you are running is not xenomai 2.6.1 xeno-test, so >> you have binaries of some other version of xenomai version installed, >> presumably xenomai 2.5. As explained in the troubleshooting guide, this >> is a risky situation. >> >>> >>> Regarding the issue with the examples I already read this post >>> http://www.xenomai.org/pipermail/xenomai/2012-October/026561.html but I >>> didn't understand exactly what to do with that ... I have to change the >>> entries that are different on the file?? >> >> Try applying the patch. Using xenomai supposes that you are a C >> programmer and as such you should already have seen "unresolved >> symbols", and that you are familiar with using the common unix tools. >> >>> >>> One last question, what does it mean the negative values on the latency >>> test?? Are they normal?? >> >> Yes, this too is an issue which has been discussed many times on this list. >> >> >> -- >> Gilles. >> > > Sorry for the private mail, I didn't mean to. > > Regarding the xeno-test issue, I don't know why other version of xenomai > could be on the system, I recognize that I tried a lot of things before but > never a Xenomai-2.5 ... In any case I re-install ubuntu from scratch to > prevent any mistake about that. However when I tried to run xeno-test, the > system demands me to install xenomai-runtime ... so, I did it. After that I > get the same results: What does apt-cache show xenomai-runtime say? -- Gilles. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai] Problem trying an example for the first time. 2012-10-25 15:31 ` Gilles Chanteperdrix @ 2012-10-25 15:35 ` Sebastian Pavez 2012-10-25 15:38 ` Gilles Chanteperdrix 0 siblings, 1 reply; 9+ messages in thread From: Sebastian Pavez @ 2012-10-25 15:35 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: Xenomai 2012/10/25 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> > On 10/25/2012 05:21 PM, Sebastian Pavez wrote: > > 2012/10/24 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> > > > >> On 10/24/2012 09:08 PM, Sebastian Pavez wrote: > >>> > >>> > >>> 2012/10/24 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org > >>> <mailto:gilles.chanteperdrix@xenomai.org>> > >>> > >>> On 10/24/2012 07:45 PM, Sebastian Pavez wrote: > >>> > Hi everyone, > >>> > > >>> > Finally I was able to boot the kernel with xenomai. I did that > with > >>> > xenomai-2.6.1, linux-3.2.32 and ipipe-core-3.2.21-x86-1.patch > with > >>> this > >>> > steps as a guide > >>> > http://code.google.com/p/jhu-lcsr-ros-pkg/wiki/UbuntuXenomai. > >>> > > >>> > Now when I try to execute an example like the one suggested on > the > >>> quick > >>> > build guide I get an error, I attached the capt of this, > >>> > >>> Please try to run the latency test or the xeno-test script first > >> before > >>> trying to compile examples. > >>> > >>> For patches on the issue with examples, see the mailing list > >> archives. > >>> > >>> -- > >>> Gilles. > >>> > >>> Thank you Gilles for your response ... again > >>> > >>> I executed the test. I attach a capture of them. > >>> I think the latency one is ok, but for xeno-test the result doesn't > seem > >>> nice. > >> > >> First, please stop wasting people's bandwidth with images. When the > >> error is text, simply cut and paste the text. > >> > >> Please no private mails. > >> > >> Second the xeno-test you are running is not xenomai 2.6.1 xeno-test, so > >> you have binaries of some other version of xenomai version installed, > >> presumably xenomai 2.5. As explained in the troubleshooting guide, this > >> is a risky situation. > >> > >>> > >>> Regarding the issue with the examples I already read this post > >>> http://www.xenomai.org/pipermail/xenomai/2012-October/026561.html but > I > >>> didn't understand exactly what to do with that ... I have to change the > >>> entries that are different on the file?? > >> > >> Try applying the patch. Using xenomai supposes that you are a C > >> programmer and as such you should already have seen "unresolved > >> symbols", and that you are familiar with using the common unix tools. > >> > >>> > >>> One last question, what does it mean the negative values on the latency > >>> test?? Are they normal?? > >> > >> Yes, this too is an issue which has been discussed many times on this > list. > >> > >> > >> -- > >> Gilles. > >> > > > > Sorry for the private mail, I didn't mean to. > > > > Regarding the xeno-test issue, I don't know why other version of xenomai > > could be on the system, I recognize that I tried a lot of things before > but > > never a Xenomai-2.5 ... In any case I re-install ubuntu from scratch to > > prevent any mistake about that. However when I tried to run xeno-test, > the > > system demands me to install xenomai-runtime ... so, I did it. After > that I > > get the same results: > > What does apt-cache show xenomai-runtime say? > > -- > Gilles. > Package: xenomai-runtime Priority: extra Section: universe/devel Installed-Size: 688 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Roland Stigge <stigge@antcom.de> Architecture: i386 Source: xenomai Version: 2.5.5.2-1ubuntu2 Replaces: xenomai Depends: libc6 (>= 2.11), libxenomai1 Suggests: linux-patch-xenomai, xenomai-doc Conflicts: xenomai Filename: pool/universe/x/xenomai/xenomai-runtime_2.5.5.2-1ubuntu2_i386.deb Size: 145328 MD5sum: aba924557cd70b287c3eefc9dc2563ac SHA1: cc77efe97fa6ecbbca862beaf03df5c58fe33255 SHA256: ae7f9ff546cabc4beda8f4a81e1c9814a4200e5eb69d13251b261229fa4f1255 Description-en: Xenomai runtime utilities Xenomai is a real-time development framework cooperating with the Linux kernel in order to provide a pervasive, interface-agnostic, hard real-time support to user-space applications, seamlessly integrated into the GNU/Linux environment. Xenomai provides its own API and emulation layers ("skins") to make migration from other RTOS easier. Examples are: pSOS+, VxWorks, VRTX, uiTRON, RTAI, POSIX. . This package contains the runtime programs and the testsuite for the Xenomai realtime system. Homepage: http://www.xenomai.org/ Description-md5: 9a1401d98489cd8dc7f48a6473c339b1 Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai] Problem trying an example for the first time. 2012-10-25 15:35 ` Sebastian Pavez @ 2012-10-25 15:38 ` Gilles Chanteperdrix 2012-10-25 18:04 ` Sebastian Pavez 0 siblings, 1 reply; 9+ messages in thread From: Gilles Chanteperdrix @ 2012-10-25 15:38 UTC (permalink / raw) To: Sebastian Pavez; +Cc: Xenomai On 10/25/2012 05:35 PM, Sebastian Pavez wrote: > 2012/10/25 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> >> What does apt-cache show xenomai-runtime say? > > > Package: xenomai-runtime > Version: 2.5.5.2-1ubuntu2 So, is it more clear, now ? -- Gilles. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai] Problem trying an example for the first time. 2012-10-25 15:38 ` Gilles Chanteperdrix @ 2012-10-25 18:04 ` Sebastian Pavez 2012-10-25 19:08 ` Gilles Chanteperdrix 0 siblings, 1 reply; 9+ messages in thread From: Sebastian Pavez @ 2012-10-25 18:04 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: Xenomai 2012/10/25 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> > On 10/25/2012 05:35 PM, Sebastian Pavez wrote: > > 2012/10/25 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> > >> What does apt-cache show xenomai-runtime say? > > > > > > Package: xenomai-runtime > > Version: 2.5.5.2-1ubuntu2 > > So, is it more clear, now ? > > -- > Gilles. > I think so, I found the 2.6.0 version of xenomai-runtime, but when I try it I get the error (user-space requires '3', kernel provides '4'). In the forum I found a previous answer of you about the same branch of kernel-space and user-space. So I search for xenomai-runtime 2.6.0, but what I get it's an experimental package ... I really don't wanna something like that because of my lack of experience ... I should try to use xenomai 2.6.0 instead of the 2.6.1 I'm using now?? ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai] Problem trying an example for the first time. 2012-10-25 18:04 ` Sebastian Pavez @ 2012-10-25 19:08 ` Gilles Chanteperdrix 0 siblings, 0 replies; 9+ messages in thread From: Gilles Chanteperdrix @ 2012-10-25 19:08 UTC (permalink / raw) To: Sebastian Pavez; +Cc: Xenomai On 10/25/2012 08:04 PM, Sebastian Pavez wrote: > 2012/10/25 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> > >> On 10/25/2012 05:35 PM, Sebastian Pavez wrote: >>> 2012/10/25 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> >>>> What does apt-cache show xenomai-runtime say? >>> >>> >>> Package: xenomai-runtime >>> Version: 2.5.5.2-1ubuntu2 >> >> So, is it more clear, now ? >> >> -- >> Gilles. >> > I think so, I found the 2.6.0 version of xenomai-runtime, but when I try it > I get the error (user-space requires '3', kernel provides '4'). In the > forum I found a previous answer of you about the same branch of > kernel-space and user-space. So I search for xenomai-runtime 2.6.0, but > what I get it's an experimental package ... I really don't wanna something > like that because of my lack of experience ... I should try to use xenomai > 2.6.0 instead of the 2.6.1 I'm using now?? First, the error (user-space requires '3', kernel provides '4') and the case of ubuntu is described here: http://www.xenomai.org/documentation/xenomai-2.6/html/TROUBLESHOOTING/#_xenomai_incompatible_abi_revision_level In a nutshell you are still mixing xenomai 2.6 with xenomai 2.5. Second, 2.6.0 is not an experimental release, it is a stable release, but obsolete, you should install xenomai 2.6.1 now. Third, to install xenomai 2.6.1. You should first uninstall any Ubuntu packages concerning xenomai. That is a mandatory prerequisite, do not even read further until you have done that. Then you have two solutions: - install it by following README.INSTALL or the quick build guide, compiling manually the kernel and the user-space, there is nothing really complicated about that, the part that could be a bit hard, as you figured out is the configure the kernel, but you always have to do that anyway ; - install it by generating Debian packages (but I wrote generating, not download from a repository) following the instructions here: http://www.xenomai.org/index.php/Building_Debian_packages. What you will gain by doing that is that you will generate the packages once, and be able to install them on many machines. And that the packages are integrated in the Debian distribution, so, apt-get remove allows uninstalling everything. -- Gilles. ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-10-25 19:08 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-24 17:45 [Xenomai] Problem trying an example for the first time Sebastian Pavez
2012-10-24 18:48 ` Gilles Chanteperdrix
[not found] ` <CANzNmi8qKWz2PwyS0e_fchO7xpcsq_a0yqDYbuiRU_PYVjsvQA@mail.gmail.com>
2012-10-24 19:19 ` Gilles Chanteperdrix
2012-10-25 15:21 ` Sebastian Pavez
2012-10-25 15:31 ` Gilles Chanteperdrix
2012-10-25 15:35 ` Sebastian Pavez
2012-10-25 15:38 ` Gilles Chanteperdrix
2012-10-25 18:04 ` Sebastian Pavez
2012-10-25 19:08 ` Gilles Chanteperdrix
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.