Re: [Xenomai-help] Kernel configuration suggestions/hints

2011-10-05 Thread Gilles Chanteperdrix
On 10/05/2011 09:48 AM, Julien Delange wrote: > On Tue, Oct 4, 2011 at 12:41 PM, Gilles Chanteperdrix > wrote: >> Another mail in that thread seem to suggest that it could be long. Have >> you tried timing the various parts of your loop to see where the time is >> spent

Re: [Xenomai-help] Kernel configuration suggestions/hints

2011-10-04 Thread Gilles Chanteperdrix
On 10/04/2011 03:51 PM, Julien Delange wrote: > On Tue, Oct 4, 2011 at 9:45 AM, Gilles Chanteperdrix > wrote: >> Your "rate" looks more like a period to me (that is, the reciprocal). > > Yes, exactly. > >> 10.0 * 0.0001 is 10, that is 100us,

Re: [Xenomai-help] SIGILL when calling pthread_cleanup_push()

2011-10-04 Thread Gilles Chanteperdrix
On 10/04/2011 05:14 PM, Michael Bernhard wrote: > Gilles Chanteperdrix xenomai.org> writes: >> >> On 10/03/2011 05:33 PM, Gilles Chanteperdrix wrote: >>> On 10/03/2011 02:26 PM, Gilles Chanteperdrix wrote: >>>> Ok. Thanks for testing xenomai 2.6 by the way.

Re: [Xenomai-help] Kernel configuration suggestions/hints

