VMware Communities
kaengo
Enthusiast
Enthusiast
Jump to solution

VMware Workstation fails to start after Update to CentOS 7.4

OK,

this is obviously the same problem as described at

Player 12.5.7 and CentOS 7.4

But I have bought VMware Workstation and so I think,

the problem should also be noted at this section.

Yesterday, I dated up CentOS via YUM.

Now, I can't start VMware Workstation.

After starting, he wants to compile and load several modules into the kernel.

I click on ,install'.

Than I get:

VMware Kernel Module Updater:

-Stopping VMware Services

Compiling Virtual Network Device

Running Depmod

Starting VMware Services

--> Error, unable to strt services.

See log....

At the log, I see:

2017-09-17T14:15:27.778+02:00| vthread-4| I125: Log for VMware Workstation pid=8041 version=12.5.7 build=build-5813279 option=Release

2017-09-17T14:15:27.778+02:00| vthread-4| I125: The process is 64-bit.

2017-09-17T14:15:27.778+02:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8

2017-09-17T14:15:27.778+02:00| vthread-4| I125: Host is Linux 3.10.0-693.2.2.el7.x86_64 CentOS Linux release 7.4.1708 (Core)

2017-09-17T14:15:27.777+02:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.

2017-09-17T14:15:27.777+02:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2017-09-17T14:15:27.777+02:00| vthread-4| I125: DictionaryLoad: Cannot open file "/home/xxx/.vmware/config": No such file or directory.

2017-09-17T14:15:27.777+02:00| vthread-4| I125: PREF Optional preferences file not found at /home/xxx/.vmware/config. Using default values.

2017-09-17T14:15:27.820+02:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-8041.log

2017-09-17T14:15:27.831+02:00| vthread-4| I125: Obtaining info using the running kernel.

2017-09-17T14:15:27.831+02:00| vthread-4| I125: Created new pathsHash.

2017-09-17T14:15:27.831+02:00| vthread-4| I125: Setting header path for 3.10.0-693.2.2.el7.x86_64 to "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include".

2017-09-17T14:15:27.831+02:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for kernel release "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:27.831+02:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h

2017-09-17T14:15:27.831+02:00| vthread-4| I125: /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-17T14:15:27.831+02:00| vthread-4| I125: using /usr/local/bin/gcc for preprocess check

2017-09-17T14:15:27.844+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:27.844+02:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for the kernel "3.10.0-693.2.2.el7.x86_64" is valid.  Whoohoo!

2017-09-17T14:15:28.080+02:00| vthread-4| I125: found symbol version file /lib/modules/3.10.0-693.2.2.el7.x86_64/build/Module.symvers

2017-09-17T14:15:28.080+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/3.10.0-693.2.2.el7.x86_64/build/Module.symvers.

2017-09-17T14:15:28.097+02:00| vthread-4| I125: Read 16056 symbol versions

2017-09-17T14:15:28.097+02:00| vthread-4| I125: Reading in info for the vmmon module.

2017-09-17T14:15:28.097+02:00| vthread-4| I125: Reading in info for the vmnet module.

2017-09-17T14:15:28.097+02:00| vthread-4| I125: Reading in info for the vmblock module.

2017-09-17T14:15:28.097+02:00| vthread-4| I125: Reading in info for the vmci module.

2017-09-17T14:15:28.097+02:00| vthread-4| I125: Reading in info for the vsock module.

2017-09-17T14:15:28.097+02:00| vthread-4| I125: Setting vsock to depend on vmci.

2017-09-17T14:15:28.097+02:00| vthread-4| I125: Invoking modinfo on "vmmon".

2017-09-17T14:15:28.103+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2017-09-17T14:15:28.103+02:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-09-17T14:15:28.107+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-09-17T14:15:28.108+02:00| vthread-4| I125: Invoking modinfo on "vmblock".

2017-09-17T14:15:28.112+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-09-17T14:15:28.112+02:00| vthread-4| I125: Invoking modinfo on "vmci".

2017-09-17T14:15:28.117+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-09-17T14:15:28.117+02:00| vthread-4| I125: Invoking modinfo on "vsock".

2017-09-17T14:15:28.125+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2017-09-17T14:15:28.135+02:00| vthread-4| I125: to be installed: vmnet status: 0

2017-09-17T14:15:28.147+02:00| vthread-4| I125: Obtaining info using the running kernel.

2017-09-17T14:15:28.147+02:00| vthread-4| I125: Setting header path for 3.10.0-693.2.2.el7.x86_64 to "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include".

2017-09-17T14:15:28.147+02:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for kernel release "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.147+02:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h

2017-09-17T14:15:28.147+02:00| vthread-4| I125: /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-17T14:15:28.147+02:00| vthread-4| I125: using /usr/local/bin/gcc for preprocess check

2017-09-17T14:15:28.163+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.163+02:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for the kernel "3.10.0-693.2.2.el7.x86_64" is valid.  Whoohoo!

