Bret Yen-Ting Lin wrote:
Hi
Here are the kernel output for the master
"master station"
[...] RTcfg: rtcfg_do_conn_event() conn=c4f5bf60, event=RTCFG_FRM_ACK_CFG, state=RTCFG_CONN_STAGE_1 RTcfg: next connection state=RTCFG_CONN_STAGE_2 RTmac: tdma: tdma_task_change_con() succsessful RTmac: tdma: tdma_task_notify() shutdown complete RTmac: tdma: tdma_task_change_con() not successful RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_READY, state=RTCFG_MAIN_SERVER_RUNNING
What is lacking here, compared to a successful startup, is the output of all attached and configured clients. Is this definitely all printing from TDMA? You should try to increase its debug level (module parameter "tdma_debug" of tdma.o).
and this is the client
"client station"
[...] RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_READY, state=RTCFG_MAIN_CLIENT_2 RTcfg: next main state=RTCFG_MAIN_CLIENT_READY RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_FRM_READY, state=RTCFG_MAIN_CLIENT_READY
The RTcfg server is obviously able to send its ready frame, and the client receives it. But the other way around, it seems that the client's ready frame is stuck in the output queue of RTmac because the configuration phase was somehow unsuccessful.
It seems that in the master station.. there is a problem with tdma_task_change_con() - why is it doing twice ? and what should i do to try fixing this problem ? As for the client it awaits for the master's response and I assume this is acting normal ?
Is the debug output of RTcfg in /var/log/debug ? and how should i use it to fix my problem ?
RTcfg only posts to the kernel console.
You may attach some packet sniffer now, either via RTcap directly to the stations or using a third box in between both nodes (use a hub to see all the traffic).
Jan
------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

