Re: [Xenomai-help] latency_rt: disagrees about version of symbol rt_task_wait_period

2005-10-22 Thread Gilles Chanteperdrix
Jim Cromie wrote: so I disabled modversion, recompiled kernel, recompiled xenomai. Problem Gone. Heisenbugs :-/ ? Fully reproducible here when CONFIG_MODVERSIONS is enabled. So, this is a bug in the interaction with Kbuild. -- Gilles

Re: [Xenomai-help] Strangeness in named Semaphores(xenomai posix skin)

2005-10-22 Thread Gilles Chanteperdrix
the assumption that 0 is a valid numeric value for the enum O_RDONLY/O_WRONLY/O_RDWR. oh, hell yeah, forgot it. Actually, you do not have to pass O_RDONLY/O_WRONLY/O_RDWR flags to sem_open. I was mixing sem_open and mq_open. Sorry. -- Gilles

RE: [Xenomai-help] Problem building MVM: error: The X11 library '-lX11' could not be found

2005-12-01 Thread Gilles Chanteperdrix
to the sim/gcic directory and run make install, as root. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Xenomai 2.0.1 - Posix Skin - realtime priorities - what I'm doing wrong?

2005-12-09 Thread Gilles Chanteperdrix
sched_yield() from Linux scheduler point of view. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Xenomai 2.0.1 - Posix Skin - realtime priorities - what I'm doing wrong?

2005-12-09 Thread Gilles Chanteperdrix
Paolo Gai wrote: Gilles Chanteperdrix wrote: Working around this issue means using calls to unlocked versions of libc functions protected with Xenomai POSIX mutexes, such as, for example, myputs and myputchar (sufficient for Paolo example) defined as : [...] Ok! I tried

Re: [Xenomai-help] Xenomai 2.0.1 - Posix Skin - realtime priorities - what I'm doing wrong?

2005-12-11 Thread Gilles Chanteperdrix
. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] [testsuite/latency] intervals are much than 1 second

2005-12-16 Thread Gilles Chanteperdrix
doing a suspend/resume cycle without the CPUFreq modules loaded, Linux assumes that the CPU frequency remains the same whereas ACPI/BIOS changes it ? -- Gilles Chanteperdrix. ___ Xenomai-help mailing list

Re: [Xenomai-help] Using Xenomai in C++ App.

2006-01-11 Thread Gilles Chanteperdrix
/ -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] PCI Framegrabber real-time driver

2006-01-11 Thread Gilles Chanteperdrix
/ -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Debugging

2006-01-18 Thread Gilles Chanteperdrix
for MVM, see the directory: skins/native/demos For the MVM full documentation, see: sim/doc/mvm-manual.txt -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org

Re: [Xenomai-help] SVN Xenomai posix skin bug

2006-02-02 Thread Gilles Chanteperdrix
Rodrigo Rosenfeld Rosas wrote: Hi Phillipe, I've downloaded xenomai from SVN and I couldn't compile the kernel with the posix module checked up. Please, let me know when you correct this This is fixed in revision 515. -- Gilles

Re: [Xenomai-help] no-brainer realtime issue

2006-02-18 Thread Gilles Chanteperdrix
Steven Seeger wrote: Maybe I didn't set it up right? I followed the instructions in the README.INSTALL file. Attached is my linux tree's .config. Could you try and configure the timer in aperiodic mode ? -- Gilles Chanteperdrix

Re: [Xenomai-help] binding to memory heap from user space

2006-02-20 Thread Gilles Chanteperdrix
a hint on what's wrong here ? -2 is -ENOENT, no such file or directory. You are probably missing the /dev/rtheap file. In order to create it, run make devices with root privileges. -- Gilles Chanteperdrix

Re: [Xenomai-help] resume/suspend periodic timing issue

2006-02-28 Thread Gilles Chanteperdrix
then ? With an additional function call ? -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] the same error

2006-03-14 Thread Gilles Chanteperdrix
. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] SVN Xenomai posix skin bug

