Hello Mr. Haabendal,

RTAI is an nanokernel which runs below the standard kernel, it has lesser functionalities than the normal kernel.

In RTAI context you can only use the RTAI-API or driver functionalities which do not depend on on other subsystems.
So you can use the specific drivers e100 or 8169too for example.

The generic driver depends on low level kernel network stack subsystem, so it is not useable under RTAI.

Under preempt kernel the kernel itself has realtime capabilities, so you can use the generic driver.


Please show the debugging output of the ethercat command if you read the register.

Greatings

Andreas



Esben Haabendal schrieb:
Florian Pose <[email protected]> writes:

Yes, as the documentation states, the generic Ethernet driver is not
usable with RTAI.

The documentation states:

  "The disadvantage is, that this approach does not support realtime
   extensions like RTAI, because the Linux network stack is addressed."

How is "realtime extensions like RTAI" to be interpreted in the above?
Specifically, what is the position on using ec_generic with RT_PREEMPT?

It seems to work, but I am about to investigate a kernel hang when doing
reg_read with ec_generic.  I am suspecting that this might be related to
using RT_PREEMPT, in which case I really hope there is a reasonable
chance of fixing it.

/Esben
_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users


--

------------------------------------------------------------------------

Dipl.-Ing. Andreas Stewering-Bone Amtsgericht Essen HRB 11500 Ingenieurgemeinschaft IgH USt-Id.-Nr.: DE 174 626 722 Gesellschaft für Ingenieurleistungen mbH Geschäftsführung: Heinz-Bäcker-Str. 34 Dr.-Ing. S. Rotthäuser D-45356 Essen Dr.-Ing. T. Finke Tel.: +49 201 / 360-14-15 Dr.-Ing. W. Hagemeister Fax.: +49 201 / 360-14-14 Tel.: +49 201 / 360-14-0 [email protected] http://www.igh-essen.com
------------------------------------------------------------------------

_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to