From a7ae938074d1c5e25e484eb7b6aca3f101adea38 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 24 Apr 2014 15:35:35 -0700 Subject: [PATCH] FAQ: Explain what to do when building against a too-new kernel. Also add references to this FAQ from INSTALL and configure. Signed-off-by: Ben Pfaff Acked-by: Gurucharan Shetty --- FAQ | 35 ++++++++++++++++++++++++++--------- INSTALL | 4 ++++ acinclude.m4 | 2 +- 3 files changed, 31 insertions(+), 10 deletions(-) diff --git a/FAQ b/FAQ index 6b4be439d..c43b0c8f3 100644 --- a/FAQ +++ b/FAQ @@ -158,18 +158,22 @@ A: The following table lists the Linux kernel versions against which the It should build against almost any kernel, certainly against 2.6.32 and later. -Q: What Linux kernel versions does IPFIX flow monitoring work with? +Q: I get an error like this when I configure Open vSwitch: -A: IPFIX flow monitoring requires the Linux kernel module from Open - vSwitch version 1.10.90 or later. + configure: error: Linux kernel in is version , but + version newer than is not supported (please refer to the + FAQ for advice) -Q: Should userspace or kernel be upgraded first to minimize downtime? + What should I do? - In general, the Open vSwitch userspace should be used with the - kernel version included in the same release or with the version - from upstream Linux. However, when upgrading between two releases - of Open vSwitch it is best to migrate userspace first to reduce - the possibility of incompatibilities. +A: If there is a newer version of Open vSwitch, consider building that + one, because it may support the kernel that you are building + against. (To find out, consult the table in the previous answer.) + + Otherwise, use the Linux kernel module supplied with the kernel + that you are using. All versions of Open vSwitch userspace are + compatible with all versions of the Open vSwitch kernel module, so + this will also work. See also the following question. Q: What features are not available in the Open vSwitch kernel datapath that ships as part of the upstream Linux kernel? @@ -193,6 +197,19 @@ A: Tunnel virtual ports are not supported, as described in the actions. On Linux kernels before 2.6.39, maximum-sized VLAN packets may not be transmitted. +Q: What Linux kernel versions does IPFIX flow monitoring work with? + +A: IPFIX flow monitoring requires the Linux kernel module from Open + vSwitch version 1.10.90 or later. + +Q: Should userspace or kernel be upgraded first to minimize downtime? + + In general, the Open vSwitch userspace should be used with the + kernel version included in the same release or with the version + from upstream Linux. However, when upgrading between two releases + of Open vSwitch it is best to migrate userspace first to reduce + the possibility of incompatibilities. + Q: What happened to the bridge compatibility feature? A: Bridge compatibility was a feature of Open vSwitch 1.9 and earlier. diff --git a/INSTALL b/INSTALL index f43c65bab..afefb5181 100644 --- a/INSTALL +++ b/INSTALL @@ -177,6 +177,10 @@ Prerequisites section, follow the procedure below to build. % ./configure --with-linux=/lib/modules/`uname -r`/build + If --with-linux requests building for an unsupported version of + Linux, then "configure" will fail with an error message. Please + refer to the FAQ for advice in that case. + If you wish to build the kernel module for an architecture other than the architecture of the machine used for the build, you may specify the kernel architecture string using the KARCH variable diff --git a/acinclude.m4 b/acinclude.m4 index 4269620a0..e6bed37c3 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -137,7 +137,7 @@ AC_DEFUN([OVS_CHECK_LINUX], [ if test "$version" = 3 && test "$patchlevel" -le 13; then : # Linux 3.x else - AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 3.13.x is not supported]) + AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 3.13.x is not supported (please refer to the FAQ for advice)]) fi else if test "$version" -le 1 || test "$patchlevel" -le 5 || test "$sublevel" -le 31; then -- 2.43.0