Unknown symbol alloc_etherdev_mqs错误处理方法

Unknown symbol alloc_etherdev_mqs错误处理方法编译内核模块,并且安装时,出现以下错误:root@am335x-evm:~/modules#insmodwlan.ko[292.849701]wlan:disagreesaboutversionofsymbolalloc_etherdev_mqs[292.856774]wlan:Unknownsymbolalloc_etherdev_mqs(err-2…

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新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

Jetbrains全家桶1年46,售后保障稳定

出现以上错误,是由于重新编译了内核,而内核模块没有重新编译,导致无法找到一些模块的标志。
解决方法:
重新编译一遍内核模块,保持与当前板子上的内核版本一致即可。

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/210070.html原文链接:https://javaforall.cn

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(0)


相关推荐

  • Unity3D之如何将包大小减少到极致

    Unity3D之如何将包大小减少到极致

  • babel-preset-react_babel-loader

    babel-preset-react_babel-loaderhttps://www.fullstackreact.com/articles/what-are-babel-plugins-and-presets/当开发react或者vuejsapp时,开发者

  • mysql smalldatetime_datetime与smalldatetime之间的区别

    mysql smalldatetime_datetime与smalldatetime之间的区别1、一直以为smalldatetime和datetime的差别只是在于时间范围:smalldatetime的有效时间范围1900/1/1~2079/6/6datetime的有效时间范围1753/1/1~9999/12/31所以我判断如果该值不用到太远的日期范围,就会使用smalldatetime。2、但我忽略了更关键的差别,那就是smalldatetime只精准到分,而datetime则可精准到3…

  • 网页中部分非主流代码[通俗易懂]

    网页中部分非主流代码[通俗易懂]一:颜色代码0000000000200000400000600000800000a00000c00000ff…

  • spring cloud gateway 网关认证登录_golang 网关

    spring cloud gateway 网关认证登录_golang 网关网关作为系统的唯一流量入口,封装内部系统的架构,所有请求都先经过网关,由网关将请求路由到合适的微服务,所以,使用网关的好处在于:(1)简化客户端的工作。网关将微服务封装起来后,客户端只需同网关交互,而不必调用各个不同服务;(2)降低函数间的耦合度。一旦服务接口修改,只需修改网关的路由策略,不必修改每个调用该函数的客户端,从而减少了程序间的耦合性(3)解放开发人员把精力专注于业务逻辑的实现。由网关统一实现服务路由(灰度与ABTest)、负载均衡、访问控制、流控熔断降级等非业务相关功能

    2022年10月11日
  • 模仿学习–技术综述[通俗易懂]

    模仿学习–技术综述[通俗易懂]概念:局限性:2.1数据的可获得性影子模式可以有效的解决数据的可获得性,但是其中的数据也包括了不值得提倡的司机行为;2.2模型的有效性端到端的特性:1)可解释性较差;可解释性上刚刚有所进展(可解释机器学习?-文档)2)难以在中间过程中,接收信息和指令;应用方式:1)基于规则的规划、控制模块,还是基础的功能实现方案;2)强化学习、模仿学习,作为规划、控制模块的备份方案,在极端场景下-connercase或规则无法覆盖的场景,能够有效的实现相应功能模块。论文及学习..

发表回复

您的电子邮箱地址不会被公开。

关注全栈程序员社区公众号