Date: Tue, 11 Feb 2020 17:59:37 +0100 (CET) From: g.strobbe@telenet.be Message-ID: <2127311423.64174230.1581440377143.JavaMail.zimbra@telenet.be> In-Reply-To: <62607370399744fa9b6b6b3fe761f190@meg.mee.com> References: <62607370399744fa9b6b6b3fe761f190@meg.mee.com> Subject: Re: Installing RTnet MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Kloock, Lennard" Cc: xenomai ----- On Feb 10, 2020, at 2:10 PM, xenomai xenomai@xenomai.org 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.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 Hey Lennard, I had the same problem but with an Intel I219-V Ethernet Controller. See https://www.mail-archive.com/xenomai@xenomai.org/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