3.7 is not supported.
Per the FAQ Q: What Linux kernel versions does each Open vSwitch release work with? A: The following table lists the Linux kernel versions against which the given versions of the Open vSwitch kernel module will successfully build. The Linux kernel versions are upstream kernel versions, so modified Linux kernels modified from the upstream sources may not build in some cases even if they are based on a supported version. This is most notably true of Red Hat Enterprise Linux (RHEL) kernels, which are extensively modified from upstream. Open vSwitch Linux kernel ------------ ------------- 1.4.x 2.6.18 to 3.2 1.5.x 2.6.18 to 3.2 1.6.x 2.6.18 to 3.2 1.7.x 2.6.18 to 3.3 1.8.x 2.6.18 to 3.4 1.9.x 2.6.18 to 3.7 Open vSwitch userspace should also work with the Linux kernel module built into Linux 3.3 and later. Open vSwitch userspace is not sensitive to the Linux kernel version. It should build against almost any kernel, certainly against 2.6.18 and later. On 1/3/13 4:51 PM, "Qin, Xiaohong" <xiaohong....@emc.com> wrote: >Hi All, > >I would like to install the latest openvswitch on my Ubuntu box. It's >running the latest Linux kernel 3.7 and I ran this CLI command, > >sudo apt-get install make fakeroot dkms openvswitch-switch >openvswitch-datapath-dkms linux-headers-$kernel_version > >it failed with the following error message, > >----------------------- >Selecting previously unselected package openvswitch-datapath-dkms. >(Reading database ... 221931 files and directories currently installed.) >Unpacking openvswitch-datapath-dkms (from >.../openvswitch-datapath-dkms_1.4.0-1ubuntu1.3_all.deb) ... >Setting up openvswitch-datapath-dkms (1.4.0-1ubuntu1.3) ... > >Creating symlink /var/lib/dkms/openvswitch/1.4.0/source -> > /usr/src/openvswitch-1.4.0 > >DKMS: add completed. > >Kernel preparation unnecessary for this kernel. Skipping... > >Building module: >cleaning build area....(bad exit status: 2) >./configure --with-linux=/usr/src/linux-headers-3.7.0-030700-generic ; >make -C datapath/linux.....(bad exit status: 2) >ERROR (dkms apport): kernel package linux-headers-3.7.0-030700-generic is >not supported >Error! Bad return status for module build on kernel: 3.7.0-030700-generic >(x86_64) >Consult /var/lib/dkms/openvswitch/1.4.0/build/make.log for more >information. >--------------------- > >And the error message in the >/var/lib/dkms/openvswitch/1.4.0/build/make.log file is, > >------------------- >checking for kernel version... 3.7.0 >configure: error: Linux kernel source in >/usr/src/linux-headers-3.7.0-030700-generic is not configured >make: Entering directory >`/var/lib/dkms/openvswitch/1.4.0/build/datapath/linux' >make: *** No targets specified and no makefile found. Stop. >make: Leaving directory >`/var/lib/dkms/openvswitch/1.4.0/build/datapath/linux' >------------------- > >so the question is what CLI I can use to get the latest openvswitch >instead of 1.4.0? Does the latest openvswitch support Linux 3.7 kernel? > >Thanks. > >Dennis Qin > >_______________________________________________ >discuss mailing list >discuss@openvswitch.org >http://openvswitch.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss