[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
Ah. OK. I guess I can tinker with those files so that it doesn't attempt to build that. I'm considering upgrading to 18.04 (LTS) before the end of the year anyway. Thanks for your attention. -- 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
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
Looks like the dkms package was indeed deprecated in later releases. The last ubuntu release where I can find it is artful: andreas@nsnx:~$ rmadison open-vm-tools-dkms open-vm-tools-dkms | 2:9.4.0-1280544-5ubuntu6 | trusty/universe | all open-vm-tools-dkms | 2:9.4.0-1280544-5ubuntu6.4| trusty-updates/universe | all open-vm-tools-dkms | 2:10.0.7-3227872-2ubuntu1 | xenial/universe | all open-vm-tools-dkms | 2:10.0.7-3227872-5ubuntu1~16.04.2 | xenial-updates/universe | all open-vm-tools-dkms | 2:10.1.10-3 | artful/universe | all open-vm-tools-dkms | 2:10.1.10-3ubuntu0.1 | artful-updates/universe | all It was dropped in debian in version 2:10.2.0-1 on Fri, 19 Jan 2018: open-vm-tools (2:10.2.0-1) unstable; urgency=medium ... * [5bf9301] Drop -dkms package. Thanks to Christian Ehrhardt (Closes: #884656) Aha, that leads us to the upstream issue: https://github.com/vmware/open-vm-tools/issues/217 And this particular comment: https://github.com/vmware/open-vm-tools/issues/217#issuecomment-352119641 """ is there any reason you are trying to build vmxnet driver on kernel 4.15? This driver is not supported for kernel version >= 3.3, see https://kb.vmware.com/s/article/1001805. """ That kb article says: "Note: VMXNET driver is only supported on kernels earlier than 3.3" I guess this means this bug should be closed as "wontfix". ** Bug watch added: github.com/vmware/open-vm-tools/issues #217 https://github.com/vmware/open-vm-tools/issues/217 ** No longer affects: linux-meta-hwe-edge (Ubuntu) ** Changed in: open-vm-tools (Ubuntu) Status: Incomplete => Won't Fix -- 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
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
cosmic also has 10.2.0, and latest upstream is 10.2.5. I'll give cosmic a try, and if it happens there as well, looks like the path forward is trying 10.2.5 first. -- 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/linux-meta-hwe-edge/+bug/1779793/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
Ah, ok, I missed the fact that you were using the hwe-edge kernel. There the problem is reproduced. I added a kernel task to this bug to see if they can help. ** Also affects: linux-meta-hwe-edge (Ubuntu) Importance: Undecided Status: New -- 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/linux-meta-hwe-edge/+bug/1779793/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
Aw, heck, probably not. All I use VirtualBox for is once in a while tinkering with old Windows installations, like Windows XP and Windows 98. It probably doesn't need this legacy vmxnet module. The builds went fine with 4.13.0-45-generic and less. I noticed you were building for 4.4. This was a problem with the DKMS build for 4.15.0-24-generic. I think that's the latest installed for linux-image- generic-hwe-16.04, where previously it was something in the 4.13 series (aptitude shows 4.13.0.45.64). -- 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
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
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 amd64Linux 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 amd64Linux kernel headers for version 4.4.0 on 64 bit x86 SMP ii linux-headers-generic4.4.0.130.136 amd64Generic Linux kernel headers ii linux-headers-virtual4.4.0.130.136 amd64Transitional package. ii linux-image-4.4.0-127-generic4.4.0-127.153 amd64Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii linux-image-4.4.0-130-generic4.4.0-130.156 amd64Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii linux-image-virtual 4.4.0.130.136 amd64This 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:v1022d2000sv*sd*bc*sc*i* alias: pci:v15ADd0720sv*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
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
Ah, so you have the right one, at least now. The description of the bug said you had the older one installed: PackageVersion: 2:10.0.7-3227872-5ubuntu1~16.04.2 Apparently you upgraded since then. Can you confirm this is happening with 2:10.2.0-3~ubuntu0.16.04.1? -- 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
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
open-vm-tools: Installed: 2:10.2.0-3~ubuntu0.16.04.1 Candidate: 2:10.2.0-3~ubuntu0.16.04.1 Version table: *** 2:10.2.0-3~ubuntu0.16.04.1 500 500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 100 /var/lib/dpkg/status 2:10.0.7-3227872-2ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages -- 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
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
It sounds like you have the updates pocket enabled. Could you try the following please: sudo apt update apt-cache policy open-vm-tools That will tell us where the package is coming from, and which other versions are available and in which pocket. -- 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
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
"in the updates pocket"...wouldn't know how to try because I don't know to what "pocket" refers. I use aptitude to update the available packages (u), then apply any available package updates (U then g and another g). Just saying, if open-vm-tools is offered at some time and shows up in the updates list, I can apply its update. I'll keep checking periodically for updates this way. Also just saying I think this build only failed for the latest offered kernel (4.15). I'll just keep booting the previous kernel version until this gets fixed; it always does eventually in my experience. Thanks for working on this. I will concede that setting updates to automatic results in an arguably more secure system, and maybe fix issues like this faster, but I like to know what has been done to my system. That way when little issues like this come up, I have a better idea of what happened right away instead of later. -- 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
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
The open-vm-tools version in xenial is currently 2:10.2.0-3~ubuntu0.16.04.1. It's in the updates pocket. Could you try to upgrade please? ** Changed in: open-vm-tools (Ubuntu) Status: New => Incomplete -- 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
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable']
** Summary changed: - open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols + open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols [error: implicit declaration of function 'init_timer_deferrable'] -- 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
[Bug 1779793] Re: open VM tools DKMS fails to build mostly due to multiply defined preprocessor symbols
** Tags removed: need-duplicate-check -- 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 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