Hello,
Hello, I have a problem that stems from a kernel module ExarKernelDrivers -> xr_usb_serial_common.ko kernel module.
The module builds fine with the help of balena tool: kernel-module-build. However when running the script below, 'insmod ./xr_usb_serial_common.ko fails with an Operation Not Permitted as shown below.
Seems like a privilege issues, I did set the ‘privileged: true’ setting in docker-compose.yml.
Does anybody know, what I should look at next? Thanks!!!
Error message following ‘balena push …’…
[firmware] Step 29/31 : RUN ./run.sh
[firmware] —> Running in eea1e98ffc81
[firmware] OS Version is
[firmware] insmod: ERROR: could not insert module ExarKernelDriver_raspberry-pi2_2.43.0+rev1.dev/xr_usb_serial_common.ko: Operation not permitted
[firmware]
[firmware] Removing intermediate container eea1e98ffc81
[firmware] The command ‘/bin/sh -c ./run.sh’ returned a non-zero code: 1
[Info] Uploading images
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: firmware
[Error] Error: The command ‘/bin/sh -c ./run.sh’ returned a non-zero code: 1
[Info] Built on arm03
[Error] Not deploying release.
Remote build failed