Re: A potential Xenomai Mutex issue

2019-08-22 Thread Jan Kiszka via Xenomai
On 22.08.19 20:42, DIAO, Hanson via Xenomai wrote: Hi all, I hope you are doing well. Currently I was working on a critical deadlock issue with Xenomail Library(version 2.6.4). I found that for the Xenomai lock count is not reliable after we called rt_mutex_release. I print the following mes

A potential Xenomai Mutex issue

2019-08-22 Thread DIAO, Hanson via Xenomai
Hi all, I hope you are doing well. Currently I was working on a critical deadlock issue with Xenomail Library(version 2.6.4). I found that for the Xenomai lock count is not reliable after we called rt_mutex_release. I print the following message to you. I hope some developer can help me fix t

RE: affinity of main thread is bound to current core

2019-08-22 Thread Lange Norbert via Xenomai
> -Original Message- > From: Philippe Gerum > Sent: Donnerstag, 22. August 2019 17:29 > To: Lange Norbert ; Jan Kiszka > ; Xenomai (xenomai@xenomai.org) > > Subject: Re: affinity of main thread is bound to current core > > E-MAIL FROM A NON-ANDRITZ SOURCE: AS A SECURITY MEASURE, PLEASE >

Re: affinity of main thread is bound to current core

2019-08-22 Thread Philippe Gerum via Xenomai
On 8/22/19 5:16 PM, Lange Norbert via Xenomai wrote: >> -Original Message- >> From: Jan Kiszka >> Sent: Donnerstag, 22. August 2019 16:52 >> To: Lange Norbert ; Xenomai >> (xenomai@xenomai.org) >> Subject: Re: affinity of main thread is bound to current core >> >> E-MAIL FROM A NON-ANDRIT

RE: affinity of main thread is bound to current core

2019-08-22 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Donnerstag, 22. August 2019 16:52 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: affinity of main thread is bound to current core > > E-MAIL FROM A NON-ANDRITZ SOURCE: AS A SECURITY MEASURE, PLEASE > EXERCISE CAUTION WI

Re: [PATCH v2] machine: Add x86-64-efi as x86 example

2019-08-22 Thread Jan Kiszka via Xenomai
On 21.08.19 17:09, Q. Gylstorff via Xenomai wrote: From: Quirin Gylstorff Use the x86-64-efi as example how to build a xenomai x86 image. Signed-off-by: Quirin Gylstorff --- Changes: V2: - rename from simatic-ipc227e to x86-64-efi. board-x86-64-efi.yml | 15 +++ con

Re: [xenomai-images][PATCH] machine: Add beagle bone black as armhf example

2019-08-22 Thread Jan Kiszka via Xenomai
On 21.08.19 14:03, Q. Gylstorff wrote: From: Quirin Gylstorff Build xenomai image for beagle bone black as an armhf example. This image uses the U-Boot Image am335x_boneblack from Debian 10(Buster) as boot loader. Signed-off-by: Quirin Gylstorff --- board-beagle-bone-black.yml | 15

Re: [xenomai-images][PATCH v4] kernel/linux-xenomai: Update versions

2019-08-22 Thread Jan Kiszka via Xenomai
On 22.08.19 16:50, Q. Gylstorff wrote: From: Quirin Gylstorff Kernel 4.14 will soon be deprecated. Add kernel 4.19 for armhf and x86 builds. Currently there is no 4.19 for arm64 available, therefore pin to 4.14.%. Signed-off-by: Quirin Gylstorff --- V2: - set arm64 kernel to 4.14 for hikey

Re: [xenomai-images][PATCH v2] distro/xenomai-demo: Update to Debian 10

2019-08-22 Thread Jan Kiszka via Xenomai
On 22.08.19 16:50, Q. Gylstorff wrote: From: Quirin Gylstorff Debian 10 (Buster) was released and Stretch is now old stable, update the distribution to the latest stable version. Signed-off-by: Quirin Gylstorff --- Changes: V2: Updated for merge with next conf/distro/xenomai-demo.con

Re: affinity of main thread is bound to current core

2019-08-22 Thread Jan Kiszka via Xenomai
On 21.08.19 14:12, Lange Norbert via Xenomai wrote: Hello, I use Xenomai master on ipipe-core-4.19.60-x86-5. I start out with an affinity mask of 0xF, in the function cobalt_init_2, pthread_setschedparam will get called, after the syscall sc_cobalt_thread_setschedparam_ex the affinity mask wi

[xenomai-images][PATCH v2] distro/xenomai-demo: Update to Debian 10

2019-08-22 Thread Q. Gylstorff via Xenomai
From: Quirin Gylstorff Debian 10 (Buster) was released and Stretch is now old stable, update the distribution to the latest stable version. Signed-off-by: Quirin Gylstorff --- Changes: V2: Updated for merge with next conf/distro/xenomai-demo.conf | 4 ++-- 1 file changed, 2 insertions(+),

[xenomai-images][PATCH v4] kernel/linux-xenomai: Update versions

2019-08-22 Thread Q. Gylstorff via Xenomai
From: Quirin Gylstorff Kernel 4.14 will soon be deprecated. Add kernel 4.19 for armhf and x86 builds. Currently there is no 4.19 for arm64 available, therefore pin to 4.14.%. Signed-off-by: Quirin Gylstorff --- V2: - set arm64 kernel to 4.14 for hikey board configuration. V3: - add xenomai-ve

Re: RTNet - vnic0 question

2019-08-22 Thread Per Oberg via Xenomai
- Den 22 aug 2019, på kl 16:27, Laurentiu-Cristian Duca laurentiu.d...@gmail.com skrev: > Hi, > I have used rtifconfig, rtroute and rtping and I mentioned that worked, > I have written that rtt-sender and rtt-responder which use posix skin > worked only on vnic0 and not on rteth0. > I ha

Re: RTNet - vnic0 question

2019-08-22 Thread Jan Kiszka via Xenomai
On 22.08.19 16:27, Laurentiu-Cristian Duca via Xenomai wrote: Hi, I have used rtifconfig, rtroute and rtping and I mentioned that worked, I have written that rtt-sender and rtt-responder which use posix skin worked only on vnic0 and not on rteth0. I have ported frag-ip.c (from rtnet 0.9.13 to x

Re: RTNet - vnic0 question

2019-08-22 Thread Laurentiu-Cristian Duca via Xenomai
Hi, I have used rtifconfig, rtroute and rtping and I mentioned that worked, I have written that rtt-sender and rtt-responder which use posix skin worked only on vnic0 and not on rteth0. I have ported frag-ip.c (from rtnet 0.9.13 to xenomai 3) which uses alchemy instead of posix and it works on rt

Re: [xenomai-images][PATCH] arm64: build only against next

2019-08-22 Thread Jan Kiszka via Xenomai
On 22.08.19 15:21, Q. Gylstorff wrote: From: Quirin Gylstorff The arm64 architecture is currently only supported by the xenomai next branch. Signed-off-by: Quirin Gylstorff --- conf/machine/hikey.conf | 2 ++ conf/machine/qemu-arm64.conf | 1 + kas.yml | 2 +- 3

Re: [xenomai-images][PATCH] ci: Add ci build

2019-08-22 Thread Jan Kiszka via Xenomai
On 22.08.19 14:34, Q. Gylstorff wrote: From: Quirin Gylstorff Add jobs for all existing targets to execute the builds in gitlab ci. For manual testing or testing without gitlab add README entry for local runner. Signed-off-by: Quirin Gylstorff --- .gitlab-ci.yml | 27 +++

[xenomai-images][PATCH] arm64: build only against next

2019-08-22 Thread Q. Gylstorff via Xenomai
From: Quirin Gylstorff The arm64 architecture is currently only supported by the xenomai next branch. Signed-off-by: Quirin Gylstorff --- conf/machine/hikey.conf | 2 ++ conf/machine/qemu-arm64.conf | 1 + kas.yml | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-

[xenomai-images][PATCH] ci: Add ci build

2019-08-22 Thread Q. Gylstorff via Xenomai
From: Quirin Gylstorff Add jobs for all existing targets to execute the builds in gitlab ci. For manual testing or testing without gitlab add README entry for local runner. Signed-off-by: Quirin Gylstorff --- .gitlab-ci.yml | 27 +++ README.md | 12 2

Re: RTNet - vnic0 question

2019-08-22 Thread Per Oberg via Xenomai
- Den 22 aug 2019, på kl 13:21, xenomai xenomai@xenomai.org skrev: > Hi, > I have made a test between two qemu-x86_64-rt_8139too with different > mac and IP addresses, > one is master one is slave. In each of them I do: > /usr/xenomai/sbin/rtnet start > Then the applications rtt-sender and

Re: RTNet - vnic0 question

2019-08-22 Thread Laurentiu-Cristian Duca via Xenomai
Hi, I have made a test between two qemu-x86_64-rt_8139too with different mac and IP addresses, one is master one is slave. In each of them I do: /usr/xenomai/sbin/rtnet start Then the applications rtt-sender and rtt-responder (taken from rtnet 0.9.13 release) work, but if I turn off vnic0, then

Re: RTNet - vnic0 question

2019-08-22 Thread Laurentiu-Cristian Duca via Xenomai
The rt drivers for bbb are taken from: https://github.com/G-Ray/xenomai-boneblack-rtnet-drivers and I am not 100% sure that they are working correctly. On 8/22/19, Laurentiu-Cristian Duca wrote: > Hello Jan and friends > > Thank you for your fast answer. Please find below the details. > > On 8/

Re: RTNet - vnic0 question

2019-08-22 Thread Laurentiu-Cristian Duca via Xenomai
Hello Jan and friends Thank you for your fast answer. Please find below the details. On 8/21/19, Jan Kiszka wrote: > On 21.08.19 16:20, Laurentiu-Cristian Duca via Xenomai wrote: >> Hello rtnet community, >> >>I successfully tested the examples rtt-sender and rtt-responder >> within a rtne