AnsweredAssumed Answered

Custom kernel modules are not being loaded.

Question asked by Abhijeet Sasmal on Aug 14, 2019
Latest reply on Aug 15, 2019 by Yiping Wang

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

Outcomes