2006-02-02 Thread Gilles Chanteperdrix
Rodrigo Rosenfeld Rosas wrote: Hi Phillipe, I've downloaded xenomai from SVN and I couldn't compile the kernel with the posix module checked up. Please, let me know when you correct this This is fixed in revision 515. -- Gilles

RE: [Xenomai-help] Newbie Question : Compile vxWorks test programm

2006-02-22 Thread Gilles Chanteperdrix
--enable-uvm. -- Gilles Chanteperdrix.

Re: [Xenomai-help] Using Xenomai in C++ App.

2006-01-11 Thread Gilles Chanteperdrix
/ -- Gilles Chanteperdrix.

Re: [Xenomai-help] PCI Framegrabber real-time driver

2006-01-11 Thread Gilles Chanteperdrix
/ -- Gilles Chanteperdrix.

Re: [Xenomai-help] Debugging

2006-01-18 Thread Gilles Chanteperdrix
for MVM, see the directory: skins/native/demos For the MVM full documentation, see: sim/doc/mvm-manual.txt -- Gilles Chanteperdrix.

RE: [Xenomai-help] Problem building MVM: error: The X11 library '-lX11' could not be found

2005-12-01 Thread Gilles Chanteperdrix
to the sim/gcic directory and run make install, as root. -- Gilles Chanteperdrix.

Re: [Xenomai-help] Xenomai 2.0.1 - Posix Skin - realtime priorities - what I'm doing wrong?

2005-12-09 Thread Gilles Chanteperdrix
sched_yield() from Linux scheduler point of view. -- Gilles Chanteperdrix.

Re: [Xenomai-help] Xenomai 2.0.1 - Posix Skin - realtime priorities - what I'm doing wrong?

2005-12-09 Thread Gilles Chanteperdrix
Paolo Gai wrote: Gilles Chanteperdrix wrote: Working around this issue means using calls to unlocked versions of libc functions protected with Xenomai POSIX mutexes, such as, for example, myputs and myputchar (sufficient for Paolo example) defined as : [...] Ok! I tried

Re: [Xenomai-help] Xenomai 2.0.1 - Posix Skin - implementing a periodic thread

2005-12-13 Thread Gilles Chanteperdrix
the member _sigev_un._tid to the thread ID of the target thread. -- Gilles Chanteperdrix.

Re: [Xenomai-help] [testsuite/latency] intervals are much than 1 second

2005-12-16 Thread Gilles Chanteperdrix
doing a suspend/resume cycle without the CPUFreq modules loaded, Linux assumes that the CPU frequency remains the same whereas ACPI/BIOS changes it ? -- Gilles Chanteperdrix.

RE: [Xenomai-help] number-crunching execution jitter

2005-11-07 Thread Gilles Chanteperdrix
. -- Gilles Chanteperdrix.

Re: [Xenomai-help] Blocking reads from pipes

2005-11-17 Thread Gilles Chanteperdrix
(the real destruction of the file descriptor is delayed until read() really returns). -- Gilles Chanteperdrix.

Re: [Xenomai-help] Blocking reads from pipes

2005-11-17 Thread Gilles Chanteperdrix
Dmitry Adamushko wrote: On Thursday 17 November 2005 18:24, Gilles Chanteperdrix wrote: Dmitry Adamushko wrote: As a conclusion, the behaviour that you observed with Xenomai pipes seems consistent with that of Linux' named pipes, except that in Linux read() returns 0

Re: [Xenomai-help] kernel module misses rt_get_time

2005-11-17 Thread Gilles Chanteperdrix
, there is nothing but the init.c file. So, using xnpod_get_time appears to be the safe bet. -- Gilles Chanteperdrix.

Re: [Xenomai-help] v2.1 becomes trunk.

2005-11-17 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: Now that the 2.1 branch is becoming the branch where Philippe is working, errh... I mean, where the main development effort occurs, it is time for this branch to become trunk, and for the old branch retirement. So, a rename will occur in two hours

Re: [Xenomai-help] 2.6 kernel module with math functions

2005-11-18 Thread Gilles Chanteperdrix
from the Sun library too. -- Gilles Chanteperdrix.

[Xenomai-help] On-line documentation tree layout change.

2005-11-23 Thread Gilles Chanteperdrix
/scripts/maint/extract-doc -- Gilles Chanteperdrix.

Re: [Xenomai-help] Interrupt processing crashes in semTake

2005-11-25 Thread Gilles Chanteperdrix
. -- Gilles Chanteperdrix. Index: defs.h === --- defs.h (revision 153) +++ defs.h (working copy) @@ -55,7 +55,11

Re: [Xenomai-help] 2.6 kernel module with math functions

2005-11-27 Thread Gilles Chanteperdrix
, you have to do a mathematical analysis of their implementation for that (sqrt is probably implemented in hardware, so you have to read intel spec to know if the max cycles count is known, but it would be strange if it was not). -- Gilles Chanteperdrix.

Re: [Xenomai-help] Kernel oops on posix threads

2005-10-12 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: Ok, you really ought to try xenomai, because this strangely looks like a bug that was fixed. It was not as reproducible as that in my test cases though... Instructions to download current revision of xenomai sources may be found here : https://gna.org/svn/?group

Re: [Fwd: Re: [Xenomai-help] Xenomai - PPC]

2005-10-15 Thread Gilles Chanteperdrix
? -- Gilles Chanteperdrix.

Re: [Xenomai-help] Xenomai PPC - Disable FP : Bingo !

2005-10-15 Thread Gilles Chanteperdrix
choosing a processor without altivec support in kernel configuration menu, re-compile kernel and re-enable Xenomai FPU support. -- Gilles Chanteperdrix.

Re: [Xenomai-help] XenoPPC : Latency test results

2005-10-15 Thread Gilles Chanteperdrix
the 150us latency without X running at all ? Do you also have them when disabling Altivec/Spe support in kernel configuration ? -- Gilles Chanteperdrix.

Re: [Xenomai-help] XenoPPC :- 2.6.13.4-ipipe :)

2005-10-15 Thread Gilles Chanteperdrix
threads in primary mode without causing a transition to secondary mode. This is too restrictive. -- Gilles Chanteperdrix.

Re: [Xenomai-help] XenoPPC :

2005-10-15 Thread Gilles Chanteperdrix
a DvD and tell us if it has an impact on latency ? TIA. -- Gilles Chanteperdrix.

Re: [Xenomai-help] compiling xenomai on x86_64

2005-10-18 Thread Gilles Chanteperdrix
-gcc that directly cross compiles for ia32 ? If not, would not the following wrapper do the trick ? #! /bin/sh exec `expr $0 : 'i686-linux-\(.*\)'` -m32r ${1+$@} It should work with most build systems... -- Gilles Chanteperdrix.

Re: [Xenomai-help] compiling xenomai on x86_64

2005-10-18 Thread Gilles Chanteperdrix
flags from Kbuild was not work here, because of ahem, quoting issues. There are some -m arguments we do not want (such as for example the -msoft-float used in ppc kernel space). -- Gilles Chanteperdrix.

Re: [Xenomai-help] compiling xenomai on x86_64

2005-10-18 Thread Gilles Chanteperdrix
from the Adeos/I-pipe patched 2.6 kernel you are compiling for, not those which come from your distribution. -- Gilles Chanteperdrix.

Re: [Xenomai-help] compiling xenomai on x86_64

2005-10-18 Thread Gilles Chanteperdrix
on an x86_64 with Fedora Core installed. And there was an i386-linux-gcc, but it needed a special package. -- Gilles Chanteperdrix.

Re: [Xenomai-help] compiling xenomai on x86_64

2005-10-18 Thread Gilles Chanteperdrix
Heikki Lindholm wrote: Gilles Chanteperdrix kirjoitti: Philippe Gerum wrote: Probably grabbing more stuff from the kernel cflags into XENO_ARCH_FLAGS (e.g. -m[0-9]* to start with). Gilles, would this be ok? Probably, but last time I checked that, the ppc-compiled version

Re: [Xenomai-help] compiling xenomai on x86_64

