I’m trying to install the https://github.com/torvalds/linux/tree/v5.2/drivers/net/can/peak_canfd kernel module on a Intel NUC microservices app.
I based myself on https://github.com/balena-io-playground/kernel-module-build
I copied the soource files and Makefile from the Linux source tree. And hardcoded the config in the Makefile to build as a module. So far so good, I have peak_pciefd.ko module file.
When the container starts up on balena
run.sh it tells me:
insmod: ERROR: could not insert module peak_canfd_intel-nuc_2.47.1+rev1.prod/peak_pciefd.ko: Operation not permitted
I have also tried manually copying the .ko file to the Host OS and installing it there manually. But that gives me:
insmod: ERROR: could not insert module /peak_pciefd.ko: Unknown symbol in module
Now I don’t know what else to try to get our canbus card going. Help is very much appreciated.