Hello, I have installed the xenomai 3.0.1 as a patch with the following versions. "Linux cpc 3.14.39-xenomai-3.0.1 #2 SMP PREEMPT Tue Nov 10 18:02:47 EET 2015 i686 i686 i686 GNU/Linux".
I have realtek NIC with 8139too drivers. I was able to bind the rt_8139too drivers with the realtek NIC like below "root@cpc:/home/cpc/Desktop# tree /sys/bus/pci/drivers/rt_8139too/ /sys/bus/pci/drivers/rt_8139too/ ├── 0000:05:04.0 -> ../../../../devices/pci0000:00/0000:00:1e.0/0000:05:04.0 ├── bind ├── module -> ../../../../module/rt_8139too ├── new_id ├── remove_id ├── uevent └── unbind" Now my question is that is there any way we can test the driver or use it the way we can use the 8139too drivers on non real time kernel. Although i have configured the rtnet.conf file with drive name and nic device id and Ip address. But still i can not see the ether interface up. I have two NIC. Eth0 interface is with broadcom driver and eth1 is with realtek drivers. Ifconfig command shows only eth0 and lo interfaces only. and if i run the command 'ifconfig eth1 up' it gives error 'No such device'. So is there any way i can use the rt_81390 as normal interface. Thanks & Regards Ali Umair ________________________________________ From: Gilles Chanteperdrix [[email protected]] Sent: Thursday, November 05, 2015 11:33 PM To: Umair Ali Cc: Xenomai Subject: Re: [Xenomai] Pcap replay tool for xenomai On Thu, Nov 05, 2015 at 03:17:45PM +0000, Umair Ali wrote: > Hello Gilles, > > I have managed to install the xenomai on Ubuntu 13.04 (kernel > 3.08). Not sure what you mean with kernel 3.08 here, since you talk about 3.10 later on. > The version of the xenomai is 3.0.1 and kernel version is > 3.10.32. The following is the output after the reboot RTnet requires I-pipe patch for kernel 3.14 or later. > I have also observed that module 8139too is also running. As i am > new to the linux so i want to make sure if i have installed the > xenomai with rtnet correctly. Can you tell me is there a way i > stop the 8139too module and make rt_8139too module as default > driver for NIC. Yes, you can unbind the device from the 8139too driver, then bind it to rt_8139too, or start the rt_8139too module after unbinding from 8139too. To know how to manual bind/unbind devices from drivers, see: https://lwn.net/Articles/143397/ > And then use TCPreplay command such as "tcpreplayy > --pps=4000 --intf1=eth0 stream.pcap" to play back the pcap file as > we can do in the non real kernel. As I already told you, the code is identical to send raw packets with Linux and Xenomai, but the compilation is different. So, if tcpreplay is not compiled for Xenomai, it will not use Xenomai APIs. I suggest you start reading a bit about Xenomai to understand what it does and how it works, starting from here: http://xenomai.org/start-here/ -- Gilles. https://click-hack.org _______________________________________________ Xenomai mailing list [email protected] http://xenomai.org/mailman/listinfo/xenomai
