[One (M8) Q&A, Help & Troubleshooting] Knightofrepublic:
More uodate

I found out that there are some 145 Modules that come with stock kernel or lyapota's , stock modules from viperone rom 4.6.1 loads fine ,only those which i have compiled doesnt work,and most of them give errors like

Init module (module name) failed : invalid argument

with a minor number complaining cant find the specified module because of no such file or directory even if its right there

Immediately after this ,i run the command

dmesg | grep -i (module name)

and it gives err -22 aka disagrees about version of symbol (a lot of unknown symbols) and a lot of these known errors

For example

u0_a136@htc_m8:/ $ su

root@htc_m8:/ # cd /system/lib/modules/

root@htc_m8:/system/lib/modules # ls

a8293.ko

adsprpc.ko

af9013.ko

ansi_cprng.ko

atbm8830.ko

ath.ko

ath9k.ko

ath9k_common.ko

ath9k_htc.ko

ath9k_hw.ko

au8522.ko

bcm3510.ko

caif.ko

caif_socket.ko

caif_usb.ko

carl9170.ko

cdc-wdm.ko

cfg80211.ko

chnl_net.ko

commkm.ko

crc-itu-t.ko

cx22700.ko

cx22702.ko

cx24110.ko

cx24113.ko

cx24116.ko

cx24123.ko

cxd2820r.ko

dib0070.ko

dib0090.ko

dib3000mb.ko

dib3000mc.ko

dib7000m.ko

dib7000p.ko

dib8000.ko

dib9000.ko

dibx000_common.ko

dm-crypt.ko

dma_test.ko

drxd.ko

drxk.ko

ds3000.ko

dvb-core.ko

dvb-pll.ko

ec100.ko

ecryptfs.ko

eeprom_93cx6.ko

evbug.ko

gspca_main.ko

hd29l2.ko

isl6405.ko

isl6421.ko

isl6423.ko

it913x-fe.ko

itd1000.ko

ix2505v.ko

kineto_gan.ko

ks8851.ko

l64781.ko

lgdt3305.ko

lgdt330x.ko

lgs8gl5.ko

lgs8gxx.ko

lib80211.ko

libphy.ko

lnbp21.ko

lnbp22.ko

m88rs2000.ko

mac80211.ko

max2165.ko

mb86a16.ko

mb86a20s.ko

mc44s803.ko

mcDrvModule.ko

mcKernelApi.ko

moc_crypto.ko

moc_crypto.ko.3.4.10

moc_crypto.ko.sig.3.4.10

moc_platform_mod.ko

moc_platform_mod.ko.3.4.10

modules.dep.bb

mpq-adapter.ko

mpq-dmx-hw-plugin.ko

msm-buspm-dev.ko

msm72k_udc.ko

msm_rmnet.ko

mt2060.ko

mt2063.ko

mt20xx.ko

mt2131.ko

mt2266.ko

mt312.ko

mt352.ko

mvpkm.ko

mxl5005s.ko

mxl5007t.ko

nxt200x.ko

nxt6000.ko

oektestkm.ko

of_mdio.ko

or51132.ko

or51211.ko

pronto

pvtcpkm.ko

qcrypto.ko

qt1010.ko

radio-iris-transport.ko

reset_modem.ko

rt2500usb.ko

rt2800lib.ko

rt2800usb.ko

rt2x00lib.ko

rt2x00usb.ko

rt73usb.ko

rtl2830.ko

s5h1409.ko

s5h1411.ko

s5h1420.ko

s5h1432.ko

s921.ko

scsi_wait_scan.ko

si21xx.ko

sp8870.ko

sp887x.ko

spidev.ko

stb0899.ko

stb6000.ko

stb6100.ko

stv0288.ko

stv0297.ko

stv0299.ko

stv0367.ko

stv0900.ko

stv090x.ko

stv6110.ko

stv6110x.ko

tcp_htcp.ko

tda10021.ko

tda10023.ko

tda10048.ko

tda1004x.ko

tda10071.ko

tda10086.ko

tda18212.ko

tda18218.ko

tda18271.ko

tda18271c2dd.ko

tda665x.ko

tda8083.ko

tda8261.ko

tda826x.ko

tda827x.ko

tda8290.ko

tda9887.ko

tea5761.ko

tea5767.ko

texfat.ko

tspp.ko

tua6100.ko

tuner-simple.ko

tuner-types.ko

tuner-xc2028.ko

uas.ko

uio_pdrv.ko

uio_pdrv_genirq.ko

ums-realtek.ko

usbip-core.ko

usbip-host.ko

ves1820.ko

ves1x93.ko

vhci-hcd.ko

wlan.ko

xc4000.ko

xc5000.ko

zl10036.ko

zl10039.ko

zl10353.ko

root@htc_m8:/system/lib/modules # insmod cfg80211.ko

insmod: init_module 'cfg80211.ko' failed (Invalid argument)

mesg | grep -i cfg80211 <

<6>[20136.078600] c3 7517 cfg80211: disagrees about version of symbol skb_copy_bits

<4>[20136.078617] c3 7517 cfg80211: Unknown symbol skb_copy_bits (err -22)

<6>[20136.078636] c3 7517 cfg80211: disagrees about version of symbol skb_put

<4>[20136.078648] c3 7517 cfg80211: Unknown symbol skb_put (err -22)

<6>[20136.078680] c3 7517 cfg80211: disagrees about version of symbol consume_skb

<4>[20136.078691] c3 7517 cfg80211: Unknown symbol consume_skb (err -22)

<6>[20136.078725] c3 7517 cfg80211: disagrees about version of symbol genl_register_mc_group

<4>[20136.078737] c3 7517 cfg80211: Unknown symbol genl_register_mc_group (err -22)

<6>[20136.078762] c3 7517 cfg80211: disagrees about version of symbol genlmsg_put

<4>[20136.078773] c3 7517 cfg80211: Unknown symbol genlmsg_put (err -22)

<6>[20136.078805] c3 7517 cfg80211: disagrees about version of symbol genlmsg_multicast_allns

<4>[20136.078817] c3 7517 cfg80211: Unknown symbol genlmsg_multicast_allns (err -22)

<6>[20136.078855] c3 7517 cfg80211: disagrees about version of symbol netdev_err

<4>[20136.078866] c3 7517 cfg80211: Unknown symbol netdev_err (err -22)

<6>[20136.078885] c3 7517 cfg80211: disagrees about version of symbol pskb_expand_head

<4>[20136.078896] c3 7517 cfg80211: Unknown symbol pskb_expand_head (err -22)

<6>[20136.078914] c3 7517 cfg80211: disagrees about version of symbol kfree_skb

<4>[20136.078925] c3 7517 cfg80211: Unknown symbol kfree_skb (err -22)

<6>[20136.078966] c3 7517 cfg80211: disagrees about version of symbol netlink

(There's a bunch of more of the same but im having trouble copy-pasting from terminal emulator)

I think my problem is related to the unknown symbols in question , any kernel dev out there, or just anyone who knows about this stuff?