Re: Big jitter issues every 5 seconds

2021-08-23 Thread Stéphane Ancelot via Xenomai
Hi, I understand that you must check max jitters in your system. However, I have already designed ethercat master stacks. By design, having 55us or more jitter when sending the sync frame  is not a problem for an Ethercat master system,  since the implementation of this bus permits it. Rega

Re: rt_pipe_write memory allocation bug - xenomai 3.x

2020-07-30 Thread Stéphane Ancelot via Xenomai
Le 30/07/2020 à 15:25, Jan Kiszka a écrit : On 30.07.20 11:46, Stéphane Ancelot wrote: Le 30/07/2020 à 10:47, Jan Kiszka a écrit : On 30.07.20 10:43, Stéphane Ancelot wrote: Le 30/07/2020 à 00:08, Jan Kiszka a écrit : On 28.07.20 15:28, Stéphane Ancelot wrote: Le 27/07/2020 à 15:17

Re: rt_pipe_write memory allocation bug - xenomai 3.x

2020-07-30 Thread Stéphane Ancelot via Xenomai
Le 30/07/2020 à 10:47, Jan Kiszka a écrit : On 30.07.20 10:43, Stéphane Ancelot wrote: Le 30/07/2020 à 00:08, Jan Kiszka a écrit : On 28.07.20 15:28, Stéphane Ancelot wrote: Le 27/07/2020 à 15:17, Jan Kiszka a écrit : On 27.07.20 14:44, Stéphane Ancelot via Xenomai wrote: Hi, Using pipe

Re: rt_pipe_write memory allocation bug - xenomai 3.x

2020-07-30 Thread Stéphane Ancelot via Xenomai
Le 30/07/2020 à 00:08, Jan Kiszka a écrit : On 28.07.20 15:28, Stéphane Ancelot wrote: Le 27/07/2020 à 15:17, Jan Kiszka a écrit : On 27.07.20 14:44, Stéphane Ancelot via Xenomai wrote: Hi, Using pipe created with poolsize = 0, meaning all message allocations for this pipe are performed

Re: rt_pipe_write memory allocation bug - xenomai 3.x

2020-07-28 Thread Stéphane Ancelot via Xenomai
Le 27/07/2020 à 15:17, Jan Kiszka a écrit : On 27.07.20 14:44, Stéphane Ancelot via Xenomai wrote: Hi, Using pipe created with poolsize = 0, meaning all message allocations for this pipe are performed on the Cobalt core heap. Unfortunately,  using rt_pipe_write(), when no user task is

rt_pipe_write memory allocation bug - xenomai 3.x

2020-07-27 Thread Stéphane Ancelot via Xenomai
Hi, Using pipe created with poolsize = 0, meaning all message allocations for this pipe are performed on the Cobalt core heap. Unfortunately,  using rt_pipe_write(), when no user task is consuming it, we discovered after almost many rt_pipe_write() cycles (70 at least in our process)  ,

checking for pipe connected on both sides

2020-07-22 Thread Stéphane Ancelot via Xenomai
Hi, I have got a RT pipe created on RT side. Before being able to write in it, is there a way to check it has been opened in the non rt side ? Regards, S.Ancelot

Re: TSN support on xenomai

2020-06-17 Thread Stéphane Ancelot via Xenomai
ol too. *From:* Stéphane Ancelot *Sent:* Wednesday, June 17, 2020 9:19 PM *To:* Peter Wong ; Meng, Fino ; Jan Kiszka ; Lange Norbert ; Xenomai (xenomai@xenomai.org) ; Pirou, Florent ; Gong, Xiaoyan ; Pu, Yanfeng ; Zhang, Wei E *Subject:* Re: TSN support on xenomai Le 17/06/2020 à 09:25,

Re: TSN support on xenomai

2020-06-17 Thread Stéphane Ancelot via Xenomai
celot *From:* Meng, Fino *Sent:* Wednesday, June 17, 2020 2:08 PM *To:* Jan Kiszka ; Peter Wong ; Lange Norbert ; Stéphane Ancelot ; Xenomai (xenomai@xenomai.org) ; Pirou, Florent ; Gong, Xiaoyan ; Pu, Yanfeng ; Zhang, Wei E *Subject:* RE: TSN support on xe

Re: TSN support on xenomai

2020-06-16 Thread Stéphane Ancelot via Xenomai
Hi, This is natively supported in standard linux kernel Regards, S.Ancelot Le 16/06/2020 à 10:17, Peter Wong via Xenomai a écrit : Hi, Any plan to support below TSN standards on xenomai? 802.1AS - Timing and Synchronization 802.1Qbv - Enhancements for Scheduled Traffic 802.1Qbu - Frame Pree

Re: Process load balancing among CPU

2019-10-24 Thread Stéphane Ancelot via Xenomai
bit set), and all options (tunables, cmdline) affect the mask *before* the setup then picks the current core as mask. You will need to reset the affinity mask yourself. Kind regards, Norbert -Original Message- From: Xenomai On Behalf Of Stéphane Ancelot via Xenomai Sent: Donnerstag

