Hi Anders
2012/2/9 Anders Blomdell <anders.blomd...@control.lth.se>
> On 02/08/2012 05:53 PM, Santiago Focke wrote:
>
>> Hi Anders
>>
>> Thanks for the reply, but I didn't really understand what should I do. How
>> should I check the interrupt conflicts?
>>
> /proc/interrupts
>
>
But what exactly should I check? How do I know if there are conflicts?
> When I type lspci i get 'Ethernet controller: Intel Corporation 82577LM
>> Gigabit Network Connection (rev 06)'.
>>
> Two of them, I guess from your original question? Which obviously was
> about how to get RTnet to work at all, and not how to use multiple drivers
> for different cards.
>
>
Sorry, I forgot to put the other one (02:00.0 Ethernet controller: Intel
Corporation 82574L Gigabit Network Connection). My intension is to make
RTNET work, but leaving eth0 for non RT networks and eth1 for the RT
EtherCat network. Anyway, I haven't been able to make it work at all (I'm
getting the errors posted in the previous e-mail).
>
> The network driver I'm using is e1000e.
>>
> Which is not a RTnet driver. Check rt_e1000, rt_eepro100 or rt_e1000_new
> if they have support for your specific ethernet card (might be that you
> have to get a version from the rtnet repository).
>
Yes, this is the non RT driver I've been using. I've tried to install
rt_e1000 and 8139too. After removing the e1000e driver, I run the script
'rtnet start' and I get the errors, but I see that the modules rtnet,
rtipv4, rt_e1000, rtpacket, rt_loopback,rtcfg, rtmac and tdma are
installed.
Nevertheless, when I type ifconfig it's displaying just 'lo'. Should I see
rteth1 when the installation is correct and I type ifconfig??
Also, where can I check the cards supported by each driver? I just found a
list in the rtnet site http://rtnet.org/doc.html. Is that list complete? If
it is, I guess I would have to change my NIC, since both of them are Intel
8257x.
>
> BTW, which gcc version are you using, if it's 2.6.0 you might have to use
> -fno-omit-frame-pointer (see xenomai mail archive) while building xenomai.
>
No, the gcc version is 4.4.3 (Ubuntu 4.4.3-4ubuntu5).
>
>
> I tried to follow the instructions
>> given in http://www.xenomai.org/index.**php/RTnet:Installation_%26_**
>> Testing <http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing>
>> just changing 'RT_DRIVER_OPTIONS="cards=0,1"**' in rtnet.config and
>> running '
>> rtnet start ', but I dont know exactly which steps should I do and in what
>> order. Also I've get some errors like:
>>
>> #(when running ' 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
>> Waiting for all slaves...ioctl: No such device
>> ioctl: No such device
>>
>> #(when typing ' insmod e1000 ' or ' insmod e1000 ')
>> sudo insmod e1000
>> insmod: can't read 'e1000': No such file or directory
>>
>>
>> #(when typing ifup ' eth0 ', after installing the e1000e module from the
>> drivers in the linux source)
>> sudo insmod
>> /home/corbys/linux-2.6.38.8_**xenomai-2.6.0/drivers/net/**
>> e1000e/e1000e.ko
>> sudo ifup eth0
>> Ignoring unknown interface eth0=eth0.
>>
>> What am I doing wrong?
>>
>> BR,
>>
>>
>> 2012/2/8 Anders
>> Blomdell<anders.blomdell@**control.lth.se<anders.blomd...@control.lth.se>
>> >
>>
>> On 02/08/2012 03:29 PM, Santiago Focke wrote:
>>>
>>> Hi all
>>>>
>>>> I've been working with SOEM EtherCAT master and now I'm trying to
>>>> migrate
>>>> my work to a Xenomai-RTNET environment. I've already installed Xenomai
>>>> 2.6.0 (linux kernel 2.6.38.8) and RTNET 0.9.12, the last one with the
>>>> following steps:
>>>>
>>>> cd /usr/src
>>>> sudo git clone git://rtnet.git.sourceforge.****net/gitroot/rtnet/rtnet<
>>>> http:/**/rtnet.git.sourceforge.net/**gitroot/rtnet/rtnet<http://rtnet.git.sourceforge.net/gitroot/rtnet/rtnet>
>>>> >
>>>>
>>>> cd rtnet/
>>>> sudo make menuconfig
>>>> sudo make
>>>> sudo make install
>>>> sudo mknod /dev/rtnet c 10 240
>>>>
>>>> What do I have to do if I want to keep eth0 for non-RT network and eth1
>>>> for
>>>> RT?
>>>>
>>>> 1. Look out for interrupt conflicts
>>> 2. Assume that lspci gives something like:
>>> 06:00.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 ...
>>> 06:01.0 Ethernet controller: Intel Corporation 82541PI ...
>>> Then you should be ready to go after something like:
>>> echo 0000:06:01.0> /sys/bus/pci/drivers/e1000/****unbind
>>> echo 0000:06:01.0> /sys/bus/pci/drivers/rt_e1000/****bind
>>> echo 0000:06:00.0> /sys/bus/pci/drivers/eepro100_****rt/unbind
>>>
>>> echo 0000:06:00.0> /sys/bus/pci/drivers/e100/bind
>>>
>>> Regards
>>>
>>> Anders
>>>
>>> --
>>> Anders Blomdell Email: anders.blomd...@control.lth.se
>>> Department of Automatic Control
>>> Lund University Phone: +46 46 222 4625
>>> P.O. Box 118 Fax: +46 46 138118
>>> SE-221 00 Lund, Sweden
>>>
>>>
>>>
>>
>>
>
> --
> Anders Blomdell Email: anders.blomd...@control.lth.se
> Department of Automatic Control
> Lund University Phone: +46 46 222 4625
> P.O. Box 118 Fax: +46 46 138118
> SE-221 00 Lund, Sweden
>
>
--
Ing. Santiago Focke
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users