You need to find the correct Linux kernel headers that match your running kernel, and then build against those. If you do that, then the kernel module will load and work correctly.
On Thu, May 26, 2011 at 07:39:23PM +0200, Daniel Philip wrote: > Thanks. Can you also please tell me what should I be doing further? > > On Thu, May 26, 2011 at 7:37 PM, Ben Pfaff <[email protected]> wrote: > > > On Thu, May 26, 2011 at 07:32:28PM +0200, Daniel Philip wrote: > > > root@openflow:/home/openflow/openvswitch-1.1.0pre2# /sbin/modinfo > > > /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko > > > filename: > > /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko > > > version: 2.3 > > > license: GPL > > > srcversion: 7F81763D8FF0740B7DEF245 > > > depends: stp > > > vermagic: 2.6.32-28-generic SMP mod_unload modversions 586 > > > > > > root@openflow:/home/openflow/openvswitch-1.1.0pre2# /sbin/modinfo > > > datapath/linux-2.6/openvswitch_mod.ko > > > filename: datapath/linux-2.6/openvswitch_mod.ko > > > license: GPL > > > description: Open vSwitch switching datapath > > > srcversion: CE4DC93BDC62C0F17C1636B > > > depends: > > > vermagic: 2.6.32-28-generic SMP mod_unload modversions 586 > > > > The different srcversion lines mean that the configuration being built > > against differs from the running kernel in some way. > > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
