> It seems to me that if the FIFO handler have a lot of things to do
> will result in a segmentation fault of the user program (which 
> write to the FIFO and result in the running of the rtl FIFO 
> handler). I used some for loops witin the handler,  the user
> program works fine. But If I put some rtl_printf within 
> those for loops, the user program ends up with a segmentation fault. 
> When doing some more calculations instead of rtl_printf, the user
> program ends up with the same segmentaion fault. My RTL thread
> runs at 1khz rate. And my user program runs at 20Hz. Does these
> frequencies explain the reason?

What's the RTLinux version?

> 
> As my user program was choked with a segmentatin fault, and left the
> file (/dev/rtf12) descripter associated with the FIFO open, 
> without closing it. When I try to re-run the user program, 
> the device was busy, ...I 
> did not know how to solve this problem but deleted the /dev/rtf12 by
> a mistake. Is there anybody there able to tell me how could I 
> recover /dev/rtf12 with crw-r--r-- mode?

mknod /dev/rtf12 c 150 12
chmod 644 /dev/rtf12

Michael.

-- [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