#insmod xx. ko
The following error reports
Cause of problem:
Since the 3.7 kernel, there has been a kernel signature mechanism.
When compiling the kernel, The options related to kernel signature in .config are as follows:
CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_ALL=y
1. There is a method to sign Ko
/usr/src/linux-4.9.61/scripts/sign-file sha512 /usr/src/linux-4.9.61/certs/signing_key.pem /usr/src/linux-4.9.61/certs/signing_key.x509 hello.ko
2. The second method is to disable signing
Add it to your Makefile:
CONFIG_MODULE_SIG=n
Read More:
- [ERROR SystemVerification]: failed to parse kernel config: unable to load kernel module: “configs“
- [Solved] ERROR: The kernel module failed to load, because it was not signed by a key that is trusted by the
- [Solved] Linux ECDSA key Error: Host key verification failed
- [Solved] Linux scp Error: Host key verification failed.
- How to Solve Android Linux5.10 Kernel do_gettimeofday Function Error
- [Solved] rk3588_buildroot Compile Error: ERROR: Running build_kernel failed!
- [Solved] Linux Kernel Compile Error: make menuconfig‘ requires the ncurses libraries
- [Solved] failed to start remount root and kernel file system
- An error occurred during the signature verification in the ROS function pack warehouse
- Ubuntu: How to deal with the fatal: the remote end hung up unexpected error of GIT clone Android kernel
- [Solved] Log Error: kernel: blk_update_request: I/O error, dev fd0, sector 0
- [Solved] Clone Linux Code Error: server certificate verification failed. CAfile: none CRLfile: none
- [Solved] Sshpass Error: Host key verification failed
- [Solved] Linux Install Goland Error: Error opening zip file or JAR manifest missing
- Docker Run ‘echo core > /proc/sys/kernel/core_pattern‘ Error
- Failed to Connect NVIDIA Driver: NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver
- Linux Virtual Machine Boot Container: Error response from daemon: driver failed programming external connectivity on endpoint
- [Solved] SSH Startup Error: unable to load host key /etc/ssh/ssh_host_ed25519_key bad permissions
- [Solved] Module yaml error: Unexpected key in data: static_context
- [Solved] Linux installation pillow error: ValueError: jpeg is required unless explicitly disabled using –disable-jpeg, aborting