Skip to content

disagrees about version of symbol module_layout #4558

Open

Description

@magnate3

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

Activity

  1. pelwell commented on Sep 2, 2021

    @pelwell
    Contributor

    This is not a kernel bug - the ec_master module you've found/built (you don't say) just doesn't match the configuration of the running kernel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions