Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
11.08k
stars
4.96k
forks
source link
disagrees about version of symbol module_layout #4558
Describe the bug
root@raspberrypi:~/ethercat-1.5.2# insmod master/ec_master.ko
insmod: ERROR: could not insert module master/ec_master.ko: Invalid module format
root@raspberrypi:~/ethercat-1.5.2# dmesg | grep ec_master
[ 290.382246] ec_master: disagrees about version of symbol module_layout
[ 6089.335097] ec_master: disagrees about version of symbol module_layout
[12039.686722] ec_master: disagrees about version of symbol module_layout
[16098.546137] ec_master: disagrees about version of symbol module_layout
System
root@raspberrypi:~/ethercat-1.5.2# uname -a
Linux raspberrypi 5.10.17-v8+ #1421 SMP PREEMPT Thu May 27 14:01:37 BST 2021 aarch64 GNU/Linux
root@raspberrypi:~/ethercat-1.5.2# lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 3
Model name: Cortex-A72
Stepping: r0p3
CPU max MHz: 1500.0000
CPU min MHz: 600.0000
BogoMIPS: 108.00
Flags: fp asimd evtstrm crc32 cpuid
Describe the bug root@raspberrypi:~/ethercat-1.5.2# insmod master/ec_master.ko insmod: ERROR: could not insert module master/ec_master.ko: Invalid module format root@raspberrypi:~/ethercat-1.5.2# dmesg | grep ec_master [ 290.382246] ec_master: disagrees about version of symbol module_layout [ 6089.335097] ec_master: disagrees about version of symbol module_layout [12039.686722] ec_master: disagrees about version of symbol module_layout [16098.546137] ec_master: disagrees about version of symbol module_layout
System root@raspberrypi:~/ethercat-1.5.2# uname -a Linux raspberrypi 5.10.17-v8+ #1421 SMP PREEMPT Thu May 27 14:01:37 BST 2021 aarch64 GNU/Linux root@raspberrypi:~/ethercat-1.5.2# lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 Vendor ID: ARM Model: 3 Model name: Cortex-A72 Stepping: r0p3 CPU max MHz: 1500.0000 CPU min MHz: 600.0000 BogoMIPS: 108.00 Flags: fp asimd evtstrm crc32 cpuid