Can't insert module cp2130.ko


#1

Hi,

I’m working on the mangOH red and i’d like to use the SPI on the RPi connector. I read some threads of this forum and I try to insert the cp2130 module. But when i do:

insmod cp2130.ko -> insmod: can’t insert ‘cp2130.ko’: unknown symbol in module, or unknown parameter

dmesg -> cp2130: Unknown symbol kmem_cache_alloc_trace (err 0)

I don’t understand why I get this error, my linux version is the same than the module one:
root@swi-mdm9x28-wp:~# uname -a
Linux swi-mdm9x28-wp 3.18.44 #3 PREEMPT Thu Sep 13 16:34:23 CEST 2018 armv7l GNU/Linux

modinfo cp2130.ko
filename: /home/nicolas/workspace/mangOH/build/red_wp77xx/modules/cp2130/cp2130.ko
alias: cp2130
license: GPL
description: Silicon Labs CP2130 single chip USB-to-SPI brigde
author: Jochen Henneberg jh@henneberg-systemdesign.com
depends:
vermagic: 3.18.44 preempt mod_unload ARMv7 p2v8

Does anyone have any idea ?

Thank you,


#2

Don’t mind about this post, I updated the toolchain and it worked.