Hi Fabian,

Thanks,  your instructions are extremely clear. Which makes it all the 
stranger that I am having trouble. The loading seems to function without 
complaint. E.g. after the operation I can do a ifconfig to see for 
example eth1 as the normal interface and do an rtifconfig to see rteth0.
Everything seems happy.

But when I try to USE the interfaces they don;t work. E.g. on the normal 
interface the pinging works but I don;t get any response from a host 
which is certainly alove and gives response if I do not also have a 
rtNIC loaded. And EML when using rtnet gets a socket but also seems to 
gets no response from the physical bus.

Below is the loading script.

I have three NICS two are on the same board (e1000) and one is on a 
separate PCI card (realtek). The below should function but does not.

Of course there is a chance that I connect to the incorrect NICS but 
extensive musical chairs has not given much joy either. :)

Anything I am doing obviously wrong?

Thanks for the time.

Roland


#!/bin/bash

#Step 1 unload the non-rt drivers
rmmod e1000             #eth0 on TORUS
rmmod 8139too           #this is for portus

#step 2 make rt node
mknod /dev/rtnet c 10 240

#step 3 load the rt drivers
insmod /usr/local/rtnet/modules/rtnet.ko rtskb_cache_size=512
insmod /usr/local/rtnet/modules/rtpacket.ko
insmod /usr/local/rtnet/modules/rt_loopback.ko

#NIC modules
insmod /usr/local/rtnet/modules/rt_8139too.ko  cards=1,0,0  # 0,1,0 
means use the middle (eth1) card. 1,0,0= use eth0 etc


/usr/local/rtnet/sbin/rtifconfig rtlo up
/usr/local/rtnet/sbin/rtifconfig rteth0 up

#step 4 load the non-rt driver on the second, third, fourth etc NIC
insmod /lib/modules/2.6.16/kernel/drivers/net/e1000/e1000.ko
ifconfig eth1 10.0.0.6 netmask 255.255.255.0






Fabian Koch wrote:
> Roland Tollenaar wrote:
>> If the first is realtek and the other has another chip. If I don;t
>> unload the module for the second chip then I presume that it will remain
>> functional as a normal ethrnet interface?
> 
> Ah sorry. Now I DO get it :o)
> 
> No of course this all only applies to cards with the same chipset.
> So if you have two cards with different chipsets then you of course only
> have to unload the one you want to use as RT-nic.
> But then again, in that scenario you don't need the cards= parameter.
> That is only neccessary for more than one NIC of the SAME chipset.
> 
> CU Fabian
> TabascoEye
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> RTnet-users mailing list
> RTnet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rtnet-users
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to