Unable to modprobe pcan

This forum covers PCAN-Linux and Linux development issues concerning our products
Locked
dlm080
Posts: 2
Joined: Tue 11. May 2021, 17:11

Unable to modprobe pcan

Post by dlm080 » Tue 11. May 2021, 17:23

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.
Attachments
pcan.log
(13.23 KiB) Downloaded 54 times

dlm080
Posts: 2
Joined: Tue 11. May 2021, 17:11

Re: Unable to modprobe pcan

Post by dlm080 » Tue 11. May 2021, 19:20

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

M.Heidemann
Sales & Support
Sales & Support
Posts: 673
Joined: Fri 20. Sep 2019, 13:31

Re: Unable to modprobe pcan

Post by M.Heidemann » Wed 12. May 2021, 06:53

Hello,

Thank you for your feedback.

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


Best Regards

Marvin

Locked