Updating Intel’s I40e Driver In Ubuntu 18.10 __FULL__
Updating Intel’s I40e Driver In Ubuntu 18.10 ->>->>->> https://cinurl.com/2t850E
[Impact]The i40e driver can get stalled on tx timeouts. This can happen whenDCB is enabled on the connected switch. This can also trigger asecond situation when a tx timeout occurs before the recovery ofa previous timeout has completed due to CPU load, which is nothandled correctly. This leads to networking delays, drops andapplication timeouts and hangs. Note that the first tx timeoutcause is just one of the ways to end up in the second situation.
On a "Dell PowerEdge R330" server with a network adapter "Intel Ethernet Converged Network Adapter X710-DA2" (driver i40e) the network card no longer works and permanently displays these three lines :
My setup is a little different: 67:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection X722 for 10GBASE-T [8086:37d2] (rev 09) Subsystem: Fujitsu Technology Solutions Ethernet Connection X722 for 10GBASE-T [1734:1230] Kernel driver in use: i40e Kernel modules: i40e
Intel released the 6.01 Firmware for the Intel XL710 network cards. As stated in the feature support matrix [1] in the table 9 on page 18, the minimum kernel driver version for the 6.01 Firmware i40e must be 2.1.26, the recent driver version is 2.4.10 [2]
$ modinfo i40efilename: /lib/modules/4.15.0-36-generic/kernel/drivers/net/ethernet/intel/i40e/i40e.koversion: 2.1.14-klicense: GPLdescription: Intel(R) Ethernet Connection XL710 Network Driver
Network card driver i40e :- Linux 4.15 : Intel(R) Ethernet Connection XL710 Network Driver - version 2.1.14-k- Linux 4.18 : Intel(R) Ethernet Connection XL710 Network Driver - version 2.3.2-k
I have a Virtual machine (Ubuntu 16.04) deployed as SRIOV VM. SRIOV NICs are Intel 710 XXV. I can run TREX version 2.28, but trying v2.34 or v2.35 does not work. Looks like first it fails with some DPDK VLAN strip stuff before it crashes. TREX crashes with a seg fault. Below printout from syslog when trying "./t-rex-64 -i":Jan 18 10:17:49 trex kernel: [ 179.517841] pps_core: LinuxPPS API ver. 1 registeredJan 18 10:17:49 trex kernel: [ 179.517843] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti Jan 18 10:17:49 trex kernel: [ 179.519506] PTP clock support registeredJan 18 10:17:49 trex kernel: [ 179.520620] dca service started, version 1.12.1Jan 18 10:17:49 trex kernel: [ 179.525287] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-kJan 18 10:17:49 trex kernel: [ 179.525289] igb: Copyright (c) 2007-2014 Intel Corporation.Jan 18 10:18:07 trex kernel: [ 198.346868] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.0.2-kJan 18 10:18:07 trex kernel: [ 198.346871] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.Jan 18 10:22:24 trex kernel: [ 455.334125] i40evf: disagrees about version of symbol module_layoutJan 18 10:22:30 trex kernel: [ 460.646177] i40evf: disagrees about version of symbol module_layoutJan 18 10:22:37 trex kernel: [ 468.437949] i40evf: disagrees about version of symbol module_layoutJan 18 10:22:40 trex kernel: [ 470.734822] i40evf: disagrees about version of symbol module_layoutJan 18 10:23:10 trex kernel: [ 501.239226] i40evf: disagrees about version of symbol module_layoutJan 18 10:25:03 trex kernel: [ 613.917142] i40evf: disagrees about version of symbol module_layoutJan 18 10:25:07 trex kernel: [ 618.013592] i40evf: disagrees about version of symbol module_layoutJan 18 10:26:07 trex systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 1562 (find)Jan 18 10:26:07 trex systemd[1]: Mounting Arbitrary Executable File Formats File System...Jan 18 10:26:07 trex systemd[1]: Mounted Arbitrary Executable File Formats File System.Jan 18 10:26:17 trex kernel: [ 688.229920] igb_uio: module verification failed: signature and/or required key missing - tainting kernelJan 18 10:26:17 trex kernel: [ 688.230139] igb_uio: Use MSIX interrupt by defaultJan 18 10:26:17 trex kernel: [ 688.304460] igb_uio 0000:00:05.0: uio device registered with irq 1dJan 18 10:26:17 trex kernel: [ 688.304465] igb_uio 0000:00:05.0: mapping 1K dma=0xba54e000 host=ffff8800ba54e000Jan 18 10:26:17 trex kernel: [ 688.304467] igb_uio 0000:00:05.0: unmapping 1K dma=0xba54e000 host=ffff8800ba54e000Jan 18 10:26:17 trex kernel: [ 688.305878] igb_uio 0000:00:06.0: uio device registered with irq 1eJan 18 10:26:17 trex kernel: [ 688.305883] igb_uio 0000:00:06.0: mapping 1K dma=0x372ba000 host=ffff8800372ba000Jan 18 10:26:17 trex kernel: [ 688.305885] igb_uio 0000:00:06.0: unmapping 1K dma=0x372ba000 host=ffff8800372ba000Jan 18 10:26:19 trex xx[1642]: i40evf_disable_vlan_strip(): Failed to execute command of VIRTCHNL_OP_DISABLE_VLAN_STRIPPINGJan 18 10:26:20 trex xx[1642]: i40evf_query_stats(): fail to execute command OP_GET_STATSJan 18 10:26:20 trex kernel: [ 690.704028] show_signal_msg: 12 callbacks suppressedJan 18 10:26:20 trex kernel: [ 690.704032] _t-rex-64[1642]: segfault at 0 ip 000056045e99be07 sp 00007ffd5e44df10 error 4 in _t-rex-64[56045e688000+465000]root@trex:~# uname -aLinux trex.localdomain 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linuxroot@trex:~/v2.35# ./dpdk_setup_ports.py -sNetwork devices using DPDK-compatible driver============================================Network devices using kernel driver===================================0000:00:03.0 'Virtio network device' if=ens3 drv=virtio-pci unused=igb_uio,vfio-pci,uio_pci_generic *Active*Other network devices=====================0000:00:05.0 'XL710/X710 Virtual Function' unused=igb_uio,vfio-pci,uio_pci_generic0000:00:06.0 'XL710/X710 Virtual Function' unused=igb_uio,vfio-pci,uio_pci_generic
root@trex:~/v2.35# /usr/bin/gdb --core=core _t-rex-64 > bt968 ../../src/dpdk/drivers/net/i40e/i40e_ethdev_vf.c: No such file or directory.Quitroot@trex:~/v2.35#root@trex:~/v2.35#root@trex:~/v2.35# more btGNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1Copyright (C) 2016 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law. Type "show copying"and "show warranty" for details.This GDB was configured as "x86_64-linux-gnu".Type "show configuration" for configuration details.For bug reporting instructions, please see:.Find the GDB manual and other documentation resources online at:.For help, type "help".Type "apropos word" to search for commands related to "word"...Reading symbols from _t-rex-64...done.[New LWP 1350][New LWP 1351][New LWP 1353][New LWP 1354][New LWP 1355][New LWP 1352][Thread debugging using libthread_db enabled]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".Core was generated by `./_t-rex-64 -i --allow-coredump'.Program terminated with signal SIGSEGV, Segmentation fault.#0 i40evf_dev_xstats_reset (dev=) at ../../src/dpdk/drivers/net/i40e/i40e_ethdev_vf.c:968[Current thread is 1 (Thread 0x7f9c682948c0 (LWP 1350))](gdb) (gdb)(gdb) quit
root@compute-9-1:~# ethtool -i eth4driver: i40eversion: 2.4.3firmware-version: 5.51 0x80002bca 1.1568.0bus-info: 0000:3b:00.1supports-statistics: yessupports-test: yessupports-eeprom-access: yessupports-register-dump: yessupports-priv-flags: yes
There is a recent 2.7.11 out of tree drive release in Can you also try this in your setup and let us know the outcome?The changelog with the fixes are in that link too:Changelog for i40e 2.7.11===========================================================================Implement ADq featureAdd support for configuring VFs through sysfsAdd XDP supportAdd support Forward Error Correction (FEC) on 25G linksAllow disabling FW LLDP (requires updated firmware)Fix bug where link could be forced down after MTU changeAdd support for new kernel APIsFix WARN_ON() if MSI-X not availableFix issue with lost link when forcing link mode on some adaptersAdd support to allow the FW update tool to upgrade/downgrade from any FW version to any other FW versionNote: this may require a power cycle as an intermediate step.Fix kernel panic with repeated quick enable/disable of VFsFix possible TX timeout with DCB on some kernelsRe-enable TSO after MTU changeFix potential panic on shutdown with many MSI-X vectorsAdd VEB stats to ethtoolFix panic on suspend with RDMA client driver activeFix timing issue with assigning VFs to VMs using virshRestore TCPv4 input set when re-enabling ATRPerformance fixes with Adaptive ITRCode cleanupsMinor bug fixesAdd support for RHEL 7.5Add support for SLES12SP3
However I also have problems. Firstly, the NVIDIA card consumes a lot of power. My battery life is 2 hours with Linux (because it only uses NVIDIA GTX 960). With Windows I get 6 hours if I use it mildly. If I do prime-select intel, and try to log off, it gets stuck and I have to reboot it multiple times to make it boot. Sometimes it never boots back so I have to boot in recovery and switch back to NVIDIA by prime-select nvidia. I have installed all the Dell graphics card drivers and nothing changed - still doesn't boot with Intel selected. However once I managed to boot with Intel and it gave me 6:30 hours of battery life. Something is weird. 2b1af7f3a8