is there a way to debug my installation ?
i do
1)add rtnet in menuconfig and add driver 8169
2)remove r8169
yeti@yeti-UDOO-x86:/usr/xenomai/sbin$ sudo ./rtnet start
sh: echo: I/O error
ioctl: No such device
./rtnet: 193: ./rtnet: cannot open : No such file
vnic0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
vnic0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
Waiting for all slaves...ioctl: No such device
ioctl: No such device
yeti@yeti-UDOO-x86:/usr/xenomai/sbin$ lsmod|grep rt
rtmac 20480 1 tdma
rtcfg 45056 0
rtpacket 20480 0
rtudp 24576 0
rt_r8169 24576 0
rtipv4 32768 2 rtudp,rtcfg
rtnet 65536 7 rtipv4,rtmac,rt_r8169,rtpacket,rtudp,rtcfg,tdma
yeti@yeti-UDOO-x86:/usr/xenomai/sbin$ lspci -knn |grep Ethernet
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI
Express Gigabit Ethernet Controller [10ec:0123]
Kernel modules: r8169
yeti@yeti-UDOO-x86:/usr/xenomai/sbin$ sudo rmmod r8169
rmmod: ERROR: Module r8169 is not currently loaded
yeti@yeti-UDOO-x86:/usr/xenomai/sbin$ ./version
Xenomai/cobalt v3.0.6 -- #0246d22 (2018-03-10 10:52:53 +0100)
rtnet conf
RT_DRIVER="rt_r8169"
RT_DRIVER_OPTIONS=""
REBIND_RT_NICS="0000:02:00.0"
IPADDR="192.168.161.45"
NETMASK="255.255.255.128"
RT_LOOPBACK="no"
RT_PROTOCOLS="udp packet"
RTCAP="no"
----- Original Message -----
From: "Шевченко Тарас Григорьевич" <[email protected]>
To: "Jan Kiszka" <[email protected]>
Cc: "xenomai" <[email protected]>
Sent: Tuesday, March 6, 2018 3:22:57 PM
Subject: [Xenomai] rtnet no eth0
Good day!
I need help to run rtnet on my nic
i remove r8169 module and follow this https://xenomai.org/rtnet-installation/
looback test are working
some outputs below (could it be a problem by default there is not eth0
interface it s name enp2s0 ?)
what should i do ?
sudo ./rtnet -v start
[sudo] password for yeti:
Turning on verbose mode
sh: echo: I/O error
/usr/xenomai/sbin/rtifconfig rtlo up 127.0.0.1
/usr/xenomai/sbin/rtcfg rteth0 server
ioctl: No such device
/usr/xenomai/sbin/rtifconfig rteth0 up 192.168.161.45 netmask 255.255.255.0
ioctl: No such device
/usr/xenomai/sbin/tdmacfg rteth0 master 5000
ioctl: No such device
/usr/xenomai/sbin/tdmacfg rteth0 slot 0 0
ioctl: No such device
/usr/xenomai/sbin/rtcfg rteth0 add 192.168.161.22 -stage1 -
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
SIOCSIFNETMASK: No such device
Waiting for all slaves.../usr/xenomai/sbin/rtcfg rteth0 wait
ioctl: No such device
/usr/xenomai/sbin/rtcfg rteth0 ready
ioctl: No such device
//-------------------------------------------------
@yeti-UDOO-x86:/usr/xenomai/sbin$ sudo ./rtifconfig
rtlo Medium: Local Loopback
IP address: 127.0.0.1
UP LOOPBACK RUNNING MTU: 1500
//-------------------------------------------------
Some string from conf file
RT_DRIVER="rt_r8169"
RT_DRIVER_OPTIONS=""
REBIND_RT_NICS="0000:02:00.0"
IPADDR="192.168.161.45"
NETMASK="255.255.255.0"
TDMA_SLAVES="192.168.161.22"
//-------------------------------------------------
yeti@yeti-UDOO-x86:~$ lspci
.....
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411
PCI Express Gigabit Ethernet Controller (rev 0c)
//-------------------------------------------------
yeti@yeti-UDOO-x86:~$ lsmod
Module Size Used by
tdma 28672 0
rtmac 20480 1 tdma
rtcfg 45056 0
rt_loopback 16384 1
rtpacket 16384 0
rtudp 24576 0
rt_r8169 24576 0
rtipv4 32768 2 rtudp,rtcfg
rtnet 57344 8 rtipv4,rt_loopback,rtmac,rt_r8169,rtpacket,rtudp,rtcfg,tdma
//-------------------------------------------------
С уважением и надеждой на сотрудничество,
Шевченко Т.Г.
_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai
_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai