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

> 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.

> 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).

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.


> I tried to follow the instructions
> given in  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.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>
>>> 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


------------------------------------------------------------------------------
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

Reply via email to