Dear Jan Kiszka,

Sorry for not understand properly the RTnet design.

My original idea is try to modify a network device driver to make it as
real-time driver. So that if there is an incoming packets, it always treats
with priority higher than other devices. Correct me if I am wrong? Actually,
I would like to develop web-based application to monitor and control devices
in real-time manner. Could you please advice on how RTnet can help on this?

Anyway, I have setup an RTnet environment with cross over cable. I have
observed that in the slave or client side that the tdmacfg rteth0 slot
0 200cause the system to be hang. What is the possible cause of the
problem?

[Master]
Turning on verbose mode

*** RTnet 0.9.9 - built on Aug 28 2007 14:18:03 ***

RTnet: initialising real-time networking
rt_at91_ether: no version for "kfree_rtskb" found: kernel tainted.
RTnet: registered rteth0
rteth0: Link now 100-FullDuplex
rteth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex
(14:09:07:05:05:02)
rteth0: Intel LXT971A PHY
initializing loopback...
RTnet: registered rtlo
/usr/rtnet/sbin/rtifconfig rtlo up 127.0.0.1
RTcfg: init real-time configuration distribution protocol
RTmac: init realtime media access control
RTmac/TDMA: init time division multiple access control mechanism
/usr/rtnet/sbin/rtcfg rteth0 server
RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_SERVER,
state=RTCFG_MAIN_OFF
RTcfg: next main state=RTCFG_MAIN_SERVER_RUNNING
/usr/rtnet/sbin/rtifconfig rteth0 up 172.16.6.203 netmask 255.255.255.0
rteth0: Link now 100-FullDuplex
/usr/rtnet/sbin/tdmacfg rteth0 master 5000
/usr/rtnet/sbin/tdmacfg rteth0 slot 0 0
/usr/rtnet/sbin/rtcfg rteth0 add 172.16.6.174 -stage1 -
RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_ADD,
state=RTCFG_MAIN_SERVER_RUNNING
Waiting for all slaves.../usr/rtnet/sbin/rtcfg rteth0 wait
RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_WAIT,
state=RTCFG_MAIN_SERVER_RUNNING

[Slave]
Turning on verbose mode
/usr/local/rtnet/sbin/rtifconfig rtlo up 127.0.0.1
/usr/local/rtnet/sbin/tdmacfg rteth0 slave
/usr/local/rtnet/sbin/rtifconfig rteth0 up 172.16.6.174 netmask
255.255.255.0
Stage 1: searching for master...$TDMACFG rteth0 slot 0 200;ifconfig vnic0 up
$IPADDR $NETMASK_OPT
/usr/local/rtnet/sbin/tdmacfg rteth0 slot 0 200

AT91 (as a master) and Intel M Processor (as a slave). After receiving the
TDMA sync frame, the slave hangs when executing the tdmacfg function.

Please advice. Thanks

Regards,
Chun Yeow

On 8/25/07, Jan Kiszka <[EMAIL PROTECTED]> wrote:
>
> Yeoh Chun Yeow wrote:
> > Dear Jan,
> >
> > Yes, I modfiy the original at91_ether from vanilla kernel and putting
> the
> > requirements for RTnet based on rtnet/Document, stripping off quite a
> number
> > of features in the original source and built it as a kernel module. It
> is
> > mess and I need to modify before posting. Which one you prefer,
> incorporate
> > inside rtnet-0.9.9 or using SVN?
>
> SVN is always preferred.
>
> >
> > By the way, there is no way to skip the TDMA mechanism if I would like
> use
> > the Linux networking stack?
>
> TDMA and RTmac can be left alone, like you already did. "Using the Linux
> networking stack", that is the point here. I still have a vague feeling
> that you are trying to use RTnet for some purpose it wasn't designed for
> (did you read my very first remarks regarding this?). What is your
> application scenario, and how shall RTnet help?
>
> Jan
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to