[Kernel-packages] [Bug 1779756] Re: Intel XL710 - i40e driver does not work with kernel 4.15 (Ubuntu 18.04)

2021-09-21 Thread Suphanat
I would like to know how to resolve my issue? I'm facing with the issue
like this. Initially, I have the information of driver, kernel, NIC card
as the below and performed to change fiber link but this issue still
alive.

$ ethtool -i enp175s0f0
driver: i40e
version: 2.1.14-k
firmware-version: 6.01 0x80003554 1.1747.0
Ethernet Controller XXV710

Linux kernel: 4.15.0-106-generic
Operation System: Ubuntu 18.04 LTS

$dmesg | grep enp175s0f0
[33183121.471105] i40e :af:00.0 enp175s0f0: speed changed to 0 for port 
enp175s0f0
[33183121.973729] i40e :af:00.0 enp175s0f0: NIC Link is Up, 25 Gbps Full 
Duplex, Requested FEC: None, FEC: CL74 FC-FEC/BASE-R, Autoneg: False, Flow 
Control: None
[33183122.320007] i40e :af:00.0 enp175s0f0: NIC Link is Down

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1779756

Title:
  Intel XL710 - i40e driver does not work with kernel 4.15 (Ubuntu
  18.04)

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Cosmic:
  Fix Released

Bug description:
  [Impact]
  The i40e driver can get stalled on tx timeouts. This can happen when
  DCB is enabled on the connected switch. This can also trigger a
  second situation when a tx timeout occurs before the recovery of
  a previous timeout has completed due to CPU load, which is not
  handled correctly. This leads to networking delays, drops and
  application timeouts and hangs. Note that the first tx timeout
  cause is just one of the ways to end up in the second situation.

  This issue was seen on a heavily loaded Kafka broker node running
  the 4.15.0-38-generic kernel on Xenial.

  Symptoms include messages in the kernel log of the form:

  ---
  [4733544.982116] i40e :18:00.1 eno2: tx_timeout: VSI_seid: 390, Q 6, NTC: 
0x1a0, HWB: 0x66, NTU: 0x66, TAIL: 0x66, INT: 0x0
  [4733544.982119] i40e :18:00.1 eno2: tx_timeout recovery level 1, 
hung_queue 6
  

  With the test kernel provided in this LP bug which had these
  two commits compiled in, the problem has not been seen again,
  and has been running successfully for several months:

  "i40e: Fix for Tx timeouts when interface is brought up if
   DCB is enabled"
  Commit: fa38e30ac73fbb01d7e5d0fd1b12d412fa3ac3ee

  "i40e: prevent overlapping tx_timeout recover"
  Commit: d5585b7b6846a6d0f9517afe57be3843150719da

  * The first commit is already in Disco, Cosmic
  * The second commit is already in Disco
  * Bionic needs both patches and Cosmic needs the second

  [Test Case]
  * We are considering the case of both issues above occurring.
  * Seen by reporter on a Kafka broker node with heavy traffic.
  * Not easy to reproduce as it requires something like the
    following example environment and heavy load:

    Kernel: 4.15.0-38-generic
    Network driver: i40e
  version: 2.1.14-k
  firmware-version: 6.00 0x800034e6 18.3.6
    NIC: Intel 40Gb XL710
    DCB enabled

  [Regression Potential]
  Low, as the first only impacts i40e DCB environment, and has
  been running for several months in production-load testing
  successfully.

  --- Original Description
  Today Ubuntu 16.04 LTS Enablement Stacks has moved from the Kernel 4.13 to 
the Kernel 4.15.0-24-generic.

  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 :

  [   98.012098] i40e :01:00.0 enp1s0f0: tx_timeout: VSI_seid: 388, Q 8, 
NTC: 0x0, HWB: 0x0, NTU: 0x1, TAIL: 0x1, INT: 0x1
  [   98.012119] i40e :01:00.0 enp1s0f0: tx_timeout recovery level 11, 
hung_queue 8
  [   98.012125] i40e :01:00.0 enp1s0f0: tx_timeout recovery unsuccessful

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779756/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1795587] Re: Upgrade i40e driver to support 6.01 Firmware - Intel XL710

2021-09-21 Thread Suphanat
I would like to know how to resolve my issue? I'm facing with the issue
like this. Initially, I have the information of driver, kernel, NIC card
as the below and performed to change fiber link but this issue still
alive.

$ ethtool -i enp175s0f0
driver: i40e
version: 2.1.14-k
firmware-version: 6.01 0x80003554 1.1747.0
Ethernet Controller XXV710

Linux kernel: 4.15.0-106-generic
Operation System: Ubuntu 18.04 LTS

$dmesg | grep enp175s0f0
[33183121.471105] i40e :af:00.0 enp175s0f0: speed changed to 0 for port 
enp175s0f0
[33183121.973729] i40e :af:00.0 enp175s0f0: NIC Link is Up, 25 Gbps Full 
Duplex, Requested FEC: None, FEC: CL74 FC-FEC/BASE-R, Autoneg: False, Flow 
Control: None
[33183122.320007] i40e :af:00.0 enp175s0f0: NIC Link is Down

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1795587

Title:
  Upgrade i40e driver to support 6.01 Firmware - Intel XL710

Status in linux package in Ubuntu:
  Incomplete
Status in linux-firmware package in Ubuntu:
  Confirmed

Bug description:
  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]

  The i40 driver version included in the 4.15.0-36 (Bionic, LTS) is
  2.1.14-k.

  $ uname -a
  Linux ubuntu-bionic 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 
2018 x86_64 x86_64 x86_64 GNU/Linux

  $ modinfo i40e
  filename:   
/lib/modules/4.15.0-36-generic/kernel/drivers/net/ethernet/intel/i40e/i40e.ko
  version:2.1.14-k
  license:GPL
  description:Intel(R) Ethernet Connection XL710 Network Driver

  Release notes: [3] [4] [5] [6] [7]

  The firmware 6.01 introduce better performance for DPDK and SR-IOV
  applications for those cards, and  NFV application workloads would
  perform better.

  
  [1] Intel® Ethernet Controller X710/ XXV710/XL710 Feature Support Matrix
  
https://www.intel.com/content/dam/www/public/us/en/documents/release-notes/xl710-ethernet-controller-feature-matrix.pdf

  [2] Intel® Network Adapter Driver for PCIe* 40 Gigabit Ethernet Network 
Connections Under Linux* 
  
https://downloadcenter.intel.com/download/24411/Intel-Network-Adapter-Driver-for-PCIe-40-Gigabit-Ethernet-Network-Connections-Under-Linux-?product=75021

  [3] Intel(R) Network Connections Software Version 23.2 Release Notes
  https://downloadmirror.intel.com/24411/eng/readme.txt

  [4] Intel(R) Network Connections Software Version 23.1 Release Notes
  https://downloadmirror.intel.com/27869/eng/readme.txt

  [5] Intel(R) Network Connections Software Version 22.10 Release Notes
  https://downloadmirror.intel.com/27547/eng/readme.txt

  [6] Intel(R) Network Connections Software Version 22.9 Release Notes
  https://downloadmirror.intel.com/27547/eng/readme.txt

  [7] Intel(R) Network Connections Software Version 22.6 Release Notes
  https://downloadmirror.intel.com/27189/eng/readme.txt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1795587/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp