Comment 4 for bug 1098650

Revision history for this message
-None- (mike-nycmoma) wrote :

I have the same bug in Precise (12.04.3) with linux-image-generic-lts-raring_3.8.0.32.32_amd64.deb and openvswitch-switch 1.4.0-1ubuntu1.5

# apt-get install --reinstall openvswitch-switch openvswitch-datapath-dkms openvswitch-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/3 827 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 132279 files and directories currently installed.)
Preparing to replace openvswitch-common 1.4.0-1ubuntu1.5 (using .../openvswitch-common_1.4.0-1ubuntu1.5_amd64.deb) ...
Unpacking replacement openvswitch-common ...
Preparing to replace openvswitch-datapath-dkms 1.4.0-1ubuntu1.5 (using .../openvswitch-datapath-dkms_1.4.0-1ubuntu1.5_all.deb) ...

------------------------------
Deleting module version: 1.4.0
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement openvswitch-datapath-dkms ...
Preparing to replace openvswitch-switch 1.4.0-1ubuntu1.5 (using .../openvswitch-switch_1.4.0-1ubuntu1.5_amd64.deb) ...
Unpacking replacement openvswitch-switch ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up openvswitch-common (1.4.0-1ubuntu1.5) ...
Setting up openvswitch-datapath-dkms (1.4.0-1ubuntu1.5) ...

Creating symlink /var/lib/dkms/openvswitch/1.4.0/source ->
                 /usr/src/openvswitch-1.4.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/3.8.0-32-generic/build' && make -C datapath/linux.....(bad exit status: 1)
Error! Bad return status for module build on kernel: 3.8.0-32-generic (x86_64)
Consult /var/lib/dkms/openvswitch/1.4.0/build/make.log for more information.

# less /var/lib/dkms/openvswitch/1.4.0/build/make.log
....
checking whether gcc accepts -Wstrict-prototypes... yes
checking whether gcc accepts -Wold-style-definition... yes
checking whether gcc accepts -Wmissing-prototypes... yes
checking whether gcc accepts -Wmissing-field-initializers... yes
checking whether gcc accepts -Wno-override-init... yes
checking whether gcc accepts -Wno-unused... yes
checking whether gcc accepts -Wno-unused-parameter... yes
checking target hint for cgcc... x86_64
checking whether make has GNU make $(if) extension... yes
checking for Linux build directory... /lib/modules/3.8.0-32-generic/build
checking for Linux source directory... /lib/modules/3.8.0-32-generic/build
checking for kernel version... 3.8.13
configure: error: Linux kernel source in /lib/modules/3.8.0-32-generic/build is not configured