2005-10-18 Thread Gilles Chanteperdrix
are following to compile (whether in-tree, or out-of-tree, whether using configure or Kconfig, everything that would allow someone to ), the .config and .xeno_config files you used, in order for me to be able to reproduce the problem you observed ? -- Gilles

Re: [Xenomai-help] latency_rt: disagrees about version of symbol rt_task_wait_period

2005-10-18 Thread Gilles Chanteperdrix
too ? I renamed Kbuild files into Makefiles this morning, I can not figure how this could break compilation though. -- Gilles Chanteperdrix.

Re: [Xenomai-help] compiling xenomai on x86_64

2005-10-18 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: I just analysed this further: the problem disappears when I manually remove any -Ipath-to-kernel-includes from the makefiles. Seems to be the well-known user space include issue again... ;) I tried

Re: [Xenomai-help] Strangeness in named Semaphores(xenomai posix skin)

2005-10-22 Thread Gilles Chanteperdrix
the assumption that 0 is a valid numeric value for the enum O_RDONLY/O_WRONLY/O_RDWR. oh, hell yeah, forgot it. Actually, you do not have to pass O_RDONLY/O_WRONLY/O_RDWR flags to sem_open. I was mixing sem_open and mq_open. Sorry. -- Gilles

Re: [Xenomai-help] Non-deterministic behaviour in primary mode

2006-03-30 Thread Gilles Chanteperdrix
Saul wrote: I have no idea what to try next but thanks for the advice. I think some progress was made :) If it is enabled, could you try disabling cpufreq ? -- Gilles Chanteperdrix. ___ Xenomai-help

Re: [Xenomai-help] Non-deterministic behaviour in primary mode

2006-03-31 Thread Gilles Chanteperdrix
). -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Doxygen fails to document rt_task_send() and friends

2006-04-06 Thread Gilles Chanteperdrix
CONFIG_XENO_OPT_NATIVE_MPS command in /ksrc/skins/native/task.c. Sorry, no patch for now... The patch is to add CONFIG_XENO_OPT_NATIVE_MPS to the value of Doxyfile PREDEFINED tag. The documentation in the repository is up to date. -- Gilles Chanteperdrix

Re: [Xenomai-help] Non-deterministic behaviour in primary mode

2006-04-11 Thread Gilles Chanteperdrix
to change resolution when starting capture ? -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Vxworks skin Task priority

2006-04-11 Thread Gilles Chanteperdrix
. (...) xnpod_activate_rr(SSEXEC_TIMESLICE); You are supposed to use kernelTimeSlice() to enable round-robin. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo

Re: [Xenomai-help] Re: Vxworks skin Task priority

2006-04-12 Thread Gilles Chanteperdrix
initialization routine runs on the root context, the idle task, the lowest priority task in the system. So, the first created task is alone in its priority group, only yields to itself every 10 ticks, and uses 100% of the CPU. -- Gilles Chanteperdrix

Re: [Xenomai-help] Problems running testsuite

2006-04-14 Thread Gilles Chanteperdrix
by configure, at least if not cross-compiling, by running getconf GNU_LIBPTHREAD_VERSION. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Problems running testsuite

2006-04-16 Thread Gilles Chanteperdrix
? Here is an example, doing this in plain C : https://listman.redhat.com/archives/phil-list/2003-April/msg00036.html -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https

Re: [Xenomai-help] my tick takes a break !!

2006-04-19 Thread Gilles Chanteperdrix
to leave Linux tick normally. This means that if you configured CONFIG_HZ=100, your real-time activity (including kernel-space tasks and user-space tasks in primary mode) is supposed to take a break at least once every 1/100 second. -- Gilles

RE: [Xenomai-help] my tick takes a break !!

2006-04-19 Thread Gilles Chanteperdrix
second. -- Gilles Chanteperdrix. Oh no! Sorry, I mean the real-time tick counter! If the heavy task is using intLock() then yes, it will prevent the timer from ticking. If you are observing something else, could you send to this mailing

RE: [Xenomai-help] my tick takes a break !!

