VMware Communities
BiggiDiggi
Contributor
Contributor
Jump to solution

VMware-Player-12.5.7 can't compile virtual network device, kernel 4.13.2, Ubuntu 17.04

I am trying to get VMware-player to run on my system - Ubuntu 17.04 with linux kernel 4.13.2-041302-generic. After installing and running it the VMware Kernel Module Updater asks to install several modules. It gets stuck at the virtual network device one with, producing the following log

2017-09-24T21:11:04.568+01:00| vthread-4| I125: Log for VMware Workstation pid=3266 version=12.5.7 build=build-5813279 option=Release

2017-09-24T21:11:04.568+01:00| vthread-4| I125: The process is 64-bit.

2017-09-24T21:11:04.568+01:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8

2017-09-24T21:11:04.568+01:00| vthread-4| I125: Host is Linux 4.13.2-041302-generic Ubuntu 17.04

2017-09-24T21:11:04.568+01:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.

2017-09-24T21:11:04.568+01:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2017-09-24T21:11:04.568+01:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.

2017-09-24T21:11:04.568+01:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.

2017-09-24T21:11:04.568+01:00| vthread-4| I125: PREF Unable to check permissions for preferences file.

2017-09-24T21:11:04.568+01:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.

2017-09-24T21:11:04.568+01:00| vthread-4| I125: PREF Failed to load user preferences.

2017-09-24T21:11:04.614+01:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-3266.log

2017-09-24T21:11:04.622+01:00| vthread-4| I125: Obtaining info using the running kernel.

2017-09-24T21:11:04.622+01:00| vthread-4| I125: Created new pathsHash.

2017-09-24T21:11:04.622+01:00| vthread-4| I125: Setting header path for 4.13.2-041302-generic to "/lib/modules/4.13.2-041302-generic/build/include".

2017-09-24T21:11:04.622+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.2-041302-generic/build/include" for kernel release "4.13.2-041302-generic".

2017-09-24T21:11:04.622+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.2-041302-generic/build/include/linux/version.h

2017-09-24T21:11:04.622+01:00| vthread-4| I125: /lib/modules/4.13.2-041302-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-24T21:11:04.622+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-09-24T21:11:04.627+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.2-041302-generic".

2017-09-24T21:11:04.628+01:00| vthread-4| I125: The header path "/lib/modules/4.13.2-041302-generic/build/include" for the kernel "4.13.2-041302-generic" is valid.  Whoohoo!

2017-09-24T21:11:04.848+01:00| vthread-4| I125: found symbol version file /lib/modules/4.13.2-041302-generic/build/Module.symvers

2017-09-24T21:11:04.848+01:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.2-041302-generic/build/Module.symvers.

2017-09-24T21:11:04.864+01:00| vthread-4| I125: Read 21833 symbol versions

2017-09-24T21:11:04.864+01:00| vthread-4| I125: Reading in info for the vmmon module.

2017-09-24T21:11:04.864+01:00| vthread-4| I125: Reading in info for the vmnet module.

2017-09-24T21:11:04.864+01:00| vthread-4| I125: Reading in info for the vmblock module.

2017-09-24T21:11:04.864+01:00| vthread-4| I125: Reading in info for the vmci module.

2017-09-24T21:11:04.864+01:00| vthread-4| I125: Reading in info for the vsock module.

2017-09-24T21:11:04.864+01:00| vthread-4| I125: Setting vsock to depend on vmci.

2017-09-24T21:11:04.864+01:00| vthread-4| I125: Invoking modinfo on "vmmon".

2017-09-24T21:11:04.865+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-09-24T21:11:04.865+01:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-09-24T21:11:04.866+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-09-24T21:11:04.867+01:00| vthread-4| I125: Invoking modinfo on "vmblock".

2017-09-24T21:11:04.868+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-09-24T21:11:04.868+01:00| vthread-4| I125: Invoking modinfo on "vmci".

2017-09-24T21:11:04.869+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-09-24T21:11:04.869+01:00| vthread-4| I125: Invoking modinfo on "vsock".

2017-09-24T21:11:04.870+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2017-09-24T21:11:04.881+01:00| vthread-4| I125: to be installed: vmmon status: 0

2017-09-24T21:11:04.881+01:00| vthread-4| I125: to be installed: vmnet status: 0

2017-09-24T21:11:04.901+01:00| vthread-4| I125: Obtaining info using the running kernel.

2017-09-24T21:11:04.901+01:00| vthread-4| I125: Setting header path for 4.13.2-041302-generic to "/lib/modules/4.13.2-041302-generic/build/include".

2017-09-24T21:11:04.901+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.2-041302-generic/build/include" for kernel release "4.13.2-041302-generic".

2017-09-24T21:11:04.901+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.2-041302-generic/build/include/linux/version.h

2017-09-24T21:11:04.901+01:00| vthread-4| I125: /lib/modules/4.13.2-041302-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-24T21:11:04.901+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-09-24T21:11:04.906+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.2-041302-generic".

2017-09-24T21:11:04.906+01:00| vthread-4| I125: The header path "/lib/modules/4.13.2-041302-generic/build/include" for the kernel "4.13.2-041302-generic" is valid.  Whoohoo!

2017-09-24T21:11:05.122+01:00| vthread-4| I125: found symbol version file /lib/modules/4.13.2-041302-generic/build/Module.symvers

2017-09-24T21:11:05.122+01:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.2-041302-generic/build/Module.symvers.

2017-09-24T21:11:05.138+01:00| vthread-4| I125: Read 21833 symbol versions

2017-09-24T21:11:05.138+01:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.13.2-041302-generic/build/include

2017-09-24T21:11:05.138+01:00| vthread-4| I125: Update kernel header path to /lib/modules/4.13.2-041302-generic/build/include

2017-09-24T21:11:05.138+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.2-041302-generic/build/include" for kernel release "4.13.2-041302-generic".

2017-09-24T21:11:05.138+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.2-041302-generic/build/include/linux/version.h

2017-09-24T21:11:05.138+01:00| vthread-4| I125: /lib/modules/4.13.2-041302-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-24T21:11:05.138+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-09-24T21:11:05.144+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.2-041302-generic".

2017-09-24T21:11:05.144+01:00| vthread-4| I125: The header path "/lib/modules/4.13.2-041302-generic/build/include" for the kernel "4.13.2-041302-generic" is valid.  Whoohoo!

2017-09-24T21:11:05.144+01:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"

2017-09-24T21:11:05.147+01:00| vthread-4| I125: Got gcc version "7.2.0".

2017-09-24T21:11:05.147+01:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-09-24T21:11:05.147+01:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".

2017-09-24T21:11:05.149+01:00| vthread-4| I125: Got gcc version "7.2.0".

2017-09-24T21:11:05.149+01:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-09-24T21:11:05.150+01:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "4.13.2-041302-generic".

2017-09-24T21:11:05.150+01:00| vthread-4| I125: No matching PBM set was found for kernel "4.13.2-041302-generic".

2017-09-24T21:11:05.150+01:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-09-24T21:11:05.150+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.2-041302-generic/build/include" for kernel release "4.13.2-041302-generic".

2017-09-24T21:11:05.150+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.2-041302-generic/build/include/linux/version.h

2017-09-24T21:11:05.150+01:00| vthread-4| I125: /lib/modules/4.13.2-041302-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-24T21:11:05.150+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-09-24T21:11:05.157+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.2-041302-generic".

2017-09-24T21:11:05.157+01:00| vthread-4| I125: The header path "/lib/modules/4.13.2-041302-generic/build/include" for the kernel "4.13.2-041302-generic" is valid.  Whoohoo!

2017-09-24T21:11:05.158+01:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-09-24T21:11:05.158+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.2-041302-generic/build/include" for kernel release "4.13.2-041302-generic".

2017-09-24T21:11:05.158+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.2-041302-generic/build/include/linux/version.h

2017-09-24T21:11:05.158+01:00| vthread-4| I125: /lib/modules/4.13.2-041302-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-24T21:11:05.158+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-09-24T21:11:05.163+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.2-041302-generic".

2017-09-24T21:11:05.163+01:00| vthread-4| I125: The header path "/lib/modules/4.13.2-041302-generic/build/include" for the kernel "4.13.2-041302-generic" is valid.  Whoohoo!

2017-09-24T21:11:05.163+01:00| vthread-4| I125: Using temp dir "/tmp".

2017-09-24T21:11:05.164+01:00| vthread-4| I125: Obtaining info using the running kernel.

2017-09-24T21:11:05.164+01:00| vthread-4| I125: Setting header path for 4.13.2-041302-generic to "/lib/modules/4.13.2-041302-generic/build/include".

2017-09-24T21:11:05.164+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.2-041302-generic/build/include" for kernel release "4.13.2-041302-generic".

2017-09-24T21:11:05.164+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.2-041302-generic/build/include/linux/version.h

2017-09-24T21:11:05.164+01:00| vthread-4| I125: /lib/modules/4.13.2-041302-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-24T21:11:05.164+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-09-24T21:11:05.170+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.2-041302-generic".

2017-09-24T21:11:05.170+01:00| vthread-4| I125: The header path "/lib/modules/4.13.2-041302-generic/build/include" for the kernel "4.13.2-041302-generic" is valid.  Whoohoo!

2017-09-24T21:11:05.386+01:00| vthread-4| I125: found symbol version file /lib/modules/4.13.2-041302-generic/build/Module.symvers

2017-09-24T21:11:05.386+01:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.2-041302-generic/build/Module.symvers.

2017-09-24T21:11:05.402+01:00| vthread-4| I125: Read 21833 symbol versions

2017-09-24T21:11:05.402+01:00| vthread-4| I125: Invoking modinfo on "vmmon".

2017-09-24T21:11:05.404+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-09-24T21:11:05.404+01:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-09-24T21:11:05.405+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-09-24T21:11:05.959+01:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.13.2-041302-generic/misc/vmmon.ko".

2017-09-24T21:11:05.959+01:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".

2017-09-24T21:11:05.963+01:00| vthread-4| I125: Successfully extracted the vmmon source.

2017-09-24T21:11:05.964+01:00| vthread-4| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-Z9iIkn/vmmon-only auto-build HEADER_DIR=/lib/modules/4.13.2-041302-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"

2017-09-24T21:11:07.922+01:00| vthread-4| I125: Successfully built vmmon.  Module is currently at "/tmp/modconfig-Z9iIkn/vmmon.o".

2017-09-24T21:11:07.922+01:00| vthread-4| I125: Found the vmmon symvers file at "/tmp/modconfig-Z9iIkn/vmmon-only/Module.symvers".

2017-09-24T21:11:07.922+01:00| vthread-4| I125: Installing vmmon from /tmp/modconfig-Z9iIkn/vmmon.o to /lib/modules/4.13.2-041302-generic/misc/vmmon.ko.

2017-09-24T21:11:07.923+01:00| vthread-4| I125: Registering file "/lib/modules/4.13.2-041302-generic/misc/vmmon.ko".

2017-09-24T21:11:08.152+01:00| vthread-4| I125: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.

2017-09-24T21:11:08.152+01:00| vthread-4| I125: Registering file "/usr/lib/vmware/symvers/vmmon-4.13.2-041302-generic".

2017-09-24T21:11:08.446+01:00| vthread-4| I125: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.

2017-09-24T21:11:08.448+01:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.13.2-041302-generic/misc/vmnet.ko".

2017-09-24T21:11:08.448+01:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

2017-09-24T21:11:08.452+01:00| vthread-4| I125: Successfully extracted the vmnet source.

2017-09-24T21:11:08.452+01:00| vthread-4| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-Z9iIkn/vmnet-only auto-build HEADER_DIR=/lib/modules/4.13.2-041302-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"

2017-09-24T21:11:11.329+01:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.

Any ideas?

0 Kudos
1 Solution

Accepted Solutions
parmarr
VMware Employee
VMware Employee
Jump to solution

0 Kudos
2 Replies
parmarr
VMware Employee
VMware Employee
Jump to solution

0 Kudos
BiggiDiggi
Contributor
Contributor
Jump to solution

Thank you!

I used the steps in the provided link but with the patch form here Linux Host: Kernel 4.13-rc1 Breaks vmnet.
Now I am able to start VMware Player 12.5.7.

I am having a different problem now - not sure whether I should make a new discussion, so that people can look at it.
After setting up a VM and starting it, it works for a bit and then freezes (depending on my luck I might get it to install Windows and start or it will hang during the installation - I have tried several times with newly created VMs). Then I have to kill the VMware Player and the next time I start it (without restarting my laptop) and try to power on the VM I get the "Not enough physical memory" error. If I then restart my laptop - I won't get the error and the VM will start but will freeze very quickly again and the same happens.
I read that a possible fix is given here, but I am not savy enough to know how to apply it.

Any help? And should I make a new discussions instead?

EDIT: I just saw this, so I will post there

0 Kudos