Error! Bad return status for module build on kernel: 3.13.0-24-generic (x86_64)

asked 2014-04-23 22:04:55 -0600

august gravatar image

Hi all, Just did an apt-get dist-upgrade on my 5 node icehouse build to take it from 14.04 beta to full release. All nodes (controller, network, swift, cinder) were fine but compute failed with:

        Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Further up, after the first error is this:

Error! Bad return status for module build on kernel: 3.13.0-24-generic (x86_64)
Consult /var/lib/dkms/openvswitch/2.0.1+git20140120/build/make.log for more information.

That logs ends with

checking whether make has GNU make $(if) extension... yes
checking for Linux build directory... /lib/modules/3.13.0-24-generic/build
checking for Linux source directory... /lib/modules/3.13.0-24-generic/build
checking for kernel version... 3.13.9
configure: error: Linux kernel in /lib/modules/3.13.0-24-generic/build is version 3.13.9, but version newer than 3.12.x is not supported

There is nothing different on my network node as far as package and kernel versions and it was fine.

root@compute1:~# dpkg-query --list | grep openvswitch
ii  neutron-plugin-openvswitch          1:2014.1-0ubuntu1                   all          Neutron is a virtual network service for Openstack - Open vSwitch plugin
ii  neutron-plugin-openvswitch-agent    1:2014.1-0ubuntu1                   all          Neutron is a virtual network service for Openstack - Open vSwitch plugin agent
ii  openvswitch-common                  2.0.1+git20140120-0ubuntu2          amd64        Open vSwitch common components
ii  openvswitch-datapath-dkms           2.0.1+git20140120-0ubuntu2          all          Open vSwitch datapath module source - DKMS version
ii  openvswitch-switch                  2.0.1+git20140120-0ubuntu2          amd64        Open vSwitch switch implementations
root@compute1:~# uname -a
Linux compute1 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

anyone else have issues with this?

thanks august

edit retag flag offensive close merge delete


Same build error on a fresh install, may have to downgrade kernels.

nickdb gravatar imagenickdb ( 2014-04-24 03:02:31 -0600 )edit

Having the same problem. Except I don't even have openvswitch installed. Anyone find a solution?

cds gravatar imagecds ( 2014-04-29 16:53:36 -0600 )edit

I also have this problem. I've removed the package as suggested above.

apt-get remove openvswitch-datapath-dkms

But the errors are still showing when running "apt-get dist-upgrade" even with the openvswitch-datapath-dkms package removed. I'm able to instantiate VM on my ICEHOUSE deployment but once they're running, using SSH with keypairs hangs after the connection is established to the VM! I wonder if the behavior has anything to do with the error discussed on this thread.

Please help! Thanks.

Napo Mokoetle gravatar imageNapo Mokoetle ( 2014-05-06 11:22:26 -0600 )edit

@Napo Mokoetle: I have the same problem. ssh connection is established and after some commands the connection is dead. For me this happens only with kernel 3.13. If I use Kernel 3.11 it works fine.

Konrad gravatar imageKonrad ( 2014-05-23 11:15:17 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-24 03:05:42 -0600

nickdb gravatar image

found this in ubuntu release notes, seems the kernel already has the module included:

Ubuntu 14.04 LTS includes Open vSwitch 2.0.1. See the upstream release notes for details of all features included in this release. Note that the openvswitch-datapath-dkms package is not compatible with the Linux 3.13 kernel shipped as default in 14.04 LTS; The native Open vSwitch module in the 3.13 kernel provides all the features of the dkms module apart from support for experimental LISP tunnelling and should be used instead.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-04-23 22:04:55 -0600

Seen: 4,965 times

Last updated: Apr 24 '14