2006-04-21 Thread Gilles Chanteperdrix
Thomas, Brieuc \(GE Healthcare\) wrote: Oh no! Sorry, I mean the real-time tick counter! Could you try the attached patch ? -- Gilles Chanteperdrix. --- include/asm-uvm/system.h~ 2006-04-05 15:08:08.0 +0200 +++ include/asm-uvm/system.h

RE: [Xenomai-help] my tick takes a break !!

2006-04-23 Thread Gilles Chanteperdrix
Thomas, Brieuc \(GE Healthcare\) wrote: I tried it, but there isn't any change ! I've got the same behaviour. I could reproduce your bug here. The uvm-timer thread is blocked in W state, just as if the interrupts were locked. -- Gilles

RE: [Xenomai-help] my tick takes a break !!

2006-04-24 Thread Gilles Chanteperdrix
Thomas, Brieuc \(GE Healthcare\) wrote: -Message d'origine- De : Gilles Chanteperdrix [mailto:[EMAIL PROTECTED] Envoyé : dimanche 23 avril 2006 14:54 À : Thomas, Brieuc (GE Healthcare) Cc : xenomai-help@gna.org Objet : RE: [Xenomai-help] my tick takes a break

Re: [Xenomai-help] my tick takes a break !!

2006-04-24 Thread Gilles Chanteperdrix
VxWorks interface from user-space exactely the way one would use the existing native or POSIX skin. But round-robin scheduling will not work for threads in secondary mode, whereas it works with UVM. -- Gilles Chanteperdrix

Re: [Xenomai-help] my tick takes a break !!

2006-04-24 Thread Gilles Chanteperdrix
Philippe Gerum wrote: Gilles Chanteperdrix wrote: Philippe Gerum wrote: If you feel lucky, the 3rd option coming with v2.2 is to get rid of the UVM and use the new direct call interface now available from user-space for the VxWorks skin. In such a case, you need 1

Re: [Xenomai-help] Posix skin illegal seek on sem_wait

2006-04-25 Thread Gilles Chanteperdrix
and pthread_wait_np. For other details about Xenomai implementation of the POSIX API, see: http://snail.fsffrance.org/www.xenomai.org/documentation/trunk/html/api/group__posix.html -- Gilles Chanteperdrix

Re: [Xenomai-help] Posix skin illegal seek on sem_wait

2006-04-25 Thread Gilles Chanteperdrix
mask, so timer_settime should be moved to the clock_it() thread. A last issue is that pthread_sigmask errors are returned directly, and not through errno. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list

Re: [Xenomai-help] mutex_init() error when build

2006-05-15 Thread Gilles Chanteperdrix
, but we will likely have to backport this fix. The fix was backported, commit 772, and is included in release v2.1.1: http://download.gna.org/xenomai/stable/xenomai-2.1.1.tar.bz2 -- Gilles Chanteperdrix

[Xenomai-help] Re: [Xenomai-core] Xenomai v2.2-rc2

2006-05-22 Thread Gilles Chanteperdrix
is configured in periodic mode, the test should pass. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Error compiling posix skin

2006-05-24 Thread Gilles Chanteperdrix
of glibc are you using ? Could you try the attached patch ? Maybe other definitions than clockid_t are missing, timer_t for example. -- Gilles Chanteperdrix. Index: include/posix/time.h

Re: [Xenomai-help] VxWorks side-by-side with POSIX

2006-05-26 Thread Gilles Chanteperdrix
have a look at POSIX skin documentation; it should document explicitely which services are restricted to which contexts. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https

[Xenomai-help] Re: [Xenomai-core] Xenomai v2.2-rc2

2006-05-26 Thread Gilles Chanteperdrix
Niklaus Giger wrote: Do you have any clue? (Doubling the stack in vm/thread.cc didn't help.) Automatic re-building does not work for the simulator. So, in case of segmentation fault, try: make clean all check -- Gilles Chanteperdrix

Re: [Xenomai-help] Best way to identify a Xenomai task

2006-05-28 Thread Gilles Chanteperdrix
Jean-Olivier Villemure wrote: Gilles Chanteperdrix wrote: The task Id of a new task is also returned by the task creation services: - rt_task_create for the native skin Thank you for your answer! Looking at the API, i see that rt_task_create returns: - 0 is returned upon

Re: [Xenomai-help] rt_heap_delete in asynchronous context

2006-05-29 Thread Gilles Chanteperdrix
it. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] xnpod help

