On 23 May 2016 at 08:13, Rajasekaran, Monica
<monica.rajaseka...@us.fujitsu.com> wrote:
> Hi,
>
>
>
> I have been working on my OVS for the past few months and now all of a
> sudden when I made some changes and tried to compile, I am not able to.
>
>
>
> The following is the scenario:
>
>
>
> ./boot.sh
>
> ./configure --with-linux=/lib/modules/3.19.0-25-generic/build
>
> Make
>
> make install
>
> rmmod openvswitch
>
> modinfo datapath/linux/openvswitch.ko
> filename:
> /home/monica/Downloads/openvswitch-2.5.0/datapath/linux/openvswitch.ko
> version:        2.5.0
> license:        GPL
> description:    Open vSwitch switching datapath
> srcversion:     D141E354E2F4A8E2EEE8926
> depends:        nf_conntrack,nf_defrag_ipv6,libcrc32c,gre,nf_defrag_ipv4
> vermagic:       3.19.0-25-generic SMP mod_unload modversions
> parm:           udp_port:Destination UDP port (ushort)
>
> insmod datapath/linux/openvswitch.ko
> insmod: ERROR: could not insert module datapath/linux/openvswitch.ko:
> Invalid module format
>
>
> Output of “dmesg”:
>
>
>
> [ 1413.551511] openvswitch: disagrees about version of symbol module_layout
>
>
>
> Output of “uname -r”:
>
>
>
> 3.19.0-58-generic
>
> Is different from what I am using for ovs which is “3.19.0-25-generic”. I
> have no idea how this got updated to 58. How do I fix this ? OVS has been on
> the same machine from the beginning. If I try “./configure” with this
> updated kernel version, it fails.

Ubuntu updates + a reboot would do it.

You're on the right track; you need to reconfigure the source to point
to your new kernel. It could fail for a number of reasons, but it is
worth checking whether the linux-headers package for your updated
kernel is installed. If that doesn't help, then you may need to
provide more information about how this fails.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to