VMware Communities
marcin80dd
Contributor
Contributor

"Failed to build vmnet. Failed to execute the build command." while installing Virtual Network Device update

Hello,

my VMware Player 12.5.9 wants to make update, but fails. Here is the log:

2018-01-16T11:34:41.319+01:00| vthread-4| I125: Log for VMware Workstation pid=2399 version=12.5.9 build=build-7535481 option=Release

2018-01-16T11:34:41.319+01:00| vthread-4| I125: The process is 64-bit.

2018-01-16T11:34:41.319+01:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8

2018-01-16T11:34:41.319+01:00| vthread-4| I125: Host is Linux 4.13.0-26-generic Ubuntu 16.04.3 LTS

2018-01-16T11:34:41.319+01:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.

2018-01-16T11:34:41.319+01:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2018-01-16T11:34:41.319+01:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.

2018-01-16T11:34:41.319+01:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.

2018-01-16T11:34:41.319+01:00| vthread-4| I125: PREF Unable to check permissions for preferences file.

2018-01-16T11:34:41.319+01:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.

2018-01-16T11:34:41.319+01:00| vthread-4| I125: PREF Failed to load user preferences.

2018-01-16T11:34:41.346+01:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-2399.log

2018-01-16T11:34:41.350+01:00| vthread-4| I125: Obtaining info using the running kernel.

2018-01-16T11:34:41.350+01:00| vthread-4| I125: Created new pathsHash.

2018-01-16T11:34:41.350+01:00| vthread-4| I125: Setting header path for 4.13.0-26-generic to "/lib/modules/4.13.0-26-generic/build/include".

2018-01-16T11:34:41.350+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-16T11:34:41.350+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-16T11:34:41.350+01:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-16T11:34:41.350+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-16T11:34:41.353+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-16T11:34:41.353+01:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-16T11:34:41.460+01:00| vthread-4| I125: found symbol version file /lib/modules/4.13.0-26-generic/build/Module.symvers

2018-01-16T11:34:41.460+01:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.0-26-generic/build/Module.symvers.

2018-01-16T11:34:41.473+01:00| vthread-4| I125: Read 22181 symbol versions

2018-01-16T11:34:41.473+01:00| vthread-4| I125: Reading in info for the vmmon module.

2018-01-16T11:34:41.473+01:00| vthread-4| I125: Reading in info for the vmnet module.

2018-01-16T11:34:41.473+01:00| vthread-4| I125: Reading in info for the vmblock module.

2018-01-16T11:34:41.473+01:00| vthread-4| I125: Reading in info for the vmci module.

2018-01-16T11:34:41.473+01:00| vthread-4| I125: Reading in info for the vsock module.

2018-01-16T11:34:41.473+01:00| vthread-4| I125: Setting vsock to depend on vmci.

2018-01-16T11:34:41.473+01:00| vthread-4| I125: Invoking modinfo on "vmmon".

2018-01-16T11:34:41.474+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2018-01-16T11:34:41.474+01:00| vthread-4| I125: Invoking modinfo on "vmnet".

2018-01-16T11:34:41.475+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2018-01-16T11:34:41.475+01:00| vthread-4| I125: Invoking modinfo on "vmblock".

2018-01-16T11:34:41.475+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2018-01-16T11:34:41.475+01:00| vthread-4| I125: Invoking modinfo on "vmci".

2018-01-16T11:34:41.476+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2018-01-16T11:34:41.476+01:00| vthread-4| I125: Invoking modinfo on "vsock".

2018-01-16T11:34:41.477+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2018-01-16T11:34:41.486+01:00| vthread-4| I125: to be installed: vmnet status: 0

2018-01-16T11:34:41.496+01:00| vthread-4| I125: Obtaining info using the running kernel.

2018-01-16T11:34:41.496+01:00| vthread-4| I125: Setting header path for 4.13.0-26-generic to "/lib/modules/4.13.0-26-generic/build/include".

2018-01-16T11:34:41.496+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-16T11:34:41.496+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-16T11:34:41.496+01:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-16T11:34:41.496+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-16T11:34:41.499+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-16T11:34:41.500+01:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-16T11:34:41.606+01:00| vthread-4| I125: found symbol version file /lib/modules/4.13.0-26-generic/build/Module.symvers

2018-01-16T11:34:41.606+01:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.0-26-generic/build/Module.symvers.

2018-01-16T11:34:41.618+01:00| vthread-4| I125: Read 22181 symbol versions

2018-01-16T11:34:41.618+01:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.13.0-26-generic/build/include

2018-01-16T11:34:41.618+01:00| vthread-4| I125: Update kernel header path to /lib/modules/4.13.0-26-generic/build/include

2018-01-16T11:34:41.618+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-16T11:34:41.618+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-16T11:34:41.618+01:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-16T11:34:41.618+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-16T11:34:41.622+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-16T11:34:41.622+01:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-16T11:34:41.622+01:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"

2018-01-16T11:34:41.623+01:00| vthread-4| I125: Got gcc version "5.4.0".

2018-01-16T11:34:41.623+01:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2018-01-16T11:34:41.623+01:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".

2018-01-16T11:34:41.625+01:00| vthread-4| I125: Got gcc version "5.4.0".

2018-01-16T11:34:41.625+01:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2018-01-16T11:34:41.625+01:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "4.13.0-26-generic".

2018-01-16T11:34:41.625+01:00| vthread-4| I125: No matching PBM set was found for kernel "4.13.0-26-generic".

2018-01-16T11:34:41.625+01:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2018-01-16T11:34:41.625+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-16T11:34:41.625+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-16T11:34:41.625+01:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-16T11:34:41.625+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-16T11:34:41.629+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-16T11:34:41.629+01:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-16T11:34:41.629+01:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2018-01-16T11:34:41.629+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-16T11:34:41.629+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-16T11:34:41.629+01:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-16T11:34:41.629+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-16T11:34:41.632+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-16T11:34:41.632+01:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-16T11:34:41.632+01:00| vthread-4| I125: Using temp dir "/tmp".

2018-01-16T11:34:41.633+01:00| vthread-4| I125: Obtaining info using the running kernel.

2018-01-16T11:34:41.633+01:00| vthread-4| I125: Setting header path for 4.13.0-26-generic to "/lib/modules/4.13.0-26-generic/build/include".

2018-01-16T11:34:41.633+01:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-16T11:34:41.633+01:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-16T11:34:41.633+01:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-16T11:34:41.633+01:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-16T11:34:41.636+01:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-16T11:34:41.636+01:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-16T11:34:41.742+01:00| vthread-4| I125: found symbol version file /lib/modules/4.13.0-26-generic/build/Module.symvers

2018-01-16T11:34:41.742+01:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.0-26-generic/build/Module.symvers.

2018-01-16T11:34:41.754+01:00| vthread-4| I125: Read 22181 symbol versions

2018-01-16T11:34:41.754+01:00| vthread-4| I125: Invoking modinfo on "vmnet".

2018-01-16T11:34:41.755+01:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2018-01-16T11:34:42.372+01:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.13.0-26-generic/misc/vmnet.ko".

2018-01-16T11:34:42.387+01:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

2018-01-16T11:34:42.428+01:00| vthread-4| I125: Successfully extracted the vmnet source.

2018-01-16T11:34:42.428+01:00| vthread-4| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-cmOjXh/vmnet-only auto-build HEADER_DIR=/lib/modules/4.13.0-26-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"

2018-01-16T11:34:48.681+01:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.

0 Kudos
5 Replies
Angnat
Contributor
Contributor

Hi there,

I had this same issue using VMware Player 12.5.9, and kernel 4.13.0-26-generic on Ubuntu 16.04.3 LTS, and I was just able to resolve it using the posts from the thread link below:

Linux Host: Kernel 4.13-rc1 Breaks vmnet..

Specifically, a patch from dariusd and applying the steps outlined by neogeek83

I've summarized it below for you:

Link to dariusdpatch: https://communities.vmware.com/servlet/JiveServlet/download/2688951-180357/VMware-Workstation-12.5.7...

neogeek83steps

cd /usr/lib/vmware/modules/source

sudo tar xf vmnet.tar

sudo vim vmnet-only/bridge.c #Make the edit described in the patch given above. @darlusd

sudo mv vmnet.tar vmnet.tar.bak #backups are good...

sudo tar cf vmnet.tar vmnet-only/

#at this point I restarted vmware and let it rebuild the vmnet drivers, which worked with the above change in place.

sudo rm vmnet-only/ -fr

0 Kudos
marcin80dd
Contributor
Contributor

Hi,

I have installed VMware-Player-14.1.1-7528167.x86_64.bundle instead of 12.5.9 and have no issues now.

Greetings,

Marcin

0 Kudos
Plan9Fan
Contributor
Contributor

Angnat

Thanks, this minor change fixed the issue.

Looked for a long time for the answer, and this solved it. Thanks!

0 Kudos
rocketfollower
Contributor
Contributor

It's Great Job~~!

Thanks a lot~~!! 감사합니다.

0 Kudos
BennySu
Contributor
Contributor

Thanks your help and it really do solve the problem that stuck me for two weeks . Thanks!

My environment describe as below

Linux  4.13.0-37-generic ,VMware Player 12.5.9 build-7535481

0 Kudos