You don't need to install the DKMS package in this case, which is the part that is failing.
On Thu, Jan 3, 2013 at 4:56 PM, Qin, Xiaohong <xiaohong....@emc.com> wrote: > Hi Jesse, > > Thanks for the clarification. Here is the openvswitch kernel module info, > > /sbin/modinfo openvswitch > filename: > /lib/modules/3.7.0-030700-generic/kernel/net/openvswitch/openvswitch.ko > license: GPL > description: Open vSwitch switching datapath > srcversion: 7EFC7E464483C3CCF09C124 > depends: > intree: Y > vermagic: 3.7.0-030700-generic SMP mod_unload modversions > > So I'm using the OVS kernel module that comes with the new Linux kernel 3.7. > How do I mix this kernel module with 1.4.0 release? I've tried the > installation CLI and it failed (see the error message below). > > Thanks. > > Dennis Qin > > -----Original Message----- > From: Jesse Gross [mailto:je...@nicira.com] > Sent: Thursday, January 03, 2013 4:50 PM > To: Qin, Xiaohong > Cc: Bryan Osoro (bosoro); discuss@openvswitch.org; Balcha, Muralidhar > Subject: Re: [ovs-discuss] openvswitch on the latest Linux kernel 3.7 > > It's the kernel portion of OVS that is sensitive to the Linux version. > You can wait until the 1.9 release and run both userspace and kernel from > that version together. Or you can you use the OVS kernel module that is > packaged with Linux and OVS userspace from any version that is at least 1.4. > The latter works now but doesn't support all features. > > On Thu, Jan 3, 2013 at 4:08 PM, Qin, Xiaohong <xiaohong....@emc.com> wrote: >> So I have to wait for 1.9.x release to run it on kernel 3.7? but from Ben's >> answer, sounds like I can still use 1.7.x release on kernel 3.7? >> >> Thanks. >> >> Dennis Qin >> >> -----Original Message----- >> From: Bryan Osoro (bosoro) [mailto:bos...@cisco.com] >> Sent: Thursday, January 03, 2013 3:57 PM >> To: Qin, Xiaohong; discuss@openvswitch.org >> Subject: Re: [ovs-discuss] openvswitch on the latest Linux kernel 3.7 >> >> 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 > _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss