[WLUG] A question about kernel modules

Mark Montague markmont at umich.edu
Thu Dec 12 15:02:13 EST 2013


On December 12, 2013 at 14:31 , sallyvdv <sallyvdv at gmail.com> wrote:
> $ strings security.ko
> vermagic=3.2.0-32-generic SMP mod_unload modversions 686

> $ sudo insmod security.ko
> [sudo] password for sally:
> insmod: error inserting 'security.ko': -1 Invalid module format
>
> My syslog file shows this corresponding error:
> security: disagrees about version of symbol module_layout

> $ uname -a
> Linux ubuntu 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23 
> UTC 2012 i686 i686 i386 GNU/Linux

It's just a guess, but it looks like you are trying to load a kernel 
module built for a kernel without PAE into a kernel built with PAE. Try 
a non-PAE kernel and see if that helps.

See also 
http://stackoverflow.com/questions/2720177/module-layout-version-incompatibility

Luck!

--
   Mark Montague
   LSA IT Advocacy and Research Support
   University of Michigan
   markmont at umich.edu



More information about the washlug mailing list