Re: [Xenomai-help] Xenomai test progs segfault

2011-11-10 Thread Gilles Chanteperdrix
On 11/10/2011 09:09 PM, Terry Fryar wrote: 2.6.0 worked fine with 2.6.38, although I did get this: [4.900113] WARNING: at kernel/lockdep.c:2321 omap3_pm_idle+0x78/0x84() [4.907076] Modules linked in: [4.910532] [c00572ac] (unwind_backtrace+0x0/0xe0) from [c0081164]

Re: [Xenomai-help] Xenomai test progs segfault

2011-11-10 Thread Gilles Chanteperdrix
On 11/10/2011 09:12 PM, Gilles Chanteperdrix wrote: On 11/10/2011 09:09 PM, Terry Fryar wrote: 2.6.0 worked fine with 2.6.38, although I did get this: [4.900113] WARNING: at kernel/lockdep.c:2321 omap3_pm_idle+0x78/0x84() [4.907076] Modules linked in: [4.910532] [c00572ac

Re: [Xenomai-help] Xenomai 2.5.6 and Round Robin

2011-11-09 Thread Gilles Chanteperdrix
On 11/09/2011 11:27 AM, Olivier Reynet wrote: RTIME quantum=rt_timer_ns2tsc(3*SPINTIME); int err=rt_task_slice(demo_task[i],quantum); You are misunderstanding the time unit of rt_task_slice. Refer to documentation. -- Gilles.

Re: [Xenomai-help] Fwd: problem in installing xenomai on arm

2011-11-09 Thread Gilles Chanteperdrix
On 11/09/2011 03:13 PM, Gilles Chanteperdrix wrote: On 11/09/2011 03:07 PM, xinxin wei wrote: -- Forwarded message -- From: xinxin wei weixinxi...@gmail.com ./configure CC=arm-none-linux-gnueabi-gcc--build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi --enable-arm-mach

Re: [Xenomai-help] Fwd: problem in installing xenomai on arm

2011-11-09 Thread Gilles Chanteperdrix
On 11/09/2011 03:07 PM, xinxin wei wrote: ./configure --build=i686-pc-linux-gnu --host=arm-linux --enable-arm-mach=omap4430 it can configure successfull but when i make install make DESTDIR=/opt/nfs/angstrom_minimal-fs/usr/xenomai install the result is error: In

Re: [Xenomai-help] Is there Xenomai support for the Freescale P1020 processor?

2011-11-08 Thread Gilles Chanteperdrix
On 11/08/2011 03:22 PM, Michael Pustylnik wrote: Hi Gilles, It is not a pressure and it is sad it looked that way to you. We don't have any intentions but figuring out whether or not the P1020 is supported. We have been using Xenomai for a few years already and we are looking at P1020 as

Re: [Xenomai-help] Xenomai 2.5.6 and Round Robin

2011-11-08 Thread Gilles Chanteperdrix
On 11/08/2011 10:06 PM, Olivier Reynet wrote: Hi, Is it possible to set RR mode with the following functions ?? rt_task_set_mode(0,T_RRB ,NULL); rt_task_slice(task_descr,quantum) I have tried with Xenomai 2.5.6, but compiler says that T_RBB is not known. Have you got any clue ? See

Re: [Xenomai-help] Is there Xenomai support for the Freescale P1020 processor?

2011-11-07 Thread Gilles Chanteperdrix
On 11/07/2011 11:44 PM, makarand pradhan wrote: Greetings All, We note the QorlQ processors, and the Freescale e500 PowerPC architecture is not on the list of Supported Architectures at http://www.xenomai.org/index.php/Embedded_Device_Support. On the other hand, that document states

Re: [Xenomai-help] Xenomai 2.6.0 - kernel seg faults on AT91

2011-11-06 Thread Gilles Chanteperdrix
On 11/06/2011 06:56 PM, at91_enthus wrote: Hi. I gave Xenomai 2.6.0 a try and installed a newly patched kernel on my AT91SAM9G20 board. Here is my setup: proc: AT91SAM9G20 kernel: 2.6.35.9 OS: embedded Debian Squeeze The board boots fine up to stage 2 (user terminal). Sometimes,

Re: [Xenomai-help] Xenomai 2.6.0 - kernel seg faults on AT91

2011-11-06 Thread Gilles Chanteperdrix
On 11/06/2011 07:10 PM, at91_enthus wrote: On 11/06/2011 12:01 PM, Gilles Chanteperdrix wrote: On 11/06/2011 06:56 PM, at91_enthus wrote: Hi. I gave Xenomai 2.6.0 a try and installed a newly patched kernel on my AT91SAM9G20 board. Here is my setup: proc: AT91SAM9G20 kernel: 2.6.35.9

Re: [Xenomai-help] Xenomai 2.6.0 - kernel seg faults on AT91

2011-11-06 Thread Gilles Chanteperdrix
On 11/06/2011 07:25 PM, at91_enthus wrote: On 11/06/2011 12:10 PM, at91_enthus wrote: On 11/06/2011 12:01 PM, Gilles Chanteperdrix wrote: On 11/06/2011 06:56 PM, at91_enthus wrote: Hi. I gave Xenomai 2.6.0 a try and installed a newly patched kernel on my AT91SAM9G20 board. Here is my

Re: [Xenomai-help] Xenomai 2.6.0 - kernel seg faults on AT91

2011-11-06 Thread Gilles Chanteperdrix
On 11/06/2011 08:00 PM, at91_enthus wrote: On 11/06/2011 12:32 PM, Gilles Chanteperdrix wrote: On 11/06/2011 07:25 PM, at91_enthus wrote: On 11/06/2011 12:10 PM, at91_enthus wrote: On 11/06/2011 12:01 PM, Gilles Chanteperdrix wrote: On 11/06/2011 06:56 PM, at91_enthus wrote: Hi. I gave

Re: [Xenomai-help] Xenomai 2.6.0 - kernel seg faults on AT91

2011-11-06 Thread Gilles Chanteperdrix
On 11/06/2011 06:56 PM, at91_enthus wrote: Hi. I gave Xenomai 2.6.0 a try and installed a newly patched kernel on my AT91SAM9G20 board. Here is my setup: proc: AT91SAM9G20 kernel: 2.6.35.9 OS: embedded Debian Squeeze The board boots fine up to stage 2 (user terminal). Sometimes,

Re: [Xenomai-help] Xenomai 2.6.0 - kernel seg faults on AT91

2011-11-06 Thread Gilles Chanteperdrix
On 11/06/2011 08:54 PM, at91_enthus wrote: On 11/06/2011 01:03 PM, Gilles Chanteperdrix wrote: On 11/06/2011 08:00 PM, at91_enthus wrote: On 11/06/2011 12:32 PM, Gilles Chanteperdrix wrote: On 11/06/2011 07:25 PM, at91_enthus wrote: On 11/06/2011 12:10 PM, at91_enthus wrote: On 11/06/2011 12

Re: [Xenomai-help] Xenomai 2.6.0 - kernel seg faults on AT91

2011-11-06 Thread Gilles Chanteperdrix
On 11/06/2011 09:08 PM, at91_enthus wrote: On 11/06/2011 02:02 PM, Gilles Chanteperdrix wrote: What was the last version known to be working? 2.5.6. Also, I had no issues with 2.5.5, either. With what I-pipe version? Could you try running 2.6.0 with the same I-pipe patch which was working

Re: [Xenomai-help] Xenomai 2.6.0 - kernel seg faults on AT91

2011-11-06 Thread Gilles Chanteperdrix
On 11/06/2011 09:23 PM, at91_enthus wrote: On 11/06/2011 02:02 PM, Gilles Chanteperdrix wrote: On 11/06/2011 08:54 PM, at91_enthus wrote: On 11/06/2011 01:03 PM, Gilles Chanteperdrix wrote: On 11/06/2011 08:00 PM, at91_enthus wrote: On 11/06/2011 12:32 PM, Gilles Chanteperdrix wrote: On 11

Re: [Xenomai-help] Xenomai 2.6.0 - kernel seg faults on AT91

2011-11-06 Thread Gilles Chanteperdrix
On 11/06/2011 09:37 PM, at91_enthus wrote: Just switched sh to bash in rc.local. It simply works. I booted the board 3 times with no issues. Yes, maybe sh does something which causes an anomaly. But the issue is not sh itself, it is the anomaly it causes. Anything done by a user-space program

Re: [Xenomai-help] Is there a plan to support Kernel 3.0 for the ARM arch

2011-11-06 Thread Gilles Chanteperdrix
On 11/07/2011 07:52 AM, Aaron Wu wrote: Hi Gilles, As in last email, do we have plan Yes it is planned. and a detailed schedule to support Linux kernel 3.0 on ARCH arch? No detailed schedule. -- Gilles.

Re: [Xenomai-help] Is there a plan to support Kernel 3.0 for the ARM arch

2011-11-06 Thread Gilles Chanteperdrix
On 11/07/2011 07:52 AM, Aaron Wu wrote: Hi Gilles, As in last email, And by the way, the last email did not make it to the list. -- Gilles. ___ Xenomai-help mailing list

Re: [Xenomai-help] 0 CPU time problem

2011-11-05 Thread Gilles Chanteperdrix
On 11/05/2011 03:31 AM, Tom Z wrote: Hi Gilles, No, CLOCK_PROCESS_CPUTIME is a clock implemented by the Linux kernel, so, it does not see the time spent in primary mode. If the foo function does not suspend, you can use rt_timer_tsc(), but the answer is no, there is currently no way to

Re: [Xenomai-help] Question about the TSC and how it is used by Xenomai.

2011-11-04 Thread Gilles Chanteperdrix
On 11/04/2011 12:52 AM, Victor Alvidrez wrote: I have been doing a lot of research regarding time and how it is measured in Linux. The book Understanding the Linux Kernel by Bovet and Cesati was essential in figuring out how time is handled at the kernel level. Here is what I gather so

Re: [Xenomai-help] xenomai thread crash

2011-11-04 Thread Gilles Chanteperdrix
On 11/04/2011 03:42 AM, yibo dai wrote: In my current project, there is a xenomai thread in the user space,It doing the following things: 1.recieve the TIPC message from other services then handle it 2.recieve the packet from RTNet then handle it Program is probably as follows: while(1) {

Re: [Xenomai-help] Xenomai, Beagleboard and RTAI

2011-11-04 Thread Gilles Chanteperdrix
On 11/04/2011 07:15 PM, Lyons, Brendon N wrote: I am sorry for the previous message with no subject. I am resending this so that it can be properly tagged. __ Hello, I am currently working on a project which requires realtime use of a beagleboard. I

Re: [Xenomai-help] 0 CPU time problem

2011-11-04 Thread Gilles Chanteperdrix
On 11/04/2011 08:08 PM, Tom Z wrote: Hi All, I am trying to measure the CPU time consumed by a function foo(), and here is how I do it: void foo(){ struct timespec tp1, tp2; clock_gettime(CLOCK_PROCESS_CPUTIME_ID, tp); //Computation goes here

Re: [Xenomai-help] 0 CPU time problem

2011-11-04 Thread Gilles Chanteperdrix
On 11/04/2011 10:03 PM, Tom Z wrote: We do not know what skin you use, we will assume that you use Xenomai posix skin, so, compile with the right flags. Here is how I build my program, say, fooTest: gcc -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -D__XENO__ -lnative

Re: [Xenomai-help] kernel compilation error

2011-11-03 Thread Gilles Chanteperdrix
On 11/03/2011 12:31 AM, Łukasz Sacha wrote: On Thu, Nov 3, 2011 at 00:24, Łukasz Sacha dragi...@gmail.com wrote: On Thu, Nov 3, 2011 at 00:15, Łukasz Sacha dragi...@gmail.com wrote: On Wed, Nov 2, 2011 at 16:37, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On 11/02/2011 04:31

Re: [Xenomai-help] kernel compilation error

2011-11-02 Thread Gilles Chanteperdrix
On 11/01/2011 01:42 PM, Łukasz Sacha wrote: On Tue, Nov 1, 2011 at 12:34, Łukasz Sacha dragi...@gmail.com wrote: Hello again: luke@dragilla:~/Desktop/moje/mini2440/linux-2.6.38.8$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- ... CC arch/arm/kernel/fiq.o arch/arm/kernel/fiq.c:

Re: [Xenomai-help] error messages

2011-11-02 Thread Gilles Chanteperdrix
On 11/02/2011 01:15 AM, Łukasz Sacha wrote: I managed to install xenoami 2.5.6 on my mini (with kernel 2.6.35.9). However I'm having problems even running the test scripts. For example the ouput of xeno-test is provided as an attachment, it looks somewhat like this:

Re: [Xenomai-help] kernel compilation error

2011-11-02 Thread Gilles Chanteperdrix
On 11/02/2011 04:31 PM, Gilles Chanteperdrix wrote: On 11/01/2011 01:42 PM, Łukasz Sacha wrote: On Tue, Nov 1, 2011 at 12:34, Łukasz Sacha dragi...@gmail.com wrote: Hello again: luke@dragilla:~/Desktop/moje/mini2440/linux-2.6.38.8$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi

Re: [Xenomai-help] twl4030-irq takes 50%cpu constantly on omap3 gumstix overo

2011-11-01 Thread Gilles Chanteperdrix
On 10/31/2011 07:39 PM, Manfred Quack wrote: I am sorry to bother again ... So I managed to compile with 1.16 patch and manually patching in these changes: http://git.denx.de/?p=ipipe-2.6.git;a=commitdiff;h=6e5856f8b5383ea25970cbd076956c00b7ee4400

Re: [Xenomai-help] kernel compilation error

2011-11-01 Thread Gilles Chanteperdrix
On 11/01/2011 01:42 PM, Łukasz Sacha wrote: On Tue, Nov 1, 2011 at 12:34, Łukasz Sacha dragi...@gmail.com wrote: Hello again: luke@dragilla:~/Desktop/moje/mini2440/linux-2.6.38.8$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- ... CC arch/arm/kernel/fiq.o arch/arm/kernel/fiq.c:

Re: [Xenomai-help] which skin to use

2011-10-31 Thread Gilles Chanteperdrix
On 10/30/2011 11:47 PM, Łukasz Sacha wrote: Hi, I'm working on a device that will process several input signals (2 analog, about 4 digital and 1 over serial interface) do some calculations and control 4 uarts. It will also write some log data to a file on an sd card. It will probably be a

Re: [Xenomai-help] xenomai on em2440

2011-10-31 Thread Gilles Chanteperdrix
On 10/30/2011 10:21 AM, Eric Noulard wrote: . Can xenomai have multiple skins at the same time? Yes Xenomai may have mulitple skins (see slide 5 of http://www.xenomai.org/images/c/c6/Xenomai-OSMB-2007-01.pdf) but I don't know if a single application may use different skins at the same time.

Re: [Xenomai-help] Interruption of sata hard driver's during real-time task running

2011-10-31 Thread Gilles Chanteperdrix
On 10/31/2011 12:39 PM, Donggu Kang wrote: Dear Gilles I re-made xenomai task that use etherlab kernel module. Xenomai task is working as kernel module. As your comment, when I call the etherlab api, the mode of real-time task is changed to secondary mode. And the real-time task could be

Re: [Xenomai-help] configuring user-space xenomai 2.6

2011-10-31 Thread Gilles Chanteperdrix
On 10/31/2011 01:52 PM, Łukasz Sacha wrote: This is the line configure generated to test whether compiler works: arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t -o conftest -march=armv4t -march=armv4t conftest.c (notice tripple -march=armv4t) when I execute it it gives me:

Re: [Xenomai-help] configuring user-space xenomai 2.6

2011-10-31 Thread Gilles Chanteperdrix
On 10/31/2011 02:23 PM, Łukasz Sacha wrote: I used the toolchain from codesourcery (http://www.codesourcery.com/sgpp/lite/arm/portal/package3696/public/arm-none-linux-gnueabi/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2). The one downloaded from the ubuntu repos behaves the

Re: [Xenomai-help] configuring user-space xenomai 2.6

2011-10-31 Thread Gilles Chanteperdrix
On 10/31/2011 02:48 PM, Łukasz Sacha wrote: quote from README.INSTALL: Finally, Xenomai build system also allows building a Xenomai patchedkernel as part of the user space support compilation process. Section1.4 documents this possibility. There is no section 1.4 :( That is because this

Re: [Xenomai-help] xenomai on em2440

2011-10-29 Thread Gilles Chanteperdrix
On 10/29/2011 10:38 PM, Łukasz Sacha wrote: Hello! I'm just starting to play with xenomai. My first goal is to install it on my em2440 (similar to mini2440) board. I could use some solid guidelines on where to start as there are many tutorials out there - on mini2440, on xenomai, on arm, on

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-28 Thread Gilles Chanteperdrix
On 10/28/2011 12:03 PM, Robert wrote: Dnia 27 października 2011 21:56 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): On 10/27/2011 11:05 AM, Gilles Chanteperdrix wrote: Robert wrote: Ok, so now latency test looks good, but board still hangs up on xeno-test. Please

Re: [Xenomai-help] twl4030-irq takes 50%cpu constantly on omap3 gumstix overo

2011-10-28 Thread Gilles Chanteperdrix
On 10/28/2011 06:28 PM, Manfred Quack wrote: However: is there a clean or simple way to apply the adeos-patches to the omap3--kernels? I do not think so. The only answer is: get the omap changes merged into the mainline kernel, and use the mainline kernel. Because from a maintenance point of

Re: [Xenomai-help] twl4030-irq takes 50%cpu constantly on omap3 gumstix overo

2011-10-28 Thread Gilles Chanteperdrix
On 10/28/2011 06:28 PM, Manfred Quack wrote: I am using a modified version of the adeos-ipipe-2.6.33-arm-1.16-01 patch the modifications were made as described on this wiki: http://www.lara.unb.br/wiki/index.php/Overo_Xenomai and if I understand correctly, the modifications were necc.

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-27 Thread Gilles Chanteperdrix
Robert wrote: Ok, so now latency test looks good, but board still hangs up on xeno-test. Please try, as I suggested in a previous mail, to get the kernel console output on the serial port, and see if the hang is not due to a kernel oops. And I am also asking again: are you compiling

Re: [Xenomai-help] for helping!

2011-10-27 Thread Gilles Chanteperdrix
On 10/27/2011 02:59 PM, 白痴一梦 wrote: hello experts: I am a newer of xenomai.this days I try to build xenomai in archlinux on my pc (PD3.4G cpu).i use the version of 2.6.0_rc4 and 2.6.0-rc5 on kernel 2.6.38 for many times. all most every time, i built the kernel and user space

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-27 Thread Gilles Chanteperdrix
On 10/27/2011 11:05 AM, Gilles Chanteperdrix wrote: Robert wrote: Ok, so now latency test looks good, but board still hangs up on xeno-test. Please try, as I suggested in a previous mail, to get the kernel console output on the serial port, and see if the hang is not due to a kernel

Re: [Xenomai-help] address spaces of real-time task and standard linux process

2011-10-26 Thread Gilles Chanteperdrix
On 10/26/2011 04:13 PM, Tom Z wrote: Thanks. I increased the stack size and the problem was gone. This problem was hard to find for me, as when I step into the functions in gdb, the locations where the problem occurs are different. BTW, in your previous reply you mentioned debugging

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-26 Thread Gilles Chanteperdrix
On 10/26/2011 08:00 PM, Robert wrote: Dnia 26 października 2011 17:36 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): On 10/26/2011 05:26 PM, Robert wrote: Dnia 24 października 2011 22:58 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): On 10/24

Re: [Xenomai-help] address spaces of real-time task and standard linux process

2011-10-25 Thread Gilles Chanteperdrix
On 10/24/2011 11:04 PM, Tom Z wrote: Any ideas or suggestions will be highly appreciated. TomZ Try gdb. If that fails, get the kernel to print the value of the registers when the fault happens, then disassemble and look at why the fault happens. --

Re: [Xenomai-help] address spaces of real-time task and standard linux process

2011-10-25 Thread Gilles Chanteperdrix
On 10/24/2011 11:04 PM, Tom Z wrote: 8) rt_task_create(task_desc, RealTimeImageProcessing, 4096, 99, T_FPU|T_CPU(0)); 4096 bytes is a really small stack size, are you sure that the segmentation fault is simply not a stack overflow? -- Gilles.

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-24 Thread Gilles Chanteperdrix
On 10/24/2011 09:53 AM, Robert wrote: Dnia 20 września 2011 20:13 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): 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

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-24 Thread Gilles Chanteperdrix
On 10/24/2011 09:53 AM, Robert wrote: Compiled the kernel, modules and copied uImage to boot partition. After reboot i got the following dmesg | grep -i xeno: user@panda:/boot$ dmesg | grep -i xeno [1.195556] I-pipe: Domain Xenomai registered. [1.195587] Xenomai: hal/arm started. [

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-24 Thread Gilles Chanteperdrix
On 10/24/2011 11:16 AM, Robert wrote: Dnia 24 października 2011 10:33 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): On 10/24/2011 09:53 AM, Robert wrote: Dnia 20 września 2011 20:13 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): On 09/20

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-24 Thread Gilles Chanteperdrix
On 10/24/2011 12:04 PM, Robert wrote: Dnia 24 października 2011 11:47 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): On 10/24/2011 11:16 AM, Robert wrote: Dnia 24 października 2011 10:33 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): On 10

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-24 Thread Gilles Chanteperdrix
On 10/24/2011 12:59 PM, Robert wrote: Dnia 24 października 2011 12:37 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): Ok. Try calling /usr/xenomai/bin/xeno-test instead of cding to the directory and runing ./xeno-test. No difference. I am unable to reproduce this issue

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-24 Thread Gilles Chanteperdrix
On 10/24/2011 01:11 PM, Robert wrote: Dnia 24 października 2011 13:07 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): On 10/24/2011 12:59 PM, Robert wrote: Dnia 24 października 2011 12:37 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): Ok. Try

Re: [Xenomai-help] installing xenomai on pandaboard

2011-10-24 Thread Gilles Chanteperdrix
On 10/24/2011 01:11 PM, Robert wrote: Dnia 24 października 2011 13:07 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): On 10/24/2011 12:59 PM, Robert wrote: Dnia 24 października 2011 12:37 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org napisał(a): Ok. Try

[Xenomai-help] Xenomai 2.6.0-rc5

2011-10-22 Thread Gilles Chanteperdrix
testsuite: add missing include analogy: [ni_pcimio] replace noisy info messages by debug ones Gilles Chanteperdrix (15): wrappers: fix compilation of HOSTRT without TICKDEV arm: fix context switch for linux 2.6.38 testsuite: fix xeno-regression-test help string

Re: [Xenomai-help] Interruption of sata hard driver's during real-time task running

2011-10-21 Thread Gilles Chanteperdrix
On 10/21/2011 09:23 AM, Donggu Kang wrote: Dear all I tried to test of latnecy with a etherlab on the xenomai framework. The etherlab is ethercat master implimentation in the Linux Evironment and It's using normal ethernet interface card. In my test, I have found huge latency under hard

Re: [Xenomai-help] rt_task_wait_period returns an undocumented value

2011-10-21 Thread Gilles Chanteperdrix
On 10/21/2011 06:04 PM, Fernando Herrero Carrón wrote: Dear list, I am running xenomai-2.6-rc4 on an amd64 linux kernel version 2.6.38.8. I am setting up a periodic task using rt_task_set_periodic(NULL, TM_NOW, 11500); For period values smaller than 11450 I get an EINVAL return value.

