Installing RTnet
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 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?
Many Thanks
Lennard Kloock
Quoted 3 lines · Lennard via Xenomai
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...
Quoted 37 lines
I followed these steps:
1) ifconfig eth0 down
2) rmmod e1000e
3) configured/usr/xenomai/etc/rtnet.confaccording to https://gitlab.denx.de/Xenomai/xenomai/-/wikis/RTnet
4) modprobe rtpacket
5) modprobe rtnet
6) modprobert_e1000eBut 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.
Quoted 7 lines
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: e1000eDid 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
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Hey,
Thank you.
Do you know if the I218-V is supported on Xenomai 3.x?
Lennard Kloock
Quoted 6 lines · Jan
...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
Quoted 4 lines · Lennard
Hey,
Thank you.
Do you know if the I218-V is supported on Xenomai 3.x?
A first indication is the presence of the PCI ID (or their symbolic value) in a Xenomai driver. Wait... E1000_DEV_ID_PCH_LPT_I217_V is present, thus worth a try.
Jan
Quoted 11 lines
Lennard Kloock
Quoted 6 lines · Jan
...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
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Quoted 57 lines
-----Original Message-----
From: Xenomai <[email protected]> On Behalf Of Kloock, Lennard via Xenomai
Sent: Montag, 10. Februar 2020 14:11
To: [email protected]
Subject: Installing RTnetNON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR ATTACHMENTS.
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 followed these steps:
1) ifconfig eth0 down
2) rmmod e1000e
3) configured/usr/xenomai/etc/rtnet.confaccording to
https://gitlab.denx.de/Xenomai/xenomai/-/wikis/RTnet
4) modprobe rtpacket
5) modprobe rtnet
6) modprobert_e1000eBut 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:
Quoted 7 lines
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: e1000eDid I do something wrong or is my I219-LM NIC not supported by RTnet?
Cant tell if your device is supported, but rtnet will never *replace* a linux driver automatically, you need to make sure the hardware is not bound to a driver, or manually un/bind
to the rtnet driver.
# kick out kernel modules modprobe -r e1000e modprobe rtnet modprobe rt_e1000e
# manuall rebind, look in th e1000e folder for the correct name echo "00:1f.6" > /sys/bus/pci/drivers/e1000e/unbind echo "00:1f.6" > /sys/bus/pci/drivers/rt_e1000e/bind
Norbert
________________________________
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
ANDRITZ HYDRO GmbH
Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation
Firmensitz/ Registered seat: Wien
Firmenbuchgericht/ Court of registry: Handelsgericht Wien
Firmenbuchnummer/ Company registration: FN 61833 g
DVR: 0605077
UID-Nr.: ATU14756806
Thank You
________________________________
Quoted 49 lines · ----- On Feb 10, 2020, at 2:10 PM, xenomai [email protected] 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 followed these steps:
1) ifconfig eth0 down
2) rmmod e1000e
3) configured/usr/xenomai/etc/rtnet.confaccording to
https://gitlab.denx.de/Xenomai/xenomai/-/wikis/RTnet
4) modprobe rtpacket
5) modprobe rtnet
6) modprobert_e1000eBut 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
Quoted 5 lines
Did I do something wrong or is my I219-LM NIC not supported by RTnet?
Many Thanks
Lennard Kloock
Hey Lennard,
I had the same problem but with an Intel I219-V Ethernet Controller.
See https://www.mail-archive.com/[email protected]/msg16000.html
It runs nice now on my setup.
I checked my /xenomai/kernel/drivers/net/drivers/e1000e/hw.h and your device is in as well so it should be supported.
#define E1000_DEV_ID_PCH_SPT_I219_LM 0x156F /* SPT PCH */
Best regards,
Gino