Re: Process load balancing among CPU

2019-10-24 Thread Stéphane Ancelot via Xenomai
Le 24/10/2019 à 12:28, Jan Kiszka a écrit : On 24.10.19 12:21, Stéphane Ancelot wrote: Le 24/10/2019 à 12:13, Jan Kiszka a écrit : On 24.10.19 10:00, Stéphane Ancelot via Xenomai wrote: Hi, In our system, I noticed maybe a setup problem, or a xenomai related setup problem regarding user

Re: Process load balancing among CPU

2019-10-24 Thread Stéphane Ancelot via Xenomai
Le 24/10/2019 à 12:13, Jan Kiszka a écrit : On 24.10.19 10:00, Stéphane Ancelot via Xenomai wrote: Hi, In our system, I noticed maybe a setup problem, or a xenomai related setup problem regarding user processes. I have 2 user tasks that does not use RT (but xenomai shared memory access), I

Re: Process load balancing among CPU

2019-10-24 Thread Stéphane Ancelot via Xenomai
to switch along all my cpus . So, I suppose if I want a process using only xenomai shm  must have cpuset affinity defined in order being able to switch to other cpu Le 24/10/2019 à 10:00, Stéphane Ancelot via Xenomai a écrit : Hi, In our system, I noticed maybe a setup problem, or a

Process load balancing among CPU

2019-10-24 Thread Stéphane Ancelot via Xenomai
Hi, In our system, I noticed maybe a setup problem, or a xenomai related setup problem regarding user processes. I have 2 user tasks that does not use RT (but xenomai shared memory access), I noticed that if these both tasks were consuming 50% of the CPU they were not migrated on other cpus.

Re: Controlling DMA priority between GPU and CPU on x86

2019-10-07 Thread Stéphane Ancelot via Xenomai
Le 07/10/2019 à 09:59, Rossier Daniel a écrit : -Original Message- From: Stéphane Ancelot Sent: lundi, 7 octobre 2019 09:15 To: Rossier Daniel ; Jan Kiszka ; xenomai@xenomai.org Subject: Re: Controlling DMA priority between GPU and CPU on x86 Hi, You won't be able to ac

Re: Controlling DMA priority between GPU and CPU on x86

2019-10-07 Thread Stéphane Ancelot via Xenomai
Hi, You won't be able to achieve realtime using the actual intel linux video driver using GPU. The driver is not preemptible. This mainly happens when GPU receives batch job (eg launching a program that creates many graphic widgets , moving a window with a 19 inch display) . The memory is

Re: Process "Killed" by Linux because "OOM-Killer"

2019-05-12 Thread Stéphane Ancelot via Xenomai
Le 11/05/2019 à 16:47, Matheus Pinto via Xenomai a écrit : I installed Xenomai version 3.0.5 in a machine with Ubuntu 16.04 LTS. The machine is a Acer Netbook with the following configurations - CPU: Pentium Dual Core U5600; - Memory: 3 GB, DDR3. I am executing a process that create 5 tasks ex

numa stress test - Intel j1900

2019-05-10 Thread Stéphane Ancelot via Xenomai
Hi guys, I would like to know if some people have already done some of NUMA stress tests with multi core and xenomai. I have a problem with an Intel  j1900 cpu, in which under heavy X11 usage , I have large latency between tasks breaking realtime. When launched from a ssh connection this X1

Re: Qt application on Xenomai

2019-03-03 Thread Stéphane Ancelot via Xenomai
, * QML is no more than a javascript application layer running in a javascript web engine , in this case you will be performance mainly impacted by the QML architecture. If your GUI application fits only few buttons in a display, then, that's not a problem. Regards. Stéphane ANCELOT Le

maximum number of xenomai processes allowed

2019-02-07 Thread Stéphane Ancelot via Xenomai
Hi, After running a given amount of xenomai processes, I can no more launch more processes. They are failing with next message.   0"000.000| WARNING: [main] pthread_setschedparam failed (prio=-1)    0"000.000| WARNING: [main] setup call cobalt failed    0"000.000| BUG in xenomai_init(): [main

Re: [Xenomai] shared session and latest release

2018-03-19 Thread Stéphane Ancelot
Hi, We finally found a memory access out of bounds in our code . the latest branch next works with pshared mode regarding memory heaps. Regards, S.Ancelot Le 19/03/2018 à 10:13, Stéphane Ancelot a écrit : Le 16/03/2018 à 19:59, Philippe Gerum a écrit : On 03/16/2018 12:19 PM, Stéphane

Re: [Xenomai] shared session and latest release

2018-03-19 Thread Stéphane Ancelot
Le 16/03/2018 à 19:59, Philippe Gerum a écrit : On 03/16/2018 12:19 PM, Stéphane Ancelot wrote: Hi, I upgraded my applications to latest release (next branch) . The next branch is by definition NOT released, this is a development tree. I do not manage to run the shared session , using

Re: [Xenomai] shared session and latest release