2006-06-01 Thread Gilles Chanteperdrix
a look at the simulator, it will allow you to run your skin in a debugger and to get reproducible behaviours. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org

Re: [Xenomai-help] xnpod help

2006-06-02 Thread Gilles Chanteperdrix
to create your non-realtime threads as real-time threads and let them switch to secondary mode when they use non-realtime services. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https

Re: [Xenomai-help] shm_open, ftruncate

2006-06-02 Thread Gilles Chanteperdrix
. -- Gilles Chanteperdrix. Index: ksrc/skins/posix/shm.c === --- ksrc/skins/posix/shm.c (revision 1143) +++ ksrc/skins/posix/shm.c (working copy) @@ -516,10 +516,8

Re: [Xenomai-help] shm_open, ftruncate

2006-06-05 Thread Gilles Chanteperdrix
in the same address space, the simplest way to share information from rt to non-rt tasks is to create them as threads of the same process. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help

Re: [Xenomai-help] shm_open, ftruncate

2006-06-06 Thread Gilles Chanteperdrix
: Invalid argument. Am I the only one to have this problem ? Using trunk, your example run fine. Which version of Xenomai are you using ? If not trunk, did you apply the patch I sent ? -- Gilles Chanteperdrix

Re: [Xenomai-help] shm_open, ftruncate

2006-06-06 Thread Gilles Chanteperdrix
: Invalid argument. Am I the only one to have this problem ? No, these errors were due to a few fixes in trunk that had not been backported to the 2.1 branch. It should now be fixed in the repository. -- Gilles Chanteperdrix

Re: [Xenomai-help] shm_open, ftruncate

2006-06-07 Thread Gilles Chanteperdrix
with a low priority would allow you to share synchronization objects between the real-time and non real-time activites. You may also create non real-time threads in a real-time process by calling __real_pthread_create instead of pthread_create. -- Gilles

Re: [Xenomai-help] shm_open, ftruncate

2006-06-09 Thread Gilles Chanteperdrix
. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Compaq nc6120 timer frequency

2006-06-12 Thread Gilles Chanteperdrix
Cedric Herreman wrote: Can anyone give me a hint on this problem ? disable cpufreq. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai

Re: [Xenomai-help] Xenomai v2.2-rc3

2006-06-26 Thread Gilles Chanteperdrix
, condition variables and semaphores) to be automatically destroyed when the process that created them terminates. Fortunately, since past versions ignored this attribute, setting it works for both past and future versions. -- Gilles Chanteperdrix

Re: [Xenomai-help] static linking of posix demo

2006-06-29 Thread Gilles Chanteperdrix
object with the -lpthread and -lrt libraries without the --wrap directives. The following Makefile snippet attempts to do this. -- Gilles Chanteperdrix. LIBDIR=$(shell DESTDIR=$(DESTDIR) $(XENO_CONFIG) --libdir) STAGE1_LDFLAGS:=$(patsubst %,--wrap

Re: [Xenomai-help] pthread_mutex_destroy in 2.2 rc2

2006-06-29 Thread Gilles Chanteperdrix
with the regular pthreads library the function does not return an error. Is this a Xenomai bug? Maybe, maybe not. Could you provide a small program showing the bug ? -- Gilles Chanteperdrix. ___ Xenomai-help mailing

RE: [Xenomai-help] pthread_mutex_destroy in 2.2 rc2

2006-07-02 Thread Gilles Chanteperdrix
. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] upgrading versions of xenomai 2.2

2006-07-02 Thread Gilles Chanteperdrix
your kernel? This problem is due to my usage scenario of the prepare-kernel.sh script. Maybe we can try to come to a better solution. In the mean-time, you can use the --forcelink switch. -- Gilles Chanteperdrix

RE: [Xenomai-help] pthread_mutex_destroy in 2.2 rc2

2006-07-03 Thread Gilles Chanteperdrix
it. -- Gilles Chanteperdrix. Index: ksrc/skins/posix/mutex.c === --- ksrc/skins/posix/mutex.c(revision 1288) +++ ksrc/skins/posix/mutex.c(revision 1289) @@ -132,6 +132,7 @@ inith(mutex-link); mutex-attr = *attr

Re: AW: [Xenomai-help] delete queues offline; /proc/stat

2006-07-06 Thread Gilles Chanteperdrix
. This is the only reasonable implementation I could find. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] FPU not available in user-space programs

2006-07-06 Thread Gilles Chanteperdrix
in primary mode. When in secondary mode, such an FPU fault happens every time the FPU is used after a context switch, you simply do not know about it because it is not accounted for. -- Gilles Chanteperdrix

Re: AW: [Xenomai-help] delete queues offline; /proc/stat

2006-07-06 Thread Gilles Chanteperdrix
is the same as Linux behaviour. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Detecting switch to secondary mode

2006-07-06 Thread Gilles Chanteperdrix
pthread_set_mode_np: http://www.xenomai.org/documentation/trunk/html/api/group__posix__thread.html#ga14 -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org

Re: [Xenomai-help] FPU not available in user-space programs

2006-07-06 Thread Gilles Chanteperdrix
Rodrigo Rosenfeld Rosas wrote: Is there a cleaner way to make possible to put comments inside the @code command? What about putting the commented code in a separate file and including it with \include ? -- Gilles Chanteperdrix

Re: [Xenomai-help] upgrading versions of xenomai 2.2

2006-07-07 Thread Gilles Chanteperdrix
? -- Gilles Chanteperdrix. Index: scripts/prepare-kernel.sh === --- scripts/prepare-kernel.sh (revision 1297) +++ scripts/prepare-kernel.sh (revision 1298) @@ -113,7 +113,9 @@ d=`dirname $f

Re: [Xenomai-help] xenomai beginner problem.

2006-07-07 Thread Gilles Chanteperdrix
/home/username/linux-2.6.17.4/.config as well as the build logs if compilation failed, may help. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo

Re: [Xenomai-help] xenomai beginner problem.

2006-07-08 Thread Gilles Chanteperdrix
not work, recompile your kernel with APIC support disabled. If you want to know more about this issue, read the TROUBLESHOOTING file. -- Gilles Chanteperdrix. ___ Xenomai-help mailing list Xenomai-help@gna.org

Re: [Xenomai-help] xenomai beginner problem.

2006-07-08 Thread Gilles Chanteperdrix
is it ? Also, if not running in text mode, could you run the tests in text mode, in order to be able to send us the kernel oops text or stack trace, if any. -- Gilles Chanteperdrix. ___ Xenomai-help mailing

Re: [Xenomai-help] Xenomai heap services

2006-07-10 Thread Gilles Chanteperdrix
[EMAIL PROTECTED] wrote: - is there a function telling me how much memory is available (to avoid linux tasks beeing killed). sysconf(_SC_AVPHYS_PAGES) * sysconf(_SC_PAGESIZE) -- Gilles Chanteperdrix

Re: [Xenomai-help] memset of heap crashes Xenomai-Task

2006-07-10 Thread Gilles Chanteperdrix
mlocking memory, your application can not use swap pages, so, you should substract the size of swap, if any. Also, what is the value of /proc/sys/vm/overcommit_memory on your system ? -- Gilles Chanteperdrix

Re: [Xenomai-help] memset of heap crashes Xenomai-Task

2006-07-10 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Gilles Chanteperdrix wrote: [EMAIL PROTECTED] wrote: Xenomai Version : 2.2-rc2 Skin : native Kernel : 2.4.25 Arch.: PPC I try to allocate as much memory as possible with the functions : rt_heap_create and rt_heap_alloc. (see also

  1   2   3   4   5   6   7   8   9   10   >