Re: [Xenomai-help] pthread cancelation and scheduling magics

2008-12-01 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: Wolfgang Grandegger wrote: Hello, I have written the attached test program to cancel Xenomai POSIX threads. The calc_task does some busy work, which the higher priority task ctrl_task interrupts and aborts after some time. The program does not behave like I

Re: [Xenomai-help] Hang at glibc time() function call

2008-12-01 Thread Petr Cervenka
Could not it be that the highest priority task is using all the CPU? No, it's highly unprobable. The task runs at is should. Is the low priority task also mapped as Xenomai task? In that case calling standard Linux time services can be lethal: Yes, the task is mapped as Xenomai task, because

Re: [Xenomai-help] pthread cancelation and scheduling magics

2008-12-01 Thread Wolfgang Grandegger
Gilles Chanteperdrix wrote: Wolfgang Grandegger wrote: Hello, I have written the attached test program to cancel Xenomai POSIX threads. The calc_task does some busy work, which the higher priority task ctrl_task interrupts and aborts after some time. The program does not behave like I

Re: [Xenomai-help] xenomai on Blackfin BF537

2008-12-01 Thread Daniele Pagani
Dear Sirs, I'm using Xenomai with uclinux-dist-2008R1.5 on bf537. Then, it is possible to use native api with a fdpic elf format? I receive warning like relocation references a different segment. I compile with bfin-linux-uclibc-gcc -lnative. In my code I create 2 real time tasks. All

Re: [Xenomai-help] xenomai on Blackfin BF537

2008-12-01 Thread Philippe Gerum
Daniele Pagani wrote: Dear Sirs, I'm using Xenomai with uclinux-dist-2008R1.5 on bf537. Then, it is possible to use native api with a fdpic elf format? I receive warning like relocation references a different segment. I compile with bfin-linux-uclibc-gcc -lnative. We do

Re: [Xenomai-help] pthread cancelation and scheduling magics

2008-12-01 Thread Wolfgang Grandegger
Gilles Chanteperdrix wrote: Gilles Chanteperdrix wrote: Wolfgang Grandegger wrote: Hello, I have written the attached test program to cancel Xenomai POSIX threads. The calc_task does some busy work, which the higher priority task ctrl_task interrupts and aborts after some time. The program

Re: [Xenomai-help] pthread cancelation and scheduling magics

2008-12-01 Thread Gilles Chanteperdrix
Wolfgang Grandegger wrote: Gilles Chanteperdrix wrote: Gilles Chanteperdrix wrote: Wolfgang Grandegger wrote: Hello, I have written the attached test program to cancel Xenomai POSIX threads. The calc_task does some busy work, which the higher priority task ctrl_task interrupts and aborts

Re: [Xenomai-help] xenomai on Blackfin BF537

2008-12-01 Thread Daniele Pagani
Dear Philippe, thank you very much for your very fast answer. Anyway, please consider that I'm newbie about the matter, so, where I need to write these lines? I find in: /mnt/uClinux-dist-2008R1.5-RC3/staging/usr/bin the xeno-config command. Then, I run: ./xeno-config --xeno-cflags

Re: [Xenomai-help] xenomai on Blackfin BF537

2008-12-01 Thread Philippe Gerum
Daniele Pagani wrote: Dear Philippe, thank you very much for your very fast answer. Anyway, please consider that I'm newbie about the matter, so, where I need to write these lines? I find in: /mnt/uClinux-dist-2008R1.5-RC3/staging/usr/bin the xeno-config command. Then, I run:

Re: [Xenomai-help] pthread cancelation and scheduling magics

2008-12-01 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: Now, the question is, do you realistically plan to write an application which makes no syscall in its real-time loop? Unlikely, but it may happen in case of programming errors. Anyhow, the pthreads will run legacy code and it would be a pain to add

Re: [Xenomai-help] External PCIe device: MSI interrupt install hangs up the CPU

2008-12-01 Thread Rubio, Martial
Hi Jan ... ... Thanks a lot for your reply ... And the workaround is OK! 2 little last precisions about this topic : -is it necessary to rename all the rt's entry points as nrt's entry points (close,read,write,ioctl) ? -is the interrupt handler vxworks_tick_time_module (when

Re: [Xenomai-help] External PCIe device: MSI interrupt install hangs up the CPU

2008-12-01 Thread Jan Kiszka
Rubio, Martial wrote: Hi Jan ... ... Thanks a lot for your reply ... And the workaround is OK! 2 little last precisions about this topic : -is it necessary to rename all the rt's entry points as nrt's entry points (close,read,write,ioctl) ? For close, yes, but the rest should