Re: rt_task_self() return value

2019-11-19 Thread Mauro Salvini via Xenomai
On Tue, 2019-11-19 at 17:05 +0100, Jan Kiszka wrote: > On 19.11.19 17:01, Mauro Salvini wrote: > > On Tue, 2019-11-19 at 16:41 +0100, Jan Kiszka wrote: > > > On 19.11.19 16:29, Mauro Salvini via Xenomai wrote: > > > > Hi all, > > > > > > > >

Re: rt_task_self() return value

2019-11-19 Thread Mauro Salvini via Xenomai
On Tue, 2019-11-19 at 16:41 +0100, Jan Kiszka wrote: > On 19.11.19 16:29, Mauro Salvini via Xenomai wrote: > > Hi all, > > > > I'm using Xenomai 3.0.9 in cobalt mode and I'm facing an issue on > > rt_task_self() returned value. > > > > Please see this simpl

rt_task_self() return value

2019-11-19 Thread Mauro Salvini via Xenomai
Hi all, I'm using Xenomai 3.0.9 in cobalt mode and I'm facing an issue on rt_task_self() returned value. Please see this simple code: #include #include #include #include RT_TASK gNewTask; static void Task(void *lpArgument) { rt_printf("Task created.\n"); gNewTask =

Re: FPU warn on ipipe 4.9.146-8 i386

2019-01-14 Thread Mauro Salvini via Xenomai
On Mon, 2019-01-14 at 10:39 +0100, Henning Schild wrote: > Am Fri, 11 Jan 2019 14:47:13 +0100 > schrieb Mauro Salvini : > > > On Fri, 2019-01-11 at 10:40 +0100, Henning Schild wrote: > > > Am Fri, 11 Jan 2019 09:57:50 +0100 > > > schrieb Mauro Salvini via

Re: FPU warn on ipipe 4.9.146-8 i386

2019-01-11 Thread Mauro Salvini via Xenomai
On Fri, 2019-01-11 at 17:53 +0800, limingyu via Xenomai wrote: > Hi, Mauro > > Maybe you could refer to this disscusion below, and try the latesst  > stable xenomai code branch > > v3.0.x/stable.  > https://xenomai.org/pipermail/xenomai/2018-December/040086.html > > And the lasted xenomai code

Re: FPU warn on ipipe 4.9.146-8 i386

2019-01-11 Thread Mauro Salvini via Xenomai
On Fri, 2019-01-11 at 10:40 +0100, Henning Schild wrote: > Am Fri, 11 Jan 2019 09:57:50 +0100 > schrieb Mauro Salvini via Xenomai : > > > Hi all, > > > > I'm testing same hardware of [1], with kernel 4.9.146 from ipipe- > > 4.9.y > > with [2] applied, co

Re: [PATCHv2] cobalt/x86: fix condition in eager fpu code for kernels < 4.14

2019-01-08 Thread Mauro Salvini via Xenomai
On Tue, 2019-01-08 at 18:51 +0100, Henning Schild wrote: > Am Tue, 8 Jan 2019 15:17:11 +0100 > schrieb Mauro Salvini : > > > On Mon, 2019-01-07 at 14:04 +0100, Henning Schild wrote: > > > From: Henning Schild > > > > > > We should mark the current task as not owning the fpu anymore if > > > it

Re: [PATCHv2] cobalt/x86: fix condition in eager fpu code for kernels < 4.14

2019-01-08 Thread Mauro Salvini via Xenomai
On Mon, 2019-01-07 at 14:04 +0100, Henning Schild wrote: > From: Henning Schild > > We should mark the current task as not owning the fpu anymore if it > does > actually own the fpu, not if the fpu itself is active. > > Fixes cb52e6c7438fa > > Reported-by: Mauro Salvini > Signed-off-by:

Re: [PATCH] cobalt/x86: fix condition in eager fpu code for kernels < 4.14

2019-01-07 Thread Mauro Salvini via Xenomai
On Sat, 2018-12-22 at 12:42 +0100, Jan Kiszka via Xenomai wrote: > On 21.12.18 14:44, Henning Schild via Xenomai wrote: > > From: Henning Schild > > > > We should mark the current task as not owning the fpu anymore if it > > does > > actually own the fpu, not if the fpu itself is active. > > >

Re: Stack dump on ipipe 4.9.135-7 x86_64

2018-12-21 Thread Mauro Salvini via Xenomai
On Fri, 2018-12-21 at 16:11 +0100, Mauro Salvini via Xenomai wrote: > On Fri, 2018-12-21 at 14:51 +0100, Henning Schild wrote: > > Am Thu, 20 Dec 2018 10:10:29 +0100 > > schrieb Jan Kiszka : > > > > > On 20.12.18 09:28, Mauro Salvini via Xenomai wrote: > > >

Re: Stack dump on ipipe 4.9.135-7 x86_64

2018-12-21 Thread Mauro Salvini via Xenomai
On Fri, 2018-12-21 at 14:51 +0100, Henning Schild wrote: > Am Thu, 20 Dec 2018 10:10:29 +0100 > schrieb Jan Kiszka : > > > On 20.12.18 09:28, Mauro Salvini via Xenomai wrote: > > > Hi all, > > > > > > I'm testing Xenomai 3 on an Intel Braswell board (At

Stack dump on ipipe 4.9.135-7 x86_64

2018-12-20 Thread Mauro Salvini via Xenomai
Hi all, I'm testing Xenomai 3 on an Intel Braswell board (Atom x5-E8000). I'm using ipipe kernel at last commit from [1], branch ipipe-4.9.y, 64bit build on a Debian Stretch 9.6 64bit. Xenomai library is from [2], branch stable/v3.0.x on commit bc53d03f (I haven't two last commits but seems not

Re: rtping differences between master and slaves

2018-11-23 Thread Mauro Salvini via Xenomai
On Fri, 2018-11-23 at 13:55 +0100, Jan Kiszka wrote: > On 23.11.18 13:49, Mauro Salvini wrote: > > On Fri, 2018-11-23 at 12:49 +0100, Jan Kiszka wrote: > > > On 23.11.18 11:51, Mauro Salvini via Xenomai wrote: > > > > Hi all, > > > > > > > >

rtping differences between master and slaves

2018-11-23 Thread Mauro Salvini via Xenomai
Hi all, I'm trying RTNet (an old version: 0.9.13) on Xenomai (yet another old version, 2.5.6: unluckily I cannot move to newer versions). My setup has 3 identical nodes on isolated RT network: cycle time of 5000us, master with slot offset 0, slave A with slot offset 200us and slave B with slot

[PATCH] copperplate/clockobj: prevent warning with -Wconversion

2018-11-05 Thread Mauro Salvini via Xenomai
make cast explicit to avoid warning when user code is compiled with -Wconversion Signed-off-by: Mauro Salvini --- include/copperplate/clockobj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/copperplate/clockobj.h b/include/copperplate/clockobj.h index