2018-03-16 Thread Stéphane Ancelot
Le 16/03/2018 à 12:19, Stéphane Ancelot a écrit : Hi, I upgraded my applications to latest release (next branch) . I do not manage to run the shared session , using session-label to run the program as user (fixed in a tunable config) it fails as follow :    0"000.413| WARNING:

[Xenomai] shared session and latest release

2018-03-16 Thread Stéphane Ancelot
Hi, I upgraded my applications to latest release (next branch) . I do not manage to run the shared session , using session-label to run the program as user (fixed in a tunable config) my session name is numalliance/automat (automat corresponds to my group user id 1000) however , if I launc

[Xenomai] c++11 issue

2018-02-23 Thread Stéphane Ancelot
hi, I have got problems using c++ 11 with tunables .compiling this snippet code with -std=c++0x gcc option fails to next error messages: #include #include /nfs/solaris/AFFAIRES_ECLIPSE/DEVELOPPEMENT/DEVELOPPEMENTS_RD/DEBIAN_64BITS/sancelot/KERNEL/TARGET/usr/xenomai-3.0-igb/include/boiler

[Xenomai] rt_pipe_create

2018-02-14 Thread Stéphane Ancelot
creation problems (rt_pipe_create) when you ask for a creation with a small poolsize. Best regards, Stéphane Ancelot ___ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] posix thread api vs linux pthread api

2017-12-18 Thread Stéphane Ancelot
Le 18/12/2017 à 09:13, Stéphane Ancelot a écrit : Hi, I have got a program that uses some xeno heap api functions for shared memory access, but I would like to be able to run my program on the secondary space for pthreads. This is not a hard realtime task. Is there a flag in xenomai that

[Xenomai] posix thread api vs linux pthread api

2017-12-18 Thread Stéphane Ancelot
Hi, I have got a program that uses some xeno heap api functions for shared memory access, but I would like to be able to run my program on the secondary space for pthreads. This is not a hard realtime task. Is there a flag in xenomai that permits specifying which pthread_  func we use (xenom

Re: [Xenomai] RTnet fixes - testers needed (Philippe Gerum)

2017-12-08 Thread Stéphane Ancelot
Hi, Do you know which release introduced this problem ? Regards, S.Ancelot Le 08/12/2017 à 12:03, Andreas Glatz a écrit : I pushed a pile of RTnet fixes in a WIP branch of the official repo (wip/rtnet-fixes). Most of them address invalid direct references to user memory from kernel space (in

Re: [Xenomai] RTDM/RTNet - proposal to support sending/receiving multiple packets with one systemcall

2017-12-06 Thread Stéphane Ancelot
Hi, I have done an application that does this thing. the application manages a stack of frames with priorities. high priorities frame are sent at synchronised time (each ms, synchronised by external clock) and then if there is enough remaining time, low priority frames. (ethercat bus applicat

Re: [Xenomai] [RFC] RTnet, Analogy and the elephant in the room

2017-12-01 Thread Stéphane Ancelot
Le 01/12/2017 à 16:09, Stéphane Ancelot a écrit : Le 25/11/2017 à 21:32, Philippe Gerum a écrit : On 11/24/2017 11:46 AM, Stéphane Ancelot wrote: The xenomai API is not enough documented in order to permit new developer's entry. Can you elaborate on what could be done to improv

Re: [Xenomai] [RFC] RTnet, Analogy and the elephant in the room

2017-12-01 Thread Stéphane Ancelot
Le 25/11/2017 à 21:32, Philippe Gerum a écrit : On 11/24/2017 11:46 AM, Stéphane Ancelot wrote: The xenomai API is not enough documented in order to permit new developer's entry. Can you elaborate on what could be done to improve the documentation, according to your own experience wi

Re: [Xenomai] [RFC] RTnet, Analogy and the elephant in the room

2017-12-01 Thread Stéphane Ancelot
Hi, This may be offtopic regarding xenomai itself. But, I am a member of the kde community, which is very active.Recently, they made some proposals to improve onboarding of new contributors. I think there are some very good ideas that can apply here, here is the link. https://phabricator.k

[Xenomai] Virtualisation question

2017-11-30 Thread Stéphane Ancelot
Hi, I know some companies are using some linux realtime environment virtualised inside a windows one. (or the reverse) ... Are there any people here that succeed with xenomai doing it .? Which best latency can I hope ? Regards, S.Ancelot ___ Xe

Re: [Xenomai] [RFC] RTnet, Analogy and the elephant in the room

2017-11-24 Thread Stéphane Ancelot
Hi guys, Here at Numalliance, as xenomai development contributors and users, we can  give only a quick reply to some points at the moment : Regarding irc/mailing lists , we would prefer tools like  Discord, that is a modern,very  good collaborative and interactive tool to discuss subjects.Us

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-27 Thread Stéphane Ancelot
Hi, hardcoded and cmdline args benefits from an added value for real applications. We don't want args being "volatile" environment variables are volatile and sometimes difficult to propagate between shells... Regards, S.Ancelot Le 08/08/2017 à 11:23, Henning Schild a écrit : Hey, xenom

Re: [Xenomai] CPU time limit exceeded (core dumped)

2017-06-27 Thread Stéphane Ancelot
Hi, I am not sure, but I think this means that your program is running in an infinite loop Regards, S.Ancelot Le 27/06/2017 à 16:23, Ashok kumar a écrit : Hi, I am using xenomai -2.6.2.1 . I have configured two task, after some time of running I got this message in the terminal CPU time l

Re: [Xenomai] dlopen failing when using shared library on xenomai 3.0.4

2017-05-30 Thread Stéphane Ancelot
Hi, Why don't you link the shared lib at compilation ? Regards, S.Ancelot Le 29/05/2017 à 23:19, Fyleo a écrit : Hello all, I'm trying to port machinekit (machinekit.io) to xenomai 3.0.4 which support only xenomai 2.6.4 for the moment. This software is design this way : A : main executabl

[Xenomai] c++11

2017-05-11 Thread Stéphane Ancelot
Hi, Can we use c++11 with xenomai ? Regards, S.Ancelot ___ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] copperplate tunables with dso

2017-05-10 Thread Stéphane Ancelot
Le 10/05/2017 à 17:20, Stéphane Ancelot a écrit : Le 10/05/2017 à 17:06, Henning Schild a écrit : Hi, today i have to a question from an application developers point of view. How do i override the default value of a tunable when libcobalt is linked with dlopen()? This article https

Re: [Xenomai] copperplate tunables with dso

2017-05-10 Thread Stéphane Ancelot
Le 10/05/2017 à 17:06, Henning Schild a écrit : Hi, today i have to a question from an application developers point of view. How do i override the default value of a tunable when libcobalt is linked with dlopen()? This article https://xenomai.org/2015/05/application-setup-and-init/ describes th

Re: [Xenomai] shared heap access mixing 32 and 64 bits applications

2017-01-26 Thread Stéphane Ancelot
Le 26/01/2017 à 11:12, Lassi Niemistö a écrit : Is it possible to access same shared memory heaps , between 32 and 64 bits processes ? In regular linux I faced the wall when trying to protect the usage of the shared memory area by (pthread iirc) mutex/semaphore - those structures had differ

[Xenomai] shared heap access mixing 32 and 64 bits applications

2017-01-26 Thread Stéphane Ancelot
Hi, Is it possible to access same shared memory heaps , between 32 and 64 bits processes ? Regards, S.Ancelot ___ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai

[Xenomai] init_memory_pool error

2017-01-25 Thread Stéphane Ancelot
Hi, I am stuck with the next branch of xenomai, when using tune variables . when launching the program without any parameters , I have the next error message : init_memory_pool(): invalid pool 0"006.881| BUG in heapobj_pkg_init_private(): [main] cannot initialize TLSF memory manager how

Re: [Xenomai] Looking for help regarding implementing shared memory

2017-01-23 Thread Stéphane Ancelot
Le 22/01/2017 à 05:12, 이석훈 a écrit : Hi All, I'm new to Xenomai and RT in general. I have some trouble using rtheap functions. Xenomai version I'm using is 3.0.2 (no ipipe patch), with linux kernel 4.1.18, I'm using Cobalt mode, and using native skin when building. I'm trying to use shared m

Re: [Xenomai] 32 bits / 64 bits compatibility

2017-01-22 Thread Stéphane Ancelot
Le 20/01/2017 à 18:33, Philippe Gerum a écrit : On 01/20/2017 05:12 PM, Stéphane Ancelot wrote: Le 17/01/2017 à 11:32, Philippe Gerum a écrit : On 01/17/2017 10:30 AM, Stéphane Ancelot wrote: Hi, In order to keep graphic compatibility with an application, I must run some xenomai

Re: [Xenomai] 32 bits / 64 bits compatibility

2017-01-20 Thread Stéphane Ancelot
Le 17/01/2017 à 11:32, Philippe Gerum a écrit : On 01/17/2017 10:30 AM, Stéphane Ancelot wrote: Hi, In order to keep graphic compatibility with an application, I must run some xenomai applications in 32 bits. Is it possible to have a 64 bits kernel compile xenomai with 32 bits libs for

[Xenomai] 32 bits / 64 bits compatibility

2017-01-17 Thread Stéphane Ancelot
Hi, In order to keep graphic compatibility with an application, I must run some xenomai applications in 32 bits. Is it possible to have a 64 bits kernel compile xenomai with 32 bits libs for applications ? Regards, S.Ancelot ___ Xenomai mailing

Re: [Xenomai] memory allocation performance in kernel ipipe

2017-01-16 Thread Stéphane Ancelot
Hi, after analysis, the problem was coming from Xorg intel i965 driver and xorg 1.16. Migrating to recent xorg 1.19 kernel solved the problem. Regards, S.Ancelot Le 09/12/2016 à 17:20, Philippe Gerum a écrit : On 12/09/2016 04:28 PM, Stéphane Ancelot wrote: I remember I have not had

Re: [Xenomai] memory allocation performance in kernel ipipe

2016-12-09 Thread Stéphane Ancelot
Le 08/12/2016 à 08:42, Henning Schild a écrit : Am Thu, 8 Dec 2016 08:28:02 +0100 schrieb Stéphane Ancelot : Le 07/12/2016 à 17:16, Philippe Gerum a écrit : On 12/07/2016 03:15 PM, Stéphane Ancelot wrote: Hi, I noticed very bad memory allocation performance on some of my graphic programs

Re: [Xenomai] memory allocation performance in kernel ipipe

2016-12-07 Thread Stéphane Ancelot
Le 08/12/2016 à 08:30, Henning Schild a écrit : Am Wed, 7 Dec 2016 15:15:39 +0100 schrieb Stéphane Ancelot : Hi, I noticed very bad memory allocation performance on some of my graphic programs (standard linux applications). If you run any classic program, you won't sea any difference

Re: [Xenomai] memory allocation performance in kernel ipipe

2016-12-07 Thread Stéphane Ancelot
Le 07/12/2016 à 17:16, Philippe Gerum a écrit : On 12/07/2016 03:15 PM, Stéphane Ancelot wrote: Hi, I noticed very bad memory allocation performance on some of my graphic programs (standard linux applications). If you run any classic program, you won't sea any difference, but it has

[Xenomai] memory allocation performance in kernel ipipe

2016-12-07 Thread Stéphane Ancelot
Hi, I noticed very bad memory allocation performance on some of my graphic programs (standard linux applications). If you run any classic program, you won't sea any difference, but it has been visible in the following context : I have an application that allocates thousends of graphic widge

Re: [Xenomai] ipipe trace understanding

2016-11-28 Thread Stéphane Ancelot
Le 18/11/2016 à 19:17, Philippe Gerum a écrit : On 11/15/2016 11:01 AM, Stéphane ancelot wrote: Hi, In order to solve my realtime pb, I have a bit some problems to understand my ipipe trace that has been frozen. My task should normally spend almost 200us to run and in this case, it spends

Re: [Xenomai] ipipe trace understanding

2016-11-22 Thread Stéphane Ancelot
Le 18/11/2016 à 19:17, Philippe Gerum a écrit : On 11/15/2016 11:01 AM, Stéphane ancelot wrote: Hi, In order to solve my realtime pb, I have a bit some problems to understand my ipipe trace that has been frozen. My task should normally spend almost 200us to run and in this case, it spends

[Xenomai] ipipe trace understanding

2016-11-15 Thread Stéphane ancelot
Hi, In order to solve my realtime pb, I have a bit some problems to understand my ipipe trace that has been frozen. My task should normally spend almost 200us to run and in this case, it spends more than 500us. My task starts at -723 and stops at -14. I made some comments in the trace, b

[Xenomai] reading/writing files api

2016-11-07 Thread Stéphane ancelot
Hi, In realtime contexts, it is sometime needed either to log into files some data, or to upload/download a firmware . This means that realtime context must dialog and exchange buffers with a non realtime process. This process is in charge of opening/reading /writing file in the non realtime s

Re: [Xenomai] ipipe tracer question

2016-11-04 Thread Stéphane ancelot
On 03/11/2016 17:38, Henning Schild wrote: Am Thu, 3 Nov 2016 16:29:08 +0100 schrieb Stéphane ancelot [1]: On 03/11/2016 09:36, Henning Schild wrote: Am Wed, 2 Nov 2016 18:10:48 +0100 schrieb Stéphane ancelot[2]: Hi, I have got an RT task that seems being disturbed by some system driver

Re: [Xenomai] ipipe tracer question

2016-11-03 Thread Stéphane ancelot
On 03/11/2016 09:36, Henning Schild wrote: Am Wed, 2 Nov 2016 18:10:48 +0100 schrieb Stéphane ancelot: Hi, I have got an RT task that seems being disturbed by some system driver. So, I have setted up ipipe tracer in kernel. The tracing uses the kernel tracing infrastructure. Use

[Xenomai] ipipe tracer question

2016-11-02 Thread Stéphane ancelot
Hi, I have got an RT task that seems being disturbed by some system driver. So, I have setted up ipipe tracer in kernel. But I do not know where to go now ? I suppose being on the right way, but what to do next ? Regards, S.Ancelot ___ Xenomai mai

Re: [Xenomai] intel turbo boost

2015-11-12 Thread Stéphane ANCELOT
On 08/11/2015 12:26, Gilles Chanteperdrix wrote: On Wed, Nov 04, 2015 at 01:30:32AM +0100, Gilles Chanteperdrix wrote: On Thu, Sep 03, 2015 at 09:00:36AM +0200, Stéphane ANCELOT wrote: Hi, Do you think I can use the Intel integrated turbo boost mode, without problems. I have this nice

Re: [Xenomai] panic macro interference with xerces api.

2015-11-11 Thread Stéphane ANCELOT
On 11/11/2015 13:35, Philippe Gerum wrote: On 11/11/2015 01:28 PM, Philippe Gerum wrote: On 11/11/2015 12:52 PM, Philippe Gerum wrote: On 11/11/2015 11:31 AM, Jan Kiszka wrote: On 2015-11-10 15:28, Gilles Chanteperdrix wrote: On Tue, Nov 10, 2015 at 02:26:54PM +0100, Stéphane ANCELOT wrote

[Xenomai] panic macro interference with xerces api.

2015-11-10 Thread Stéphane ANCELOT
Hi, I don't know if there might be a big impact, but I noticed, depending on the order we include headers , that there was a panic macro interfering with xercesc api headers. #include #include /usr/xenomai-3.0-igb/include/boilerplate/ancillaries.h:64:10: error: expected identifier before

[Xenomai] safely terminate application

2015-11-10 Thread Stéphane ANCELOT
Hi, I have got some problems terminating my RT application, I have very strange behavours. either locking application, either TERMINATE signal does not seem being propagated. I am using a SIGTERM handler to call a cleanup func to delete everything. I noticed that if I delete nothing , it see

Re: [Xenomai] i210 porting

2015-09-09 Thread Stéphane ANCELOT
On 09/09/2015 09:48, Gilles Chanteperdrix wrote: On Wed, Sep 09, 2015 at 09:45:03AM +0200, Stéphane ANCELOT wrote: On 09/09/2015 09:21, Gilles Chanteperdrix wrote: On Wed, Sep 09, 2015 at 08:54:57AM +0200, Stéphane ANCELOT wrote: Hi, People interested in porting and testing i210 rtnet driver

Re: [Xenomai] i210 porting

2015-09-09 Thread Stéphane ANCELOT
On 09/09/2015 09:21, Gilles Chanteperdrix wrote: On Wed, Sep 09, 2015 at 08:54:57AM +0200, Stéphane ANCELOT wrote: Hi, People interested in porting and testing i210 rtnet driver, contact me please. I have a working RTnet for i210. But that is the old version, for Xenomai 2.x. I intend to

[Xenomai] i210 porting

2015-09-08 Thread Stéphane ANCELOT
Hi, People interested in porting and testing i210 rtnet driver, contact me please. Regards, S.Ancelot ___ Xenomai mailing list Xenomai@xenomai.org http://xenomai.org/mailman/listinfo/xenomai

[Xenomai] rt_e1000e ioctls for link status

2015-09-03 Thread Stéphane ANCELOT
Hi, I would need being able to know when the link ready before using the nic , I have not seen any available ioctl to do this in this driver. Can I do this ? Regards, Steph ___ Xenomai mailing list Xenomai@xenomai.org http://xenomai.org/mailman/l

[Xenomai] intel turbo boost

2015-09-03 Thread Stéphane ANCELOT
Hi, Do you think I can use the Intel integrated turbo boost mode, without problems. I have this nice processor : http://ark.intel.com/fr/products/76308/Intel-Core-i5-4300U-Processor-3M-Cache-up-to-2_90-GHz Regards, S.Ancelto ___ Xenomai mailing list

Re: [Xenomai] rt_e1000e driver issues

2015-09-02 Thread Stéphane ANCELOT
On 01/09/2015 12:20, Gilles Chanteperdrix wrote: On Mon, Aug 31, 2015 at 08:30:03PM +0200, Gilles Chanteperdrix wrote: On Mon, Aug 31, 2015 at 04:04:18PM +0200, Stéphane ANCELOT wrote: Hi, I am checking timing issues of realtime rtnet frames in my application. Timing to send a frame is

[Xenomai] rt_e1000e driver issues

2015-08-31 Thread Stéphane ANCELOT
Hi, I am checking timing issues of realtime rtnet frames in my application. Timing to send a frame is convenient. but I have some issues with the time to receive the frames. Although the RxDelays are cleared, the frame is received almost 175us later than it should in comparison with a rt8169 d

Re: [Xenomai] killall can not kill xenomai programs

2015-08-27 Thread Stéphane ANCELOT
On 25/08/2015 16:09, Philippe Gerum wrote: On 08/25/2015 10:37 AM, Stéphane ANCELOT wrote: Hi, killall is not working with xenomai programs. killall uses "short" process name, we can see it in /proc//stat (second item). unfortunately all processes name have for short name "mai

Re: [Xenomai] running as user issue

2015-08-27 Thread Stéphane ANCELOT
On 05/08/2015 10:02, Stéphane ANCELOT wrote: On 31/07/2015 18:38, Philippe Gerum wrote: On 07/31/2015 06:09 PM, Stéphane ANCELOT wrote: giving a+rwx access to /dev/shm/xeno:mysession.heap permits to run xenomai_init, This does not make sense unless you are trying to bind to an existing session w

[Xenomai] killall can not kill xenomai programs

2015-08-25 Thread Stéphane ANCELOT
Hi, killall is not working with xenomai programs. killall uses "short" process name, we can see it in /proc//stat (second item). unfortunately all processes name have for short name "main", and thus it does not work. Hope this helps to solve the problem. Regards, S.Ancelot __

Re: [Xenomai] running as user issue

2015-08-05 Thread Stéphane ANCELOT
On 31/07/2015 18:38, Philippe Gerum wrote: On 07/31/2015 06:09 PM, Stéphane ANCELOT wrote: giving a+rwx access to /dev/shm/xeno:mysession.heap permits to run xenomai_init, This does not make sense unless you are trying to bind to an existing session with incompatible user privileges. Do you

Re: [Xenomai] running as user issue

2015-07-31 Thread Stéphane ANCELOT
giving a+rwx access to /dev/shm/xeno:mysession.heap permits to run xenomai_init, but unfortunately, the heap alloc / binds do not work. Regards, S.Ancelot On 30/07/2015 10:59, Stéphane ANCELOT wrote: Hi, I have problems running as user. pshared mode is enabled, conf tunables are defined

[Xenomai] running as user issue

2015-07-30 Thread Stéphane ANCELOT
Hi, I have problems running as user. pshared mode is enabled, conf tunables are defined (session_label , and mem_pool_size overloaded) and the program is running as root. user's group 1000 has been echoed to /sys/module/xenomai/parameters/allowed_group xenomai_init() reports EACCESS, althoug

[Xenomai] rt_heap_alloc fails in shared session mode.

2015-05-29 Thread Stéphane ANCELOT
Hi, The next code snippet fails in session mode. I can create and allocate heaps from a program. In another one, I can bind , but rt_heap_inquire fails with Invalid argument. Or I can use rt_alloc_heap with it. But when accessing memory, a bus error is trapped. //err = rt_heap_bind(heap_

Re: [Xenomai] v3 heap mem-pool-size

2015-05-29 Thread Stéphane ANCELOT
te: On 05/07/2015 03:14 PM, Jeff Webb wrote: On 05/07/2015 04:07 AM, Gilles Chanteperdrix wrote: On Thu, May 07, 2015 at 08:54:31AM +0200, Stéphane ANCELOT wrote: Hi, Is there a better way to raise mem-pool-size other than specifying in cmdline ? 0"007.389| WARNING: [main] heapobj_in

Re: [Xenomai] v3 heap mem-pool-size

2015-05-28 Thread Stéphane ANCELOT
On 24/05/2015 10:29, Philippe Gerum wrote: On 05/07/2015 03:14 PM, Jeff Webb wrote: On 05/07/2015 04:07 AM, Gilles Chanteperdrix wrote: On Thu, May 07, 2015 at 08:54:31AM +0200, Stéphane ANCELOT wrote: Hi, Is there a better way to raise mem-pool-size other than specifying in cmdline

Re: [Xenomai] v3 heap mem-pool-size

2015-05-11 Thread Stéphane ANCELOT
On 11/05/2015 16:14, Philippe Gerum wrote: On 05/07/2015 03:14 PM, Jeff Webb wrote: On 05/07/2015 04:07 AM, Gilles Chanteperdrix wrote: On Thu, May 07, 2015 at 08:54:31AM +0200, Stéphane ANCELOT wrote: Hi, Is there a better way to raise mem-pool-size other than specifying in cmdline

Re: [Xenomai] v3 heap mem-pool-size

2015-05-11 Thread Stéphane ANCELOT
On 07/05/2015 17:32, Gilles Chanteperdrix wrote: On Thu, May 07, 2015 at 03:44:29PM +0200, Stéphane ANCELOT wrote: On 07/05/2015 11:07, Gilles Chanteperdrix wrote: On Thu, May 07, 2015 at 08:54:31AM +0200, Stéphane ANCELOT wrote: Hi, Is there a better way to raise mem-pool-size other than

Re: [Xenomai] v3 heap mem-pool-size

2015-05-07 Thread Stéphane ANCELOT
On 07/05/2015 11:07, Gilles Chanteperdrix wrote: On Thu, May 07, 2015 at 08:54:31AM +0200, Stéphane ANCELOT wrote: Hi, Is there a better way to raise mem-pool-size other than specifying in cmdline ? 0"007.389| WARNING: [main] heapobj_init() failed for 470 bytes, raise --mem-pool-siz

[Xenomai] v3 heap mem-pool-size

2015-05-07 Thread Stéphane ANCELOT
Hi, Is there a better way to raise mem-pool-size other than specifying in cmdline ? 0"007.389| WARNING: [main] heapobj_init() failed for 470 bytes, raise --mem-pool-size? Regards, S.Ancelot ___ Xenomai mailing list Xenomai@xenomai.org http://

Re: [Xenomai] xenomai 3.0rc4 rt_heap_alloc replies with timeout

2015-05-06 Thread Stéphane ANCELOT
right. This is fixed using create size >= 2048 bytes. On 06/05/2015 10:56, Philippe Gerum wrote: On 05/05/2015 03:37 PM, Stéphane ANCELOT wrote: Hi, unfortunately, There is something wrong for unknown reason using these functions. I made a simple regression program that only create heaps

Re: [Xenomai] xenomai 3.0rc4 rt_heap_alloc replies with timeout

2015-05-06 Thread Stéphane ANCELOT
On 06/05/2015 10:26, Gilles Chanteperdrix wrote: On Wed, May 06, 2015 at 10:21:18AM +0200, Stéphane ANCELOT wrote: size = 824; // size = 824 is failing but changing size to 3200 rocks ... // -- ret = rt_heap_create

Re: [Xenomai] xenomai 3.0rc4 rt_heap_alloc replies with timeout

2015-05-06 Thread Stéphane ANCELOT
On 05/05/2015 19:21, Gilles Chanteperdrix wrote: On Tue, May 05, 2015 at 03:37:40PM +0200, Stéphane ANCELOT wrote: Hi, unfortunately, There is something wrong for unknown reason using these functions. I made a simple regression program that only create heaps and allocates area. At line 190 of

[Xenomai] V3 heap usage

2015-05-05 Thread Stéphane ANCELOT
Hi, Since rtheap compat alchemy seems broken, I wanted to try native heap dynamic allocation. I found xnheap_ functions. However, in this case, I have to manage heap byte alignment. These are the right functions to use ? or I missed something ??? Regards, S.Ancelot _

Re: [Xenomai] xenomai 3.0rc4 rt_heap_alloc replies with timeout

2015-05-05 Thread Stéphane ANCELOT
problem... enclose is the c file, I hope you will be able reproduce it. Regards, Steph On 30/04/2015 14:30, Stéphane ANCELOT wrote: On 30/04/2015 10:34, Philippe Gerum wrote: On 04/30/2015 09:08 AM, Stéphane ANCELOT wrote: Hi, Ok, I am using more than one heap, it seems being related . I

Re: [Xenomai] xenomai 3.0rc4 rt_heap_alloc replies with timeout

2015-04-30 Thread Stéphane ANCELOT
On 30/04/2015 10:34, Philippe Gerum wrote: On 04/30/2015 09:08 AM, Stéphane ANCELOT wrote: Hi, Ok, I am using more than one heap, it seems being related . I don't think so. This unit test illustrates such case: http://git.xenomai.org/xenomai-3.git/commit/?h=ne

Re: [Xenomai] xenomai 3.0rc4 rt_heap_alloc replies with timeout

2015-04-30 Thread Stéphane ANCELOT
Hi, Ok, I am using more than one heap, it seems being related . It is not possible anymore? Regards, S.Ancelot On 28/04/2015 19:25, Philippe Gerum wrote: On 04/28/2015 05:50 PM, Stéphane ANCELOT wrote: Hi, for unknown reason, using compat api, rt_heap_alloc replies with timeout, or blocks

[Xenomai] xenomai 3.0rc4 rt_heap_alloc replies with timeout

2015-04-28 Thread Stéphane ANCELOT
Hi, for unknown reason, using compat api, rt_heap_alloc replies with timeout, or blocks if TM_INFINITE is requested. I also noticed I don't have /dev/rtheap node, is it normal.? Regards, S.Ancelot ___ Xenomai mailing list Xenomai@xenomai.org http:/

[Xenomai] heap: bad usage or design problem using named heaps ?

2015-03-26 Thread Stéphane ANCELOT
Hi, I faced the following problem with xeno 2.5.x , but may exist on other releases . 1/ I create a rt_heap 2/ in this rh_heap I alloc many named "data area" I always give the global rt_heap ptr. no problem, areas are allocated. 3/problem arises when unallocating/unbinding using rt_heap_free/

Re: [Xenomai] AMD G/R serie

2015-02-18 Thread Stéphane ANCELOT
On 18/02/2015 10:24, Gilles Chanteperdrix wrote: On Wed, Feb 18, 2015 at 10:09:02AM +0100, St??phane ANCELOT wrote: Hi, Is xenomai available for those platforms? AMD G or R series What architectures are these beasts ? If x86, then yes, Xenomai should work, and if it does not, it should not be

[Xenomai] AMD G/R serie

2015-02-18 Thread Stéphane ANCELOT
Hi, Is xenomai available for those platforms? AMD G or R series Regards S.Ancelot ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai

[Xenomai] v2.x ou v3.x

2014-12-23 Thread Stéphane ANCELOT
Hi, for an intel atom multicore platform, I don't know the added value to switch to v3? Regards, Steph ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai

[Xenomai] arm platform

2014-09-11 Thread Stéphane ANCELOT
Hi, Some long life intel processor (Pentium M family,celeron M..) , are at end of line, however, today, it looks like long life means 3years for intel. I know some people are using arm here, is there a difference ? if you can give me some providers, also. Regards, S.Ancelot ___

[Xenomai] core I5 latency+USB

2014-07-07 Thread Stéphane ANCELOT
Hi, I have got high latencies up to 25us using my usb keyboard, which setting in kernel 3.10 should I set ? Regards, Steph ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] which stable ipipe version and kernel ?

2014-05-21 Thread Stéphane ANCELOT
No sorry, I made a mistake, it is an x86 - 64 bits platform On 20/05/2014 16:11, Philippe Gerum wrote: On 05/20/2014 04:02 PM, Stéphane ANCELOT wrote: Hi, I need building a stable 3.x kernel ia64 bits, which ipipe to use ? If you really mean Itanium, then there will be no support for

  1   2   >