Kernel module build and kernel configuration
Posted: 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.
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.