Comments (4)
The current version does not support older older linux kernels. Maybe you can try your luck with commit 8809878 (which is the last one before support for kernels older than 3.16 was removed).
from tn40xx-driver.
I tryed also with CentOS8 - kernel 4.18-something...
The installer fails with:
Deprecated feature: REMAKE_INITRD
from tn40xx-driver.
Now I am trying with CentOS8 Stream - kernel 4.18.0-408.el8.x86_64
The installer fails with a lot of errors:
`
DKMS make.log for tn40xx-004 for kernel 4.18.0-408.el8.x86_64 (x86_64)
Tue Dec 13 14:06:16 CET 2022
make: Entering directory '/usr/src/kernels/4.18.0-408.el8.x86_64'
CC [M] /var/lib/dkms/tn40xx/004/build/tn40.o
CC [M] /var/lib/dkms/tn40xx/004/build/CX4.o
CC [M] /var/lib/dkms/tn40xx/004/build/CX4_Linux.o
CC [M] /var/lib/dkms/tn40xx/004/build/QT2025_phy.o
/var/lib/dkms/tn40xx/004/build/tn40.c: In function ‘bdx_ethtool_ops’:
/var/lib/dkms/tn40xx/004/build/tn40.c:4097:19: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_coalesce )’ [-Werror=incompatible-pointer-types]
.get_coalesce = bdx_get_coalesce,
^~~~~~~~~~~~~~~~
/var/lib/dkms/tn40xx/004/build/tn40.c:4097:19: note: (near initialization for ‘bdx_ethtool_ops..get_coalesce’)
/var/lib/dkms/tn40xx/004/build/tn40.c:4098:19: error: initialization of ‘int ()(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_coalesce )’ [-Werror=incompatible-pointer-types]
.set_coalesce = bdx_set_coalesce,
^~~~~~~~~~~~~~~~
/var/lib/dkms/tn40xx/004/build/tn40.c:4098:19: note: (near initialization for ‘bdx_ethtool_ops..set_coalesce’)
/var/lib/dkms/tn40xx/004/build/tn40.c:4099:20: error: initialization of ‘void ()(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack )’ from incompatible pointer type ‘void ()(struct net_device *, struct ethtool_ringparam )’ [-Werror=incompatible-pointer-types]
.get_ringparam = bdx_get_ringparam,
^~~~~~~~~~~~~~~~~
/var/lib/dkms/tn40xx/004/build/tn40.c:4099:20: note: (near initialization for ‘bdx_ethtool_ops..get_ringparam’)
/var/lib/dkms/tn40xx/004/build/tn40.c:4100:20: error: initialization of ‘int ()(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_ringparam *)’ [-Werror=incompatible-pointer-types]
.set_ringparam = bdx_set_ringparam,
^~~~~~~~~~~~~~~~~
/var/lib/dkms/tn40xx/004/build/tn40.c:4100:20: note: (near initialization for ‘bdx_ethtool_ops..set_ringparam’)
CC [M] /var/lib/dkms/tn40xx/004/build/QT2025_phy_Linux.o
CC [M] /var/lib/dkms/tn40xx/004/build/TLK10232_phy.o
CC [M] /var/lib/dkms/tn40xx/004/build/TLK10232_phy_Linux.o
CC [M] /var/lib/dkms/tn40xx/004/build/AQR105_phy.o
CC [M] /var/lib/dkms/tn40xx/004/build/AQR105_phy_Linux.o
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:315: /var/lib/dkms/tn40xx/004/build/tn40.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1577: module/var/lib/dkms/tn40xx/004/build] Error 2
make: Leaving directory '/usr/src/kernels/4.18.0-408.el8.x86_64'
`
from tn40xx-driver.
bdx_[gs]et_ringparam fixed for old kernels in commit db4c74d included in release/tn40xx-006
bdx_[gs]et_coalesce fixed for old kernels in commit 06f728a, also included in release/tn40xx-006
from tn40xx-driver.
Related Issues (20)
- Fails to build against kernel 5.15.2-zen1-1-zen on arch linux HOT 11
- Debian stable how to compile for ST10GSPEXNB HOT 2
- ethtool coalesce compiling problem on all kernels HOT 4
- Issue with incompatible pointer types when compiling ubuntu 20.04 and LTS 22.04 LTS HOT 3
- Unable to install with Kernel 5.18.0-0.deb11.4 HOT 5
- Issues with Debian 11 Installation with pve-headers HOT 1
- Unable to install driver on 5.19.0-76051900-generic HOT 7
- Error install on ml kernel 6.2.5 almalinux 9 HOT 13
- Trying to build for MV88E2010/TN9710Q but I get error MV88E2010_phy.h: No such file or directory HOT 1
- Latest RHEL 9 5.14 kernels needs fixes for 5.15 and 6.1+ from other forks
- setting MTU breaks receive
- tn40xx 0000:07:00.0 enp7s0: fw 0xe [ 644.481235] BUG: unable to handle page fault for address: fffff64d83ac3c00 [ 644.481247] #PF: supervisor read access in kernel mode HOT 3
- unable to build on kernel 4.18.0-513.9.1.el8_9.x86_64 HOT 1
- Retransmissions in case of 1G speed HOT 3
- Unable to build tn40xx with support for MV88X3310 in kernel 5.11.0 HOT 1
- ASPM Disabled
- (Issue change) Card not detecting SFP module on boot. HOT 4
- No carrier on interface
- PHY init failed on Linux 6.8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tn40xx-driver.