Hi,everyone!
My system: redhat 9.0 server edition rtai3.0r4 rtnet0.7.1 NIC: Realtek 8139 On master, do "rtping <local IP>" successfully, but do "rtping <remote IP>" unsuccessfully. System hinted "ioctl: No buffer space available"
On client, do "rtping <local IP>" unsuccessfully, do "rtping <remote IP>" unsuccessfully too.
Do "ping <local or remote IP>" unsuccessfully too.
The example "round_trip_time" was also run unsuccessfully.
Did anybody run across the problem? What's wrong with my system?
Thanks in advance!
The following is the configure file "rtnet.conf"s and the execution results of master and client respectively.
On master(192.168.1.56):
/etc/rtnet.conf [ #!/bin/sh # RTnet installation path RTNET_PATH="/usr/local/rtnet"
# RT-NIC driver RT_DRIVER="8139too-rt" RT_DRIVER_OPTIONS="cards=1"
# IP address and netmask of this station IPADDR="192.168.1.56" NETMASK=""
# Start realtime loopback device ("yes" or "no") RT_LOOPBACK="yes"
# Start capturing interface ("yes" or "no") RTCAP="no"
# Common RTcfg stage 2 config data (master mode only) STAGE_2_SRC=""
# Stage 2 config data destination file (client mode only) STAGE_2_DST=""
# Command to be executed after stage 2 phase (client mode only) STAGE_2_CMDS=""
# TDMA mode of the station ("master" or "client") TDMA_MODE="master"
# List of TDMA clients (master mode only) TDMA_CLIENTS="192.168.1.88"
# Cycle time in microsecond (master mode only) TDMA_CYCLE="5000"
# Offset in microsecond between TDMA slots (master mode only) TDMA_OFFSET="200" ]
After I shut down standard linux netword, loaded required rtai modules and rtai_rtdm.o, and I did:
[EMAIL PROTECTED] rtnet-0.7.1]# rtnet start Waiting for all clients... Starting TDMA master...
[EMAIL PROTECTED] root]# rtifconfig rteth0 Medium: Ethernet Hardware address: 00:E0:4C:B2:4C:16 IP address: 192.168.1.56 Broadcast address: 192.168.1.255 UP BROADCAST RUNNING MTU: 1500
rtlo Medium: Local Loopback IP address: 127.0.0.1 UP LOOPBACK RUNNING MTU: 1500
[EMAIL PROTECTED] root]# ifconfig vnic0 Link encap:Ethernet HWaddr 00:E0:4C:B2:4C:16 inet addr:192.168.1.56 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MTU:1496 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[EMAIL PROTECTED] root]# rtping 192.168.1.56 Real-time PING 192.168.1.56 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 time=12.8 us 64 bytes from 127.0.0.1: icmp_seq=2 time=13.0 us 64 bytes from 127.0.0.1: icmp_seq=3 time=12.2 us . . .
[EMAIL PROTECTED] root]# ping 192.168.1.56 connect: Invalid argument
[EMAIL PROTECTED] root]# rtping 192.168.1.88 Real-time PING 192.168.1.88 56(84) bytes of data. ioctl: No buffer space available
On client( 192.168.1.88):
/etc/rtnet.conf [ #!/bin/sh
# RTnet installation path RTNET_PATH="/usr/local/rtnet"
# RT-NIC driver RT_DRIVER="8139too-rt" RT_DRIVER_OPTIONS="cards=1"
# IP address and netmask of this station IPADDR="192.168.1.88" NETMASK=""
# Start realtime loopback device ("yes" or "no") RT_LOOPBACK="yes"
# Start capturing interface ("yes" or "no") RTCAP="no"
# Common RTcfg stage 2 config data (master mode only) STAGE_2_SRC=""
# Stage 2 config data destination file (client mode only) STAGE_2_DST=""
# Command to be executed after stage 2 phase (client mode only) STAGE_2_CMDS=""
# TDMA mode of the station ("master" or "client") TDMA_MODE="client"
# List of TDMA clients (master mode only) # TDMA_CLIENTS="10.0.0.2 10.0.0.3 10.0.0.4"
# Cycle time in microsecond (master mode only) TDMA_CYCLE="5000"
# Offset in microsecond between TDMA slots (master mode only) TDMA_OFFSET="200" ]
After I shut down standard linux netword, loaded required rtai modules and rtai_rtdm.o, and I did:
[EMAIL PROTECTED] rtnet-0.7.1]# rtnet start Stage 1: searching for master... Stage 2: waiting for other clients... Stage 3: waiting for common setup completion...
[EMAIL PROTECTED] round_trip_time]# rtifconfig rteth0 Medium: Ethernet Hardware address: 00:E0:4C:8A:8C:D6 IP address: 192.168.1.88 Broadcast address: 192.168.1.255 UP BROADCAST RUNNING MTU: 1500
rtlo Medium: Local Loopback IP address: 127.0.0.1 UP LOOPBACK RUNNING MTU: 1500
[EMAIL PROTECTED] round_trip_time]# ifconfig vnic0 Link encap:Ethernet HWaddr 00:E0:4C:8A:8C:D6 inet addr:192.168.1.88 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MTU:1496 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[EMAIL PROTECTED] round_trip_time]# rtping 192.168.1.56 Real-time PING 192.168.1.56 56(84) bytes of data. ioctl: No buffer space available
[EMAIL PROTECTED] round_trip_time]# rtping 192.168.1.88 Real-time PING 192.168.1.88 56(84) bytes of data. ioctl: No buffer space available
[EMAIL PROTECTED] round_trip_time]# ping 192.168.1.56 PING 192.168.1.56 (192.168.1.56) 56(84) bytes of data.
--- 192.168.1.56 ping statistics ---
1759 packets transmitted, 0 received, 100% packet loss, time 1759207ms
[EMAIL PROTECTED] round_trip_time]# ping 192.168.1.88 connect: Invalid argument
Tannykie
_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users