VMware Communities
FiZi
Enthusiast
Enthusiast
Jump to solution

VMware Workstation 12.1.1 Pro fails to install network drives on CentOS 6.8 host

Just upgraded my CentOS Server from 6.7 (where VMware Workstation 12.1.1 worked fine) to 6.8.

After a reboot VMware did it's usual thing where it wanted to re-install it's drives. It failed at installing the network component. Here are my logs:

2016-05-28T18:21:09.477-07:00| vthread-4| I125: Log for VMware Workstation pid=27658 version=12.1.1 build=build-3770994 option=Release
2016-05-28T18:21:09.477-07:00| vthread-4| I125: The process is 64-bit.
2016-05-28T18:21:09.477-07:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8
2016-05-28T18:21:09.477-07:00| vthread-4| I125: Host is Linux 2.6.32-642.el6.x86_64 CentOS release 6.8 (Final)
2016-05-28T18:21:09.476-07:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2016-05-28T18:21:09.476-07:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2016-05-28T18:21:09.476-07:00| vthread-4| I125: DictionaryLoad: Cannot open file "/home/sa_schewee/.vmware/config": No such file or directory.
2016-05-28T18:21:09.476-07:00| vthread-4| I125: PREF Optional preferences file not found at /home/sa_schewee/.vmware/config. Using default values.
2016-05-28T18:21:09.501-07:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-27658.log
2016-05-28T18:21:09.511-07:00| vthread-4| I125: Obtaining info using the running kernel.
2016-05-28T18:21:09.511-07:00| vthread-4| I125: Created new pathsHash.
2016-05-28T18:21:09.511-07:00| vthread-4| I125: Setting header path for 2.6.32-642.el6.x86_64 to "/lib/modules/2.6.32-642.el6.x86_64/build/include".
2016-05-28T18:21:09.511-07:00| vthread-4| I125: Validating path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for kernel release "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.511-07:00| vthread-4| I125: Failed to find /lib/modules/2.6.32-642.el6.x86_64/build/include/generated/utsrelease.h
2016-05-28T18:21:09.511-07:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T18:21:09.518-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.518-07:00| vthread-4| I125: The header path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for the kernel "2.6.32-642.el6.x86_64" is valid.  Whoohoo!
2016-05-28T18:21:09.587-07:00| vthread-4| I125: found symbol version file /lib/modules/2.6.32-642.el6.x86_64/build/Module.symvers
2016-05-28T18:21:09.587-07:00| vthread-4| I125: Reading symbol versions from /lib/modules/2.6.32-642.el6.x86_64/build/Module.symvers.
2016-05-28T18:21:09.597-07:00| vthread-4| I125: Read 12201 symbol versions
2016-05-28T18:21:09.597-07:00| vthread-4| I125: Reading in info for the vmmon module.
2016-05-28T18:21:09.597-07:00| vthread-4| I125: Reading in info for the vmnet module.
2016-05-28T18:21:09.597-07:00| vthread-4| I125: Reading in info for the vmblock module.
2016-05-28T18:21:09.597-07:00| vthread-4| I125: Reading in info for the vmci module.
2016-05-28T18:21:09.597-07:00| vthread-4| I125: Reading in info for the vsock module.
2016-05-28T18:21:09.597-07:00| vthread-4| I125: Setting vsock to depend on vmci.
2016-05-28T18:21:09.597-07:00| vthread-4| I125: Invoking modinfo on "vmmon".
2016-05-28T18:21:09.600-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.
2016-05-28T18:21:09.600-07:00| vthread-4| I125: Invoking modinfo on "vmnet".
2016-05-28T18:21:09.601-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-05-28T18:21:09.601-07:00| vthread-4| I125: Invoking modinfo on "vmblock".
2016-05-28T18:21:09.603-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.
2016-05-28T18:21:09.603-07:00| vthread-4| I125: Invoking modinfo on "vmci".
2016-05-28T18:21:09.605-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.
2016-05-28T18:21:09.605-07:00| vthread-4| I125: Invoking modinfo on "vsock".
2016-05-28T18:21:09.607-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.
2016-05-28T18:21:09.618-07:00| vthread-4| I125: to be installed: vmnet status: 0
2016-05-28T18:21:09.624-07:00| vthread-4| I125: Obtaining info using the running kernel.
2016-05-28T18:21:09.624-07:00| vthread-4| I125: Setting header path for 2.6.32-642.el6.x86_64 to "/lib/modules/2.6.32-642.el6.x86_64/build/include".
2016-05-28T18:21:09.624-07:00| vthread-4| I125: Validating path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for kernel release "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.624-07:00| vthread-4| I125: Failed to find /lib/modules/2.6.32-642.el6.x86_64/build/include/generated/utsrelease.h
2016-05-28T18:21:09.624-07:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T18:21:09.632-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.632-07:00| vthread-4| I125: The header path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for the kernel "2.6.32-642.el6.x86_64" is valid.  Whoohoo!
2016-05-28T18:21:09.701-07:00| vthread-4| I125: found symbol version file /lib/modules/2.6.32-642.el6.x86_64/build/Module.symvers
2016-05-28T18:21:09.702-07:00| vthread-4| I125: Reading symbol versions from /lib/modules/2.6.32-642.el6.x86_64/build/Module.symvers.
2016-05-28T18:21:09.711-07:00| vthread-4| I125: Read 12201 symbol versions
2016-05-28T18:21:09.711-07:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/2.6.32-642.el6.x86_64/build/include
2016-05-28T18:21:09.711-07:00| vthread-4| I125: Update kernel header path to /lib/modules/2.6.32-642.el6.x86_64/build/include
2016-05-28T18:21:09.711-07:00| vthread-4| I125: Validating path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for kernel release "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.711-07:00| vthread-4| I125: Failed to find /lib/modules/2.6.32-642.el6.x86_64/build/include/generated/utsrelease.h
2016-05-28T18:21:09.711-07:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T18:21:09.719-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.719-07:00| vthread-4| I125: The header path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for the kernel "2.6.32-642.el6.x86_64" is valid.  Whoohoo!
2016-05-28T18:21:09.720-07:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"
2016-05-28T18:21:09.724-07:00| vthread-4| I125: Got gcc version "4.4.7".
2016-05-28T18:21:09.724-07:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-05-28T18:21:09.724-07:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".
2016-05-28T18:21:09.727-07:00| vthread-4| I125: Got gcc version "4.4.7".
2016-05-28T18:21:09.727-07:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-05-28T18:21:09.729-07:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.729-07:00| vthread-4| I125: No matching PBM set was found for kernel "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.729-07:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-05-28T18:21:09.729-07:00| vthread-4| I125: Validating path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for kernel release "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.729-07:00| vthread-4| I125: Failed to find /lib/modules/2.6.32-642.el6.x86_64/build/include/generated/utsrelease.h
2016-05-28T18:21:09.729-07:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T18:21:09.737-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.737-07:00| vthread-4| I125: The header path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for the kernel "2.6.32-642.el6.x86_64" is valid.  Whoohoo!
2016-05-28T18:21:09.738-07:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-05-28T18:21:09.738-07:00| vthread-4| I125: Validating path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for kernel release "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.738-07:00| vthread-4| I125: Failed to find /lib/modules/2.6.32-642.el6.x86_64/build/include/generated/utsrelease.h
2016-05-28T18:21:09.738-07:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T18:21:09.746-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.746-07:00| vthread-4| I125: The header path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for the kernel "2.6.32-642.el6.x86_64" is valid.  Whoohoo!
2016-05-28T18:21:09.746-07:00| vthread-4| I125: Using temp dir "/tmp".
2016-05-28T18:21:09.747-07:00| vthread-4| I125: Obtaining info using the running kernel.
2016-05-28T18:21:09.747-07:00| vthread-4| I125: Setting header path for 2.6.32-642.el6.x86_64 to "/lib/modules/2.6.32-642.el6.x86_64/build/include".
2016-05-28T18:21:09.747-07:00| vthread-4| I125: Validating path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for kernel release "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.747-07:00| vthread-4| I125: Failed to find /lib/modules/2.6.32-642.el6.x86_64/build/include/generated/utsrelease.h
2016-05-28T18:21:09.747-07:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T18:21:09.755-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "2.6.32-642.el6.x86_64".
2016-05-28T18:21:09.755-07:00| vthread-4| I125: The header path "/lib/modules/2.6.32-642.el6.x86_64/build/include" for the kernel "2.6.32-642.el6.x86_64" is valid.  Whoohoo!
2016-05-28T18:21:09.825-07:00| vthread-4| I125: found symbol version file /lib/modules/2.6.32-642.el6.x86_64/build/Module.symvers
2016-05-28T18:21:09.825-07:00| vthread-4| I125: Reading symbol versions from /lib/modules/2.6.32-642.el6.x86_64/build/Module.symvers.
2016-05-28T18:21:09.834-07:00| vthread-4| I125: Read 12201 symbol versions
2016-05-28T18:21:09.834-07:00| vthread-4| I125: Invoking modinfo on "vmnet".
2016-05-28T18:21:09.836-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-05-28T18:21:10.081-07:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/2.6.32-642.el6.x86_64/misc/vmnet.ko".
2016-05-28T18:21:10.081-07:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2016-05-28T18:21:10.087-07:00| vthread-4| I125: Successfully extracted the vmnet source.
2016-05-28T18:21:10.087-07:00| vthread-4| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-tH7bci/vmnet-only auto-build HEADER_DIR=/lib/modules/2.6.32-642.el6.x86_64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2016-05-28T18:21:11.063-07:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.

1 Solution

Accepted Solutions
jakekang74
Contributor
Contributor
Jump to solution

Hi, I faced same problem, and now I fixed this matter.

It was matter of vmnet.ko , at least for me.

Here is the way how to solve,

you can find latest vmnet.ko from /lib/modules/~previous_kernel_version~/misc/vmnet.ko

copy vmnet.ko to your current  /lib/modules/your_current_version/misc folder.

And then run vmware, if you fail it at first time, please run again.

If so, you can run vmwre !

I hope it will help you.

Have a nice day.

View solution in original post

0 Kudos
8 Replies
jakekang74
Contributor
Contributor
Jump to solution

Hi, I faced same problem, and now I fixed this matter.

It was matter of vmnet.ko , at least for me.

Here is the way how to solve,

you can find latest vmnet.ko from /lib/modules/~previous_kernel_version~/misc/vmnet.ko

copy vmnet.ko to your current  /lib/modules/your_current_version/misc folder.

And then run vmware, if you fail it at first time, please run again.

If so, you can run vmwre !

I hope it will help you.

Have a nice day.

0 Kudos
Housemaster
Contributor
Contributor
Jump to solution

Hello,

i had the same Problem and found following solution:

Step 1 - made a symbolic link to directory with missing header file:

ln -s /lib/modules/2.6.32-642.el6.centos.plus.x86_64/build/include/linux /lib/modules/2.6.32-642.el6.centos.plus.x86_64/build/include/generated

Step 2 unpack/extract files from /usr/lib/vmware/modules/source/vmnet.tar

Step 3 modify netif.c from extracted files (comment lines 152, 153, 154 and 156)

//#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(NET_NAME_USER)

//   dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_USER, VNetNetIfSetup);

//#else

   dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);

//#endif

Step 4 save modified file

Step 5 pack modified file into /usr/lib/vmware/modules/source/vmnet.tar

Step 6 start VmWare-Player, and missing vmnet-Module will be created

regards

Housemaster

FiZi
Enthusiast
Enthusiast
Jump to solution

Thank you both. I opted to go with jakekang74's solution. It worked like a charm.

FYI this issue persists into kernel 2.6.32-642.1.1.el6.x86_64 as well which was just released.

The previous version 2.6.32-642.el6.x86_64 did not work which was the kernel I was using when I originally posted.

My 3rd oldest kernel, 2.6.32-573.26.1.el6.x86_64, works fine with the VMware Workstation installer.

0 Kudos
FiZi
Enthusiast
Enthusiast
Jump to solution

So I had to unmark your answer.

Your solution technically works but my Windows 10 VM randomly starts throttling my hosts CPU when it runs the same load that it did before this issue occurred.

I'm thinking the CPU usage issue is related to the vmnet driver not compiling properly.

I'll wait and hope 12.1.2 fixes things.


Turns out the issue had to do with one of the workloads in a Windows 10 VM.


Remarking your responses as correct answers

0 Kudos
oubenali
Contributor
Contributor
Jump to solution

I agree, your solution works if you installed vmware workstation before updating the kernel, in which case the file vmnet.ko will be there under the misc directory.

0 Kudos
oubenali
Contributor
Contributor
Jump to solution

Your suggestion makes sense, ignore kernel version checking and use the old default (in "else" clause). Man I've just tried your solution, and it brilliantly worked. I owe you a lot my friend Smiley Happy

0 Kudos
FiZi
Enthusiast
Enthusiast
Jump to solution

For what it's worth the latest version of VMware Workstation Pro (12.5) solves this problem as well.

0 Kudos
Nidhoggur929
Contributor
Contributor
Jump to solution

Your solution works like a charm for me.

#umane -mr

2.6.32-642.11.1.el6.x86_64 x86_64

And I'm staring with step 2 but it still fixSmiley Wink

0 Kudos