Custom kernel modules are not being loaded.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom kernel modules are not being loaded.

598 Views
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 Kudos
Reply
1 Reply

539 Views
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 Kudos
Reply