大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全家桶1年46,售后保障稳定
编译内核模块,并且安装时,出现以下错误:
root@am335x-evm:~/modules# insmod wlan.ko
[ 292.849701] wlan: disagrees about version of symbol alloc_etherdev_mqs
[ 292.856774] wlan: Unknown symbol alloc_etherdev_mqs (err -22)
[ 292.864099] wlan: disagrees about version of symbol skb_copy_bits
[ 292.870838] wlan: Unknown symbol skb_copy_bits (err -22)
[ 292.877576] wlan: disagrees about version of symbol skb_put
[ 292.883478] wlan: Unknown symbol skb_put (err -22)
[ 292.889215] wlan: disagrees about version of symbol __netif_schedule
[ 292.895991] wlan: Unknown symbol __netif_schedule (err -22)
[ 292.902699] wlan: disagrees about version of symbol unregister_netdev
[ 292.909531] wlan: Unknown symbol unregister_netdev (err -22)
[ 292.915943] wlan: disagrees about version of symbol skb_dequeue
[ 292.922183] wlan: Unknown symbol skb_dequeue (err -22)
[ 292.927868] wlan: disagrees about version of symbol dev_alloc_name
[ 292.934379] wlan: Unknown symbol dev_alloc_name (err -22)
[ 292.940364] wlan: disagrees about version of symbol unregister_netdevice_queue
[ 292.947997] wlan: Unknown symbol unregister_netdevice_queue (err -22)
[ 292.954983] wlan: disagrees about version of symbol eth_type_trans
[ 292.961494] wlan: Unknown symbol eth_type_trans (err -22)
[ 292.967650] wlan: disagrees about version of symbol netif_device_attach
[ 292.974623] wlan: Unknown symbol netif_device_attach (err -22)
[ 292.981004] wlan: disagrees about version of symbol skb_queue_tail
[ 292.987553] wlan: Unknown symbol skb_queue_tail (err -22)
[ 292.993437] wlan: disagrees about version of symbol init_net
[ 292.999430] wlan: Unknown symbol init_net (err -22)
[ 293.005058] wlan: disagrees about version of symbol skb_pull
[ 293.011011] wlan: Unknown symbol skb_pull (err -22)
[ 293.016452] wlan: disagrees about version of symbol skb_push
[ 293.022402] wlan: Unknown symbol skb_push (err -22)
[ 293.027801] wlan: disagrees about version of symbol wireless_send_event
[ 293.034755] wlan: Unknown symbol wireless_send_event (err -22)
[ 293.041136] wlan: disagrees about version of symbol register_netdev
[ 293.047777] wlan: Unknown symbol register_netdev (err -22)
[ 293.053884] wlan: disagrees about version of symbol free_netdev
[ 293.060151] wlan: Unknown symbol free_netdev (err -22)
[ 293.066110] wlan: disagrees about version of symbol __pskb_pull_tail
[ 293.072806] wlan: Unknown symbol __pskb_pull_tail (err -22)
[ 293.078925] wlan: disagrees about version of symbol netif_rx
[ 293.084911] wlan: Unknown symbol netif_rx (err -22)
[ 293.090178] wlan: disagrees about version of symbol __netdev_alloc_skb
[ 293.097063] wlan: Unknown symbol __netdev_alloc_skb (err -22)
[ 293.103477] wlan: disagrees about version of symbol skb_trim
[ 293.109454] wlan: Unknown symbol skb_trim (err -22)
[ 293.114810] wlan: disagrees about version of symbol __dev_kfree_skb_any
[ 293.121789] wlan: Unknown symbol __dev_kfree_skb_any (err -22)
[ 293.128384] wlan: disagrees about version of symbol netif_carrier_off
[ 293.135193] wlan: Unknown symbol netif_carrier_off (err -22)
[ 293.141315] wlan: disagrees about version of symbol skb_copy
[ 293.147295] wlan: Unknown symbol skb_copy (err -22)
[ 293.152781] wlan: disagrees about version of symbol skb_clone
[ 293.158862] wlan: Unknown symbol skb_clone (err -22)
[ 293.164216] wlan: disagrees about version of symbol dev_get_by_name
[ 293.170829] wlan: Unknown symbol dev_get_by_name (err -22)
[ 293.176953] wlan: disagrees about version of symbol netif_carrier_on
[ 293.183642] wlan: Unknown symbol netif_carrier_on (err -22)
[ 293.190022] wlan: disagrees about version of symbol register_netdevice
[ 293.196956] wlan: Unknown symbol register_netdevice (err -22)
insmod: ERROR: could not insert module wlan.ko: Invalid parameters
出现以上错误,是由于重新编译了内核,而内核模块没有重新编译,导致无法找到一些模块的标志。
解决方法:
重新编译一遍内核模块,保持与当前板子上的内核版本一致即可。
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/210070.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...