-
Notifications
You must be signed in to change notification settings - Fork 52
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
Driver not loading for StarTech (ST10GSPEXNB) - Ubuntu Server 18.04.5 LTS; kernel 5.4.0-66-generic #40
Comments
Quick update... Using the StarTech download above, I was able to build the driver from source on kernel 4.14. Per StarTech, that's the latest kernel that they support. I'd still like to get this working with kernel 5.4+, though. |
I was able to patch the StarTech source code to work for Linux 5.4. #19 identified a similar issue in the @acooks driver. The issue was due to a change in the structure of This still doesn't explain why the @acooks drivers don't initialize my device. I'd still like to figure this out so I can more easily keep my driver up-to-date. |
Hello I believe i have a similar issue for ubuntu 20.04. |
Ooops... thanks for the catch @FLEGA457. I'll maybe do one better here actually. I had to change more than just the |
Thanks. I still have the network interface UNCLAIMED with lshw -c network. Weird. Need to investigate further. |
Were you able to build the driver from the unzipped source directory using |
Yes. It seems I had to deactivate the secure boot to allow the driver to load at startup time. Now it is fine. |
I have the same issue on ubuntu 20.04-lts , tried all what was suggested here:
The module seems to be loading correctly
despite following messages:
But I still get
So it seems that the hardware is not recognized by the driver? |
I also get This looks like you're still trying to load the original driver provided by @acooks. I would uninstall the @acooks drivers documentation here) and then build the drivers from source using the modified source code that I posted above. |
Thanks, I think I got mixed-up when trying the different versions. |
Glad it worked! It sounds like there may be some changes in kernel 5.8 that will require further tweaks. I'm running Ubuntu 20.04 LTS so all my machines are still on 5.4.
I'm not a collaborator on this project. I opened this issue when I was having trouble loading drivers for my NIC. This thread has mainly turned into my stream of consciousness while I figure out how to make it work ha. |
hey @christasich - from which commit did you fork your patch? (or basically if there's a way we could turn that patched code into a PR, so we can update it to work with the latest kernel) please let me know -- thanks / you're the best! 😸 👍 |
Hi I am able to install it on the 5.4 kernel version but when I try with 5.13 getting this output Skipping BTF generation for /root/Networkdriver/tn40xx.ko due to unavailability of vmlinux |
I've the same hardware and installed latest release on Debian 11 stable that have kernel Linux server 5.10.0-13-amd64. Please see: #41 (comment) Can you please tell me how the interface shoud appear under /sys/class/net/ if it's correctly detected? Thanks, BR |
I'm a little bit confused, if your patch was included in this repo at (4e9b17e), why I'm having this issue? 🤔 Not sure if your source code in the zip will behave different, @christasich |
@jfernandz: Please open a new issue and describe:
If it's a NIC based on the Marvell 88X3310 PHY, then unfortunately I cannot help you right now. |
@acooks well, I didn't want to open a new issue as this one is still open and I've got exactly the same NIC than @christasich and exactly the very same error message when I use
I'm trying to make my NIC working in I'm curious ... what's exactly the problem with PS: I've actually copied the error message from @christasich because it's pretty similar, but I'd say in my case that line says
But ... as |
The exact problem with PHY_MV88X3310 is that Marvell has not allowed the firmware for that chip to be redistributed, and therefore this tn40xx driver doesn't include it. Unfortunately that chip doesn't work at all without the firmware. You can find copies of the firmware on the internet, and in other drivers, and it can even be extracted from flash chips on other cards, but it cannot be included into a Linux driver or distribution until Marvell makes it available under a suitable license. Other's have posted helpful comments to Issue #3 and I've tried to link to other kernel discussions about that phy and firmware. The original poster of this bug had multiple issues:
The kernel API issues have been addressed in subsequent releases. The missing firmware remains a problem that you might be able to resolve yourself, but I cannot help you obtain it. |
I have this NIC here. I cannot get it running on Ubuntu Server 18.04.5 LTS (kernel 5.4.0). I started by trying to build the StarTech drivers from source here. I kept getting permission errors and never successfully built the driver. I then stumbled upon this project. I followed the dkms install directions and everything seems to build smoothly. However, my NIC is still not coming up.
lshw -c network
shows thismodprobe tn40xx
returns nothing anddmesg
showsAm I mistaken that the driver should work for my device? Any advice on where to go from here?
The text was updated successfully, but these errors were encountered: