Re: [Xenomai] [PATCH] x86/mm: Fix vmalloc_fault() to handle large pages properly

2017-02-28 Thread Henning Schild
This guy is mainline since a while, was discovered in the context of ipipe and has been backported to stable kernels. But in 4.1 it came in at 4.1.19 and ipipe sits on 18, so cherry pick it on ipipe-4.1.y. Henning Am Tue, 28 Feb 2017 12:31:50 +0100 schrieb Henning Schild : > From: Toshi K

Re: [Xenomai] [PATCH] x86/mm: Fix vmalloc_fault() to handle large pages properly

2017-02-28 Thread Henning Schild
Am Tue, 28 Feb 2017 13:00:43 +0100 schrieb Jan Kiszka : > On 2017-02-28 12:33, Henning Schild wrote: > > This guy is mainline since a while, was discovered in the context of > > ipipe and has been backported to stable kernels. But in 4.1 it came > > in at 4.1.19 and ipipe

Re: [Xenomai] [PATCH 3/3] lib/cobalt: wrap CXXABI One-time Constructor functions

2017-03-02 Thread Henning Schild
Am Wed, 25 Jan 2017 16:08:37 +0100 schrieb Henning Schild : > The implementation of these functions uses locks and has the potential > to trigger a SIGXCPU when contended. Wrap them with assert_nrt so they > reliably cause a switch when used in the rt context. > > Signed-off-by:

Re: [Xenomai] [PATCH 3/3] lib/cobalt: wrap CXXABI One-time Constructor functions

2017-03-02 Thread Henning Schild
Thu, 2 Mar 2017 10:56:01 +0100 schrieb Henning Schild : > Am Wed, 25 Jan 2017 16:08:37 +0100 > schrieb Henning Schild : > > > The implementation of these functions uses locks and has the > > potential to trigger a SIGXCPU when contended. Wrap them with > > assert_nrt so t

[Xenomai] any extra reasons for -EINTR in xenomai

2017-03-03 Thread Henning Schild
Hi, someone came to me asking about reasons why system calls would exit with -EINTR on a xenomai 2 system. As far as i know there a are two possible reasons for that to happen. 1. the thread received a signal while being blocked in the call 2. the thread got a rt_task_unblock Now we are pretty su

Re: [Xenomai] any extra reasons for -EINTR in xenomai

2017-03-06 Thread Henning Schild
Am Fri, 3 Mar 2017 16:57:04 +0100 schrieb Philippe Gerum : > On 03/03/2017 03:18 PM, Henning Schild wrote: > > Hi, > > > > someone came to me asking about reasons why system calls would exit > > with -EINTR on a xenomai 2 system. As far as i know there a are two >

[Xenomai] [PATCH 2/2] lib/cobalt: wrap CXXABI One-time Constructor functions

2017-03-06 Thread Henning Schild
: Henning Schild --- lib/cobalt/assert.wrappers | 3 +++ lib/cobalt/assert_context.c | 19 +++ lib/cobalt/internal.h | 12 lib/cobalt/wrappers.c | 19 +++ 4 files changed, 53 insertions(+) diff --git a/lib/cobalt/assert.wrappers b/lib/cobalt

[Xenomai] [PATCH 1/2] cobalt: fix for incorrect assert wrappers commit

2017-03-06 Thread Henning Schild
-by: Henning Schild --- configure.ac | 13 ++--- scripts/wrap-link.sh | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 4792e46..70990d2 100644 --- a/configure.ac +++ b/configure.ac @@ -799,9 +799,14 @@ dnl in-tree executables

Re: [Xenomai] [PATCH 1/2] cobalt: fix for incorrect assert wrappers commit

2017-03-06 Thread Henning Schild
Am Mon, 6 Mar 2017 17:18:23 +0100 schrieb Philippe Gerum : > On 03/06/2017 03:00 PM, Henning Schild wrote: > > > -XENO_AUTOINIT_LDFLAGS='$(top_builddir)/lib/boilerplate/init/bootstrap-internal.o'" > > -Wl,--wrap=main -Wl,--dynamic-list=$topdir/scripts/dynli

Re: [Xenomai] Heads up: some race condition fixes for Xenomai 3

2017-03-07 Thread Henning Schild
Am Fri, 26 Jun 2015 16:20:29 +0200 schrieb Jan Kiszka : > Hi, > > just pushed 3 patches to git.xenomai.org/xenomai-jki.git for-forge > that are supposed to fix race conditions while manipulating > xnthread::state and info (both need to be nklock-protected). Please > review if finding and fixes ma

Re: [Xenomai] Heads up: some race condition fixes for Xenomai 3

2017-03-09 Thread Henning Schild
Am Wed, 8 Mar 2017 12:25:26 +0100 schrieb Jan Kiszka : > On 2017-03-08 09:54, Philippe Gerum wrote: > > On 03/07/2017 07:34 PM, Henning Schild wrote: > >> Am Fri, 26 Jun 2015 16:20:29 +0200 > >> schrieb Jan Kiszka : > >> > >>> Hi, > >>

Re: [Xenomai] Cpusets and the cpu_affinity test

2017-05-02 Thread Henning Schild
Am Mon, 1 May 2017 14:19:40 -0700 schrieb Jackson Jones : > I am having trouble getting the cpu_affinity test to run. The check > for CPU restriction always fails. I have tried to remedy this by > setting the bootargs. > > 1.) I am running an NXP i.MX6 QUAD/DUAL VAR-SOM-MX6 based board > (Varisci

Re: [Xenomai] Cpusets and the cpu_affinity test

2017-05-02 Thread Henning Schild
Am Tue, 2 May 2017 11:20:39 +0200 schrieb Henning Schild : > Am Mon, 1 May 2017 14:19:40 -0700 > schrieb Jackson Jones : > > > I am having trouble getting the cpu_affinity test to run. The check > > for CPU restriction always fails. I have tried to remedy this by >

Re: [Xenomai] Cpusets and the cpu_affinity test

2017-05-03 Thread Henning Schild
t to less than all cpus and run the test again. If the machine does not boot with less than all, it is now time to figure out why it hangs during boot. So i guess you should post the last messages you see on the console when booting with verbose output. Do you actually need to exclude cpus? If you

Re: [Xenomai] ipipe-core-4.4.43-x86-6.patch compiler error

2017-05-04 Thread Henning Schild
Am Thu, 4 May 2017 15:01:18 +0200 schrieb Michael Smith <2michael.sm...@gmail.com>: > Hi. > I am compiling for the Cobal Core with Xenomai 3.0.4 on Ubuntu 16.04 > (kernel 4.4.0-77-generic). > When compiling the Linux kernel 4.4.43 with > ipipe-core-4.4.43-x86-6.patch I get the following error: >

[Xenomai] [PATCH] x86/ipipe: fix compilation for x86_32

2017-05-04 Thread Henning Schild
AMD MCE is just relevant for the 64Bit case and causes linking problems for 32. Reported-by: Michael Smith <2michael.sm...@gmail.com> Signed-off-by: Henning Schild --- arch/x86/kernel/ipipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/ipipe.c b/ar

[Xenomai] copperplate tunables with dso

2017-05-10 Thread Henning Schild
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 the tunables but not the dso-case. Is there a way to

Re: [Xenomai] copperplate tunables with dso

2017-05-11 Thread Henning Schild
Am Wed, 10 May 2017 17:36:21 +0200 schrieb Philippe Gerum : > On 05/10/2017 05:06 PM, Henning Schild wrote: > > 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 > >

[Xenomai] [PATCH] smokey/sigdebug: check kernel features with corectl

2017-05-12 Thread Henning Schild
One of the subtests depends on a kernel feature, skip it if the feature was not enabled. Signed-off-by: Henning Schild --- testsuite/smokey/sigdebug/sigdebug.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/testsuite/smokey/sigdebug/sigdebug.c b

[Xenomai] linking problems on Ubuntu

2017-05-16 Thread Henning Schild
Hi, i have been seeing occasional linking problems with 3.0.4 and Ubuntu 16.04. The root cause of the problem is that the ubuntu toolchain defaults to linking with "--as-needed" while most other toolchains seem to default to "--no-as-needed". Depending on your program the linker might not recogniz

[Xenomai] [PATCH] scripts/xeno-config: add -Wl,--no-as-needed

2017-05-16 Thread Henning Schild
s get linked as expected. Signed-off-by: Henning Schild --- scripts/xeno-config-cobalt.in | 1 + scripts/xeno-config-mercury.in | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/xeno-config-cobalt.in b/scripts/xeno-config-cobalt.in index 82815e1936..ae313d3897 100644 --- a/scripts/

Re: [Xenomai] Xenomai 3.0.5

2017-05-22 Thread Henning Schild
Am Sun, 21 May 2017 21:19:22 +0200 schrieb Philippe Gerum : > Xenomai 3.0.5 is out. A few bug fixes, most notably in the Cobalt > core, and several cleanups for better supporting different C > libraries. This release also provides support for kernel series up to > 4.9.x (included). > > http://xen

Re: [Xenomai] Xenomai 3.0.5

2017-05-29 Thread Henning Schild
Am Mon, 22 May 2017 11:18:01 +0200 schrieb Philippe Gerum : > On 05/22/2017 11:15 AM, Henning Schild wrote: > > Am Sun, 21 May 2017 21:19:22 +0200 > > schrieb Philippe Gerum : > > > >> Xenomai 3.0.5 is out. A few bug fixes, most notably in the Cobalt > >>

Re: [Xenomai] Hi

2017-06-02 Thread Henning Schild
Am Fri, 2 Jun 2017 19:38:14 +0530 schrieb Ashok kumar : > I am Ashok , I have installed the xenomai-2.6.21 patch with linux > kernel 3.2.21 I am using Dell laptop core i3,x86_64 , after > installation my wifi network is not working , > I have run the command > > lspci | grep Network > > 06:00.0

Re: [Xenomai] Hi

2017-06-06 Thread Henning Schild
06:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n > (rev 01) > 07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07) > > thank you > > > On Fri, Jun 2, 2017 at 8:16 PM, Henning Schild >

Re: [Xenomai] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254)

2017-06-20 Thread Henning Schild
Am Tue, 20 Jun 2017 11:06:57 +0800 schrieb : > Hello, everyone~ > > I am compiling xenomai 2.6.4 on ubuntu 14.04.2 with a kernel verion > 3.14.17 > > I can run the xeno latency test, and the latency in user space has a > max value of 20 us with the select period of 100us. > > But when I tried t

[Xenomai] secondary mode switches on rt_task_set_priority

2017-07-11 Thread Henning Schild
Hi, i was asked to assist debugging a case where a SIGXCPU is received after calling rt_task_set_priority. According to the docs that call should not cause secondary mode switches, but it seems it does. Xenomai 3.0.5 kernel 4.4.43 I did not start digging yet but wanted to ask if someone has alrea

Re: [Xenomai] secondary mode switches on rt_task_set_priority

2017-07-11 Thread Henning Schild
Am Tue, 11 Jul 2017 11:45:20 +0200 schrieb Philippe Gerum : > On 07/11/2017 10:41 AM, Henning Schild wrote: > > Hi, > > > > i was asked to assist debugging a case where a SIGXCPU is received > > after calling rt_task_set_priority. According to the docs that call >

[Xenomai] [PATCH 1/2] lib/alchemy: fix rt_mutex_create return values

2017-07-11 Thread Henning Schild
From: Henning Schild rt_mutex_create turned an -EPERM from the cobalt kernel syscall path into an -EEXIST. If you have a model where threads create their shadows on demand, when seeing the first -EPERM, that return value must not be changed. Signed-off-by: Henning Schild --- lib/alchemy

[Xenomai] [PATCH 2/2] lib/alchemy: change API context tags

2017-07-11 Thread Henning Schild
From: Henning Schild changing the prio always changes the secondary-mode thread as well see: http://xenomai.org/migrating-from-xenomai-2-x-to-3-x/#Scheduling Signed-off-by: Henning Schild --- lib/alchemy/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/alchemy

Re: [Xenomai] [PATCH 1/2] lib/alchemy: fix rt_mutex_create return values

2017-07-11 Thread Henning Schild
creates shadow threads whenever the first cobalt syscall returns -EPERM. You can argue whether that is a good idea, but turning an -EPERM into something else is also not a good idea. Henning Am Tue, 11 Jul 2017 13:32:12 +0200 schrieb Henning Schild : > From: Henning Schild > > rt_mutex_crea

Re: [Xenomai] Cobalt core install linker problem

2017-07-11 Thread Henning Schild
Am Tue, 11 Jul 2017 14:22:02 + schrieb Simone Zucchi : > Hello everybody, > I'm trying to compile xenomai tools --with-core=cobalt but I keep ha > ving issues on latency tool, seems on linking. > If I try to build --with-core=mercury switch it works flawlessly: ... > Then I try to build --with

Re: [Xenomai] Kernel CONFIG_MIGRATION flag

2017-07-11 Thread Henning Schild
Am Tue, 11 Jul 2017 14:50:21 + schrieb Simone Zucchi : > Hello everybody, > I hope I won't be considered a spammer because of 2 mails in half an > hour :) No, but for sending the same mail twice in 10s ;). Henning > I couldn't really find any doc about CONFIG_MIGRATION flag > and how it cou

Re: [Xenomai] Kernel CONFIG_MIGRATION flag

2017-07-11 Thread Henning Schild
Am Tue, 11 Jul 2017 14:50:15 + schrieb Simone Zucchi : > Hello everybody, > I hope I won't be considered a spammer because of 2 mails in half an > hour :) I couldn't really find any doc about CONFIG_MIGRATION flag > and how it could worsen latency over Xenomai. Well if the linux-kernel is bus

Re: [Xenomai] Cobalt core install linker problem

2017-07-12 Thread Henning Schild
e to run something like this: xeno-test -l "dohell -m /tmp 300" -p 1000 Our CI does "dh_autoreconf; dpkg-buildpackage -j$(JOBS) -uc -us" and the packages contain a runnable xeno-test Henning > Simone > > On 07/11/2017 05:33 PM, Henning Schild wrote: > > Am Tue

Re: [Xenomai] [RFC] Remove generated docs from git

2017-07-14 Thread Henning Schild
Am Thu, 13 Jul 2017 21:59:06 +0200 schrieb "[ext] Jan Kiszka" : > Hi Philippe, > > would it be possible to remove the generated docs from git? When doing > full-text searches, it's extremely unhandy to have them in history > (that's unfortunately too late now) and in the current repo (git > grep)

Re: [Xenomai] [RFC] Remove generated docs from git

2017-07-14 Thread Henning Schild
Am Fri, 14 Jul 2017 10:26:31 +0200 schrieb Jan Kiszka : > On 2017-07-14 10:24, Henning Schild wrote: > > Am Thu, 13 Jul 2017 21:59:06 +0200 > > schrieb "[ext] Jan Kiszka" : > > > >> Hi Philippe, > >> > >> would it be possible to rem

Re: [Xenomai] rt_task_create fails

2017-07-25 Thread Henning Schild
Am Tue, 25 Jul 2017 07:48:46 -0500 schrieb : > I ported Xenomai 3.0.5 to Petalinux 2017.1. The supported tests run > fine, but my code is failing. rt_task_create always fails with errno > set to 17 (EEXIST). Doesn't matter what arguments I give it. Before > I dissect this further, does anybody

Re: [Xenomai] [PATCH 1/2] lib/alchemy: fix rt_mutex_create return values

2017-07-27 Thread Henning Schild
Am Wed, 26 Jul 2017 17:34:01 +0200 schrieb Philippe Gerum : > On 07/26/2017 05:22 PM, Philippe Gerum wrote: > > On 07/11/2017 01:40 PM, Henning Schild wrote: > >> I am not sure i like what is happening there. Maybe we should just > >> allow rt_mutex_create to return

Re: [Xenomai] [PATCH] doc: fix README typo

2017-08-02 Thread Henning Schild
Please add Signed-Off. Henning Am Tue, 1 Aug 2017 13:48:45 +0200 schrieb "Gernot Hillier" : > --- > README | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/README b/README > index f0be8a75d..313d8adc1 100644 > --- a/README > +++ b/README > @@ -45,7 +45,7 @@ http://xenom

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

2017-08-08 Thread Henning Schild
Hey, xenomai3 has its tuneables and they can be set with command-line parameters and setup_descriptors. 1. The command-line parameters impose on the application, it has to be modified to skip/ignore them. And ultimately it has to keep a list of valid ones to do so pedanticly. If there are name cl

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

2017-08-08 Thread Henning Schild
Am Tue, 8 Aug 2017 12:24:54 +0200 schrieb Philippe Gerum : > On 08/08/2017 11:23 AM, Henning Schild wrote: > > Hey, > > > > xenomai3 has its tuneables and they can be set with command-line > > parameters and setup_descriptors. > > > > 1. > > The comm

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

2017-08-08 Thread Henning Schild
Am Tue, 8 Aug 2017 20:05:07 +0200 schrieb Philippe Gerum : > On 08/08/2017 01:48 PM, Henning Schild wrote: > > Am Tue, 8 Aug 2017 12:24:54 +0200 > > schrieb Philippe Gerum : > >> No, the core takes care of this. I'm unsure what your application > >>

Re: [Xenomai] Issues with Xenomai 3.0.5 under Buildroot...

2017-08-08 Thread Henning Schild
Am Tue, 8 Aug 2017 22:07:41 -0400 schrieb Jim Langston : > Hi all, > > I'm having issues porting an old driver from Xenomai 2.4 to Xenomai > 3.0.5. > > The driver is written using the old 'Alchemy/Native' API, and uses the > header file, where all my problems start. > > From looking through th

Re: [Xenomai] Won`t build on new Debian Stable

2017-08-10 Thread Henning Schild
Hi Norbert, Thanks! In fact that issue has come up before and a similar workaround was described. It should be fixed, patches welcome! Henning Am Wed, 9 Aug 2017 16:21:02 +0200 schrieb Norbert Lange : > Hello, > > Building the xenomai package won`t work because debian now defaults to > using p

Re: [Xenomai] Adopting the i-pipe patch to another kernel

2017-08-21 Thread Henning Schild
Am Thu, 10 Aug 2017 15:39:36 +0200 schrieb mohamed atef : > Hi everyone, > > I want to adopt an i-pipe patch to kernel 3.14.56. I have been > searching for one, but I didn't find anything. I think I may use > anyone of ipipe-core-3.14.44- patches as a reference. > > Any help, please? Just use t

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

2017-08-21 Thread Henning Schild
Am Wed, 16 Aug 2017 20:13:34 +0200 schrieb Philippe Gerum : > On 08/08/2017 09:27 PM, Henning Schild wrote: > > > >> Could you sketch the requirements of the app with respect to > >> option parsing (namespace left aside)? Is there some main > >> non-Xenomai

Re: [Xenomai] undefined symbol __wrap_malloc in 3.0.4

2017-08-24 Thread Henning Schild
Hey, you are probably a victim of canonical. 3.0.5 fixes that issue, you can also cherry-pick http://git.xenomai.org/xenomai-3.git/commit/?id=83dea2ad712ee2d2137942c7ab9891da7d4ef841 Henning Am Thu, 24 Aug 2017 08:38:29 -0700 schrieb George Broz : > Hi , > > I am trying to run an application i

Re: [Xenomai] undefined symbol __wrap_malloc in 3.0.4

2017-08-24 Thread Henning Schild
If you are indeed on *untu you might want to read that https://www.ubuntu.com/legal/terms-and-policies/intellectual-property-policy And the section "Any redistribution of modified versions of Ubuntu must be approved, certified or provided by Canonical if ". I am not a lawyer but give that info

Re: [Xenomai] Fwd: undefined symbol __wrap_malloc in 3.0.4

2017-08-25 Thread Henning Schild
Am Thu, 24 Aug 2017 09:15:34 -0700 schrieb George Broz : > -- Forwarded message -- > From: George Broz > Date: 24 August 2017 at 09:13 > Subject: Re: [Xenomai] undefined symbol __wrap_malloc in 3.0.4 > To: Henning Schild > > > On 24 August 2017

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

2017-08-25 Thread Henning Schild
Am Wed, 16 Aug 2017 20:13:34 +0200 schrieb Philippe Gerum : > On 08/08/2017 09:27 PM, Henning Schild wrote: > > > >> Could you sketch the requirements of the app with respect to > >> option parsing (namespace left aside)? Is there some main > >> non-Xenomai

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

2017-08-29 Thread Henning Schild
Am Tue, 29 Aug 2017 13:05:47 +0200 schrieb Philippe Gerum : > On 08/25/2017 07:16 PM, Henning Schild wrote: > > Am Wed, 16 Aug 2017 20:13:34 +0200 > > schrieb Philippe Gerum : > > > >> On 08/08/2017 09:27 PM, Henning Schild wrote: > >>> >

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

2017-08-29 Thread Henning Schild
Am Tue, 29 Aug 2017 18:10:12 +0200 schrieb Philippe Gerum : > On 08/29/2017 02:27 PM, Henning Schild wrote: > > Am Tue, 29 Aug 2017 13:05:47 +0200 > > schrieb Philippe Gerum : > > >> You could dlopen() libplugin.so directly or indirectly via the > >> depend

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

2017-08-30 Thread Henning Schild
Am Tue, 29 Aug 2017 22:02:06 +0200 schrieb Philippe Gerum : > On 08/29/2017 07:20 PM, Henning Schild wrote: > > I do not mind changing the customers software to address the issue > > there. The whole thread was about making xenomai simpler, inspired > > by having to look dee

Re: [Xenomai] MAXSMP prevents booting on 16.04/x64-4.9.38

2017-09-22 Thread Henning Schild
Am Thu, 21 Sep 2017 12:03:47 +0200 schrieb Antoine Hoarau : > Hello, > > After many trials and error, I finally found the option that made both > of my Ubuntu 16.04/x64 (i7 7500U and 2600K) to hang at Loading initial > ramdisk. > > CONFIG_MAXSMP > > * Processor type and features > --> Enable

Re: [Xenomai] [I-PIPE] ipipe-core-4.4.71-x86-10 released

2017-10-04 Thread Henning Schild
Hi, the branch ipipe-4.4.y should be advanced to the tags, right now some tags are sitting on top of it, outside a branch. Henning Am Tue, 3 Oct 2017 16:26:17 +0200 schrieb : > Download: > https://xenomai.org/downloads/ipipe/v4.x/x86/ipipe-core-4.4.71-x86-10.patch > > _

Re: [Xenomai] Won`t build on new Debian Stable

2017-10-12 Thread Henning Schild
the manual (I found > out abaout this fix from https://launchpad.net/ubuntu/+source/flint) > > Norbert Lange > > 2017-08-10 11:49 GMT+02:00 Henning Schild > : > > Hi Norbert, > > > > Thanks! In fact that issue has come up before and a similar > > workaround

Re: [Xenomai] Won`t build on new Debian Stable

2017-10-13 Thread Henning Schild
#x27; t know what the issue is with the C++ Constructors, in the > > context of this change? > > (I heard about the issues if those reside in a shared library, use > > function from libcobald and don't depend on libcobald. Which is more > > of a broken build to me if y

Re: [Xenomai] Won`t build on new Debian Stable

2017-10-13 Thread Henning Schild
d the depended libs, and will > bite you the same way if you use GCCs constructor attribute) > > Kind regards, > Norbert. > > 2017-10-12 10:33 GMT+02:00 Henning Schild > : > > Hey Norbert, > > > > thanks for looking into that again! Could you please explain ho

Re: [Xenomai] Won`t build on new Debian Stable

2017-10-13 Thread Henning Schild
lacks that information. > >> > >> I don' t know what the issue is with the C++ Constructors, in the > >> context of this change? > >> (I heard about the issues if those reside in a shared library, use > >> function from libcobald and don&#

Re: [Xenomai] Won`t build on new Debian Stable

2017-10-13 Thread Henning Schild
ter send another patch and we will see what Philippe says. Henning > I started with the wrong ideas because of the usual POSIX argument > parsing like "tar -xzf file.tar.gz" being interpreted as "tar -x -z > -f file.tar.gz". > > 2017-10-13 11:31 GMT+02:00 Henning Sc

Re: [Xenomai] --session= is not a recognized option when using Posix skin

2017-10-16 Thread Henning Schild
On Sat, 7 Oct 2017 01:33:06 + Giulio Moro wrote: > > The POSIX API does not depend on copperplate, so > > you don't have support for multi-process sessions when linking > > against libcobalt exclusively. > > Ok. All we need this for is to prevent multiple instances of our > program to be

Re: [Xenomai] Won`t build on new Debian Stable

2017-10-19 Thread Henning Schild
On Thu, 19 Oct 2017 12:03:33 +0200 Philippe Gerum wrote: > On 10/13/2017 01:36 PM, Norbert Lange wrote: > > I works, because collect2 (the "compiler driver", which documents > > the -r option) now knows about the -r flag, using -Wl,-[U]r would > > mean the flags aren't even looked at. > > It can

[Xenomai] [PATCH] x86/ipipe: fix compile error

2017-11-14 Thread Henning Schild
61553d8dcb9f introduced a call of "fixup_exception" with too many args, probably a backporting problem. Remove the arg that the 4.4-version of the function did not need. Signed-off-by: Henning Schild --- arch/x86/kernel/ipipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

Re: [Xenomai] Contributing to Xenomai

