Re: [Xenomai] heap allocation working for some memory sizes but not others

2018-01-12 Thread Vincent Berenz
if it's valid to allocate the entire heap. Try changing your test to allocate less the the actual heap size and see if there is a change. Thanks Greg On Thu, Jan 11, 2018 at 9:13 AM, Vincent Berenz <vber...@tuebingen.mpg.de> wrote: Hi Greg, Thanks a lot for your help. Indeed, r

Re: [Xenomai] heap allocation working for some memory sizes but not others

2018-01-11 Thread Vincent Berenz
r. Print the value of rc after rt_heap_bind returns, it will probable be -EWOULDBLOCK . Thanks Greg On Wed, Jan 10, 2018 at 4:31 AM, Vincent Berenz <vber...@tuebingen.mpg.de> wrote: Hi, We are currently moving from xenomai 2 to xenomai 3. I installed xenomai 3.0.5, and all seems to be worki

[Xenomai] heap allocation working for some memory sizes but not others

2018-01-10 Thread Vincent Berenz
Hi, We are currently moving from xenomai 2 to xenomai 3. I installed xenomai 3.0.5, and all seems to be working, with low latency. I am now trying to get our legacy code to work on xenomai 3 using the transition kit. Our program crashes on heap allocation (rt_heap_alloc function) with error

[Xenomai] xenomai / realtime robotics job opening at Max Planck

2017-12-19 Thread Vincent Berenz
on the position (and how to apply) can be found here: https://am.is.tuebingen.mpg.de/jobs/robotics-software-engineer Some videos of our work and robots in action: https://youtu.be/71gciiVrOsY https://youtu.be/OdE_Kj1aPkY https://youtu.be/jMj3Uv2Q8Xg https://youtu.be/VgKoX3RuvB0 Vincent Berenz ps

Re: [Xenomai] Xenomai 3.0.5 : RTIPC/XDDP protocol not supported by kernel

2017-12-11 Thread Vincent Berenz
"You need --posix as well in the ldflags." That worked, thanks a lot On 07.12.2017 15:16, Philippe Gerum wrote: On 12/07/2017 02:42 PM, Vincent Berenz wrote: Many thanks for the answer The demos xddp-echo , xddp-label and xddp-stream seems all to be working ok. As sanity check

Re: [Xenomai] Xenomai 3.0.5 : RTIPC/XDDP protocol not supported by kernel

2017-12-07 Thread Vincent Berenz
T)   add_definitions(-D_GNU_SOURCE) Best Vincent On 07.12.2017 10:46, Philippe Gerum wrote: On 12/06/2017 10:55 AM, Vincent Berenz wrote: Hi, We are currently moving from xenomai 2 to xenomai 3. I installed xenomai 3.0.5, and all seems to be working, with low latency. I am now trying to get our legacy

[Xenomai] Xenomai 3.0.5 : RTIPC/XDDP protocol not supported by kernel

2017-12-06 Thread Vincent Berenz
Hi, We are currently moving from xenomai 2 to xenomai 3. I installed xenomai 3.0.5, and all seems to be working, with low latency. I am now trying to get our legacy code to work on xenomai 3 using the transition kit. Our program compiles, but at runtime, on call to rt_pipe_create :

Re: [Xenomai] tsc not monotonic

2016-09-11 Thread Vincent Berenz
information and try such a tsc-sync patch on different affected systems. Henning Am Fri, 19 Aug 2016 18:22:33 +0200 schrieb Henning Schild <henning.sch...@siemens.com>: Am Thu, 4 Aug 2016 15:23:34 +0200 schrieb Vincent Berenz <vincent.ber...@tuebingen.mpg.de>: Hi, Many thanks fo

Re: [Xenomai] tsc not monotonic

2016-08-09 Thread Vincent Berenz
890.940 2941 11846.1 22 -1960914.3 873.089 1324 9952.5 23 -1962340.2 889.721 1860 11568.6 Vincent On 08/08/2016 07:11 PM, Henning Schild wrote: Am Mon, 8 Aug 2016 18:21:28 +0200 schrieb Vincent Berenz <vber...@tuebingen.mpg.de>: Hi,

Re: [Xenomai] tsc not monotonic

2016-08-08 Thread Vincent Berenz
e keyboard and glxgears are gone. The latency is still low (between 4 and 20) and our software seems to work well. So, seemingly all good. Anything else I should check or be careful about ? On 08.08.2016 11:34, Henning Schild wrote: Am Fri, 5 Aug 2016 19:13:13 +0200 schrieb Vincent Berenz &l

Re: [Xenomai] tsc not monotonic

2016-08-05 Thread Vincent Berenz
t;henning.sch...@siemens.com> wrote: > Am Thu, 4 Aug 2016 15:23:34 +0200 > schrieb Vincent Berenz <vincent.ber...@tuebingen.mpg.de>: > > > Hi, > > > > Many thanks for the answer. > > > > We use new hardware. I am working on a recent dell precision

Re: [Xenomai] tsc not monotonic

2016-08-04 Thread Vincent Berenz
CONFIG_XENO_OPT_REGISTRY_NRSLOTS=1024 CONFIG_XENO_OPT_SYS_HEAPSZ=32768 CONFIG_XENO_OPT_SYS_STACKPOOLSZ=4096 --- Best Vincent On Thu, 4 Aug 2016 14:17:44 +0200 Henning Schild <henning.sch...@siemens.com> wrote: > Am Wed, 3 Aug 2016 12:12:51 +0200 > schrieb Vincent Berenz <vincent.ber...@tuebingen.mpg

[Xenomai] tsc not monotonic

2016-08-04 Thread Vincent Berenz
Hi, After using for years xenomai 2.5.6 on ubuntu 12.04, we decided to upgrade to ubuntu 14.04 and a newer machine. I installed xenomai 2.6.4 and kernel 3.14.39. The installation boots correctly, the latency is low and our software seems to work ok. But the system has "frequency surge" (I