Dennis Windisch wrote: > I'm having a problem with starting RTnet. > > When I use the start script provided by RTnet I get the following output: >> /usr/rtnet/sbin/rtnet: line 113: $TDMA_CONFIG: ambiguous redirect >> vnic0: unknown interface: No such device >> SIOCSIFADDR: No such device >> vnic0: unknown interface: No such device >> SIOCSIFNETMASK: No such device >> Waiting for all slaves... > > Then I'm returned to the prompt (the system doesn't crash). I didn't set > any slaves in rtnet.conf (since the slaves aren't running on RTAI/RTnet, > as mentioned in an earlier thread of me). I just wanted to test if RTnet > works.
The standard start script is not prepared to handle the "TDMA-less" scenario. Please have a look at the rough description I recently added to the main README (see SVN repository) about starting manually. > > When I check "rtifconfig", only the loopback functions: >> rtlo Medium: Local Loopback >> IP address: 127.0.0.1 >> UP LOOPBACK RUNNING MTU: 1500 > > Also in dmesg there doesn't seems to be an error message or something > like this: >> RTDM started. >> >> *** RTnet 0.9.2 - built on Feb 24 2006 15:23:23 *** >> >> RTnet: initialising real-time networking >> rt_8139too Fast Ethernet driver 0.9.24-rt0.4 >> RTnet: registered rteth0 >> initializing loopback... >> RTnet: registered rtlo >> RTcfg: init real-time configuration distribution protocol >> RTmac: init realtime media access control >> RTmac/TDMA: init time division multiple access control mechanism > > Some errors I can exclude: /dev/rtnet does exist and > in /proc/rtnet/rtcfg/ exist two directories: rteth0 and rtlo. The state > file in /proc/rtnet/rtcfg/rteth0/ doesn't also seem to be wrong: >> state: 1 (SERVER_RUNNING) >> flags: 00010002 >> other stations: 0 >> stations found: 0 >> stations ready: 0 >> configured clients: 0 >> burstrate: 4 >> heartbeat period: 1000 ms > > So I'm quite at a loss what could be the reason why RTnet won't start or > rather why only RTloopback starts. > Jan
signature.asc
Description: OpenPGP digital signature