It seems I found a fix for this.
dkms.conf in openvswitch module sources lacks «AUTOINSTALL="yes"» entry, so this module won't rebuild on kernel updates.
Go to /usr/src/openvswitch-1.4.0 and add 'AUTOINSTALL=yes' to the end of the file. It should look like this:
==================================================
PACKAGE_NAME="openvswitch" PACKAGE_VERSION="1.4.0" MAKE="./configure --with-linux=/usr/src/linux-headers-`uname -r` ; make -C datapath/linux" BUILT_MODULE_NAME[0]=openvswitch_mod BUILT_MODULE_NAME[1]=brcompat_mod BUILT_MODULE_LOCATION[0]=datapath/linux/ BUILT_MODULE_LOCATION[1]=datapath/linux/ DEST_MODULE_LOCATION[0]=/kernel/drivers/net/openvswitch/ DEST_MODULE_LOCATION[1]=/kernel/drivers/net/openvswitch/ AUTOINSTALL="yes"
You can do it faster with this command:
# echo 'AUTOINSTALL="yes"' >> /usr/src/openvswitch-1.4.0/dkms.conf
This should fix module building on kernel updates.
It seems I found a fix for this.
dkms.conf in openvswitch module sources lacks «AUTOINSTALL="yes"» entry, so this module won't rebuild on kernel updates.
Go to /usr/src/ openvswitch- 1.4.0 and add 'AUTOINSTALL=yes' to the end of the file. It should look like this:
======= ======= ======= ======= ======= ======= ======= =
PACKAGE_ NAME="openvswit ch" VERSION= "1.4.0" linux=/ usr/src/ linux-headers- `uname -r` ; make -C datapath/linux" NAME[0] =openvswitch_ mod NAME[1] =brcompat_ mod LOCATION[ 0]=datapath/ linux/ LOCATION[ 1]=datapath/ linux/ LOCATION[ 0]=/kernel/ drivers/ net/openvswitch / LOCATION[ 1]=/kernel/ drivers/ net/openvswitch /
PACKAGE_
MAKE="./configure --with-
BUILT_MODULE_
BUILT_MODULE_
BUILT_MODULE_
BUILT_MODULE_
DEST_MODULE_
DEST_MODULE_
AUTOINSTALL="yes"
======= ======= ======= ======= ======= ======= ======= =
You can do it faster with this command:
# echo 'AUTOINSTALL="yes"' >> /usr/src/ openvswitch- 1.4.0/dkms. conf
This should fix module building on kernel updates.