Custom kernel modules are not being loaded.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Custom kernel modules are not being loaded.

599 次查看
abhijeet_sasmal
Contributor I

We tried to build our custom kernel using command . We have 

flex-builder -c linux:custom

Copied the kernel Image generated to boot 

uname -a

Linux Ubuntu.ls1043ardb 4.14.16 #1 SMP PREEMPT Thu Mar 22 18:26:27 CST 2018 aarch64 aarch64 aarch64 GNU/Linux

Error showing :- 

root@Ubuntu:/lib/modules/4.14.16/kernel/net/netfilter# insmod xt_conntrack.ko
insmod: ERROR: could not insert module xt_conntrack.ko: Invalid module format

Info : -

root@Ubuntu:/lib/modules/4.14.16/kernel/net/netfilter# modinfo xt_conntrack.ko
filename: /lib/modules/4.14.16/kernel/net/netfilter/xt_conntrack.ko
alias: ip6t_conntrack
alias: ipt_conntrack
description: Xtables: connection tracking state match
author: Jan Engelhardt <jengelh@medozas.de>
author: Marc Boucher <marc@mbsi.ca>
license: GPL
depends:
intree: Y
name: xt_conntrack
vermagic: 4.14.16 SMP mod_unload modversions aarch64

0 项奖励
回复
1 回复

540 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Abhijeet Sasmal,

Please use the Kernel image and the module from the same build.

It seems that Kernel image used on the target board is generated on Mar 22 18:26:27 CST 2018.

Thanks,

Yiping

0 项奖励
回复