# Issue description
openvswitch-datapath-dkms kernelmodule is not getting loaded
# Error from dmesg
[10863.380564] openvswitch: module verification failed: signature and/or required key missing - tainting kernel
[10863.381804] openvswitch: exports duplicate symbol dst_cache_destroy (owned by kernel)
[10863.517173] openvswitch: exports duplicate symbol dst_cache_destroy (owned by kernel)
[10878.094250] openvswitch: exports duplicate symbol dst_cache_destroy (owned by kernel)
#Error from syslog
May 24 08:37:06 dev65 kernel: [76508.361496] openvswitch: exports duplicate symbol dst_cache_destroy (owned by kernel)
May 24 08:37:06 dev65 openvswitch-switch[18336]: modprobe: ERROR: could not insert 'openvswitch': Exec format error
May 24 08:37:06 dev65 openvswitch-switch[18336]: * Inserting openvswitch module
#installation logs:
Selecting previously unselected package openvswitch-datapath-dkms.
(Reading database ... 84707 files and directories currently installed.)
Preparing to unpack openvswitch-datapath-dkms_2.7.0-1_all.deb ...
Unpacking openvswitch-datapath-dkms (2.7.0-1) ...
Setting up openvswitch-datapath-dkms (2.7.0-1) ...
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....(bad exit status: 2)
./configure --with-linux='/lib/modules/4.4.0-127-generic/build' && make -C datapath/linux......................
cleaning build area....(bad exit status: 2)
DKMS: build completed.
openvswitch:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.4.0-127-generic/updates/dkms/
vport-geneve.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.4.0-127-generic/updates/dkms/
vport-gre.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.4.0-127-generic/updates/dkms/
vport-lisp.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.4.0-127-generic/updates/dkms/
vport-stt.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.4.0-127-generic/updates/dkms/
vport-vxlan.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.4.0-127-generic/updates/dkms/
depmod....
DKMS: install completed.
#Dpkg status
dpkg -l | grep openvswitch
ii openvswitch-common 2.7.0-1 amd64 Open vSwitch common components
ii openvswitch-datapath-dkms 2.7.0-1 all Open vSwitch datapath module source - DKMS version
ii openvswitch-switch 2.7.0-1 amd64 Open vSwitch switch implementations
ii python-openvswitch 2.6.1-0ubuntu5.2~cloud0 all Python bindings for Open vSwitch
#lsmod status
No modules are listing for openvswitch-datapath-dkms
#modprobe error
modprobe openvswitch
modprobe: ERROR: could not insert 'openvswitch': Exec format error
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
Kernel version: 4.4.0-127-generic
OVS version: 2.7.0
# Issue description datapath- dkms kernelmodule is not getting loaded
openvswitch-
# Error from dmesg
[10863.380564] openvswitch: module verification failed: signature and/or required key missing - tainting kernel
[10863.381804] openvswitch: exports duplicate symbol dst_cache_destroy (owned by kernel)
[10863.517173] openvswitch: exports duplicate symbol dst_cache_destroy (owned by kernel)
[10878.094250] openvswitch: exports duplicate symbol dst_cache_destroy (owned by kernel)
#Error from syslog switch[ 18336]: modprobe: ERROR: could not insert 'openvswitch': Exec format error switch[ 18336]: * Inserting openvswitch module
May 24 08:37:06 dev65 kernel: [76508.361496] openvswitch: exports duplicate symbol dst_cache_destroy (owned by kernel)
May 24 08:37:06 dev65 openvswitch-
May 24 08:37:06 dev65 openvswitch-
#installation logs: datapath- dkms. datapath- dkms_2. 7.0-1_all. deb ... datapath- dkms (2.7.0-1) ... datapath- dkms (2.7.0-1) ...
Selecting previously unselected package openvswitch-
(Reading database ... 84707 files and directories currently installed.)
Preparing to unpack openvswitch-
Unpacking openvswitch-
Setting up openvswitch-
Creating symlink /var/lib/ dkms/openvswitc h/2.7.0/ source ->
/usr/ src/openvswitch -2.7.0
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module: linux=' /lib/modules/ 4.4.0-127- generic/ build' && make -C datapath/ linux.. ....... ....... ......
cleaning build area....(bad exit status: 2)
./configure --with-
cleaning build area....(bad exit status: 2)
DKMS: build completed.
openvswitch: 4.4.0-127- generic/ updates/ dkms/
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/
vport-geneve.ko: 4.4.0-127- generic/ updates/ dkms/
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/
vport-gre.ko: 4.4.0-127- generic/ updates/ dkms/
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/
vport-lisp.ko: 4.4.0-127- generic/ updates/ dkms/
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/
vport-stt.ko: 4.4.0-127- generic/ updates/ dkms/
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/
vport-vxlan.ko: 4.4.0-127- generic/ updates/ dkms/
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/
depmod....
DKMS: install completed.
#Dpkg status datapath- dkms 2.7.0-1 all Open vSwitch datapath module source - DKMS version 2~cloud0 all Python bindings for Open vSwitch
dpkg -l | grep openvswitch
ii openvswitch-common 2.7.0-1 amd64 Open vSwitch common components
ii openvswitch-
ii openvswitch-switch 2.7.0-1 amd64 Open vSwitch switch implementations
ii python-openvswitch 2.6.1-0ubuntu5.
#lsmod status datapath- dkms
No modules are listing for openvswitch-
#modprobe error
modprobe openvswitch
modprobe: ERROR: could not insert 'openvswitch': Exec format error