acooks / tn40xx-driver

Linux driver for tn40xx from Tehuti Networks
71 stars 50 forks source link

(Issue change) Card not detecting SFP module on boot. #71

Open Austayo opened 3 months ago

Austayo commented 3 months ago

Howdy,

Most likely forgetting something but installed the driver, build was clean and ez, but modprode then it go "nah sorry mate but I am just gonna make it harder for you to run me".

20240522_171859_resized

Austayo commented 3 months ago

Added side notes: PHY is QT2025 and it has worked before.

degorychev commented 3 months ago

I confirm the problem. Apparently the problem occurs in the release/linux-6.7.y-1 branch. I'm trying to run unsopported PHY in proxmox using this project. On the host (Linux 6.8.4-3) the card refuses to work (PHY init failed). However, if you install a Debian 12 virtual machine (Linux 6.1.0-21) with a forwarded network card, the release/linux-6.6.y-1 branch works well (as far as I understand, it was correct to use release/tn40xx-006, but I only understood this now, lol), and the release/linux-6.7.y-1 branch is the same as on the host, PHY init failed.

Austayo commented 3 months ago

20240523_080449 Magic, it worked straight away. Also does anyone know how to manually set the nic speed? Want it to run at 1gbps fd for a transciever I have.

Austayo commented 3 months ago

New issue, the card does not detect any SFP module at boot, and I have to remove the sfp module, reboot then reinstert then it gets detected.