linux - Error when loading a module for a dogle in a toradex colibri imx6 ( insmod ) -


i want use edimax n150 usb dogle in toradex colibri imx6 , , need cross compile deprecated driver rtl8188cu ( same rtl8192cu ) , did against linux kernel of toradex colibri, didn't compile @ begenning since there lot of deprecated methods , managed make them updated replacing them new ones , compiles , generates me module 8192cu.ko , load them on colibri , when insmod following error :

[   95.186137] 8192cu: disagrees version of symbol alloc_etherdev_mqs [   95.192907] 8192cu: unknown symbol alloc_etherdev_mqs (err -22) [   95.223690] 8192cu: disagrees version of symbol skb_copy_bits [   95.229983] 8192cu: unknown symbol skb_copy_bits (err -22) [   95.239004] 8192cu: disagrees version of symbol skb_put [   95.244826] 8192cu: unknown symbol skb_put (err -22) [   95.250329] 8192cu: disagrees version of symbol __netif_schedule [   95.256956] 8192cu: unknown symbol __netif_schedule (err -22) [   95.263550] 8192cu: disagrees version of symbol unregister_netdev [   95.270190] 8192cu: unknown symbol unregister_netdev (err -22) [   95.270203] 8192cu: disagrees version of symbol skb_dequeue insmod: error: not insert m[   95.270207] 8192cu: unknown symbol skb_dequeue (err -22) odule 8192cu.ko: invalid paramete[   95.270241] 8192cu: disagrees version of symbol dev_alloc_name rs [   95.270245] 8192cu: unknown symbol dev_alloc_name (err -22) [   95.270279] 8192cu: disagrees version of symbol unregister_netdevice_queue [   95.270282] 8192cu: unknown symbol unregister_netdevice_queue (err -22) [   95.270304] 8192cu: disagrees version of symbol wake_up_process [   95.270308] 8192cu: unknown symbol wake_up_process (err -22) root@colibri-imx6:~# [   95.270318] 8192cu: disagrees version of symbol eth_type_trans [   95.270321] 8192cu: unknown symbol eth_type_trans (err -22) [   95.270381] 8192cu: disagrees version of symbol netif_device_attach [   95.270384] 8192cu: unknown symbol netif_device_attach (err -22) [   95.270393] 8192cu: disagrees version of symbol skb_queue_tail [   95.270396] 8192cu: unknown symbol skb_queue_tail (err -22) [   95.270452] 8192cu: disagrees version of symbol skb_pull [   95.270456] 8192cu: unknown symbol skb_pull (err -22) [   95.270487] 8192cu: disagrees version of symbol skb_push [   95.270490] 8192cu: unknown symbol skb_push (err -22) [   95.270510] 8192cu: no symbol version wireless_send_event [   95.270514] 8192cu: unknown symbol wireless_send_event (err -22) [   95.270522] 8192cu: disagrees version of symbol register_netdev [   95.270526] 8192cu: unknown symbol register_netdev (err -22) [   95.270538] 8192cu: disagrees version of symbol free_netdev [   95.270542] 8192cu: unknown symbol free_netdev (err -22) [   95.270611] 8192cu: disagrees version of symbol __pskb_pull_tail [   95.270614] 8192cu: unknown symbol __pskb_pull_tail (err -22) [   95.270622] 8192cu: disagrees version of symbol netif_rx [   95.270625] 8192cu: unknown symbol netif_rx (err -22) [   95.270631] 8192cu: disagrees version of symbol __netdev_alloc_skb [   95.270634] 8192cu: unknown symbol __netdev_alloc_skb (err -22) [   95.270645] 8192cu: disagrees version of symbol skb_trim [   95.270649] 8192cu: unknown symbol skb_trim (err -22) [   95.270688] 8192cu: disagrees version of symbol __dev_kfree_skb_any [   95.270691] 8192cu: unknown symbol __dev_kfree_skb_any (err -22) [   95.270720] 8192cu: disagrees version of symbol netif_carrier_off [   95.270724] 8192cu: unknown symbol netif_carrier_off (err -22) [   95.270737] 8192cu: disagrees version of symbol skb_copy [   95.270740] 8192cu: unknown symbol skb_copy (err -22) [   95.270746] 8192cu: disagrees version of symbol skb_clone [   95.270750] 8192cu: unknown symbol skb_clone (err -22) [   95.270755] 8192cu: disagrees version of symbol dev_get_by_name [   95.270759] 8192cu: unknown symbol dev_get_by_name (err -22) [   95.270767] 8192cu: disagrees version of symbol netif_carrier_on [   95.270770] 8192cu: unknown symbol netif_carrier_on (err -22) [   95.270783] 8192cu: disagrees version of symbol find_vpid [   95.270787] 8192cu: unknown symbol find_vpid (err -22) [   95.270828] 8192cu: disagrees version of symbol register_netdevice [   95.270831] 8192cu: unknown symbol register_netdevice (err -22) 

i searcheg file module.symvers in kernel of toradex , found , tried copy in module.symvers of driver when compile file erased , thank if can me solving problem or helping me way.

note latest (3.14.52) colibri imx6 kernel toradex has config_rtl8192cu=m in colibri imx6 defconfig.

there should no need compile driver out-of-tree. i'd recommend deploying/building latest kernel & modules. can download latest binary image toradex developer center.


Comments