2017-09-17T14:15:28.390+02:00| vthread-4| I125: found symbol version file /lib/modules/3.10.0-693.2.2.el7.x86_64/build/Module.symvers

2017-09-17T14:15:28.390+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/3.10.0-693.2.2.el7.x86_64/build/Module.symvers.

2017-09-17T14:15:28.406+02:00| vthread-4| I125: Read 16056 symbol versions

2017-09-17T14:15:28.407+02:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include

2017-09-17T14:15:28.407+02:00| vthread-4| I125: Update kernel header path to /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include

2017-09-17T14:15:28.407+02:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for kernel release "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.407+02:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h

2017-09-17T14:15:28.407+02:00| vthread-4| I125: /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-17T14:15:28.407+02:00| vthread-4| I125: using /usr/local/bin/gcc for preprocess check

2017-09-17T14:15:28.426+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.426+02:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for the kernel "3.10.0-693.2.2.el7.x86_64" is valid.  Whoohoo!

2017-09-17T14:15:28.427+02:00| vthread-4| I125: Found compiler at "/usr/local/bin/gcc"

2017-09-17T14:15:28.435+02:00| vthread-4| I125: Got gcc version "4.9.2".

2017-09-17T14:15:28.435+02:00| vthread-4| I125: GCC minor version 4 does not match Kernel GCC minor version 4.  But that is ok.

2017-09-17T14:15:28.435+02:00| vthread-4| I125: Using user supplied compiler "/usr/local/bin/gcc".

2017-09-17T14:15:28.444+02:00| vthread-4| I125: Got gcc version "4.9.2".

2017-09-17T14:15:28.444+02:00| vthread-4| I125: GCC minor version 4 does not match Kernel GCC minor version 4.  But that is ok.

2017-09-17T14:15:28.445+02:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.445+02:00| vthread-4| I125: No matching PBM set was found for kernel "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.445+02:00| vthread-4| I125: GCC minor version 4 does not match Kernel GCC minor version 4.  But that is ok.

2017-09-17T14:15:28.445+02:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for kernel release "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.445+02:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h

2017-09-17T14:15:28.445+02:00| vthread-4| I125: /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-17T14:15:28.445+02:00| vthread-4| I125: using /usr/local/bin/gcc for preprocess check

2017-09-17T14:15:28.464+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.464+02:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for the kernel "3.10.0-693.2.2.el7.x86_64" is valid.  Whoohoo!

2017-09-17T14:15:28.465+02:00| vthread-4| I125: GCC minor version 4 does not match Kernel GCC minor version 4.  But that is ok.

2017-09-17T14:15:28.465+02:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for kernel release "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.465+02:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h

2017-09-17T14:15:28.465+02:00| vthread-4| I125: /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-17T14:15:28.465+02:00| vthread-4| I125: using /usr/local/bin/gcc for preprocess check

2017-09-17T14:15:28.478+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.478+02:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for the kernel "3.10.0-693.2.2.el7.x86_64" is valid.  Whoohoo!

2017-09-17T14:15:28.478+02:00| vthread-4| I125: Using temp dir "/tmp".

2017-09-17T14:15:28.479+02:00| vthread-4| I125: Obtaining info using the running kernel.

2017-09-17T14:15:28.479+02:00| vthread-4| I125: Setting header path for 3.10.0-693.2.2.el7.x86_64 to "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include".

2017-09-17T14:15:28.479+02:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for kernel release "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.479+02:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h

2017-09-17T14:15:28.479+02:00| vthread-4| I125: /lib/modules/3.10.0-693.2.2.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-09-17T14:15:28.479+02:00| vthread-4| I125: using /usr/local/bin/gcc for preprocess check

2017-09-17T14:15:28.497+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.2.2.el7.x86_64".

2017-09-17T14:15:28.497+02:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include" for the kernel "3.10.0-693.2.2.el7.x86_64" is valid.  Whoohoo!

2017-09-17T14:15:28.725+02:00| vthread-4| I125: found symbol version file /lib/modules/3.10.0-693.2.2.el7.x86_64/build/Module.symvers

2017-09-17T14:15:28.725+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/3.10.0-693.2.2.el7.x86_64/build/Module.symvers.

2017-09-17T14:15:28.741+02:00| vthread-4| I125: Read 16056 symbol versions

2017-09-17T14:15:28.741+02:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-09-17T14:15:28.747+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-09-17T14:15:28.839+02:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/3.10.0-693.2.2.el7.x86_64/misc/vmnet.ko".

2017-09-17T14:15:28.839+02:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

2017-09-17T14:15:28.859+02:00| vthread-4| I125: Successfully extracted the vmnet source.

2017-09-17T14:15:28.859+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-T5V07f/vmnet-only auto-build HEADER_DIR=/lib/modules/3.10.0-693.2.2.el7.x86_64/build/include CC=/usr/local/bin/gcc IS_GCC_3=no"

