The open-vm-tools-dkms package has this deprecation warning:
"""
 This package provides the source code for the vmxnet module, which was
 superseded by vmxnet3. You should only install this package if you know
 that you need the legacy vnxnet module.
 Kernel source or headers are required to compile it using DKMS.
"""

With that in mind, do you still need it, or the fact you have it is just
because of an upgrade from an older version?


That being said, the installation of open-vm-tools-dkms worked just fine in my 
xenial vm:
Setting up open-vm-tools-dkms (2:10.0.7-3227872-5ubuntu1~16.04.2) ...
Loading new open-vm-tools-10.0.7 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-130-generic
Building initial module for 4.4.0-130-generic
Done.

vmxnet:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-130-generic/updates/dkms/

depmod....

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-130-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

These are the packages I have:
ubuntu@xenial-openvmtools:~$ uname -a
Linux xenial-openvmtools 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@xenial-openvmtools:~$ dpkg -l|grep -E "linux-(header|image)"
ii  linux-headers-4.4.0-127          4.4.0-127.153                              
all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-127-generic  4.4.0-127.153                              
amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-130          4.4.0-130.156                              
all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-130-generic  4.4.0-130.156                              
amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-generic            4.4.0.130.136                              
amd64        Generic Linux kernel headers
ii  linux-headers-virtual            4.4.0.130.136                              
amd64        Transitional package.
ii  linux-image-4.4.0-127-generic    4.4.0-127.153                              
amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-130-generic    4.4.0-130.156                              
amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-virtual              4.4.0.130.136                              
amd64        This package will always depend on the latest minimal generic 
kernel image.

Here is the built module:
ubuntu@xenial-openvmtools:~$ ll 
/lib/modules/4.4.0-130-generic/updates/dkms/vmxnet.ko
-rw-r--r-- 1 root root 37256 Jul 11 14:24 
/lib/modules/4.4.0-130-generic/updates/dkms/vmxnet.ko
ubuntu@xenial-openvmtools:~$ modinfo vmxnet
filename:       /lib/modules/4.4.0-130-generic/updates/dkms/vmxnet.ko
supported:      external
version:        2.1.0.0
license:        GPL v2
description:    VMware Virtual Ethernet driver
author:         VMware, Inc.
srcversion:     8CC5F3D9AA8C5D708B3612B
alias:          pci:v00001022d00002000sv*sd*bc*sc*i*
alias:          pci:v000015ADd00000720sv*sd*bc*sc*i*
depends:        
retpoline:      Y
vermagic:       4.4.0-130-generic SMP mod_unload modversions retpoline 
parm:           debug:int
parm:           disable_lro:int
ubuntu@xenial-openvmtools:~$ 


dmesg after I modprobe it:
[  301.024905] vmxnet: loading out-of-tree module taints kernel.
[  301.025001] vmxnet: module verification failed: signature and/or required 
key missing - tainting kernel
[  301.029391] VMware vmxnet virtual NIC driver

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779793

Title:
  open VM tools DKMS fails to build mostly due to multiply defined
  preprocessor symbols [error: implicit declaration of function
  'init_timer_deferrable']

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1779793/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to