viewtopic.php?t=6585&sid=46c6c9cae0daf8 ... 0e878443ff
However, it seems there are two things usually causing this problem:
1. Secure boot being enabled (which I have it disabled)
2. Mismatch between installed kernel headers and actual kernel version (which mine says both are 5.13.0-28-generic)
I have tried 8.13.0 and 8.14.0, and have gotten it to work on other machines before. Is there anything else that can cause this or something I am missing?
This was happening on a very specific kernel version for Ubuntu 20.04 that I think there was some mismatch in the headers for when I updated to it. It was a very repeatable error, but then 2 days later another kernel upgrade happened and then everything built and installed and worked as normal.
osboxes@ThinkPad-P51-Ubuntu-Lab:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
I have the same problem. 'sudo modprobe pcan' results in this:
osboxes@ThinkPad-P51-Ubuntu-Lab:~$ sudo modprobe pcan
[sudo] password for osboxes:
modprobe: ERROR: could not insert 'pcan': Operation not permitted
modprobe: ERROR: ../libkmod/libkmod-module.c:990 command_do() Error running install command 'modprobe --ignore-install pcan' for module pcan: retcode 1
modprobe: ERROR: could not insert 'pcan': Invalid argument
I spent the last 8 months working on this application. It was working fine, but now it is broken.
How do I fix this, specifically?