-
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
Fails to build against kernel 5.15.2-zen1-1-zen on arch linux #47
Comments
even with the above patch, this is failing again on 5.17.1-zen1-1-zen:
|
This is also happening for me.
|
i have a fork working on the latest kernel here: https://github.com/skwerlman/tn40xx-driver note that it wont work for some older kernels because im lazy |
i can build under 5.16 pbo kernel without error after apply your 2 line patch ,but when i make install the tn40xx.ko kernel throws exceptions by add #ifdef 5.15 kernel version do not support set/get_ringparam() ,5.15 can finally build this module only warning these to function did not use. even the ko can actually modprobe into kernel witout causeing kernel exception or hang, but still it is not working with NIC. i was not a hardcore C developer,i m not quite sure what set/get_ringparam() do or did ,even it commented with # Report ring sizes. what 's the feature it provides so matter? if so matter , how to perfection these two functions? |
i ve managed successfully build tn40xx.ko on proxmox 5.15 for my QNAP Tehuti Networks Ltd. TN9710P 10GBase-T/NBASE-T Ethernet Adapter [1fc9:4027] and finally modprobe attached succesefully |
Thanks this worked for my issue #53 as well. |
I still have the issue. Already tried a few different repos. |
Maybe try https://github.com/cahz/tn40xx-driver on |
Are this the correct commands? Unfortunately still the same error:
And full log:
|
Kernel 5.17 changed the |
since my QNAP qm2-2P10G1T card had to continue served,i update my repo branch tn40xx-003kvgt515 into tn40xx-qm2-2P10G1T also make it my default. most importanly it's worked for PVE 5.15.108. |
This broke when the ethtool coalesce api was extended in https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f3ccfda1931977b80267ba54070a1aeafa18f6ca
DKMS output:
/var/lib/dkms/tn40xx/004/build/make.log
:quick patch which fixed it for me:
a proper patch would need to have docs for the new params, and have version guards
The text was updated successfully, but these errors were encountered: