Re: [Xenomai-core] More on Shared interrupts

2006-02-10 Thread Anders Blomdell
Jan Kiszka wrote: Anders Blomdell wrote: For the last few days, I have tried to figure out a good way to share interrupts between RT and non-RT domains. This has included looking through Dmitry's patch, correcting bugs and testing what is possible in my specific case. I'll therefore try to summ

[Xenomai-core] Re: More on Shared interrupts

2006-02-10 Thread Philippe Gerum
Anders Blomdell wrote: For the last few days, I have tried to figure out a good way to share interrupts between RT and non-RT domains. This has included looking through Dmitry's patch, correcting bugs and testing what is possible in my specific case. I'll therefore try to summarize at least a f

[Xenomai-core] [shirq] first test results

2006-02-10 Thread Jan Kiszka
Hi Dmitry, some news from the testing front: It works fairly well - and it doesn't crash =:). We set up a quite demanding test scenario which consists of two Sick Laser scanners feeding two UART ports at 500 Kbit/s. The UARTs are on a special PC104 card, sharing the same edge-triggered IRQ line. W

[Xenomai-core] Errors compiling fpu.o (xenomai trunk) if CONFIG_PPC601_SYNC_FIX=y

2006-02-10 Thread Niklaus Giger
Hi, I got the following errors when my .config contained a CONFIG_PPC601_SYNC_FIX=y AS arch/ppc/xenomai/fpu.o /mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xenomai/fpu.S: Assembler messages: /mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xenomai/fpu.S:54: Error: Unrecognized opcode

Re: [Xenomai-core] [PATCH] provide rtdm_mmap_to_user / rtdm_munmap

2006-02-10 Thread Rodrigo Rosenfeld Rosas
Hi Jan, I started the tests and had problems on unloading the module. I am probably doing something wrong but I think the driver shouldn't crash. Probably it is missing some sanity checks on rtdm_munmap like if (! (user_info && user_info->mm)) return -EXXX; I'll investigate the problems

Re: [Xenomai-core] [PATCH] provide rtdm_mmap_to_user / rtdm_munmap

2006-02-10 Thread Rodrigo Rosenfeld Rosas
Hi Jan, it just happened once and I couldn't reproduce (I didn't want to reproduce it too since I would need to restart my computer because the driver wouldn't unload)... When it happened I forgot to start the timer running the latency program and my driver failed to load and due to some mistak

Re: [Xenomai-core] [PATCH] provide rtdm_mmap_to_user / rtdm_munmap

2006-02-10 Thread Jan Kiszka
Rodrigo Rosenfeld Rosas wrote: > Hi Jan, it just happened once and I couldn't reproduce (I didn't want to > reproduce it too since I would need to restart my computer because the driver > wouldn't unload)... > > When it happened I forgot to start the timer running the latency program and Alrea

Re: [Xenomai-core] Isolated CPU, SMI problems an thoughts

2006-02-10 Thread Max Krasnyansky
John Schipper wrote: Jan Kiszka wrote: John Schipper wrote: Hello, I'm new to this list but have in the past used RTAI in a single processor off the shelf solution. I'm looking to switch to native Xenomai api but have a general problem... The problem is SMI on new systems, and other latency

[Xenomai-core] [PATCH] provide rtdm_mmap_to_user / rtdm_munmap

2006-02-10 Thread Jan Kiszka
Hi all, this is a first attempt to add the requested mmap functionality to the RTDM driver API. Anyone interested in this feature is invited to test my patch (Rodrigo... ;) ). Comments on the implementation are welcome as well. Philippe, I need xnarch_remap_page_range for this and added a #define

Re: [Xenomai-core] [PATCH] provide rtdm_mmap_to_user / rtdm_munmap

2006-02-10 Thread Jan Kiszka
Jan Kiszka wrote: > Hi all, > > this is a first attempt to add the requested mmap functionality to the > RTDM driver API. ... and this version is even more useful than the previous one (now with EXPORT_SYMBOL!). Be warned: I just compiled it, I count on third-party testers. Jan Index: include/rt

Re: [Xenomai-core] More on Shared interrupts

2006-02-10 Thread Anders Blomdell
Jan Kiszka wrote: Anders Blomdell wrote: For the last few days, I have tried to figure out a good way to share interrupts between RT and non-RT domains. This has included looking through Dmitry's patch, correcting bugs and testing what is possible in my specific case. I'll therefore try to summ

[Xenomai-core] Re: More on Shared interrupts

2006-02-10 Thread Philippe Gerum
Anders Blomdell wrote: For the last few days, I have tried to figure out a good way to share interrupts between RT and non-RT domains. This has included looking through Dmitry's patch, correcting bugs and testing what is possible in my specific case. I'll therefore try to summarize at least a f

[Xenomai-core] [shirq] first test results

2006-02-10 Thread Jan Kiszka
Hi Dmitry, some news from the testing front: It works fairly well - and it doesn't crash =:). We set up a quite demanding test scenario which consists of two Sick Laser scanners feeding two UART ports at 500 Kbit/s. The UARTs are on a special PC104 card, sharing the same edge-triggered IRQ line. W

[Xenomai-core] Errors compiling fpu.o (xenomai trunk) if CONFIG_PPC601_SYNC_FIX=y

2006-02-10 Thread Niklaus Giger
Hi, I got the following errors when my .config contained a CONFIG_PPC601_SYNC_FIX=y AS arch/ppc/xenomai/fpu.o /mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xenomai/fpu.S: Assembler messages: /mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xenomai/fpu.S:54: Error: Unrecognized opcode

Re: [Xenomai-core] [PATCH] provide rtdm_mmap_to_user / rtdm_munmap

2006-02-10 Thread Rodrigo Rosenfeld Rosas
Hi Jan, I started the tests and had problems on unloading the module. I am probably doing something wrong but I think the driver shouldn't crash. Probably it is missing some sanity checks on rtdm_munmap like if (! (user_info && user_info->mm)) return -EXXX; I'll investigate the problems

Re: [Xenomai-core] [PATCH] provide rtdm_mmap_to_user / rtdm_munmap

2006-02-10 Thread Rodrigo Rosenfeld Rosas
Hi Jan, it just happened once and I couldn't reproduce (I didn't want to reproduce it too since I would need to restart my computer because the driver wouldn't unload)... When it happened I forgot to start the timer running the latency program and my driver failed to load and due to some mistak