Hi Jan and all:
I have problems when I type "rtnet start":
=========================================================
r...@ubuntu:/usr/local/rtnet/modules# rtnet start
ioctl: No such device
ioctl: No such device
ioctl: No such device
ioctl: No such device
ioctl (add): No such device
vnic0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
vnic0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
Waiting for all slaves...ioctl: No such device
ioctl: No such device
=========================================================
there are two network cards in my PC, here is my informations:
r...@ubuntu:/home/lab211# hwinfo --network
20: None 00.0: 10701 Ethernet
[Created at net.125]
Unique ID: usDW.ndpeucax6V1
Parent ID: rBUF.906XDoBT_aD
SysFS ID: /class/net/eth0
SysFS Device Link: /devices/pci0000:00/0000:00:1e.0/0000:01:08.0
Hardware Class: network interface
Model: "Ethernet network interface"
Driver: "e100"
Driver Modules: "e100"
Device File: eth0
HW Address: 00:11:11:0c:88:97
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #1 (Ethernet controller)
21: None 02.0: 10701 Ethernet
[Created at net.125]
Unique ID: pDke.ndpeucax6V1
Parent ID: mY_N.IQxIdIhhuH7
SysFS ID: /class/net/eth2
SysFS Device Link: /devices/pci0000:00/0000:00:1e.0/0000:01:01.0
Hardware Class: network interface
Model: "Ethernet network interface"
Driver: "8139too"
Driver Modules: "8139too"
Device File: eth2
HW Address: 00:e0:50:35:57:01
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #2 (Ethernet controller)
22: None 00.0: 10700 Loopback
[Created at net.125]
Unique ID: ZsBS.GQNx7L4uPNA
SysFS ID: /class/net/lo
Hardware Class: network interface
Model: "Loopback network interface"
Device File: lo
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown
=========================================================
r...@ubuntu:/home/lab211# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:11:0c:88:97
inet addr:10.104.0.199 Bcast:10.104.0.255 Mask:255.255.255.0
inet6 addr: fe80::211:11ff:fe0c:8897/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:62701 errors:0 dropped:0 overruns:0 frame:0
TX packets:67257 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4169121 (3.9 MB) TX bytes:41924497 (39.9 MB)
eth2 Link encap:Ethernet HWaddr 00:e0:50:35:57:01
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:50ff:fe35:5701/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46672 errors:0 dropped:0 overruns:0 frame:0
TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2809825 (2.6 MB) TX bytes:9515 (9.2 KB)
Interrupt:19 Base address:0xde00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2146 errors:0 dropped:0 overruns:0 frame:0
TX packets:2146 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:109104 (106.5 KB) TX bytes:109104 (106.5 KB)
=========================================================
r...@ubuntu:/home/lab211# ifconfig eth2 down
r...@ubuntu:/home/lab211# rmmod 8139co 8139too
=========================================================
r...@ubuntu:/home/lab211# lsmod
Module Size Used by
joydev 10432 0
af_packet 17668 0
i915 22784 2
drm 71188 3 i915
rfcomm 34960 2
l2cap 21248 13 rfcomm
bluetooth 51684 4 rfcomm,l2cap
nfsd 214256 13
auth_rpcgss 37024 1 nfsd
exportfs 5120 1 nfsd
ppdev 8324 0
dock 8724 0
sbs 12552 0
sbshc 5888 1 sbs
container 4608 0
video 16656 0
output 3840 1 video
battery 11524 0
nfs 245516 0
lockd 61704 3 nfsd,nfs
nfs_acl 3968 2 nfsd,nfs
sunrpc 161564 11 nfsd,auth_rpcgss,nfs,lockd,nfs_acl
iptable_filter 3328 0
ip_tables 11876 1 iptable_filter
x_tables 12548 1 ip_tables
nls_iso8859_1 4992 1
nls_cp437 6656 1
vfat 11776 1
fat 46876 1 vfat
ac 5252 0
lp 9860 0
loop 14596 0
ipv6 243332 16
evdev 9984 3
iTCO_wdt 11176 0
iTCO_vendor_support 4228 1 iTCO_wdt
button 7184 0
parport_pc 31652 1
parport 32200 3 ppdev,lp,parport_pc
shpchp 30100 0
intel_agp 22548 1
agpgart 27980 3 drm,intel_agp
pci_hotplug 27296 1 shpchp
pcspkr 3456 0
ext3 122504 2
jbd 44564 1 ext3
mbcache 7552 1 ext3
sg 30992 0
sr_mod 14756 0
sd_mod 26496 5
cdrom 34464 1 sr_mod
ata_generic 6020 0
pata_acpi 5888 0
usbhid 26752 0
hid 34560 1 usbhid
floppy 53380 0
ata_piix 15364 4
libata 138352 3 ata_generic,pata_acpi,ata_piix
scsi_mod 130348 4 sg,sr_mod,sd_mod,libata
e100 33164 0
mii 5504 1 e100
ehci_hcd 33292 0
uhci_hcd 23312 0
usbcore 125804 4 usbhid,ehci_hcd,uhci_hcd
thermal 13724 0
processor 24668 1 thermal
fan 4484 0
fuse 42772 3
=========================================================
r...@ubuntu:/usr/local/rtnet/modules# rtnet -v start
Turning on verbose mode
/usr/local/rtnet/sbin/rtifconfig rtlo up 127.0.0.1
/usr/local/rtnet/sbin/rtcfg rteth0 server
ioctl: No such device
/usr/local/rtnet/sbin/rtifconfig rteth0 up 127.0.0.2 netmask 255.255.255.0
ioctl: No such device
/usr/local/rtnet/sbin/tdmacfg rteth0 master 5000
ioctl: No such device
/usr/local/rtnet/sbin/tdmacfg rteth0 slot 0 0
ioctl: No such device
/usr/local/rtnet/sbin/rtcfg rteth0 add 127.0.0.1 -stage1 -
ioctl (add): No such device
vnic0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
vnic0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
Waiting for all slaves.../usr/local/rtnet/sbin/rtcfg rteth0 wait
ioctl: No such device
/usr/local/rtnet/sbin/rtcfg rteth0 ready
ioctl: No such device
=========================================================
my rtnet.config set as follows:
#!/bin/sh
#
# This file is usually located in <PREFIX>/etc/rtnet.conf
# Please adapt it to your system.
# This configuration file is used with the rtnet script.
#
# RTnet installation path
prefix="/usr/local/rtnet"
exec_prefix="${prefix}"
RTNET_MOD="${exec_prefix}/modules"
RTIFCONFIG="${exec_prefix}/sbin/rtifconfig"
RTCFG="${exec_prefix}/sbin/rtcfg"
TDMACFG="${exec_prefix}/sbin/tdmacfg"
# Module suffix: ".o" for 2.4 kernels, ".ko" for later versions
MODULE_EXT=".ko"
# RT-NIC driver
RT_DRIVER="rt_8139too"
RT_DRIVER_OPTIONS="cards=0,1,0,0"
# IP address and netmask of this station
# The TDMA_CONFIG file overrides these parameters for masters and backup
# masters. Leave blank if you do not use IP addresses or if this station is
# intended to retrieve its IP from the master based on its MAC address.
IPADDR=127.0.0.2 # "10.0.0.1"
NETMASK="255.255.255.0"
# 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)
# The TDMA_CONFIG file overrides this parameter.
STAGE_2_SRC=""
# Stage 2 config data destination file (slave mode only)
STAGE_2_DST=""
# Command to be executed after stage 2 phase (slave mode only)
STAGE_2_CMDS=""
# TDMA mode of the station ("master" or "slave")
# Start backup masters in slave mode, it will then be switched to master
# mode automatically during startup.
TDMA_MODE="master"
# Master parameters
# Simple setup: List of TDMA slaves
TDMA_SLAVES=127.0.0.1 #"10.0.0.2 10.0.0.3 10.0.0.4"
# Simple setup: Cycle time in microsecond
TDMA_CYCLE="5000"
# Simple setup: Offset in microsecond between TDMA slots
TDMA_OFFSET="200"
# Advanced setup: Config file containing all TDMA station parameters
# To use this mode, uncomment the following line and disable the
# three master parameters above (SLAVES, CYCLE, and OFFSET).
#TDMA_CONFIG="${prefix}/etc/tdma.conf"
=========================================================
even if I had removed the 8139 network card and changed:
RT_DRIVER="rt_eepro100"
RT_DRIVER_OPTIONS="cards=1,0,0,0"
and then type: rtnet start
it shows the same problem!
2010-04-13
xiaojun
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users