-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
编译成功后无法正常加载.ko文件
root@ubuntu:/opt/ch343ser_linux/driver# make
make -C /lib/modules/6.1.83/build M=/opt/ch343ser_linux/driver
make[1]: Entering directory '/usr/src/linux-headers-6.1.83'
CC [M] /opt/ch343ser_linux/driver/ch343.o
MODPOST /opt/ch343ser_linux/driver/Module.symvers
CC [M] /opt/ch343ser_linux/driver/ch343.mod.o
LD [M] /opt/ch343ser_linux/driver/ch343.ko
make[1]: Leaving directory '/usr/src/linux-headers-6.1.83'
root@ubuntu:/opt/ch343ser_linux/driver# make load
insmod ch343.ko
insmod: ERROR: could not insert module ch343.ko: Invalid module format
make: *** [Makefile:11: load] Error 1
root@ubuntu:/opt/ch343ser_linux/driver#
root@ubuntu:/opt/ch343ser_linux/driver# insmod ch343.ko
insmod: ERROR: could not insert module ch343.ko: Invalid module format- 设备:RDK X5 开发板
- 系统: Ubuntu22.04
- 内核:
Linux ubuntu 6.1.83 #1 SMP PREEMPT Tue Feb 11 00:25:16 CST 2025 aarch64 aarch64 aarch64 GNU/Linux
Metadata
Metadata
Assignees
Labels
No labels