Re: [Xenomai-help] rt_task_wait_period returns an undocumented value

2011-10-21 Thread Gilles Chanteperdrix
On 10/21/2011 08:08 PM, Fernando Herrero Carrón wrote: Alright, excuse me, I missed that explanation. Then let me move to the actual figures at hand: $ cat /proc/xenomai/latency 3349 and, as I explained above, all values below 11450 are being rejected in my case. I guess you have to

Re: [Xenomai-help] rt_task_wait_period returns an undocumented value

2011-10-21 Thread Gilles Chanteperdrix
On 10/21/2011 09:01 PM, Fernando Herrero Carrón wrote: El 21 de octubre de 2011 16:47, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org escribió: On 10/21/2011 08:08 PM, Fernando Herrero Carrón wrote: Alright, excuse me, I missed that explanation. Then let me move to the actual

Re: [Xenomai-help] ARM build instructions wrong?

2011-10-19 Thread Gilles Chanteperdrix
On 10/19/2011 03:23 PM, hauptmech wrote: One thing I found confusing about the arm section in README.INSTALL is that it uses the same $build_root for the kernel and xenomai. The first time through I followed the instructions and later ran into problems trying to rebuild some kernel

Re: [Xenomai-help] Driver for Rtserial

2011-10-19 Thread Gilles Chanteperdrix
On 10/19/2011 01:24 PM, Siva kumar Balasubramanian wrote: Hi all, How to enable Rtserial for other than 16550A-Compatible Devices. I am having mini2440 development board has 3232CBNZ RS-232 Transmitters/Receivers. You need to write a driver for this device, using the RTDM skin, following

Re: [Xenomai-help] Using rtdm_irq_request from user-space.

2011-10-17 Thread Gilles Chanteperdrix
On 10/17/2011 07:05 PM, Victor Alvidrez wrote: Hello. I am trying to a write simple program that can listen for interrupts produced by the keyboard in user-space. At first I tried to do this using the native API, however I figured out that this functionality is turned off by default. So

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

2011-10-12 Thread Gilles Chanteperdrix
On 10/12/2011 04:03 PM, Thomas De Schampheleire wrote: Hi, On Mon, Sep 26, 2011 at 11:46 PM, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On 09/19/2011 10:45 AM, Thomas De Schampheleire wrote: Hi, On Mon, Sep 19, 2011 at 9:42 AM, Ronny Meeus ronny.me...@gmail.com wrote

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

2011-10-11 Thread Gilles Chanteperdrix
On 10/11/2011 07:21 AM, Siva kumar Balasubramanian wrote: The patch works, Thank you for fixing this Now i was able to build without errors. I got mini2440 booting I was able to run xeno-test But when i try to test Helloworld program. I found the following libraries missing error

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

2011-10-11 Thread Gilles Chanteperdrix
On 10/12/2011 12:12 AM, Alexis Berlemont wrote: The methods are not the same at that level: - comedi: n * dma_alloc_coherent + a vmap at the end - analogy: a big vmalloc + n * page_to_phys(vmalloc_to_page(vaddr) I do not know if that makes a difference, but the result of dma_alloc_coherent

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

2011-10-10 Thread Gilles Chanteperdrix
On 10/10/2011 10:45 AM, Siva kumar Balasubramanian wrote: I am using xenomai-2.5.6. When i tried with xenomai-2.6.0-rc1 with kernel-2.6.37.6. It gets error during kernel compilation Which kernel and xenomai version is working in mini2440 I tried vanilla kernel 2.6.35.9 with

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

2011-10-10 Thread Gilles Chanteperdrix
On 10/10/2011 11:43 AM, Siva kumar Balasubramanian wrote: I am getting same error after patching latest xenomai-2.6.0.rc4 with kernel-2.6.37.6 Compilation log http://pastebin.com/WdD2Tzqd My configuration file http://pastebin.com/kcjH1tGF Indeed, I get the same build failure, I will fix

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

2011-10-10 Thread Gilles Chanteperdrix
On 10/10/2011 11:43 AM, Siva kumar Balasubramanian wrote: I am getting same error after patching latest xenomai-2.6.0.rc4 with kernel-2.6.37.6 Compilation log http://pastebin.com/WdD2Tzqd My configuration file http://pastebin.com/kcjH1tGF Please try the following patch:

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

2011-10-08 Thread Gilles Chanteperdrix
On 10/08/2011 08:28 AM, Siva kumar Balasubramanian wrote: After configuring --enable-arm-eabi , now i am getting following message Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.(modprobe xeno native?) i downloaded adeos-ipipe-2.6.37.6-arm-1.18-03.patch separately and patched

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

2011-10-07 Thread Gilles Chanteperdrix
On 10/07/2011 04:52 PM, Siva kumar Balasubramanian wrote: Hi Experts, I compiled and ported linux kernel-2.6.37.6, adeos-ipipe-patch-2.6.37.6 and xenomai 2.5.6 in mini2440. After porting when i run xeno-test, What do you mean porting? If mini2440 is based on s3c2440, it should work out of

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

2011-10-07 Thread Gilles Chanteperdrix
On 10/07/2011 06:27 PM, Siva kumar Balasubramanian wrote: After running make Devices also , i am getting error /usr/xenomai/bin/xeno-load: line 180: 3347 Segmentation fault $suflag $* $cmdargs My log file link http://pastebin.com/PpnnmnuW Please do not use xeno-test with xenomai 2.5

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

2011-10-07 Thread Gilles Chanteperdrix
On 10/07/2011 05:55 PM, Siva kumar Balasubramanian wrote: Mini2440 is based on s3c2440, I did the following steps to patch xenomai for Mini2440 I patched the adeos-ipipe-2.6.37.6-arm-1.18-03.patch to linux kernel-2.6.37.6 I used mini2440_defconfig as configuration file, i did not made

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 gilles.chanteperd...@xenomai.org 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] Frequency downscaling of new intel CPU

