Hi,

   I tried using the rtf_put from my non-RT kernel Module. The
rtf_put is part of the init_module of my non-RT kernel module. Everytime I
try to load this module, it gives an error as "Operation not permitted"
and would'nt proceed beyond this.
   Something wierd is happening somewhere that Iam not aware of. I try to
write two separate texts into the same fifo and sometimes the first write
succeeds and sometimes does'nt. However the second write that is next to
the first write in my code, does'nt execute at all...

   However with the same program written in user space, Iam able to write
to the fifos successfully..

any ideas on what's going on would be much appreciated.

thanks,

Sai.


On Mon, 3 Dec 2001, Robert Kavaler wrote:

> You can think of the non-rt kernel as the idle task for the rt kernel.
>  So, you can use all of the rt fifo commands without any problems
> (rtf_put, rtf_get, the posix interface, etc.), you just may get
> preempted by rt kernel since you are the low priority guy.  Note the the
> fifo stuff is designed to handle preemption since it hard disables
> interrupts.  I use fifos in the kernel all the time interfacing to the
> networking code.
>
> Robert
>
>
> Ish Rattan wrote:
>
> >On Fri, 30 Nov 2001, Saikrishnan Krishnamurthy wrote:
> >
> >>Hi ishwar,
> >>
> >>    I guess I did'nt frame my question properly, last time. Sorry about
> >>that. Iam trying to open the fifo and write into it, from my
> >>"non-rt kernel module" and not from the userspace. Iam wondering how to
> >>open/read/write from the "nonRT kernel space" Module.
> >>
> >As far as I know open/read/write are not available for kernel programming
> >as they just provide interface to kernel itself.
> >
> >-ishwar
> >
> >-- [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/
> >
>
>
> -- [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/
>

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

Reply via email to