Hello,

I am trying to install RTNet on my desktop, but I can not even make the test 
script (single node) work properly.


Here is the output of the rtnet script:


dfb@sst-desktop:/usr/local/rtnet/sbin$ sudo ./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

For the installation, I followed the procedure given in 
"http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing";, with the 
following exception: isntead of using
#make gconfig
which was giving a problem when trying to find the installation path of the 
RTAI (which I have set correctly), I used:
#./configure --with-rtext=/usr/realtime --enable-r8169=yes --enable-rtcap=yes


My configuration:
Linux 2.6.32.11
RTAI 3.8.1
rtnet-0.9.12


*** OUTPUTS ***


Here is the output of the ifconfig (before disabling the eth2):


dfb@sst-desktop:~$ ifconfig -a
eth2      Link encap:Ethernet  HWaddr 20:cf:30:0e:68:e4
          inet addr:138.131.217.137  Bcast:138.131.217.255  Mask:255.255.255.0
          inet6 addr: fe80::22cf:30ff:fe0e:68e4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:90 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11523 (11.5 KB)  TX bytes:4958 (4.9 KB)
          Interrupt:55 Base address:0xe000

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:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:928 (928.0 B)  TX bytes:928 (928.0 B)
--------------------------------------------------------------------------------

Here is the output of the rtifconfig (after running the script):


dfb@sst-desktop:/usr/local/rtnet/sbin$ sudo ./rtifconfig
rtlo      Medium: Local Loopback
          IP address: 127.0.0.1
          UP LOOPBACK RUNNING  MTU: 1500
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
--------------------------------------------------------------------------------

Here is the output of the dmesg (after running the script):


dfb@sst-desktop:/usr/local/rtnet/sbin$ dmesg
[   45.033740] eth2: no IPv6 routers present
[  495.118401] I-pipe: Domain RTAI registered.
[  495.118406] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[  495.118408] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 
4.4.3-4ubuntu5.1) .
[  495.118507] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs 
VECTORED), ISOL_CPUS_MASK: 0).
[  495.118509] PIPELINE layers:
[  495.118512] f87b5a00 9ac15d93 RTAI 200
[  495.118514] c08a1b80 0 Linux 100
[  495.144617] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  495.144852] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <without RTAI OWN 
KTASKs>, <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[  495.144857] RTAI[sched]: hard timer type/freq = APIC/8351627(Hz); default 
timing: oneshot; linear timed lists.
[  495.144860] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 
2672690000 hz.
[  495.144862] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[  495.144863] RTAI[usi]: enabled.
[  495.258979] RTDM started.
[  531.737455]
[  531.737457] *** RTnet 0.9.12 - built on May 31 2013 09:57:27 ***
[  531.737458]
[  531.737461] RTnet: initialising real-time networking
[  531.793098] Initializing rt_r8169 driverinitializing loopback...
[  531.806344] RTnet: registered rtlo
[  531.836001] RTcfg: init real-time configuration distribution protocol
[  531.857900] RTmac: init realtime media access control
[  531.877503] RTmac/TDMA: init time division multiple access control mechanism
--------------------------------------------------------------------------------

Here is the output of lsmod (after running the script):


dfb@sst-desktop:/usr/local/rtnet/sbin$ lsmod
Module                  Size  Used by
tdma                   15897  0
rtmac                   7550  1 tdma
rtcfg                  39142  0
rt_loopback             1023  1
rt_r8169               14093  0
rtpacket                3994  0
rtipv4                 17650  1 rtcfg
rtnet                  32742  7 
tdma,rtmac,rtcfg,rt_loopback,rt_r8169,rtpacket,rtipv4
rtai_netrpc            24980  0
rtai_rtdm             211102  5 tdma,rtcfg,rt_r8169,rtpacket,rtnet
rtai_msg               25447  0
rtai_mbx               12587  1 rtai_netrpc
rtai_sem               27602  6 tdma,rtcfg,rtnet,rtai_netrpc,rtai_rtdm,rtai_mbx
rtai_fifos             22889  0
rtai_lxrt             153141  12 
tdma,rtcfg,rt_loopback,rt_r8169,rtipv4,rtnet,rtai_netrpc,rtai_rtdm,rtai_msg,rtai_mbx,rtai_sem,rtai_fifos
rtai_hal              268201  10 
tdma,rtcfg,rtnet,rtai_netrpc,rtai_rtdm,rtai_msg,rtai_mbx,rtai_sem,rtai_fifos,rtai_lxrt
binfmt_misc             6401  1
ppdev                   5135  0
snd_hda_codec_realtek   201620  1
snd_hda_intel          21627  2
snd_hda_codec          72643  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5586  1 snd_hda_codec
snd_pcm_oss            34521  0
snd_mixer_oss          13719  1 snd_pcm_oss
snd_pcm                69218  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           1338  0
snd_seq_oss            26632  0
snd_seq_midi            4621  0
snd_rawmidi            18931  1 snd_seq_midi
snd_seq_midi_event      6035  2 snd_seq_oss,snd_seq_midi
snd_seq                47288  6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              18318  2 snd_pcm,snd_seq
snd_seq_device          5764  5 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
agpgart                31376  0
snd                    54318  16 
snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               6954  1 snd
snd_page_alloc          7172  2 snd_hda_intel,snd_pcm
psmouse                62068  0
asus_atk0110            8618  0
serio_raw               4074  0
processor              30644  0
button                  4810  0
joydev                  8204  0
lp                      7092  0
parport                32848  2 ppdev,lp
usbhid                 35268  0
hid                    65711  1 usbhid
ohci1394               26849  0
pata_jmicron            1843  0
ahci                   31428  0
ieee1394               80443  1 ohci1394
mii                     4413  0
thermal                10997  0
--------------------------------------------------------------------------------

Does anyone know what I am doing wrong? Some hypothesis:
- I am using just "#./configure ..." instead of "# make menuconfig" to install 
the library.
- I am using r8169/rt_r8169 - is this driver working properly?
- My network card is eth2 instead of eth0.


�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D
Diego F. Boesel, M.Sc. (Technology)
R&D Engineer
diego.boe...@csem.ch<mailto:diego.boe...@csem.ch>
T    +41 41 672 75 12
F    +41 41 672 75 00
�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D
CSEM Centre Suisse d’Electronique et de Microtechnique SA
Central Switzerland Center
Untere Gründlistr. 1  |   CH-6055 Alpnach Dorf
www.csem.ch<http://www.csem.ch/>
�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D�D

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to