Page 1 of 1

Unable to modprobe pcan

Posted: Tue 11. May 2021, 17:23
by dlm080
After compiling and installing pcan, I am getting the following error when tying to modprobe:

> sudo modprobe pcan
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 looked at the solution to this similar post, but my linux kernel versions match:
viewtopic.php?f=59&t=283&start=150#p12906

I am on Ubuntu 20.04, and I have attached my compile and install logs.

Re: Unable to modprobe pcan

Posted: Tue 11. May 2021, 19:20
by dlm080
My problem was resolved by disabling secure-boot. I followed the link from another post to this page to disable secure-boot:

https://askubuntu.com/questions/762254/ ... el-modules

Re: Unable to modprobe pcan

Posted: Wed 12. May 2021, 06:53
by M.Heidemann
Hello,

Thank you for your feedback.

Yes, secure-boot will prohibit loading the PCAN-driver,
as it is not signed.


Best Regards

Marvin