Hello, I'm the same. I started researching and tried: sudo dkms --verbose build -m nvidia-340 -v 340.108 and it returned the same error.
Since I still have an old kernel installed I tried: sudo dkms --verbose build -m nvidia-340 -v 340.108 -k 5.4.0-26-generic and it worked perfect, just for that kernel. I don't have much knowledge, and I don't know where the error can be with the 5.8.0-25-generic kernel. Note: I just upgraded Ubuntu to Groovy, everything worked fine except nvidia-340. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901196 Title: kernel module failed to build [ Bad return status for module build on kernel: 5.8.0-25-generic (x86_64)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1901196/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