2017-11-20 Thread Henning Schild
Am Mon, 20 Nov 2017 10:43:09 -0500 schrieb Greg Gallagher : > Hi, > I'm preparing a patch to enable RTDM gpio for the Xilinx Zynq 7000 > platform. First, is this something that would be of value to add to > mainline Xenomai? I noticed there is a rtdm gpio driver for the > bcm2835 (raspberry pi

Re: [Xenomai] 3.0.6 with linux 4.9.51 on x86_64 Intel(R) Atom(TM) CPU N2800 compilation failed

2017-11-21 Thread Henning Schild
Am Tue, 21 Nov 2017 08:28:11 +0100 schrieb Leopold Palomo-Avellaneda : > On 21/11/17 06:52, Jack Lee wrote: > > Hello, > > > > My board cpu is Intel Atom CPU N2800. I am using xenomai 3.0.6 > > with linux 4.9.51. I get the following error when compiling the > > kernel. Can anyone give me some h

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

2017-11-23 Thread Henning Schild
Am Wed, 22 Nov 2017 21:26:23 +0100 schrieb Jan Kiszka : > On 2017-11-21 18:11, Philippe Gerum wrote: > > So, let's talk about the elephant in the room: the current > > situation of the Xenomai project is not viable in the long run. I > > can only encourage people who feel concerned about it to dis

Re: [Xenomai] [RFC] Service hosting for Xenomai

2017-11-23 Thread Henning Schild
Am Thu, 23 Nov 2017 12:42:08 +0100 schrieb Philippe Gerum : > On 11/22/2017 09:27 PM, Jan Kiszka wrote: > > On 2017-11-22 16:32, Philippe Gerum wrote: > >> > >> Hi Kendall, > >> > >> On 11/21/2017 08:27 PM, Auel, Kendall wrote: > >>> Hi Philippe, > >>> > >>> Is there an online bug tracking and

Re: [Xenomai] [RFC] Service hosting for Xenomai

2017-11-28 Thread Henning Schild
Am Mon, 27 Nov 2017 22:44:03 +0100 schrieb Philippe Gerum : > Hello Wolfgang, > > On 11/27/2017 09:41 PM, Wolfgang Denk wrote: > > Dear Philippe, > > > > In message <2f850a60-3756-f06d-82c6-ccf6eeb58...@xenomai.org> you > > wrote: > >> > >> As Jan mentioned, there is more than having GIT under

Re: [Xenomai] Debian packages for Xenomai 3.x

2017-12-01 Thread Henning Schild
Am Thu, 30 Nov 2017 12:27:22 +0100 schrieb Leopold Palomo-Avellaneda : > Hi, > > > if someone is interested I have been working a bit with the debian > directory in xenomai3. > > I have changed the approach to the libraries. I think that now it has > not sense to have a libxenomai1 so I have ch

Re: [Xenomai] Debian packages for Xenomai 3.x

2017-12-04 Thread Henning Schild
Am Mon, 4 Dec 2017 11:34:16 +0100 schrieb Leopold Palomo-Avellaneda : > Hi, > > On 01/12/17 16:13, Henning Schild wrote: > > Am Thu, 30 Nov 2017 12:27:22 +0100 > > schrieb Leopold Palomo-Avellaneda : > > > >> Hi, > >> > >> > >&

Re: [Xenomai] [PATCH] Split rtdm_fd_enter up, move the functionality where we store the fd until after the open() call succeeds. Calls where open() fail a fd is left in the tree even after the cleanup

2017-12-04 Thread Henning Schild
Hi, could you please change that commit to have a short "subject" followed by the description. Your commit comment does not seem to have any newlines causing all to show up in the seubject. Am Sun, 3 Dec 2017 22:22:24 -0500 schrieb Greg Gallagher : > --- > include/cobalt/kernel/rtdm/fd.h | 2 +

Re: [Xenomai] Debian packages for Xenomai 3.x

2017-12-07 Thread Henning Schild
Am Mon, 4 Dec 2017 12:53:58 +0100 schrieb "[ext] Henning Schild" : > Am Mon, 4 Dec 2017 11:34:16 +0100 > schrieb Leopold Palomo-Avellaneda : > > > Hi, > > > > On 01/12/17 16:13, Henning Schild wrote: > > > Am Thu, 30 Nov 2017 12:27:22

Re: [Xenomai] matching patch version to kernel version

2017-12-11 Thread Henning Schild
Am Wed, 29 Nov 2017 16:53:49 -0500 schrieb Steve Pavao : > Hi all, > > I am building Yocto poky linux for an Intel board at head in Master > branch in Yocto poky, which currently results in a kernel version > 4.9.61. Well if Xenomai/Ipipe is your priority you should probably just write a kernel

Re: [Xenomai] Library cannot be dlopen()ed

2017-12-11 Thread Henning Schild
Am Tue, 28 Nov 2017 23:24:40 + schrieb Giulio Moro : > Again, armv7 BeagleBone Black, Xenomai 3.0.5 > > My main executable uses the posix API, hence ldd tells me : > libcobalt.so.2 => /usr/xenomai/lib/libcobalt.so.2 (0xb6ed3000) > libmodechk.so.0 => /usr/xenomai/lib/libmodechk.so.

Re: [Xenomai] mode switch caused by __lll_lock_wait_private()

2017-12-11 Thread Henning Schild
Am Fri, 8 Dec 2017 13:14:16 + schrieb Andreas Glatz : > Hi > > We're testing our application now by running it continuously over > weeks. I randomly reports the following mode switches in the log: > > 0x2b03a420 0x93980 > > > With the process memory map from /proc//maps: > > ... > 2af6800

Re: [Xenomai] [RFC] Remove support for PowerPC64

2017-12-12 Thread Henning Schild
Am Mon, 11 Dec 2017 19:55:25 +0100 schrieb Philippe Gerum : > PPC64 is a non-trivial port to maintain (mostly regarding the > interrupt pipeline). However, the Xenomai user base for this > architecture has always been very small, not to say marginal. > > As part of the ongoing effort to fit the p

Re: [Xenomai] Cobalt core and Yocto

2017-12-20 Thread Henning Schild
Am Tue, 19 Dec 2017 16:00:02 -0500 schrieb Steve Pavao : > Hi Jan, > > > On Dec 19, 2017, at 2:24 PM, Jan Kiszka > > wrote: > > > > On 2017-12-19 19:49, Steve Pavao wrote: > >> Hi Lowell, > >> > >> Thanks for that tip. That’s what I was thinking I might need to > >> do. > >> > >> I guess t

[Xenomai] Xenomai community meeting 02.02.18

2018-01-09 Thread Henning Schild
Hi, we have already talked about the "elephant in the room" and in that thread we also talked about a face-to-face meeting of current and future maintainers, contributers and users. We have now agreed on a time and place for this meeting, and i want to announce it and invite the whole community t

[Xenomai] Xenomai community meeting 2018, meeting minutes

2018-02-08 Thread Henning Schild
, Henning Schild remote: Greg Gallagher, Dmitriy Cherkasov Ipipe: -- - it was decided that the following arches will not be supported anymore: - blackfin, ppc64, arm32 < v7 - the remaining ones will be maintained by these people - Steven Seeger ppc32 - Dimitri Cherkasov arm64 - Philippe Ge

Re: [Xenomai] Xenomai community meeting 2018, meeting minutes

2018-02-09 Thread Henning Schild
Am Fri, 9 Feb 2018 12:00:28 +0100 schrieb Wolfgang Denk : > Dear Henning, > > In message <20180208145121.7551c...@mmd1pvb1c.ad001.siemens.net> you > wrote: > > > > on 02/02/18 we had an open community meeting in Brussels to discuss > > topics around Xenomai. Both the recent development as well a

[Xenomai] calling xenomai_init multiple times ...

2018-02-09 Thread Henning Schild
Hi, we have been seeing several issues with calling xenomai_init multiple times for the same skin. Once it was a segfault and another time was an issue related to the registry. I want to come up with patches for both cases, but i would like to understand how it is supposed to work. My guess is th

[Xenomai] [PATCH] boilerplate: introduce big lock to serialze dso init calls

2018-02-09 Thread Henning Schild
When using dlopen() to include xenomai libraries into an application, __xenomai_init could be running in multiple threads at a time. That happens if the application dlopens multiple libs in multiple threads. Introduce a big lock to serialize all calls to __xenomai_init. Signed-off-by: Henning

Re: [Xenomai] [PATCH] boilerplate: introduce big lock to serialze dso init calls

2018-02-09 Thread Henning Schild
Am Fri, 9 Feb 2018 17:48:22 +0100 schrieb Jan Kiszka : > On 2018-02-09 17:13, Henning Schild wrote: > > When using dlopen() to include xenomai libraries into an > > application, __xenomai_init could be running in multiple threads at > > a time. That happens if the applica

Re: [Xenomai] [PATCH] boilerplate: introduce big lock to serialze dso init calls

2018-02-09 Thread Henning Schild
Am Fri, 9 Feb 2018 18:23:47 +0100 schrieb "[ext] Henning Schild" : > Am Fri, 9 Feb 2018 17:48:22 +0100 > schrieb Jan Kiszka : > > > On 2018-02-09 17:13, Henning Schild wrote: > > > When using dlopen() to include xenomai libraries into an > > > appl

Re: [Xenomai] Xenomai community meeting 2018, meeting minutes

2018-02-09 Thread Henning Schild
Am Fri, 9 Feb 2018 17:45:43 +0100 schrieb Wolfgang Denk : > Dear Karim, > > In message <71b1c406-6eb5-8c62-36e6-c48341baf...@opersys.com> you > wrote: > > > > >>- usage stats could be extracted from our website, downloads, > > >> mailinglists > > > > > > We have to be very careful

Re: [Xenomai] [PATCH] boilerplate: introduce big lock to serialze dso init calls

2018-02-12 Thread Henning Schild
Am Sat, 10 Feb 2018 11:33:00 +0100 schrieb Philippe Gerum : > On 02/09/2018 06:58 PM, Henning Schild wrote: > > Am Fri, 9 Feb 2018 18:23:47 +0100 > > schrieb "[ext] Henning Schild" : > > > >> Am Fri, 9 Feb 2018 17:48:22 +0100 > >> schrieb Jan K

[Xenomai] [PATCH 3/3] debian: increase debian compat level

2018-02-13 Thread Henning Schild
We currently use level 8 which is marked deprecated in Debian stable, increase the number by one to suppress the following warnings: > dh_*: Compatibility levels before 9 are deprecated (level 8 in use) Signed-off-by: Henning Schild --- debian/compat | 2 +- 1 file changed, 1 insertion(+)

[Xenomai] [PATCH 1/3] debian: drop prebuild docs from packages

2018-02-13 Thread Henning Schild
commit 65e1b75629 dropped the prebuild documentation, as a result the debian package build will fail trying to include it into packages We could actually build the docs to package them, this patch just drops them as well. Signed-off-by: Henning Schild --- debian/control | 22

[Xenomai] [PATCH 2/3] debian: add mssing build dependency

2018-02-13 Thread Henning Schild
igned-off-by: Henning Schild --- debian/control | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 425f00741..3427987e1 100644 --- a/debian/control +++ b/debian/control @@ -2,8 +2,7 @@ Source: xenomai Section: devel Priority: extra Maintai

[Xenomai] [PATCH 0/3] debian/ realted changes

2018-02-13 Thread Henning Schild
The first one actually fixes a regression where debian packages can not be generated anymore. And the remaining two fix minor issues. Henning Schild (3): debian: drop prebuild docs from packages debian: add mssing build dependency debian: increase debian compat level debian/compat

Re: [Xenomai] [PATCH] boilerplate: introduce big lock to serialze dso init calls

2018-02-13 Thread Henning Schild
I am now working on a fix for that issue. That will probably come with a testcase for dlopen, seems that whole code-path is not covered by any testcases. Henning Am Mon, 12 Feb 2018 16:57:34 +0100 schrieb "[ext] Henning Schild" : > Am Sat, 10 Feb 2018 11:33:00 +0100 > schrie

[Xenomai] [PATCH 4/5] smokey/dlopen: introduce a new testcase

2018-02-16 Thread Henning Schild
that again. Signed-off-by: Henning Schild --- configure.ac | 2 + testsuite/smokey/Makefile.am | 4 ++ testsuite/smokey/dlopen/Makefile.am | 63 ++ testsuite/smokey/dlopen/dlopen.c | 44 testsuite/smokey

[Xenomai] [PATCH 1/5] smokey/posix-fork: fix binary path for configure --with-testdir

2018-02-16 Thread Henning Schild
./configure allows to place test binaries in a non-default location. Change the testcase to still find the "smokey" executable. Signed-off-by: Henning Schild --- testsuite/smokey/posix-fork/Makefile.am | 5 +++-- testsuite/smokey/posix-fork/posix-fork.c | 2 +- 2 files changed, 4

[Xenomai] [PATCH 2/5] smokey/posix-fork: actually wait for the process to exit

2018-02-16 Thread Henning Schild
. It prepares for another patch using fork/exec. Signed-off-by: Henning Schild --- testsuite/smokey/posix-fork/posix-fork.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/testsuite/smokey/posix-fork/posix-fork.c b/testsuite/smokey/posix-fork/posix

[Xenomai] [PATCH 5/5] boilerplate/setup: introduce destructors for __setup_call

2018-02-16 Thread Henning Schild
commit added a testcase that fails because of that issue, with this commit the test runs fine. Signed-off-by: Henning Schild --- include/boilerplate/setup.h | 7 +++ lib/boilerplate/setup.c | 6 ++ 2 files changed, 13 insertions(+) diff --git a/include/boilerplate/setup.h b/include

[Xenomai] [PATCH 0/5] dlopen()/dlclose() bugfix with testcase

2018-02-16 Thread Henning Schild
launched from the testcase. And that program is a non-xenomai application which gains xenomai-functionality with dlopen(). The series also contains preparation and fixes along the way (posix-fork). Henning Schild (5): smokey/posix-fork: fix binary path for configure --with-testdir smokey/posix

[Xenomai] [PATCH 3/5] smokey/posix-fork: move fork/exec functionality into libsmokey

2018-02-16 Thread Henning Schild
One of the following patches will use that function as well. Signed-off-by: Henning Schild --- include/smokey/smokey.h | 8 ++ lib/smokey/helpers.c | 31 +++ testsuite/smokey/posix-fork/posix-fork.c | 42

[Xenomai] [PATCH] cobalt/kernel: fix clock_adjtime() compile error

2018-03-02 Thread Henning Schild
Moving the definition out of the ifdef solves the following error: include/xenomai/cobalt/kernel/clock.h:260:16: error: ‘struct ’ has no member named ‘adjust_time’ include/xenomai/cobalt/kernel/clock.h:263:19: error: ‘struct ’ has no member named ‘adjust_time’ Signed-off-by: Henning Schild

Re: [Xenomai] [PATCH] cobalt/kernel: fix clock_adjtime() compile error

2018-03-02 Thread Henning Schild
Applies on top of current "next". Henning Am Fri, 2 Mar 2018 14:22:05 +0100 schrieb Henning Schild : > Moving the definition out of the ifdef solves the following error: > > include/xenomai/cobalt/kernel/clock.h:260:16: error: > ‘struct ’ has no member named ‘adjust_t

  1   2   3   4   >