Ask Your Question

Why is installation of openvswitch-datapath-dkms failing? [closed]

asked 2014-09-24 05:27:56 -0500

mickt gravatar image

updated 2014-09-24 05:44:07 -0500

I have installed OpenStack Icehouse on Ubuntu 14.04 LTS and I have also setup neutron. I noticed the following during openvswitch-datapath-dkms installation. Can anyone advise why it happens and if it is mission critical?

# apt-get install openvswitch-datapath-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
Suggested packages:
The following NEW packages will be installed:
  dkms openvswitch-datapath-dkms
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,981 kB of archives.
After this operation, 18.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 trusty/main dkms all [64.4 kB]
Get:2 trusty-updates/universe openvswitch-datapath-dkms all 2.0.2-0ubuntu0.14.04.1 [1,916 kB]
Fetched 1,981 kB in 0s (3,116 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 107865 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5_all.deb ...
Unpacking dkms ( ...
Selecting previously unselected package openvswitch-datapath-dkms.
Preparing to unpack .../openvswitch-datapath-dkms_2.0.2-0ubuntu0.14.04.1_all.deb ...
Unpacking openvswitch-datapath-dkms (2.0.2-0ubuntu0.14.04.1) ...
Processing triggers for man-db ( ...
Setting up dkms ( ...
Setting up openvswitch-datapath-dkms (2.0.2-0ubuntu0.14.04.1) ...

Creating symlink /var/lib/dkms/openvswitch/2.0.2/source ->

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....(bad exit status: 2)
./configure --with-linux='/lib/modules/3.13.0-36-generic/build' && make -C datapath/linux......(bad exit status: 1)
Error! Bad return status for module build on kernel: 3.13.0-36-generic (x86_64)
Consult /var/lib/dkms/openvswitch/2.0.2/build/make.log for more information.

From log:

cat /var/lib/dkms/openvswitch/2.0.2/build/make.log
DKMS make.log for openvswitch-2.0.2 for kernel 3.13.0-36-generic (x86_64)
Wed Sep 24 11:11:51 IST 2014
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for grep that handles long lines ...
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mickt
close date 2014-09-25 07:24:57.865641

1 answer

Sort by ยป oldest newest most voted

answered 2014-09-24 05:30:39 -0500

SGPJ gravatar image

Check if OVS matches the kernal requ and try to compile manually to see if it works.

edit flag offensive delete link more


Sourced newer version but decided that I probably don't need this package so I'm going to ignore it.

mickt gravatar imagemickt ( 2014-09-25 07:24:28 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-09-24 05:27:56 -0500

Seen: 1,616 times

Last updated: Sep 24 '14