I have set this tdma.conf:

----tdma.conf ----
# Primary master

master:
ip 10.0.0.4
cycle 1000
slot 0 0
slot 0 800


# Backup master
#  Cycle is defined by the primary master

backup-master:
ip 10.0.0.5
backup-offset 200
slot 0 400 1/4

# Slave A
#  IP is assigned to the slave via its known MAC address

slave:
ip 10.0.0.5
mac 00:13:8F:79:E7:5B
slot 0 500
slot 1 400 1/4

----

in rtnet.conf of the two hosts i have
#TDMA_SLAVES
#TDMA_CYCLE
#TDMA_OFFSET

and i have in the master (rtnet.conf)
IPADDR="10.0.0.4"
TDMA_MODE="master"
TDMA_CONFIG="${prefix}/etc/tdma.conf"

and in the slave (rtnet.conf)
IPADDR="10.0.0.5 "
TDMA_MODE="slave"
TDMA_CONFIG="${prefix}/etc/tdma.conf"

When i run "rtnet start" on the two hosts, i have in master:
client entry already exists
Waiting for all slaves...

and in the slave:

Stage 1: searching for master ...

And the situation doesn't change. This is dmesg of the master:

---dmesg---

*** RTnet 0.9.4 - built on Sep 15 2006 14:22:10 ***

RTnet: initialising real-time networking
rt_8139too Fast Ethernet driver 0.9.24-rt0.6
ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 22 (level, low) -> IRQ 177
PCI: Enabling bus mastering for device 0000:01:05.0
RTnet: registered rteth0
initializing loopback...
RTnet: registered rtlo
RTcap: real-time capturing interface
RTcfg: init real-time configuration distribution protocol
RTmac: init realtime media access control
RTmac/TDMA: init time division multiple access control mechanism
RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_SERVER, state=RTCFG_MAIN_OFF
RTcfg: next main state=RTCFG_MAIN_SERVER_RUNNING
RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_ADD, state=RTCFG_MAIN_SERVER_RUNNING
RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_ADD, state=RTCFG_MAIN_SERVER_RUNNING
RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_WAIT, state=RTCFG_MAIN_SERVER_RUNNING
rtlo: no IPv6 routers present
rteth0: no IPv6 routers present
vnic0: no IPv6 routers present
rteth0-mac: no IPv6 routers present
hard_start_xmit returned -11
RTcfg: error -11 while sending stage 1 frame
rteth0: Shutting down ethercard, status was 0x0000.
RTDM: INFO > IRQ: 177, INTRCNT: 101519
RTmac/TDMA: unloaded
RTmac: unloaded
RTcfg: error -100 while sending stage 1 frame
RTcfg: unloaded
RTcap: unloaded
removing loopback...
RTnet: unregistered rtlo
RTnet: unregistered rteth0
RTnet: unloaded

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

Do you think my tdma.conf is wrong?
Tery

--
Teresa Noviello
Chiedersi Sempre:"Avro' il tempo di rifarlo?"
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to