linux-sunxi / sunxi-livesuite

All in one repo for the LiveSuit tool, to take some of the pain outof using this.
106 stars 62 forks source link

module awusb:gnu.linkonce.this module section size must match the kernel's built struct module size at run time #20

Closed CaesarYP closed 7 months ago

CaesarYP commented 7 months ago

R128开发板按键进入烧录模式时,linux终端出现

module awusb:gnu.linkonce.this module section size must match the kernel's built struct module size at run time

终端停留在等待烧录界面 推测全志的usb驱动出现问题,请问如何解决? 我使用:

Linux version 6.5.0-14-generic
Ubuntu 12.3.0-1ubuntu1~22.04

modinfo awusb:

filename:       /lib/modules/6.5.0-14-generic/updates/dkms/awusb.ko
license:        GPL
description:    AW USB driver
author:         Jojo
srcversion:     4116264064119F31D974A32
alias:          usb:v1F3ApEFE8d*dc*dsc*dp*ic*isc*ip*in*
depends:
retpoline:      Y
name:           awusb
vermagic:       5.15.0-25-generic SMP mod_unload modversions

谢谢!

CaesarYP commented 7 months ago

更换内核启动顺序。。。

bambooru commented 7 months ago

我也遇到同样的问题,请问这个问题如何解决的?谢谢

CaesarYP commented 7 months ago

我也遇到同样的问题,请问这个问题如何解决的?谢谢

就是更换内核启动顺序,你先打个uname -r看看版本是不是5.15的,如果不是的话你自己搜索一下怎么更换kernel的启动顺序,把5.15放在默认位置

ZyoungInc commented 6 months ago

简而言之,这个驱动不支持6.x的内核,似乎是新版本的内核在加载驱动时请求了更多参数,不知道有没有办法移植到新版本的内核