acooks / tn40xx-driver

Linux driver for tn40xx from Tehuti Networks
71 stars 50 forks source link

Driver in kernel >5.4 possible? Tainted kernel 5.7 #29

Closed raeschenzentrum closed 4 years ago

raeschenzentrum commented 4 years ago

Driver compiles in kernel 5.7 but while loading is tainting the kernel. Is it even possible to use the Driver with kernel > 5.4?

Hoerli1337 commented 4 years ago

Same with kernel 5.6

`root@debian10:/usr/src# dkms add -m tn40xx -v 003

Creating symlink /var/lib/dkms/tn40xx/003/source -> /usr/src/tn40xx-003

DKMS: add completed. root@debian10:/usr/src# dkms install -m tn40xx -v 003

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... make -j2 KERNELRELEASE=5.6.0-0.bpo.2-amd64 -C /lib/modules/5.6.0-0.bpo.2-amd64/build M=/var/lib/dkms/tn40xx/003/build........ cleaning build area...

DKMS: build completed.

tn40xx.ko: Running module version sanity check.

depmod....

DKMS: install completed.`

modprobe tn40xx delivers absolutely no output.

acooks commented 4 years ago

The new release/tn40xx-004 branch includes the fix for kernel 5.7 and supports 5.4 and newer. Tested on Fedora 31 with 5.7.15-100.