From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 23 Mar 2022 10:48:13 +0100 (CET) From: Paal Tamas Subject: RTNET setup issue Message-ID: MIME-Version: 1.0 Content-Type: text/plain; CHARSET=UTF-8 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Dear All, I am trying to set up RTNET using the latest xenomai_3.2.1 on an x86_64 system. I need only the raw packet (e.g rtpacket layer). I tried a lot of things but I still got errors like: ioctl: Inappropriate ioctl for device I try to use this PCI device: 01:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) Subsystem: Intel Corporation Gigabit ET Dual Port Server Adapter Kernel driver in use: rt_igb Kernel modules: igb, rt_igb What I do is: ifconfig enp1s0f0 down ifconfig enp1s0f1 down rmmod igbmodprobe rtnet modprobe rtpacket modprobe rt_igb modprobe rtipv4 modprobe rtudp set up the rtnet.conf file and start rtnet: /usr/xenomai/sbin$ sudo ./rtnet start ioctl: Inappropriate ioctl for device ioctl: Inappropriate ioctl for device ioctl: Inappropriate ioctl for device Stage 1: searching for master...ioctl: Inappropriate ioctl for deviceStage 2: waiting for other slaves... Stage 3: waiting for common setup completion...ioctl: Inappropriate ioctl for deviceclickandmove@clickandmove-desktop:/usr/xenomai/sbin$ sudo /usr/xenomai/sbin/rtifconfig -a ioctl: Inappropriate ioctl for device The kernel log: [ 50.360253] igb 0000:01:00.1: removed PHC on enp1s0f1 [ 50.553797] igb 0000:01:00.0: removed PHC on enp1s0f0 [ 81.769798] RTnet: registered rteth0 [ 81.769802] rt_igb 0000:01:00.0: Intel(R) Gigabit Ethernet Network Connection [ 81.769804] rt_igb 0000:01:00.0: rteth0: (PCIe:2.5Gb/s:Width x1) 6c:b3:11:56:2e:32 [ 81.769807] rt_igb 0000:01:00.0: rteth0: PBA No: Unknown [ 81.769808] rt_igb 0000:01:00.0: Using MSI-X interrupts. 1 rx queue(s), 1 tx queue(s) [ 81.777139] rt_loopback: initializing loopback interface... [ 81.777315] RTnet: registered rtlo [ 81.787311] RTcfg: init real-time configuration distribution protocol [ 81.793326] RTmac: init realtime media access control [ 81.800424] RTmac/TDMA: init time division multiple access control mechanism Even rtifconfig returns the same error /usr/xenomai/sbin/rtifconfig -aioctl: Inappropriate ioctl for device What am I doing wrong? Thank you,Tamas