Comment 0 for bug 1773165

Revision history for this message
Ridsai (ridsaim) wrote :

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
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) ...

Creating symlink /var/lib/dkms/openvswitch/2.7.0/source ->
                 /usr/src/openvswitch-2.7.0

DKMS: add completed.

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