Hi Maruis
this is my output of modprobe libcomposite.ko
root@imx6ulevk:/lib/modules/3.14.38-6UL_ga+ge4944a5/kernel/drivers/usb/gadget# modinfo libcomposite.ko
filename: libcomposite.ko
license: GPL
author: David Brownell
srcversion: 3C154B8E069FE5773D21EE2
depends:
vermagic: 3.14.38-6UL_ga+ge4944a5 SMP preempt mod_unload modversions ARMv7 p2v8
there is no -f option for modprobe
modprobe -f libcomposite
modprobe: invalid option -- 'f'
BusyBox v1.23.1 (2017-04-11 16:49:06 IST) multi-call binary.
Usage: modprobe [-alrqvsD] MODULE [SYMBOL=VALUE]...
If I do modprobe libcomposite I am having the ibnvlid module format error. Even though the kernel version is same.
root@imx6ulevk:/lib/modules/3.14.38-6UL_ga+ge4944a5/kernel/drivers/usb/gadget# modprobe libcomposite
libcomposite: disagrees about version of symbol module_layout
modprobe: can't load module libcomposite (kernel/drivers/usb/gadget/libcomposite.ko): invalid module format
How to strip versioning information from module?
What is causing the error invalid module format??