-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian11 ST10GSPEXNDP not working #41
Comments
Hello... Same issue there. Debian testing + kernel 5.10.0.5. Edit: After editing file tn40.c - KERNEL_VERSION(5, 4, 0) to KERNEL_VERSION(5, 10, 0) and standard install via make -> make install -> modprobe tn40xx dmesg send result: root@WS:~# dmesg | tail After restart, the card works properly. |
i wonder how this changes : KERNEL_VERSION(5, 4, 0) to KERNEL_VERSION(5, 10, 0) could solve that. i´ve tried this but no luck. dmesg shows tn40xx: register_netdevice failed I assume you use the startech-patched version from christasich. |
Sorry for my late answer, but I can't simulate start position. I have installed Bullseye with PEX10000SFP on another SSD and after netinstall with Cinnamon i run for correct boot with AMD RX 6800 XT : apt install git dkms build-essential module-assistant linux-headers-$(uname -r) nfs-common autofs and start testing with attached driver cd /home/drivers/tehuti/ card not working. After this I try install drivers via acooks - dkms and not working. After this I try only rmmod tn40xx and modprobe tn40xx and card been detected and working and work after restart too. I don't have any idea why... This procedure can help you as well maybe. |
thank you for your answer, i´ve tried this files but no luck. |
I have the same issue with a recent upgrade to Debian11. See the output from dmesg attached. I've also tried the suggestions above to no avail. |
I got this working on Debian 11 5.10.0-11, please find my build files attached, I could not get either acooks or christasich version to work out of the box so I just downloaded acooks, and copied christasich's tn40.c, MV88X3310_phy.c, AQR105_phy.c and added x3310fw_0_3_4_0_9445.hdr, ran: make uninstall, make clean, make, make install did a reboot and the device appeared. I am not sure why combining them worked but it did. |
Verified that the above build by mikevipe does indeed work on Debian 11 on kernel 5.10.0-11-amd64 . The symptoms with the original driver were that the driver would be loaded with modprobe, but not create any network devices. With the above build, it does. |
Unfortunately had to back the driver out due to kernel panics (out of memory) two nights in a row. So there may be a memory leak in the 02-14-2022 driver. |
This is the output of dmesg for modprobe tn40xx:
** modinfo tn40xx**
I can see the hardware in lshw:
But cannot configure the interface. |
dmesg | grep tn40
|
I know you are running Ubuntu vs my Debian 11 but have you tried to use the files I linked with kernel 5.10.0 on Ubuntu? It is worth a shot. You can use the mainline kernel installer to install 5.10.0. Or follow the guide at https://ubuntuhandbook.org/index.php/2020/12/install-linux-kernel-5-10-ubuntu-linux-mint/ As for running on Debian, I have done this with 4 machines now all with success. On Debian you MUST use the 5.10.0-11 kernel for it to work. All of my routers are running the Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz with 32GB ram and I have not yet had a memory leak issue or crash with the version I submitted. This router is doing about 2.3gbps down and 1.73gbps up consistently. root@router-h2: Please let me know if it works with Ubuntu on the 5.10.0 kernel. |
Thank you @mikevipe, I'm using Debian too not Ubuntu.
It compiles, I can find the new ethernet interface ens6, but it stays always DOWN, even if the LEDs are green.
|
If anyone facing the following issue during build time, please use the updated patch file, =================================
|
I´m trying to install the driver under kernel 5.10.0.5.
dkms runs without a problem, but no NIC comes up.
The same with the patched sources from christsich
lscpi -k shows 2 TN9710P tied to kernelmodules tn40xx.
after modprobe dmesg shows
tn40xx: probe of 0000:04:00.0 failed with errror -22
tn40xx: PHY detected on Port 0 ID=2B09AB - MV88X3310 (A1) 10 Gps 10GBase-T
tn40xx: MV88X3310 initdata applied
tn40xx: MV88X3310 I/D version is 0.2.8.0
The text was updated successfully, but these errors were encountered: