On 10.02.20 14:10, Kloock, Lennard via Xenomai wrote:
Hello all,

i have succesfully installed Xenomai 3.0.5 with linux 4.9.90, but I am having 
trouble installing RTnet on an i218-lm.

I would always recommend using the latest version when trying something new, both for Xenomai and the kernel. But in this case...


I followed these steps:
1) ifconfig eth0 down
2) rmmod e1000e
3) configured /usr/xenomai/etc/rtnet.conf according to 
https://gitlab.denx.de/Xenomai/xenomai/-/wikis/RTnet
4) modprobe rtpacket
5) modprobe rtnet
6) modprobe rt_e1000e

But now if I try to run rtnet with  ./rtnet start I get the following errors:

ioctl: No such device
ioctl: No such device
ioctl: No such device
ioctl: No such device
ioctl (add): No such device
ioctl (add): No such device
ioctl (add): No such device
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...ioctl: No such device
ioctl: No such device

./rtifconfig only show the local loopback but not rteth0

Dmesg shows that rtnet and the driver are being loaded

[  391.184595]
                *** RTnet for Xenomai v3.0.5 ***

[  391.184596] RTnet: initialising real-time networking
[  400.034853] rt_e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k-rt
[  400.034854] rt_e1000e: Copyright(c) 1999 - 2011 Intel Corporation.

But with lspci -knn it shows that the NIC doesn't pick up the real time driver:

00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection 
I219-LM [8086:156f] (rev 21)
                 Subsystem: Gigabyte Technology Co., Ltd Ethernet Connection 
I219-LM [1458:e000]
                 Kernel modules: e1000e

Did I do something wrong or is my I219-LM NIC not supported by RTnet?

...it won't help as that NIC is not supported. There was some update of the driver shared a while ago, but I'm also not sure if that would have helped - it was using an old kernel as baseline, too.

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

Reply via email to