Giter VIP home page Giter VIP logo

Comments (4)

cahz avatar cahz commented on September 1, 2024

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.

alexlimbeck avatar alexlimbeck commented on September 1, 2024

I tryed also with CentOS8 - kernel 4.18-something...
The installer fails with:
Deprecated feature: REMAKE_INITRD

from tn40xx-driver.

alexlimbeck avatar alexlimbeck commented on September 1, 2024

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.

acooks avatar acooks commented on September 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.