Bug 216261 - Ethernet adapter i225_LM probe fail, return -1
Summary: Ethernet adapter i225_LM probe fail, return -1
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: IPV4 (show other bugs)
Hardware: Intel Linux
: P1 blocking
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-20 01:19 UTC by Linjun Bao
Modified: 2022-07-20 01:19 UTC (History)
0 users

See Also:
Kernel Version: 5.4.y
Subsystem:
Regression: No
Bisected commit-id:


Attachments
This patch is based on 5.4.206, fix the i225 probe issue caused by unnecessary point check. (2.14 KB, patch)
2022-07-20 01:19 UTC, Linjun Bao
Details | Diff

Description Linjun Bao 2022-07-20 01:19:08 UTC
Created attachment 301461 [details]
This patch is based on 5.4.206, fix the i225 probe issue caused by unnecessary point check.

Running kernel 5.4 with intel CPU alderlake-s and Ethernet adapter i225-LM, encounter probe failure, return err code -2. 

The root cause is that i225 devices have only one PHY vendor. There is no point checking _I_PHY_ID during the link establishment and auto-negotiation process.

Refer to the link below.   

https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git/commit/drivers/net/ethernet/intel/igc?h=dev-queue&id=7c496de538eebd8212dc2a3c9a468386b264d0d4

Attach the patch to clean up these pointless checkings.

I tried another branch 5.15.y, it fixes this issue but has another issue related to PCIe switch & nvme SSD, so I have to stay kernel 5.4.

Note You need to log in before you can comment on or make changes to this bug.