Wifi kernel module problem on Raspbian softfloat.

Lubomir Rintel lkundrak at v3.sk
Tue Jun 17 02:14:30 PDT 2014

On Tue, 2014-06-17 at 08:33 +0100, Mark Gillespie wrote:
> Hi, trying to compile a Wifi kernel module on device, and I got the thing
> to compile, but it comes up with *Error: could not insert module 8812au.ko:
> Invalid module format* when I try and insert the module into the
> running kernel.

Please see "dmesg |tail" for details on why was the module load

> I am running soft-float raspbian (the last one before they went
> hardfloat)
> The module compiled without error and I have the latest kernel sources for
> the kernel I am running.

How are you trying to compile the module against the tree you're
running? Please share the exact command line.

Also, check the vermagic with "modinfo 8812au.ko"

It should be something like:
make -C /lib/modules/$(uname -r)/build SUBDIRS=$PWD/8812-tree/

> This is the binary it's created:
> file 8812au.ko 8812au.ko: ELF 32-bit LSB relocatable, ARM, version 1
> (SYSV),BuildID[sha1]=0xddb377d047fb7cade40f13c399c37d787b247247, not
> stripped
> uname -a Linux raspberrypi 3.12.21+ #689 PREEMPT Wed Jun 11 21:45:12 BST
> 2014 armv6l GNU/Linux


More information about the linux-rpi-kernel mailing list