Re: [Xenomai-help] Xenomai on Intel Core2 Quad CPU

2009-01-20 Thread Jan Kiszka
Bruno Rouchouse wrote: > Problem solved! > > It was apparently coming from some kernel debugging feature that I activated > in my configuration. I haven't identified precisely which one since I unset > a couple of them at the same time. If you could post a diff of your config anyway, it would be

Re: [Xenomai-help] fpu issue

2009-01-20 Thread Steven Seeger
Hello everyone. I have the dumps here from the header file that Gilles was kind enough to provide to me. When the problem does not occur: sizeof(fpreg_t): 12 cwd: 037f, swd: fip: 08048c3e, fcs: 01d00073 foo: 0959961c, fos: 007b FPU registers stack, top at 0: 7: Empty 6: Empty

Re: [Xenomai-help] Xenomai on Intel Core2 Quad CPU

2009-01-20 Thread Bruno Rouchouse
Problem solved! It was apparently coming from some kernel debugging feature that I activated in my configuration. I haven't identified precisely which one since I unset a couple of them at the same time. Thanks Paul for your help and configuration file. It was really helpful. --Bruno 2009/1/20

Re: [Xenomai-help] switchtest fails with pthread_create: Cannot allocate memory

2009-01-20 Thread Wolfgang Grandegger
Gilles Chanteperdrix wrote: > Wolfgang Grandegger wrote: >> Hello, >> >> when I try to run "switchtest" from the test-suite, I get the error >> >> "pthread_create: Cannot allocate memory" >> >> on my MPC5200 PowerPC board. Some resource is exhausted and likely it's >> system memory. I already rea

Re: [Xenomai-help] switchtest fails with pthread_create: Cannot allocate memory

2009-01-20 Thread Gilles Chanteperdrix
Wolfgang Grandegger wrote: > Hello, > > when I try to run "switchtest" from the test-suite, I get the error > > "pthread_create: Cannot allocate memory" > > on my MPC5200 PowerPC board. Some resource is exhausted and likely it's > system memory. I already realized heavy memory usage by threads

[Xenomai-help] switchtest fails with pthread_create: Cannot allocate memory

2009-01-20 Thread Wolfgang Grandegger
Hello, when I try to run "switchtest" from the test-suite, I get the error "pthread_create: Cannot allocate memory" on my MPC5200 PowerPC board. Some resource is exhausted and likely it's system memory. I already realized heavy memory usage by threads using the Xenomai POSIX skin. -bash-3.2#

Re: [Xenomai-help] fpu issue

2009-01-20 Thread Gilles Chanteperdrix
Steven Seeger wrote: > I do not have fxsr support. I noticed that instruction being used and > didn't find it in my datasheet. I guess my question is you want me to > dump the fpu state before I initialize the volatile doubles. However, I > don't have a saved state at that point. What exactly do I

Re: [Xenomai-help] fpu issue

2009-01-20 Thread Steven Seeger
I do not have fxsr support. I noticed that instruction being used and didn't find it in my datasheet. I guess my question is you want me to dump the fpu state before I initialize the volatile doubles. However, I don't have a saved state at that point. What exactly do I pass in? Or do you want me to

Re: [Xenomai-help] fpu issue

2009-01-20 Thread Gilles Chanteperdrix
Steven Seeger wrote: > I can do that. I have to be careful where I use printk, though. I > noticed my board freezes if I try to do a printk in > __xnpod_fault_init_fpu() so that makes it harder. I am not exactly sure > what to look for because I've never done any assembler with the 387. Any > point

Re: [Xenomai-help] fpu issue

2009-01-20 Thread Steven Seeger
I can do that. I have to be careful where I use printk, though. I noticed my board freezes if I try to do a printk in __xnpod_fault_init_fpu() so that makes it harder. I am not exactly sure what to look for because I've never done any assembler with the 387. Any pointers would be helpful! Steven

Re: [Xenomai-help] How to use Xenomai libraries with "normal" (non Xenomai) linux processes ?

2009-01-20 Thread Gilles Chanteperdrix
roderik.wildenb...@manroland.com wrote: > I have build a library which makes use of some Xenomai-Posix functions > (mainly shared memory but also some semaphore functions). This library > provides functions (logging) which should be used by Xenomai tasks and Linux > processes. > When I link this

[Xenomai-help] How to use Xenomai libraries with "normal" (non Xenomai) linux processes ?

2009-01-20 Thread roderik.wildenburg
I have build a library which makes use of some Xenomai-Posix functions (mainly shared memory but also some semaphore functions). This library provides functions (logging) which should be used by Xenomai tasks and Linux processes. When I link this new library with a standard linux process, this pr

[Xenomai-help] Problem with gpioirqbench..

2009-01-20 Thread Simon Boman
Hi! I have modified gpioirqbench to my platform MPC8360, but when I execute it: ipic.c is responding: ipic: "edge sense not supported on internal interrupts" Because "ipic only supports edge mode on external interrupts" when this function: of_irq_to_resource(np, 0, &r) is executing in gpioirq-hw.

[Xenomai-help] xupv2p xenomai installation problem

2009-01-20 Thread saâdia dhouib
Hi all, I want to install xenomai on a xupv2p board embedding ppc405 processor. I use ELDK cross compiler. I have patched and compiled successfully the linux kernel. And Now I want to do the next steps: (from the README.INSTALL) $ cd $build_root $ $xenomai_root/configure --build=i686-pc-linux-gnu -