quantum / esos

An open source, high performance, block-level storage platform.
http://www.esos-project.com/
Other
287 stars 58 forks source link

Bug in the i40e driver. Intel X710 T2L NIC not identifying #266

Open akozloff opened 4 years ago

akozloff commented 4 years ago

Hi

The Intel X710 T2L is 10GbE controller using the i40e driver. It has two 10GbE copper ports, but kernel sees none of them.

Dmesg output related to i40e driver: [ 1.954114] i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.8.20-k [ 1.960559] i40e: Copyright (c) 2013 - 2019 Intel Corporation. [ 1.978525] i40e 0000:01:00.0: unidentified MAC or BLANK NVM: -11 [ 1.985083] i40e: probe of 0000:01:00.0 failed with error -11 [ 2.003948] i40e 0000:01:00.1: unidentified MAC or BLANK NVM: -11 [ 2.010337] i40e: probe of 0000:01:00.1 failed with error -11

Same bug on launchpad: #1887703

msmith626 commented 3 years ago

Can you tell me which kernel commit resolves this problem?

In the Ubuntu bug report you sent, it points to a kernel commit but then after testing they say this: --snip-- Per tester, the patched kernel does not resolve the issue. At least we know the diff. Also, did some bisecting with the Intel drivers upstream and this is the earliest version where the card starts working again: 2.10.19.82 So it breaks sometime around 2.8.20 and then starts working again around 2.10.19.82 --snip--

I need to know the kernel commit that resolves this so it can either be included in ESOS as a one-off patch, or we can look at a newer 5.4.x patch release that may contain the fix.

--Marc

On Tue, Nov 24, 2020 at 3:17 AM akozloff notifications@github.com wrote:

Hi

The Intel X710 T2L is 10GbE controller using the i40e driver. It has two 10GbE copper ports, but kernel sees none of them.

Dmesg output related to i40e driver: [ 1.954114] i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.8.20-k [ 1.960559] i40e: Copyright (c) 2013 - 2019 Intel Corporation. [ 1.978525] i40e 0000:01:00.0: unidentified MAC or BLANK NVM: -11 [ 1.985083] i40e: probe of 0000:01:00.0 failed with error -11 [ 2.003948] i40e 0000:01:00.1: unidentified MAC or BLANK NVM: -11 [ 2.010337] i40e: probe of 0000:01:00.1 failed with error -11

Same bug on launchpad: #1887703

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

akozloff commented 3 years ago

Sorry, but I’m not familiar with linux kernel development and can’t tell you which commit resolves the problem.

But i solved it for my purposes by manually inserting missing lines (“_case I40E_DEV_ID_10G_BASE_TBC” on 32 and 4916 positions) into the _i40ecommon.c file similar to the 1e44a69e434a15289e90246350532c406ca7ebb8 commit from Ubuntu tree.