Re: Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x

2020-03-03 Thread Jan Kiszka via Xenomai
On 03.03.20 14:02, Carsten EHRMANN wrote: Thanks, I added --posix to shell $$XENO_CONFIG --skin=native --ldflags --posix so I have this call: g++ -c -pipe -I/usr/xenomai/include/trank/posix -I/usr/xenomai/include/trank -D__XENO_COMPAT__ -I/usr/xenomai/include/cobalt -I/usr/xenomai/include

Re: rt_buffer_read, error #24 ("Too Many Files" ?)

2020-03-03 Thread LOCHE Daniel via Xenomai
Okay... my bad... I just found out why. Just loosed 2 day, to notice that my /sizeof(MessageStructure) = 24... /thus it wasn't a error ID, but just the size of the message... Erm... I propose just to forget this episode. ahah Daniel Le 03/03/2020 à 15:59, LOCHE Daniel a écrit : Hello, I

rt_buffer_read, error #24 ("Too Many Files" ?)

2020-03-03 Thread LOCHE Daniel via Xenomai
Hello, I am quite confused. I have several real-time tasks created from a fork + rt_task_shadow. My app uses a shared buffer where 1 to multiple processes can write to, and a process with a task dedicated to read the buffer content. - I manage to create the buffer : struct MessageStructure

Re: Ipipe-Patch for kernel version 5.4.23

2020-03-03 Thread Jan Kiszka via Xenomai
On 03.03.20 15:23, Ralf Moder wrote: Am 03.03.20 um 14:53 schrieb Greg Gallagher: On Tue, Mar 3, 2020 at 8:46 AM Ralf Moder > wrote: Am 02.03.20 um 17:01 schrieb Jan Kiszka: > On 02.03.20 16:17, Greg Gallagher wrote: >> >> On Mon, Mar 2, 2020

Re: Ipipe-Patch for kernel version 5.4.23

2020-03-03 Thread Ralf Moder via Xenomai
Am 03.03.20 um 14:53 schrieb Greg Gallagher: On Tue, Mar 3, 2020 at 8:46 AM Ralf Moder mailto:ralf.mo...@hbkworld.com>> wrote: Am 02.03.20 um 17:01 schrieb Jan Kiszka: > On 02.03.20 16:17, Greg Gallagher wrote: >> >> On Mon, Mar 2, 2020 at 7:38 AM Jan Kiszka via Xenomai >>

Re: Ipipe-Patch for kernel version 5.4.23

2020-03-03 Thread Greg Gallagher via Xenomai
On Tue, Mar 3, 2020 at 8:46 AM Ralf Moder wrote: > Am 02.03.20 um 17:01 schrieb Jan Kiszka: > > On 02.03.20 16:17, Greg Gallagher wrote: > >> > >> On Mon, Mar 2, 2020 at 7:38 AM Jan Kiszka via Xenomai > >> mailto:xenomai@xenomai.org>> wrote: > >> > >> On 02.03.20 11:00, Ralf Moder via

Re: Ipipe-Patch for kernel version 5.4.23

2020-03-03 Thread Ralf Moder via Xenomai
Am 02.03.20 um 17:01 schrieb Jan Kiszka: > On 02.03.20 16:17, Greg Gallagher wrote: >> >> On Mon, Mar 2, 2020 at 7:38 AM Jan Kiszka via Xenomai >> mailto:xenomai@xenomai.org>> wrote: >> >> On 02.03.20 11:00, Ralf Moder via Xenomai wrote: >> > Hello everyone, >> > I need the kernel

RE: Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x

2020-03-03 Thread Carsten EHRMANN via Xenomai
Thanks, I added --posix to shell $$XENO_CONFIG --skin=native --ldflags --posix so I have this call: g++ -c -pipe -I/usr/xenomai/include/trank/posix -I/usr/xenomai/include/trank -D__XENO_COMPAT__ -I/usr/xenomai/include/cobalt -I/usr/xenomai/include -m32 -O2 -D_GNU_SOURCE -D_REENTRANT

Re: Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x

2020-03-03 Thread Richard Weinberger via Xenomai
On Tue, Mar 3, 2020 at 1:03 PM Carsten EHRMANN via Xenomai wrote: > > Hi Jan, > > I don't have one of the files > > - /usr/src/linux-4.9.146/include/config/xeno/drivers/rtipc/xddp.h > > - /lib/modules/4.9.146/kernel/drivers/xenomai /ipc/xeno_rtipc.ko > > > Where do I get them? Do they have to be

RE: Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x

2020-03-03 Thread Carsten EHRMANN via Xenomai
Hi Jan, I don't have one of the files - /usr/src/linux-4.9.146/include/config/xeno/drivers/rtipc/xddp.h - /lib/modules/4.9.146/kernel/drivers/xenomai /ipc/xeno_rtipc.ko Where do I get them? Do they have to be installed when building the kernel? Carsten

Re: Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x

2020-03-03 Thread Jan Kiszka via Xenomai
On 03.03.20 11:44, Carsten EHRMANN wrote: Hi Jan, after a few try and error I got the code compiled. When I try to start the executable I got the following error from rt_pipe_create(): -97 I use the function as follow: if(rt_pipe_create(,aControlPipeName,P_MINOR_AUTO,2048) >= 0) In the

RE: Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x

2020-03-03 Thread Carsten EHRMANN via Xenomai
Hi Jan, after a few try and error I got the code compiled. When I try to start the executable I got the following error from rt_pipe_create(): -97 I use the function as follow: if(rt_pipe_create(,aControlPipeName,P_MINOR_AUTO,2048) >= 0) In the logfile there is no error from the kernel.