Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST-Lab 480 (TN9710P) not detected after DKMS install #45

Open
WhiteFossa opened this issue Jun 5, 2021 · 5 comments
Open

ST-Lab 480 (TN9710P) not detected after DKMS install #45

WhiteFossa opened this issue Jun 5, 2021 · 5 comments

Comments

@WhiteFossa
Copy link

Hi All,

I've just bought a pair of ST-Lab N-480 10G adapters and installed them into machines with Fedora 34.

uname -a Linux amphimachairodus 5.12.8-300.fc34.x86_64 #1 SMP Fri May 28 15:20:54 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
NICs are present in my lspci:
05:00.0 Ethernet controller: Tehuti Networks Ltd. TN9710P 10GBase-T/NBASE-T Ethernet Adapter

I've cloned repo and installed DKMS as described here https://github.com/acooks/tn40xx-driver without any problems.

Then rebooted - an don't see NIC neither in ifconfig -a, nor in dmesg:
dmesg | grep tn4 returns just empty set.

Any suggestions, what can be missing?

@WhiteFossa
Copy link
Author

After manually inserting module:
tn40xx: loading out-of-tree module taints kernel.
[ 1603.735364] tn40xx: module verification failed: signature and/or required key missing - tainting kernel
[ 1603.735989] Tehuti Network Driver from https://github.com/acooks/tn40xx-driver, 004
[ 1603.735991] Supported phys : QT2025 TLK10232 AQR105 MUSTANG

I.e. there is a problem with my PHY (which is Marvell's).

@WhiteFossa
Copy link
Author

If I add firmware files, then I'm getting compilation error, related to damaged MV88X3310_PHY_H:

#ifndef _MV88X3310_PHY_H
#define _MV88X3310_PHY_H

static u16 MV88X3310_phy_initdata[] __initdata = {
/* x3310fw_0_3_4_0_9445.hdr */
unsigned int MV88X3310_phy_initdata_len =
#endif

This is bullshit from that file

@randomsamples
Copy link

Im also unable to get my card working which is a Trendnet TEG-10GECTX. Driver builds, appears to install, wont detect my card. I manually modprobe it in and it looks very similar to what youre hitting. Would love to know how I can troubleshoot this.

@makz27
Copy link

makz27 commented Oct 21, 2021

Same issue here, i've added the x3310fw_0_3_4_0_9445.hdr file to source dir, it looks like the DKMS doesn't build the support for our card

DKMS Install :
Supported phys : QT2025 TLK10232 AQR105 MUSTANG

if i build and install with make
(make && make install && modprobe tn40xx)

Supported phys : MV88X3310 QT2025 TLK10232 AQR105 MUSTANG

and it works, but i'd like to keep the DKMS support for kernel updates :(

@makz27
Copy link

makz27 commented Oct 21, 2021

I think i found the issue, since dkms change the make folder with the option -C, the Makefile can't find the .hdr file and so do not build the support of MV88X3310

I've removed the option in dkms.conf

MAKE[0]="make M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build"

and now the module is build with the supported card.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants