Closed alexlimbeck closed 8 months ago
The current version does not support older older linux kernels. Maybe you can try your luck with commit 8809878d9f1b7f5bbca45adc62c18f8f27d98558 (which is the last one before support for kernels older than 3.16 was removed).
I tryed also with CentOS8 - kernel 4.18-something... The installer fails with: Deprecated feature: REMAKE_INITRD
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.~~~
/var/lib/dkms/tn40xx/004/build/tn40.c:4098:19: note: (near initialization for ‘bdx_ethtool_ops.~~~~
/var/lib/dkms/tn40xx/004/build/tn40.c:4099:20: note: (near initialization for ‘bdx_ethtool_ops.~~~~
/var/lib/dkms/tn40xx/004/build/tn40.c:4100:20: note: (near initialization for ‘bdx_ethtool_ops.
bdx_[gs]etringparam fixed for old kernels in commit db4c74d7479263 included in release/tn40xx-006 bdx[gs]et_coalesce fixed for old kernels in commit 06f728adbce673, also included in release/tn40xx-006
I am trying to install the driver on a CentOS7 server, but the installer exit with this error in log: /var/lib/dkms/tn40xx/004/build/tn40.c:3387:2: error: unknown field ‘ndo_change_mtu’ specified in initializer
I found a workaround inserting this line in /usr/src/tn40xx-004/tn40.h
define ndo_change_mtu ndo_change_mtu_rh74
But then I have other errors to solve: /var/lib/dkms/tn40xx/004/build/tn40.c:3556:6: error: ‘struct net_device’ has no member named ‘min_mtu’ /var/lib/dkms/tn40xx/004/build/tn40.c:3557:6: error: ‘struct net_device’ has no member named ‘max_mtu’