On 2013-05-27 19:09, Klemen Dovrtel wrote: > Thank you for you reply, > > I forgot to load the rtcfg module, i solved that problem. But i still can't > sniff the traffic with wireshark. I did load the rtcap right after the > driver. I can see the RTcap dmesg and also the rtping is responding slowly (i > assume RTcap adds some delay). But i still cant see the the rteth0 (or its > mirror as written in readme) with wireshark. If i understand this correctly > after i load the the RTcap module, the $ifconfig should show the mirror of > the rteth0 interface? A pasted the module load order, tmesg and ifconfig > reply below. > > Regards, > Klemen > > > sudo mknod /dev/rtnet c 10 240 > > # unbind the NIC from the driver > echo -n '0000:05:00.0' | sudo tee -a /sys/bus/pci/drivers/r8169/unbind > > sudo insmod /usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko > sudo insmod /usr/realtime-2.6.32-122-rtai/modules/rtai_lxrt.ko > sudo insmod > /usr/realtime-2.6.32-122-rtai/modules/rtai_sem.ko > sudo insmod /usr/realtime-2.6.32-122-rtai/modules/rtai_rtdm.ko > > sudo insmod /usr/local/rtnet/modules/rtnet.ko #needed for all rtnet modules > sudo insmod /usr/local/rtnet/modules/rt_loopback.ko > sudo insmod /usr/local/rtnet/modules/rt_r8169.ko > sudo insmod /usr/local/rtnet/modules/rtcap.ko #needed for sneefer > > sudo insmod /usr/local/rtnet/modules/rtpacket.ko > sudo insmod /usr/local/rtnet/modules/rtipv4.ko > sudo insmod /usr/local/rtnet/modules/rtcfg.ko > sudo insmod /usr/local/rtnet/modules/rtudp.ko > > sudo /usr/local/rtnet/sbin/rtifconfig rtlo up 127.0.0.1 > sudo /usr/local/rtnet/sbin/rtifconfig rteth0 up 142.1.1.2 netmask > 255.255.255.0 > sudo /usr/local/rtnet/sbin/rtroute solicit 142.1.1.3 dev rteth0 # Add host > route using ARP > > > > [ 68.849874] r8169 0000:05:00.0: PCI INT A disabled > [ 68.894566] I-pipe: Domain RTAI registered. > [ 68.894584] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03. > [ 68.894591] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu > 4.4.3-4ubuntu5) . > [ 68.894712] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs > DISPATCHED), ISOL_CPUS_MASK: 0). > [ 68.894719] PIPELINE layers: > [ 68.894726] f9a6fe20 9ac15d93 RTAI 200 > [ 68.894733] c085cb20 0 Linux 100 > [ 68.960925] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>. > [ 68.962170] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <without RTAI > OWN KTASKs>, kstacks pool size = 524288 > bytes. > [ 68.962187] RTAI[sched]: hard timer type/freq = APIC/12500438(Hz); default > timing: periodic; linear timed lists. > [ 68.962198] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = > 1800098000 hz. > [ 68.962207] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns. > [ 68.962367] RTAI[usi]: enabled. > [ 69.047896] RTDM started. > [ 69.089874] > [ 69.089878] *** RTnet 0.9.13 - built on Mar 12 2013 19:32:58 *** > [ 69.089881] > [ 69.089885] RTnet: initialising real-time networking > [ 69.115100] initializing loopback... > [ 69.115125] RTnet: registered rtlo > [ 69.153813] Initializing rt_r8169 driver > [ 69.153913] rt_r8169 0000:05:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ > 20 > [ 69.154933] rt_r8169: PCI device 0000:05:00.0: unknown chip > version, assuming RTL-8169 > [ 69.155642] RTnet: registered rteth0 > [ 69.155654] rteth0: Identified chip type is 'RTL8169'. > [ 69.155666] rteth0: rt_r8169 RTnet Gigabit Ethernet driver 2.2-04 at > 0x1000, 64:70:02:12:fa:f9, IRQ 20 > [ 69.163630] rteth0: Auto-negotiation Enabled. > [ 72.184219] rteth0: 1000Mbps Full-duplex operation. > [ 72.208396] RTcap: real-time capturing interface > [ 72.304630] RTcfg: init real-time configuration distribution protocol > > > > $ > ifconfig
ifconfig only lists active interfaces, ifconfig -a lists them all. Or run ifconfig rteth0 up directly. Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users