If you are busy do not read this. I made a programming mistake plain and
simple.
Thanks to everyone for their replies. In my typical form I had assumed
that my code was wrong. After playing with trying to delay the exit and
using printk and rtl_printf (very nice BTW) nothing was helping. Then I
tried running it at the console and messages started showing up. Right at
that time I read a message saying rtl_printf only works at a console not
under X. To this I concur and am glad to be able to reproduce the
experiment :.}. However the machine still hung at rmmod.
Then after all of this I noticed that I had used
close(rt_fifo[COMMAND_FIFO]); in place of rtl_destroy(COMMAND_FIFO);
Let me just mention that this is likely to freeze the machine if you put
it in a module (The close function is available to your code). After
changing it to rtl_destroy everything was happy!
Is there a desire for a template to use to start from? Something like a
thread with shared memory and a little gui on the user side. Throw in a
make file and Tada. So that is what I have, mostly. I will freeze this
and hold on to it for a week or so. If people would like it please email
me, I can clean it up a little and document it properly. Perhaps we could
include it into the distribution examples as a starting point for new
inductees.
Any takers?
John
[EMAIL PROTECTED]
--- [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/