2017-09-17T14:15:31.019+02:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.

Hope,

that somebody knows the solution,

because I need my win7 urgently ...

Greetings,

Holger

Reply
0 Kudos
1 Solution

Accepted Solutions
kaengo
Enthusiast
Enthusiast
Jump to solution

OK,

I was to fast

I did this on top of the last tries (hope, I have not produced to much garbage...)

Re: VMware Workstation for Linux v12.5.7-5813279 don't install on RedHat Enterprise Linux 7.4 Beta1 ...

Now, all is running again.

Thanks.

Holger

View solution in original post

Reply
0 Kudos
5 Replies
virtualg_uk
Leadership
Leadership
Jump to solution

I would review the answer in this post:

VMware Workstation 12.5.0 not wrking after kernel updates

Your log shows this Failed to build vmnet.  Failed to execute the build command.

Which is the same as the error in the above post

Hope this helps


Graham | User Moderator | https://virtualg.uk
Reply
0 Kudos
kaengo
Enthusiast
Enthusiast
Jump to solution

OK, I read that I must reinstall vmware.

Hope that my guest system will not be killed?

Greetings,

Thank you,

Holger

Reply
0 Kudos
virtualg_uk
Leadership
Leadership
Jump to solution

It should be okay, feel free to backup the files if there are any concerns


Graham | User Moderator | https://virtualg.uk
Reply
0 Kudos
kaengo
Enthusiast
Enthusiast
Jump to solution

So, I tried to apply the patch,

but with no success.

Here, what I did:

[root@localhost vmware]# mkdir patchversuch

[root@localhost vmware]# cd patchversuch/

[root@localhost patchversuch]# ls

[root@localhost patchversuch]# cp /usr/lib/vmware/modules/source/vmmon.tar .

[root@localhost patchversuch]# ls -la

total 1372

drwxr-xr-x. 2 root root      23 Sep 18 10:17 .

drwxr-xr-x. 4 root root     205 Sep 18 10:16 ..

-rw-r--r--. 1 root root 1402880 Sep 18 10:17 vmmon.tar

[root@localhost patchversuch]# tar xf vmmon.tar

[root@localhost patchversuch]# ls -la

total 1372

drwxr-xr-x. 3 root root      41 Sep 18 10:17 .

drwxr-xr-x. 4 root root     205 Sep 18 10:16 ..

drwxr-xr-x. 7 root root     169 Jun 20 04:54 vmmon-only

-rw-r--r--. 1 root root 1402880 Sep 18 10:17 vmmon.tar

[root@localhost patchversuch]# cp ../patch

patchnachupdatecentos74/ patchversuch/          

[root@localhost patchversuch]# cp ../patchnachupdatecentos74/ws-12.5.2-linux-4.9-vmmon-only.patch ./

[root@localhost patchversuch]# ls

vmmon-only  vmmon.tar  ws-12.5.2-linux-4.9-vmmon-only.patch

[root@localhost patchversuch]# patch -p0 < ws-12.5.2-linux-4.9-vmmon-only.patch

patching file vmmon-only/linux/hostif.c

Reversed (or previously applied) patch detected!  Assume -R? [n] y

Hunk #1 succeeded at 1165 (offset 3 lines).

[root@localhost patchversuch]# tar cf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only

[root@localhost patchversuch]# rm -rf vmmon-only

[root@localhost patchversuch]# cp /usr/lib/vmware/modules/source/vmnet.tar .

[root@localhost patchversuch]# tar xf vmnet.tar

[root@localhost patchversuch]# cp ../patch

patchnachupdatecentos74/ patchversuch/          

[root@localhost patchversuch]# cp ../patchnachupdatecentos74/ws-12.5.2-linux-4.9-vmnet-only.patch ./

[root@localhost patchversuch]# ls

vmmon.tar  vmnet-only  vmnet.tar  ws-12.5.2-linux-4.9-vmmon-only.patch  ws-12.5.2-linux-4.9-vmnet-only.patch

[root@localhost patchversuch]# patch -p0 < ws-12.5.2-linux-4.9-vmnet-only.patch

patching file vmnet-only/userif.c

Hunk #1 succeeded at 116 (offset 3 lines).

[root@localhost patchversuch]# tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only

[root@localhost patchversuch]# rm -rf vmmon-only

[root@localhost patchversuch]#

Looks, that all is OK,

but I get the same failure as before ....

I have seen, that you have posted a new patch later,

but should I try that now?

Any idea?

Greetings,

Holger

Reply
0 Kudos
kaengo
Enthusiast
Enthusiast
Jump to solution

OK,

I was to fast

I did this on top of the last tries (hope, I have not produced to much garbage...)

Re: VMware Workstation for Linux v12.5.7-5813279 don't install on RedHat Enterprise Linux 7.4 Beta1 ...

Now, all is running again.

Thanks.

Holger

Reply
0 Kudos