Comments (5)
https://github.com/worksasintended/tn40xx-driver
this one works. Thanks to @cahz, you did 99.9% of the work.
The commit only had a minor issue forgetting the variable names in the function definition
from tn40xx-driver.
Ah sorry and thanks for pointing it out. I apparently mixed up my patch management (I have a private fork for internal use) and based my public commit on skwerlman's commit, which fixed another issue.
from tn40xx-driver.
Hi @worksasintended ,
Checking in if this issue got resolved? I am facing a similar issue here #53
from tn40xx-driver.
I can't install the drivers on my proxmox v7.4.3:
Hardware:
CPU: i5 4690k
PCI LAN Card: Delock 10gbit RJ45 (recognised as TN9510 10Gbase)
Motherboard: Asus H81I-Plus
git clone -b release/tn40xx-004 https://github.com/acooks/tn40xx-driver.git /usr/src/tn40xx-004
dkms add -m tn40xx -v 004
dkms install -m tn40xx -v 004
This is the error i get:
Error! Bad return status for module build on kernel: 5.15.107-2-pve (x86_64)
Consult /var/lib/dkms/tn40xx/004/build/make.log for more information.
I already tried to clone the forks of the original repository like this:
git clone -b release/tn40xx-004 https://github.com/skwerlman/tn40xx-driver.git /usr/src/tn40xx-004-skwerlman
dkms add -m tn40xx -v 004-skwerlman
dkms install -m tn40xx -v 004-skwerlman
Also tried this repo: https://github.com/worksasintended/tn40xx-driver
Still getting the same error. I think my Proxmox just tries to install the original repo. Is some of my commands wrong?
This is the logfile:
make: Entering directory '/usr/src/linux-headers-5.15.107-2-pve'
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:3877:11: warning: ‘struct kernel_ethtool_ringparam’ declared inside parameter list will not be visible outside of this definition or declaration
3877 | struct kernel_ethtool_ringparam *kernel_ering,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tn40xx/004/build/tn40.c:3898:11: warning: ‘struct kernel_ethtool_ringparam’ declared inside parameter list will not be visible outside of this definition or declaration
3898 | struct kernel_ethtool_ringparam kernel_ering,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tn40xx/004/build/tn40.c: In function ‘bdx_ethtool_ops’:
/var/lib/dkms/tn40xx/004/build/tn40.c:4113:20: error: initialization of ‘void ()(struct net_device *, struct ethtool_ringparam )’ from incompatible pointer type ‘void ()(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack )’ [-Werror=incompatible-pointer-types]
4113 | .get_ringparam = bdx_get_ringparam,
| ^~~~~~~~~~~~~~~~~
/var/lib/dkms/tn40xx/004/build/tn40.c:4113:20: note: (near initialization for ‘bdx_ethtool_ops.get_ringparam’)
/var/lib/dkms/tn40xx/004/build/tn40.c:4114:20: error: initialization of ‘int ()(struct net_device *, struct ethtool_ringparam )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack *)’ [-Werror=incompatible-pointer-types]
4114 | .set_ringparam = bdx_set_ringparam,
| ^~~~~~~~~~~~~~~~~
/var/lib/dkms/tn40xx/004/build/tn40.c:4114: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
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:297: /var/lib/dkms/tn40xx/004/build/tn40.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1909: /var/lib/dkms/tn40xx/004/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.15.107-2-pve'
from tn40xx-driver.
fixed in release/tn40xx-006
from tn40xx-driver.
Related Issues (20)
- ST-Lab 480 (TN9710P) not detected after DKMS install HOT 5
- is there possible to update this driver to support latest linux kernel like 5.11+? HOT 6
- 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
- Issues with Debian 11 Installation with pve-headers HOT 1
- Unable to install driver on 5.19.0-76051900-generic HOT 7
- error: unknown field ‘ndo_change_mtu’ specified in initializer (Install fails on CentOS7 - kernel 3.10.0-1160.80.1.el7.x86_64) HOT 4
- 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
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.