[ovs-discuss] Fwd: OVS 0.90.7 build fails on kernel 2.6.31-14-generic

Ben Pfaff blp at nicira.com
Tue Mar 23 21:58:59 UTC 2010


On Tue, Mar 23, 2010 at 02:05:56PM -0700, Prateek Jain wrote:
> Thanks for your reply. I tried downloading and building 0.99.2 in the
> mean time.  I tried building for kernel modules, the build was
> successful, however the loading of kernel module fails with the
> following error
> 
> insmod: error inserting './datapath/linux-2.6/openvswitch_mod.ko': -1
> Invalid module format.

Probably the compiler you used to build the module is different from the
compiler used to build the kernel.  Compare the "vermagic" output by
/sbin/modinfo for openvswitch_mod.ko against that output for a module
installed in /lib/modules/`uname r`.




More information about the discuss mailing list