2011-10-04 Thread Gilles Chanteperdrix
On 10/04/2011 03:06 PM, Julien Delange wrote: > void polling_task(void * arg) > { >int i; >doubletmp; >int ret; >uint8_t raw[128 * 16]; >double rate = 0.0001; Your "rate" looks more like a peri

Re: [Xenomai-help] SIGILL when calling pthread_cleanup_push()

2011-10-04 Thread Gilles Chanteperdrix
On 10/03/2011 05:33 PM, Gilles Chanteperdrix wrote: > On 10/03/2011 02:26 PM, Gilles Chanteperdrix wrote: >> On 10/03/2011 11:35 AM, Michael Bernhard wrote: >>> Hi >>> >>> We are using Xenomai-2.5.6 together with Linux-2.6.35 on a PXA270 >>> process

Re: [Xenomai-help] Kernel configuration suggestions/hints

2011-10-04 Thread Gilles Chanteperdrix
On 10/04/2011 10:42 AM, Julien Delange wrote: > Dear all, > > I am currently building a customized kernel to build a real-time > application. At this time, the requirement is very basic : I have one > periodic task in userland that acquires data from an analogy card > (ni6071e) with a 1ms period/d

Re: [Xenomai-help] Frequency downscaling of new intel CPU

2011-10-04 Thread Gilles Chanteperdrix
On 09/26/2011 09:02 AM, Petr Cervenka wrote: > > Hello. > > I recently tried newer computer and I suprusingly realized that it is bigger > load than the old one with our xenomai application. > The problem is in the frequency downscaling of the processor when the load in > under 100%. > Of cours

Re: [Xenomai-help] SIGILL when calling pthread_cleanup_push()

2011-10-03 Thread Gilles Chanteperdrix
On 10/03/2011 02:26 PM, Gilles Chanteperdrix wrote: > On 10/03/2011 11:35 AM, Michael Bernhard wrote: >> Hi >> >> We are using Xenomai-2.5.6 together with Linux-2.6.35 on a PXA270 >> processor. Xenomai works fine so far. However we get SIGILL when using >> pthr

Re: [Xenomai-help] SIGILL when calling pthread_cleanup_push()

2011-10-03 Thread Gilles Chanteperdrix
On 10/03/2011 11:35 AM, Michael Bernhard wrote: > Hi > > We are using Xenomai-2.5.6 together with Linux-2.6.35 on a PXA270 > processor. Xenomai works fine so far. However we get SIGILL when using > pthread_cleanup_push() in a RT-thread. I now tried the same over > Xenomai-2.6 and the behavior i

Re: [Xenomai-help] Xenomai configure option --enable-arm-tsc in Xenomai-2.6

2011-10-03 Thread Gilles Chanteperdrix
On 10/03/2011 10:34 AM, Michael Bernhard wrote: > On 10/03/2011 10:20 AM, Gilles Chanteperdrix wrote: >> --enable-arm-tsc DOES NOT behave like the old option --enable-arm-arch. >> Hence the rename. > For me, doing the transition form Xenomai-2.5 to 2.6, it was just > confus

Re: [Xenomai-help] Xenomai configure option --enable-arm-tsc in Xenomai-2.6

2011-10-03 Thread Gilles Chanteperdrix
On 10/03/2011 09:37 AM, Michael Bernhard wrote: > Hi > > Currently I'm using Xenomai-2.5.6. Now I need to do some tests on the > most recent repository version. > > Previously I was using the option --enable-arm-tsc in the configuration > step. In Xenomai-2.6 this options seems still to be pres

Re: [Xenomai-help] Xenomai configure option --enable-arm-tsc in Xenomai-2.6

2011-10-03 Thread Gilles Chanteperdrix
On 10/03/2011 09:37 AM, Michael Bernhard wrote: > Hi > > Currently I'm using Xenomai-2.5.6. Now I need to do some tests on the > most recent repository version. > > Previously I was using the option --enable-arm-tsc in the configuration > step. In Xenomai-2.6 this options seems still to be pres

[Xenomai-help] Xenomai 2.6.0-rc4

2011-09-28 Thread Gilles Chanteperdrix
Hi, here is the 4th release candidate for Xenomai 2.6.0: http://download.gna.org/xenomai/testing/xenomai-2.6.0-rc4.tar.bz2 Novelties since -rc3 include: - a fix for the "long names" issue on psos+ - a fix for the build issue of mscan on mpc52xx (please Wolfgang, have a look at the patch, to se

Re: [Xenomai-help] Command code working with comedi not working with analogy

2011-09-27 Thread Gilles Chanteperdrix
On 09/27/2011 08:55 PM, Fernando Herrero Carrón wrote: > Hi all, > > This is my first post to the list. I have been playing around with > RTAI+Comedi for a while and wanted to give Xenomai+Analogy a chance. I am > running a linux 2.6.32.20 kernel on an AMD Phenom(tm) II X4 965, with > Xenomai 2.5.

Re: [Xenomai-help] PSOS skin: mismatch in function signatures cause buffer overflow

2011-09-26 Thread Gilles Chanteperdrix
On 09/19/2011 10:45 AM, Thomas De Schampheleire wrote: > Hi, > > On Mon, Sep 19, 2011 at 9:42 AM, Ronny Meeus wrote: >> On Mon, Sep 19, 2011 at 9:25 AM, wrote: From: xenomai-help-boun...@gna.org [mailto:xenomai-help-boun...@gna.org] On Behalf Of Philippe Gerum Sent: Sunday, Septe

Re: [Xenomai-help] timestamping of events in a xenomai task?

2011-09-26 Thread Gilles Chanteperdrix
On 09/26/2011 11:13 AM, Jens Köhler wrote: > Hello, > > I have a computer where time is synchronized by ntp. In a xenomai task I > like to time stamp external events. What is best way to read linux system > time in a Xenomai task? > > Does function *int ftime(struct timeb ***tp**);* works? ftime

Re: [Xenomai-help] Xenomai-forge: SEGFAULT is pSOS skin

2011-09-23 Thread Gilles Chanteperdrix
On 09/23/2011 07:05 PM, Ronny Meeus wrote: > On Fri, Sep 23, 2011 at 3:56 PM, Gilles Chanteperdrix > wrote: >> On 09/22/2011 10:15 PM, Ronny Meeus wrote: >>> Hello >>> >>> I have created some time ago a test application for the PSOS interface >>>

Re: [Xenomai-help] [Xenomai-core] Xenomai 2.6.0-rc3

2011-09-23 Thread Gilles Chanteperdrix
On 09/23/2011 06:09 PM, Julien Delange wrote: > On Mon, Sep 19, 2011 at 2:03 AM, Gilles Chanteperdrix > wrote: >> [snip] > > Dear Gilles, > > The problem also is that the linux kernel servers (and all mirrors) > seem down so that the vanilla kernel is difficult to g

Re: [Xenomai-help] Xenomai-forge: SEGFAULT is pSOS skin

2011-09-23 Thread Gilles Chanteperdrix
On 09/22/2011 10:15 PM, Ronny Meeus wrote: > Hello > > I have created some time ago a test application for the PSOS interface > of Xenomai. If you agree, I would like to integrate this test in xenomai-head regression testsuite. -- Gilles. ___

Re: [Xenomai-help] Not possible to clone xenomai-force over http.

2011-09-22 Thread Gilles Chanteperdrix
On 09/22/2011 12:25 PM, Ronny Meeus wrote: > Hello > > I try to clone the xenomai-force repository over http since I'm behind > a firewall and observe following error: > > meeusr@meeusr-laptop:~/repo$ git clone > http://git.xenomai.org/xenomai-forge.git > Initialized empty Git repository in /hom

Re: [Xenomai-help] installing xenomai on pandaboard

2011-09-20 Thread Gilles Chanteperdrix
On 09/20/2011 07:26 PM, Robert wrote: > Can someone help me installing xenomai on panda? > > What should I do, to install xenomai on ubuntu host? > Download kernel from kernel.org and patch it with xenomai and adeos-patch, or > download kernel from git repository, or download ubuntu image-omap4 v

Re: [Xenomai-help] Can a network freeze caused by Xenomai ?

2011-09-19 Thread Gilles Chanteperdrix
On 09/19/2011 09:49 AM, VEYSSIERE Nicolas wrote: > Hello, > > I would like to know if it is possible that a network freeze been > caused by the use of Xenomai ? > > Here is my problem : we have 4 HP DL 360 G6 server. All are installed > with the last update of Redhat Entreprise Linux 5.6. > > Al

[Xenomai-help] Xenomai 2.6.0-rc3

2011-09-18 Thread Gilles Chanteperdrix
Hi, here comes xenomai v2.6.0-rc3: http://download.gna.org/xenomai/testing/xenomai-2.6.0-rc3.tar.bz2 New since -rc2: - fix of vxworks services taskDelete and taskDeleteForce; - SCHED_FIFO threads switching to SCHED_OTHER while holding a mutex are sent a SIGDEBUG signal when releasing the mutex;

Re: [Xenomai-help] multicore: reserving core(s) for Xenomai

2011-09-14 Thread Gilles Chanteperdrix
On 09/14/2011 05:00 PM, Jeff Weber wrote: > On Wed, Sep 14, 2011 at 8:13 AM, Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> wrote: > >> On 09/14/2011 02:18 PM, Henri Roosen wrote: >> [snip] >>> >>> What I would like to do is to run the Xe

Re: [Xenomai-help] multicore: reserving core(s) for Xenomai

2011-09-14 Thread Gilles Chanteperdrix
On 09/14/2011 02:18 PM, Henri Roosen wrote: > We'll start experiments running our Xenomai application on a > multi-core CPU (x86/ARM). I'm sure there are some Xenomai users who > already have experience with it. > > What I would like to do is to run the Xenomai realtime threads on one > core of th

[Xenomai-help] Xenomai 2.6.0-rc2

2011-09-11 Thread Gilles Chanteperdrix
Hi, here comes xenomai v2.6.0-rc2: http://download.gna.org/xenomai/testing/xenomai-2.6.0-rc2.tar.bz2 New since -rc1 are: - the latest upgrades of analogy, including support for NI 660x and NI 670x - build and run-time fixes for powerpc Known remaining issues: - mscan driver not building on mpc5

Re: [Xenomai-help] Linux scheduling question

2011-09-09 Thread Gilles Chanteperdrix
On 09/09/2011 09:08 PM, Jeremy Friesner wrote: > Hi all, > > In the bad old days, when I was running my software on a 233MHz > PowerPC computer with (non-Xenomai) Linux, I could instantly hang the > machine using the following code: > > struct sched_param schedparam; memset(&schedparam, 0, > size

Re: [Xenomai-help] PWM generation with GPIO

2011-09-09 Thread Gilles Chanteperdrix
On 09/09/2011 05:33 AM, Bob Feretich wrote: > The advantage of using a hardware PWM timer (like OMAP3 GPTimer8-11) is > that there is no interrupt load on the system. > (The PWM signals are completely generated by the hardware.) And you get no jitter. --

Re: [Xenomai-help] PWM generation with GPIO

2011-09-08 Thread Gilles Chanteperdrix
On 09/08/2011 11:30 AM, Andrey Nechypurenko wrote: >> If I understand correctly, the difference is that Bob proposes you to >> dedicate a hardware timer to the PWM, whereas I propose you to use the >> software timers, which ultimately, also depend on a dmtimer. I would not >> expect big differences

Re: [Xenomai-help] PWM generation with GPIO

2011-09-08 Thread Gilles Chanteperdrix
On 09/08/2011 10:21 AM, Andrey Nechypurenko wrote: >> So I wrote >> a RTDM driver to use the three that were pinned out, and used real time >> limit and overflow interrupts to to wiggle a GPIO for the fourth PWM output. > > It seams to me that you are using different implementation approach > the

Re: [Xenomai-help] PWM generation with GPIO

2011-09-06 Thread Gilles Chanteperdrix
On 09/05/2011 10:14 PM, Andrey Nechypurenko wrote: >> The best way to know if what you observe is due to the natural jitter or >> to some other issue is to measure the jitter at the point where you >> think it is. > > Since the generation loop is so simple I was assuming (maybe too > naive) that t

Re: [Xenomai-help] PWM generation with GPIO

2011-09-05 Thread Gilles Chanteperdrix
On 09/05/2011 09:53 PM, Andrey Nechypurenko wrote: > Hi Folks, > > Recently I was trying to control standard servo motor with PWMs. The > system is 600MHz BeagleBoard xM (ARM) running Linux kernel version > 2.6.35.9 with Xenomai version 2.5.6. > > Pulses needs to be generated with 20milliseconds

Re: [Xenomai-help] Xenomai 2.6.0-rc1

2011-09-05 Thread Gilles Chanteperdrix
On 09/05/2011 07:14 PM, Henri Roosen wrote: > Hi Gilles, > > Unfortunately I didn't find the time to test this release yet. I'm > just wondering if there is a fix for this problem in the 2.6.0 > release: https://mail.gna.org/public/xenomai-core/2011-05/msg00028.html This one is fixed, a bit diffe

Re: [Xenomai-help] xenomai and iMX28 freescale processor

2011-09-04 Thread Gilles Chanteperdrix
On 09/04/2011 10:42 PM, Said Syakin wrote: > Dear all, > > > I want to know if xenomai has any support for iMX28 freescale > processor? If not - what should I do to add it? > > I try to compile the xenomai-patched kernel 2.6.35.3 with > xenomai-2.5.6 and adeos-ipipe-2.6.35.9-arm-1.18-03.patch fr

[Xenomai-help] Xenomai 2.6.0-rc1

2011-09-04 Thread Gilles Chanteperdrix
Hi, The first release candidate for the 2.6.0 version may be downloaded here: http://download.gna.org/xenomai/testing/xenomai-2.6.0-rc1.tar.bz2 This version fixes a few issues in the 2.5.x branch which required breaking the ABI: - user-space heap mapping; - user-space access to thread mode; - g

Re: [Xenomai-help] Build issue Linux kernel 2.6.38.8 - Xenomai 2.5.6

2011-09-04 Thread Gilles Chanteperdrix
On 09/04/2011 09:05 PM, Jeroen Van den Keybus wrote: > Variant 2 (reason: kernel seems to be built with -O2 -fomit-frame-pointer > (unsure where to verify though), but no effect): > - ./configure --enable-x86-sep --enable-smp CFLAGS="-m32 -O2 > -fomit-frame-pointer" LDFLAGS="-m32" > > Since kernel

Re: [Xenomai-help] taskDelete(tid) on VxWorks Skin ?

2011-09-02 Thread Gilles Chanteperdrix
On 09/02/2011 10:00 AM, Philippe Gerum wrote: > On Fri, 2011-09-02 at 09:29 +0200, Sambasiva Rao Manchili wrote: >> Thank you Philippe for your time. >> Right now I did a workaround with a flag after deleting a task and checking >> this flag before doing any operation by task that was deleted. It

Re: [Xenomai-help] taskDelete(tid) on VxWorks Skin ?

2011-09-01 Thread Gilles Chanteperdrix
On 09/01/2011 04:51 PM, Sambasiva Rao Manchili wrote: > Hi, > The reason that I have not given this piece of code was because it is not > written by me oflate but was code that exists since several years which is > running on VxWorks on different versions. > I just ported this with very very

Re: [Xenomai-help] taskDelete(tid) on VxWorks Skin ?

2011-09-01 Thread Gilles Chanteperdrix
On 09/01/2011 02:01 PM, Sambasiva Rao Manchili wrote: > Hi, > > Version info is as follows > Linux eup1 2.6.37.6_xenomai-2.5.6 #2 PREEMPT Mon Jul 18 21:08:17 CEST 2011 > i686 i686 i386 GNU/Linux > > Kernel Configuraiton attached. > > Actually the task that was deleted was "do_forth" task(runni

Re: [Xenomai-help] taskDelete(tid) on VxWorks Skin ?

2011-09-01 Thread Gilles Chanteperdrix
On 09/01/2011 12:32 PM, Sambasiva Rao Manchili wrote: > If you need more information that I missed, please let me know. See: http://www.xenomai.org/index.php/Request_for_information -- Gilles. __

Re: [Xenomai-help] Fwd: dynamic loader latencies

2011-08-29 Thread Gilles Chanteperdrix
On 08/29/2011 03:26 PM, Jeff Weber wrote: > Bumping this post again in hopes of eliciting comments ... > > Jeff > > -- Forwarded message -- > From: Jeff Weber > Date: Fri, Aug 26, 2011 at 11:34 AM > Subject: dynamic loader latencies > To: Xenomai Help > > > The Linux ELF dynam

Re: [Xenomai-help] how to use rt_io_get_region function on AT91SAM9263 in user space

2011-08-29 Thread Gilles Chanteperdrix
On 08/29/2011 02:09 PM, yi zheng wrote: >> Hi,all I want to write a Xenomai application running in user space that >> can access the GPIO pins of my AT91SAM9263 ARM. To get the memory region I found the function rt_misc_get_io_region(). Unfortunately there is n

Re: [Xenomai-help] how to use rt_io_get_region function on AT91SAM9263 in user space

2011-08-29 Thread Gilles Chanteperdrix
On 08/29/2011 09:43 AM, yi zheng wrote: >Hi,all > I want to write a Xenomai application running in user space that can > access the > GPIO pins of my AT91SAM9263 ARM. To get the memory > region I found the function rt_misc_get_io_region(). Unfortunately > there is no discription of this fu

Re: [Xenomai-help] milli-second overruns under heavy load on x86, running Xenomai 2.5.6

2011-08-29 Thread Gilles Chanteperdrix
On 08/26/2011 11:49 PM, George Broz wrote: >> Gilles Chanteperdrix wrote on > 08/26/2011 02:18:05 PM: >> On 08/26/2011 10:42 PM, George Broz wrote: >>> Hello, >>> >>> I'm experiencing very large overruns in the neighborhood of 10 to 50 >>>

Re: [Xenomai-help] CPU frequency of 0 in a Vmware with Xenomai

2011-08-28 Thread Gilles Chanteperdrix
On 08/28/2011 05:00 PM, Willy Lambert wrote: > 2011/8/28 Gilles Chanteperdrix > >> On 08/28/2011 12:28 PM, Willy Lambert wrote: >>> Hi all, >>> >>> I am trying to make xenomai running into a Debian Squeeze 32b with a >> custom >>> 2.6.38.

Re: [Xenomai-help] CPU frequency of 0 in a Vmware with Xenomai

2011-08-28 Thread Gilles Chanteperdrix
On 08/28/2011 12:28 PM, Willy Lambert wrote: > Hi all, > > I am trying to make xenomai running into a Debian Squeeze 32b with a custom > 2.6.38.8 kernel with xenomai among other things. I am running this into a > Vmware for testing this before going on my real target. > > I have a "CPU frequency

Re: [Xenomai-help] milli-second overruns under heavy load on x86, running Xenomai 2.5.6

2011-08-26 Thread Gilles Chanteperdrix
On 08/26/2011 10:42 PM, George Broz wrote: > Hello, > > I'm experiencing very large overruns in the neighborhood of 10 to 50 > *milli-seconds* as reported by the Xenomai latency tool in user-task mode > whenever the Linux OS is heavily loaded. Under lighter loads these are in > the 30 to 70 mic

Re: [Xenomai-help] Xenomai 2.5.3 process doubles its memory footprint when spawning a subprocess?

2011-08-26 Thread Gilles Chanteperdrix
On 08/26/2011 10:54 PM, Jeremy Friesner wrote: > I suspect that is has something to do with mlockall() and/or some > other aspect of Xenomai partially or fully defeating the fork() > call's Copy-On-Write feature, meaning that when the sub-process is > spawned, most or all of the RAM pages allocated

Re: [Xenomai-help] Hanging

2011-08-25 Thread Gilles Chanteperdrix
On 08/25/2011 11:25 AM, suresh reddy wrote: > Dear Giles, It is Gilles. > > 1. taking timing results using rt_timer-tsc on pandaboard for a test program > using xenomai native services. > > 2. taking timing results using gettimeofday on pandaboard for same test > program using linuxthreads. >

Re: [Xenomai-help] Hanging

2011-08-24 Thread Gilles Chanteperdrix
On 08/24/2011 04:12 PM, suresh reddy wrote: > Thank you Giles. > > yes .The rt_printf is single-writer/ single -reader. No, each thread has a buffer. But the point is that the thread which empties the buffers and prints them run in secondary mode, so, it will not run if there is always a real-tim

Re: [Xenomai-help] Hanging

2011-08-24 Thread Gilles Chanteperdrix
On 08/24/2011 02:35 PM, suresh reddy wrote: > Dear Giles, > > Please find the attached file of used code . Iam sure that iam not leaving > primary mode but iam using rt_printf(" xenomai") in a for loop to print for > some 1000 times. So, please take the time to understand how rt_printf work, and

Re: [Xenomai-help] Hanging

2011-08-24 Thread Gilles Chanteperdrix
On 08/24/2011 12:51 PM, suresh reddy wrote: > Dear all, > > Iam trying to communicate two process using message . In one process i > called a dummy function (doing nothing except printing something for 2000 > times) . > > Iam trying to calculate the time elapsed for this process to process > comm

Re: [Xenomai-help] Fwd: building xenomai for AT91SAM9263

2011-08-22 Thread Gilles Chanteperdrix
On 08/22/2011 02:09 PM, yi zheng wrote: >> >> > > >> Hi,all >> i am a newer to xenomai.Now i want to build xenomai for my > target >> platform with AT91SAM9263 ARM and linux kernel vision 2.6.25.I use >> arm-linux-gcc 3.4.1 for compiler, >>

Re: [Xenomai-help] Fwd: building xenomai for AT91SAM9263

2011-08-22 Thread Gilles Chanteperdrix
On 08/22/2011 10:55 AM, yi zheng wrote: >> >> >>> Hi,all >>> i am a newer to xenomai.Now i want to build xenomai for my >> target >>> platform with AT91SAM9263 ARM and linux kernel vision 2.6.25.I use >>> arm-linux-gcc 3.4.1 for compiler, >>> is it suitable for build >

Re: [Xenomai-help] xenomai 2.5.6 cyclictest

2011-08-21 Thread Gilles Chanteperdrix
On 08/21/2011 01:05 PM, rainbow wrote: > hi,all,when I use cycltctest which is provided by xenomai 2.5.6, I find that > there is no histogram option. If I want to use cyclictest -h, what method > should I do beside modify cyclictest.c? thanks! Use the latency test instead, it has an histogram opti

Re: [Xenomai-help] Fwd: building xenomai for AT91SAM9263

2011-08-20 Thread Gilles Chanteperdrix
On 08/20/2011 04:20 AM, yi zheng wrote: >> Hi,all i am a newer to xenomai.Now i want to build xenomai for my target platform with AT91SAM9263 ARM and linux kernel vision 2.6.25.I use arm-linux-gcc 3.4.1 for compiler, is it suitable for build xenomai?which xenomai

Re: [Xenomai-help] building xenomai for AT91SAM9263

2011-08-19 Thread Gilles Chanteperdrix
On 08/19/2011 07:29 AM, yi zheng wrote: > Hi,all > i am a newer to xenomai.Now i want to build xenomai for my target > platform with AT91SAM9263 ARM and linux kernel vision 2.6.25.I use > arm-linux-gcc 3.4.1 for compiler, > is it suitable for build > xenomai?which xenomai vision is better for

Re: [Xenomai-help] depracated use case of xeno-config, how to update ?

2011-08-12 Thread Gilles Chanteperdrix
Willy Lambert wrote: > Now, as xeno-config depracated messages suggest I should not use " > $XENO_CONFIG --xeno-ldflags" but "$XENO_CONFIG --skin=native --ldflags" > without adding -lnative. > My problem is that I have both -lnative and -lrtdm so I wonder why skin is > only accepting one at a time

Re: [Xenomai-help] clock problem

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 11:18 PM, Philip Ha wrote: >> Could you try measuring the jitter in cpu cycles with rdtscll, in >> kernel-space? If the inaccuracy persists, check that cpufreq is not >> enabled, and that if running on a multicore system, tscs are >> synchronized. Apart from that no, no idea. >> >> --

Re: [Xenomai-help] Trouble with rtdm timers and events

2011-08-11 Thread Gilles Chanteperdrix
ERIMENTAL, device_sub_class: 0, profile_version: 1, driver_name: "xeno_switchtest", driver_version: RTDM_DRIVER_VER(0, 1, 1), peripheral_name: "Context Switch Test", provider_name: "Gilles Chanteperdrix",

Re: [Xenomai-help] Trouble with rtdm timers and events

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 07:56 PM, Carlos Eduardo de Brito Novaes wrote: > Hello again, > > I did what you said, changed the open/close to non real time, removed every > portion of code that is not related with the fault (the read_rt is still > there > since is where the problem arrises and also another i

Re: [Xenomai-help] Trouble with rtdm timers and events

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 04:31 PM, Carlos Eduardo de Brito Novaes wrote: > Here it comes. > I found out that if wait is called inside an IOCTL, there is no hangs at all, > everything work as expected, except from te fact that it seens a litle bit > strange (to me) to use ioctl to read or write, I would expe

Re: [Xenomai-help] rt_queue_bind() returns -EACCES

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 11:10 AM, Philippe Gerum wrote: > On Thu, 2011-08-11 at 10:33 +0200, Petr Cervenka wrote: >> Hello. >> >> I created a simple examples which describe my problem. >> It is some kind of server and client. >> At first run a qserver and then qclient. >> After that close the qserver and try

Re: [Xenomai-help] Trouble with rtdm timers and events

2011-08-11 Thread Gilles Chanteperdrix
On 08/10/2011 11:10 PM, Carlos Eduardo de Brito Novaes wrote: > Hello again. > I traced the errors down and now dicovered that calling printf (as it would > be) turns a real time task in a non real time one. so I chaged the code and > it > is almost working as expected, except for something that

Re: [Xenomai-help] clock problem

2011-08-10 Thread Gilles Chanteperdrix
On 08/10/2011 05:18 PM, Philip Ha wrote: > >> The question remains: are you sure the UART does not introduce the >> delay, have you checked the datasheet? >> > Hi Gilles, > > I apologize for the delay in responding the last message. > > I measured the latency of the UART by pulsing the DTR pin o

Re: [Xenomai-help] clock problem

2011-08-08 Thread Gilles Chanteperdrix
On 08/08/2011 06:44 PM, Philip Ha wrote: >> Hi Gilles, >> >> Sorry for the formatting, I am new to mailing lists. >> >> I have looked at the latency in the 16550A driver. The first thing >> the driver does in its ISR is to call rtdm_clock_read and store the >> resulting timestamp in a "struct rts

Re: [Xenomai-help] Regarding timer services.

2011-08-08 Thread Gilles Chanteperdrix
On 08/08/2011 02:55 PM, suresh reddy wrote: > Dear all, > > Iam using native skin of xenomai . Iam trying to test some of the services > of xenomai native skin with my Hardware (pandaboard). > > i have two threads namely t1 and t2 . > > 1. t1 sends a message to t2 using messeage que > > 2. t2 r

Re: [Xenomai-help] Using plain old POSIX shm_open with real time threads

2011-08-05 Thread Gilles Chanteperdrix
On 08/05/2011 03:30 PM, Richard Cochran wrote: > Dear xenomai people, > > I would like to have a shared ram fifo between a normal Linux program > and a xenomai program that uses the POSIX skin. Can I simply use > __raw_shm_open and __raw_mmap in the xenomai thread, or would there be > some penalty

Re: [Xenomai-help] clock problem

2011-08-05 Thread Gilles Chanteperdrix
On 08/04/2011 09:27 PM, Philip Ha wrote: >> Would it be possible for you to send mails formatted correctly? >> >> Then the bug is somewhere in between the serial line and the test >> application, including possibly in the driver. >> >> In order to know where it is, you should compute the latency at

Re: [Xenomai-help] clock problem

2011-08-04 Thread Gilles Chanteperdrix
Would it be possible for you to send mails formatted correctly? Then the bug is somewhere in between the serial line and the test application, including possibly in the driver. In order to know where it is, you should compute the latency at each point on this path: when receiving the interrupt,

Re: [Xenomai-help] clock problem

2011-08-04 Thread Gilles Chanteperdrix
Please run the latency test under the same load as your test and during the same time, and see the latencies it gives you. -- Gilles. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/li

Re: [Xenomai-help] Xenomai VxWorks Skin--->semTake

2011-08-03 Thread Gilles Chanteperdrix
On 08/03/2011 04:24 PM, Sambasiva Rao Manchili wrote: > You want printErrno instead of strerror. > >>> Samba: In the beginning days of our code porting from VxWorks to >>> Linux, Xenomai failed to create message Queue that was working >>> on VxWorks. When xenomai failed to create message queue i

Re: [Xenomai-help] Xenomai VxWorks Skin--->semTake

2011-08-03 Thread Gilles Chanteperdrix
On 08/03/2011 03:31 PM, Sambasiva Rao Manchili wrote: > Hi Gilles, > I had seen the code in src\skins\vxworks\semLib.c it returns ERROR which is > -1. > > The value that I sent earlier is the value that I got out of the following > statement. > serrLog( serrErr, > "resu_getonline_1

Re: [Xenomai-help] Xenomai VxWorks Skin--->semTake

2011-08-03 Thread Gilles Chanteperdrix
On 08/03/2011 02:44 PM, Sambasiva Rao Manchili wrote: > Hi Philppe, > Failed and return with error code is and > continues. I do not know the granularity of time here, if it is returning > immediately or not. > We have about 15 tasks spawned in this whole system. Done very very minimal > chan

Re: [Xenomai-help] Use of a4l_dtoraw

2011-08-03 Thread Gilles Chanteperdrix
On 08/02/2011 10:29 AM, Gilles Chanteperdrix wrote: > On 08/02/2011 10:09 AM, julien.dela...@esa.int wrote: >> Alexis Berlemont wrote on 01/08/2011 >> 23:47:39: >>> Do not hesitate to tell me that it is not clear enough. Furthermore, I >>> welcome an

Re: [Xenomai-help] latency: failed to set periodic, code -110

2011-08-03 Thread Gilles Chanteperdrix
On 08/03/2011 06:09 AM, ke zhou wrote: > hello ,everyone! > I`m trying to patch the 2.6.25 kernel with Adeos Ipipe.And the xenomai > version is xenomai-2.4.4.tar.gz. > But when I execute " ./latency -t0 -T60 -p100 -h " on the s3c2440 board,there > are some errors : > == Sampling period: 100 us >

Re: [Xenomai-help] Use of a4l_dtoraw

2011-08-02 Thread Gilles Chanteperdrix
On 08/02/2011 02:16 PM, julien.dela...@esa.int wrote: > Dear all, > > Unfortunately, I cannot use git since I have strong firewall policy on my > connection. So, I think the best would be to send patch, no ? As you wish, but you can also clone the repository over http. Cloning for instance: htt

Re: [Xenomai-help] Use of a4l_dtoraw

2011-08-02 Thread Gilles Chanteperdrix
On 08/02/2011 10:09 AM, julien.dela...@esa.int wrote: > Alexis Berlemont wrote on 01/08/2011 > 23:47:39: >> Do not hesitate to tell me that it is not clear enough. Furthermore, I >> welcome any enrichment of the documentation :) > > Dear Alexis, > > I would be glad to propose patch and contribu

Re: [Xenomai-help] clock problem

2011-07-31 Thread Gilles Chanteperdrix
On 07/28/2011 07:21 PM, Philip Ha wrote: > > Hi Gilles, > > The following is some part of the code. It is receiving data at a period of > 1 second intervals. The variable "lat" prints similar latency values for > the current session, even though I stop the program and start again several > times.

Re: [Xenomai-help] clock problem

2011-07-28 Thread Gilles Chanteperdrix
On 07/28/2011 12:20 AM, Philip Ha wrote: > > Hi Gilles, > > Thank you for your reply. > > My program is compiling with the posix skin. I posted the follow-up message > on > 20 July. I hope this may make it clearer. No. Could you post a piece of code which would demonstrate the issue? --

Re: [Xenomai-help] Xenomai 2.5.6 and 2.6.38.8 kernel

2011-07-27 Thread Gilles Chanteperdrix
On 07/26/2011 07:23 PM, Pedro Santana wrote: > My Kernel config file has the NMI watchdog option disabled > > Real-time sub-system->Machine->NMI Watchdog->Enable NMI watchdog (unmarked), > > but I'm getting the same error during compilation. What should I do in order > to > fix this? The mail

Re: [Xenomai-help] clock problem

2011-07-27 Thread Gilles Chanteperdrix
On 07/19/2011 04:24 PM, Philip Ha wrote: > Dear all, > > I am running a serial port test in xenomai (xenomai-2.5.5.2) using 16550A > driver. > In my program, I am calling > > rt_dev_ioctl(dev_id, RTSER_RTIOC_WAIT_EVENT, & rx_event); > > when an event happens, I use clock_gettime(CLOCK_MONOTONIC

Re: [Xenomai-help] Stack size of created task

2011-07-13 Thread Gilles Chanteperdrix
On 07/13/2011 03:13 PM, Jakub Nowacki wrote: > As I understand it is related > to the amounts of memory being used by a task, which is put on the stack > during task switching, am I right? Not really. When a function starts, it reserves some room on stack, mainly for local variables that can not

Re: [Xenomai-help] Stack size of created task

2011-07-13 Thread Gilles Chanteperdrix
On 07/13/2011 01:37 PM, Jakub Nowacki wrote: > Hi, > > I had a slight problem with freezing tasks in RTXI using Xenomai. > Namely, task was working normally for some time and then froze, but just > RTXI/task not the whole system. I've found that it was caused by the > stack size of a task set t

Re: [Xenomai-help] Compiling Library files over Xenomai

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 01:10 PM, Ashish Budhiraja wrote: > Hello Again, > > Thanks a lot. I figured out, actually somehow "inline" declaration were not > allowed and the library is really complex, > so I couldn't change it. The solution was to change it to static. inline declarations are allowed in C, sim

Re: [Xenomai-help] Fwd: Regarding xeno test (somethign died at 3150)

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 11:24 AM, suresh reddy wrote: > Dear Giles, > > /usr/bin/latency results in command not found. > > ubuntu@omap:/usr/xenomai/bin$ sudo ./clocktest > [sudo] password for ubuntu: > Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled. > (modprobe xeno_nucleus?) > ubuntu@omap:/usr/xenomai/bin

Re: [Xenomai-help] Compiling Library files over Xenomai

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 10:04 AM, Ashish Budhiraja wrote: > spi.o: In function `read_sb_regb': > spi.c:(.text+0x0): multiple definition of `read_sb_regb' See C language FAQ 1.7: http://www.faqs.org/faqs/C-faq/faq/ -- Gilles.

Re: [Xenomai-help] Regarding xeno test (somethign died at 3150)

2011-07-11 Thread Gilles Chanteperdrix
On 07/11/2011 08:59 PM, suresh reddy wrote: > Dear Giles, > > i have another doubt regarding configuration of kernel. > > as far as i see you did not configure any pandaboard display options . i > mean hdmi kind of optins . so we can acces only through console?? Configuring the kernel for your p

Re: [Xenomai-help] Regarding xeno test (somethign died at 3150)

2011-07-11 Thread Gilles Chanteperdrix
On 07/11/2011 06:06 PM, suresh reddy wrote: > Dear Xenomai Team, > > I run the xeno-test on pandaboard and it giving me the mentioned error. Please do not run xeno-test. Run the "latency" test directly instead, typing: /usr/bin/latency And run some load in the background using a combination of

Re: [Xenomai-help] Problem with periodic posix thread

2011-07-11 Thread Gilles Chanteperdrix
On 07/11/2011 03:27 PM, Kim Mathiassen wrote: > Hi > > I have som problems creating a periodic posix thread. When I call > pthread_make_periodic_np it returns 3 (ESRCH). I have created the > following test: Do you obtain the compilation flags as explained here? http://www.xenomai.org/index.php

Re: [Xenomai-help] 32 bits libraries for x86_64 architecture

2011-07-11 Thread Gilles Chanteperdrix
On 07/11/2011 02:55 PM, Kim Mathiassen wrote: > On 07/11/2011 01:19 PM, Gilles Chanteperdrix wrote: >> So, currently, it seems easier to use either a complete 64 bits or to a >> complete 32 bits system, not a mix of both. >> > Thanks for the reply. I have been implementing

Re: [Xenomai-help] Problems with gdb and rt_task_delete

2011-07-11 Thread Gilles Chanteperdrix
On 07/11/2011 01:48 PM, Adrien LEMAITRE wrote: > 2011/7/11 Gilles Chanteperdrix > >> On 07/11/2011 11:50 AM, Adrien LEMAITRE wrote: >>> Hello, >>> >>> I have two problems. Just before explain my problems i would like to >> clarify >>> the c

Re: [Xenomai-help] Advice on clock sources for xenomai rtdm driver

2011-07-11 Thread Gilles Chanteperdrix
On 07/10/2011 11:41 PM, Carlos Eduardo de Brito Novaes wrote: > Hello all. > > I woud like to ask you some opinion about timers. > I am slowly working on a real time driver for a acquisition board. It can be > configured for read up to 32 anaalog channels and has a internal timer that > wil > s

Re: [Xenomai-help] Compiling Library files over Xenomai

2011-07-11 Thread Gilles Chanteperdrix
On 07/08/2011 02:10 PM, Ashish Budhiraja wrote: > Hello Everyone, > > I am using Roboard (RB-100) on which I have Xenomai installed. All the > example files are working fine and > I have internet through wifi and lan both. > > > Roboard comes with normal C & C++&header files in a folder called >

Re: [Xenomai-help] Newbee questions - concerning the native API

2011-07-11 Thread Gilles Chanteperdrix
On 07/07/2011 04:11 PM, Tony Vinto wrote: > > Hi, > > I apologize if I am asking questions that have been handled many > times before but at mu skill level searching the list of archives and > for a similar topic seems overly daunting to me. ( Is there an > application that can globally search t

Re: [Xenomai-help] 32 bits libraries for x86_64 architecture

2011-07-11 Thread Gilles Chanteperdrix
On 07/07/2011 11:40 AM, Kim Mathiassen wrote: > Hi > > I am doing a project where I am going to use Labview for linux. > Unfortunately Labview only have a 32-bit version and I have a 64 bit > system. I want to use Xenomai with Labview for DAQ, and therefor I need > 32 bits libraries that Labvie

Re: [Xenomai-help] Xenomai 2.5.3 vs gettimeofday() --> livelock?

2011-07-11 Thread Gilles Chanteperdrix
On 07/07/2011 10:01 AM, Uwe Fechner wrote: > Hi, > > where can I find the documentation of the rtdk library? > I googled it, but only found people talking about it, but no api > documentation. I do not think it has a documentation, but the code is relatively short. The essential part of the API

Re: [Xenomai-help] Problems with gdb and rt_task_delete

2011-07-11 Thread Gilles Chanteperdrix
On 07/11/2011 11:50 AM, Adrien LEMAITRE wrote: > Hello, > > I have two problems. Just before explain my problems i would like to clarify > the context. This exercice is for student. In this exercice, they program a > WorkingTask (infini loop) That is the problem, there should not busy inifinite l

Re: [Xenomai-help] Install xenomai with vxWorks Skin on Ubuntu 11.04

2011-07-08 Thread Gilles Chanteperdrix
On 07/08/2011 05:30 PM, Binh An Tran wrote: > i am new to Xenomai so please forgive me if my question is silly > > i have installed xenomai 2.4.8 in my ubuntu 11.04 with the command > > apt-get install libxenomai-dev > > Now i want test a simple vxWorks program, but when i compile my progra

Re: [Xenomai-help] Anti-memory-fragmentation tricks for my Xenomai process?

2011-07-08 Thread Gilles Chanteperdrix
On 07/08/2011 07:48 AM, Jeremy Friesner wrote: > This all works well, but there is one minor issue where I'd like to > improve things: after running for a while, the allocation and > deallocation of 128kB buffers, interspersed with smaller > allocations/deallocations, causes fragmentation in the p

<    1   2   3   4   5   6   7   8   9   10   >