2011-10-05 Thread Gilles Chanteperdrix
On 10/05/2011 03:01 PM, Petr Cervenka wrote: Have you tried: - enabling SMI workaround (and do not forget to check the boot logs to check that it actually works with the chipset you use); - if that fails, adding idle=poll to kernel arguments? Enabling SMI workaround didn't make any

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

2011-10-05 Thread Gilles Chanteperdrix
On 10/05/2011 07:07 PM, Michael Bernhard wrote: On 10/04/2011 05:29 PM, Gilles Chanteperdrix wrote: On 10/04/2011 05:14 PM, Michael Bernhard wrote: Gilles Chanteperdrixgilles.chanteperdrixat xenomai.org writes: On 10/03/2011 05:33 PM, Gilles Chanteperdrix wrote: On 10/03/2011 02:26 PM

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 course I

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

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 processor. Xenomai works fine so far. However we get SIGILL when using

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 period to me

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 gilles.chanteperdrix at 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. I will try the test program

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 gilles.chanteperd...@xenomai.org 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, not 1ms. As of why

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 present,

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 present,

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 confusing that --enable-arm-tsc has

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 is

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 pthread_cleanup_push() in a RT-thread. I now tried

[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 see

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.5.2.

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] 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 ronny.me...@gmail.com wrote: On Mon, Sep 19, 2011 at 9:25 AM, dietmar.schind...@manroland.com wrote: From: xenomai-help-boun...@gna.org [mailto:xenomai-help-boun...@gna.org] On Behalf Of

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] [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 gilles.chanteperd...@xenomai.org 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 get. Do

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 gilles.chanteperd...@xenomai.org 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 of Xenomai. If you agree, I

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

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 via

[Xenomai-help] Xenomai 2.6.0-rc3

2011-09-19 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] 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. All 4 have

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 the

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 Xenomai realtime threads on one core of the multi-core CPU

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