Xenomai-PPC: One problem
Hi everybody,
thanks to your help now the interrupt shield option compile OK :)
Unfortunately, I must to leave the Xenomai FPU option disabled.
With this option active my PowerBook "Ubuntu-Xenomai" machine go crazy after few seconds after the launch of the the "latency" test.
Gilles suspects that there is a conflict with the Altivec FPU units inside the G4 CPU, because ADEOS does not save the Altivec FPU-exended register.
I think that I can live and prosper without FPU support in the kernel, but I suppose also that someone is interested in this - possibile - limitation e/o potential bug.
Simone Mannori
[email protected] kirjoitti:
Quoted 11 lines
Hi everybody,
thanks to your help now the interrupt shield option compile OK :)
Unfortunately, I must to leave the Xenomai FPU option disabled.
With this option active my PowerBook "Ubuntu-Xenomai" machine go crazy after few seconds after the launch of the the "latency" test.
Gilles suspects that there is a conflict with the Altivec FPU units inside the G4 CPU, because ADEOS does not save the Altivec FPU-exended register.
I find this very unlikely. Unlike Intel SSE stuff, ppc altivec is a separate unit from the fpu. If your compiler generates altivec code (instead of normal fpu code) from math functions in the xenomai executable, then it might be the issue. AFAIK gcc uses altivec only after release 4.0. In case you have gcc 4 (ubuntu 5.10), you might be able to turn altivec code generation off by, say, "-mno-altivec".
-- Heikki Lindholm
[email protected] kirjoitti:
Quoted 9 lines
Hi everybody,
thanks to your help now the interrupt shield option compile OK :)
Unfortunately, I must to leave the Xenomai FPU option disabled.
With this option active my PowerBook "Ubuntu-Xenomai" machine go crazy after few seconds after the launch of the the "latency" test.
Quoted 6 lines
Gilles suspects that there is a conflict with the Altivec FPU units inside the G4 CPU, because ADEOS does not save the Altivec FPU-exended register.
I think that I can live and prosper without FPU support in the kernel, but I suppose also that someone is interested in this - possibile - limitation e/o potential bug.
Be a bit more specific, please:
- compiler version,
- kernel version,
- i-pipe version,
- xenomai version,
- environment where the bug happens (what else is running, like X11/glQuake...) I could take a look at this, if I can reproduce it.
-- Heikki Lindholm
Re: [Xenomai-help] Xenomai-PPC: One problem: data
Heikki :
Quoted 1 line
- compiler version,
[email protected]:~$ gcc -v Reading specs from /usr/lib/gcc/powerpc-linux-gnu/3.4.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,f77,pascal,objc,ada --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --disable-softfloat powerpc-linux-gnu Thread model: posix gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8) [email protected]:~$
Quoted 1 line
- kernel version,
[email protected]:~$ uname -a Linux xeno 2.6.14.3-ipipe #4 PREEMPT Wed Dec 7 15:20:25 CET 2005 ppc GNU/[email protected]:~$
Quoted 1 line
- i-pipe version,
-rw-r--r-- 1 nobody nogroup 122733 2005-11-29 15:16 adeos-ipipe-2.6.14-ppc-1.0-07.patch
Quoted 1 line
- xenomai version,
cat /proc/xenomai/version
2.1
Quoted 2 lines
- environment where the bug happens (what else is running, like X11/glQuake...)
1) Patch the kernel : OK
2) kernel compiling : OK
3) Boot OK
4) Xenomai config, make and make install: OK
5) Without xenomai process all is OK
6) launch /usr/xenomai/testsuite/latency (run)
7) the program start OK and runs
8) after few seconds the machine become instable... then freeze :(
Disabling FPU Xenomai support the machine is perfect (I have 2:30 uptime without a single glitch).
Unfortunately the Radeon R350 (M10) inside the Powerbook is not officially sopported by X a/o in the the kernel. There is a project
http://r300.sourceforge.net/R300.php
that I tried to compile and install BUT without success (working BUT NOT DRI support :( ). Then I reinstalled from scratch a brand new Ubuntu 5.10.
Quoted 1 line
I could take a look at this, if I can reproduce it.
I think that you need an Apple machine similar to my Powerbook or something with a G4 processor.
Many tanks in advance for your help.
Simone Mannori - www.inria.fr - Paris - Rocquencourt