Kernel module build and kernel configuration

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!

Moderators: outkastm, StephenM

Post Reply
User avatar
m_pashka
Posts: 3
Joined: 12 May 2021, 16:47

Kernel module build and kernel configuration

Post by m_pashka » 26 May 2021, 03:59

Does anybody succeed in building and loading kernel module for TNAS.

I needed kernel module for my zigbee stick support in order to run home assistant. I partially succeed https://github.com/mpashka/terranas/blo ... bdriver.md. But module is reported as [permanent] in lsmod output. That means module doesn't have proper exit function. My idea is either my kernel configuration is incorrect or there are some issues with the toolchain.

I tried kernel sources provided by TerraMaster but was not able to compile loadable driver - received seg fault during module loading.

Another module I need is tun driver to run wireguard-go. Or probably wireguard dkms module.

Post Reply