# Can not install in-tree kernel module

**URL:** <https://forums.balena.io/t/can-not-install-in-tree-kernel-module/92052>\
**Category:** balenaOS\
**Created:** [April 7, 2020, 11:30am UTC](https://forums.balena.io/t/can-not-install-in-tree-kernel-module/92052 "2020-04-07T11:30:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ErikHH](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ErikHH](https://forums.balena.io/u/ErikHH)\
**Post date:** [April 7, 2020, 11:30am UTC](https://forums.balena.io/t/can-not-install-in-tree-kernel-module/92052/1 "2020-04-07T11:30:14Z")

</div>

Hello,

I’m trying to install the [https://github.com/torvalds/linux/tree/v5.2/drivers/net/can/peak\_canfd](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](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:

```auto
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:

```auto
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.

Cheers,  
Erik

---

_[View the full topic](https://forums.balena.io/t/can-not-install-in-tree-kernel-module/92052)._
