tn40xx-driver icon indicating copy to clipboard operation
tn40xx-driver copied to clipboard

PHY init failed on Linux 6.8

Open cahz opened this issue 6 months ago • 10 comments

With the latest develop version (which is required for Linux 6.8), I cannot get our TN9710P (with MV88X3310) to initialize.

Loading the module leads to the following output:

[  878.238757] tn40xx: Tehuti Network Driver from https://github.com/acooks/tn40xx-driver, linux-6.7.y-1
[  878.238761] tn40xx: Supported phys : MV88X3120 MV88X3310  QT2025 TLK10232 AQR105 MUSTANG 
[  878.238885] tn40xx 0000:02:00.0: srom 0x0 HWver 16 build 0 lane# 4 max_pl 0x2 mrrs 0x2
[  878.707481] tn40xx 0000:02:00.0: PHY init failed

I noticed that the check in tn.c:444 fails. Replacing the condition with !phy_id, it continues a bit further, but later fails:

[  878.347776] tn40xx 0000:02:00.0: PHY detected ID=2B09AA - MV88X3310 (A0) 10Gbps 10GBase-T
[  878.707473] MV88X3310 Initialization Error. Expected 0x000A, read 0xFFFF

cahz avatar Aug 16 '24 11:08 cahz