Hello,

I got problems with transfer of data from kernelspace to userspace via
RTFifo.

I've defined a periodic task in a rt_module with a period time of 500mks. In
the thread of this task I do nothing but write a RTIME-Value in a created
RTFifo.
    RTIME     var;
   ...
    rtf_put(0, &var, sizeof(var) );

On the linux -side I read the value with
    RTIME        Mainvar;
    ...
    read(rtf0, &Mainvar, sizeof(Mainvar) );



It works perfect on a Pentium but I use a 486 50Mhz IPC and there I get
wrong transferdata and errormessages of rtf_put.  How can I make sure that I
get the right data from kernelspace to userspace via RTFifo (can I block
writing till everything is written ?) or is there a better solution
available, i.e. shared memory ?

I use Kernel 2.0.33, RTPatch rtlinux-0.6-2_0_33.tgz and Paolo Mantegazza's
myrtlinux-0.6 and SusE linux
6.0.


Thanks in advance
Christian



Krones AG
Boehmerwaldstrasse 5
93068 Neutraubling
Tel.: (0 94 01) 70 - 0       Fax: (0 94 01) 70 - 24 88


--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to