Hi Anders
Thanks for the reply, but I didn't really understand what should I do. How
should I check the interrupt conflicts?
When I type lspci i get 'Ethernet controller: Intel Corporation 82577LM
Gigabit Network Connection (rev 06)'.
The network driver I'm using is e1000e. 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
>
>
--
Santiago
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users