[ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout
dany1212 at gmail.com
Thu May 26 16:00:08 UTC 2011
Thanks for replying. I tried % /sbin/modinfo /lib/modules/`uname
-r`/kernel/net/bridge/bridge.ko and obtained the following
openflow at openflow:~/openvswitch-1.1.0pre2$ /sbin/modinfo
vermagic: 2.6.32-28-generic SMP mod_unload modversions 586
But, I could not find openvswitch_mod.ko under /sbin/modinfo.
Could you please assist ?
On Thu, May 26, 2011 at 5:55 PM, Ben Pfaff <blp at nicira.com> wrote:
> On Thu, May 26, 2011 at 05:46:15PM +0200, Daniel Philip wrote:
> > I get the following message when I try to run openvswitch using
> > ./datapath/linux-2.6/openvswitch_mod.ko"
> > insmod: error inserting './datapath/linux-2.6/openvswitch_mod.ko': -1
> > Operation not permitted
> > Hence, I tried dmesg | test and it shows the following message:
> > openvswitch_mod: disagrees about version of symbol module_layout
> > Could anyone please let me know what should I be doing to avoid this?
> I imagine that you built against some kernel version other than the
> one that is running.
> Run "modinfo" on openvswitch_mod.ko and on a module built for the
> running kernel, e.g.:
> % /sbin/modinfo openvswitch_mod.ko
> % /sbin/modinfo /lib/modules/`uname -r`/kernel/net/bridge/bridge.ko
> Compare the "vermagic" lines output by the two commands. If they
> differ, then Open vSwitch was built for the wrong kernel.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss