Hello to all here,
Today, CentOS 7.4 has updated the kernel.
When I try to start vmware, VMware Kernel Module Updater tells me,
that several modules must be compiled and loaded into the running kernel.
After that, I get a error and a hint to the log file, which I appended to this message.
Also the patch of Darius don't work any more.
(See the logs below)
Does anyone know, whats the matter?
Greetings from North Germany,
Holger
This is the log of the try to load the modules regularly:
2018-03-09T22:49:20.997+01:00| vthread-1| I125: Log for VMware Workstation pid=21793 version=14.1.1 build=build-7528167 option=Release
2018-03-09T22:49:20.997+01:00| vthread-1| I125: The process is 64-bit.
2018-03-09T22:49:20.997+01:00| vthread-1| I125: Host codepage=UTF-8 encoding=UTF-8
2018-03-09T22:49:20.997+01:00| vthread-1| I125: Host is Linux 3.10.0-693.21.1.el7.x86_64 CentOS Linux release 7.4.1708 (Core)
2018-03-09T22:49:20.997+01:00| vthread-1| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2018-03-09T22:49:20.997+01:00| vthread-1| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2018-03-09T22:49:20.997+01:00| vthread-1| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2018-03-09T22:49:20.997+01:00| vthread-1| I125: DictionaryLoad: Cannot open file "/home/kaengo/.vmware/config": No such file or directory.
2018-03-09T22:49:20.997+01:00| vthread-1| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/kaengo/.vmware/config": No such file or directory.
2018-03-09T22:49:20.997+01:00| vthread-1| I125: PREF Optional preferences file not found at /home/kaengo/.vmware/config. Using default values.
2018-03-09T22:49:21.044+01:00| vthread-1| W115: Logging to /tmp/vmware-root/vmware-21793.log
2018-03-09T22:49:21.093+01:00| vthread-1| I125: Obtaining info using the running kernel.
2018-03-09T22:49:21.093+01:00| vthread-1| I125: Created new pathsHash.
2018-03-09T22:49:21.093+01:00| vthread-1| I125: Setting header path for 3.10.0-693.21.1.el7.x86_64 to "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include".
2018-03-09T22:49:21.093+01:00| vthread-1| I125: Validating path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for kernel release "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.093+01:00| vthread-1| I125: Failed to find /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h
2018-03-09T22:49:21.093+01:00| vthread-1| I125: /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2018-03-09T22:49:21.093+01:00| vthread-1| I125: using /usr/local/bin/gcc for preprocess check
2018-03-09T22:49:21.109+01:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.109+01:00| vthread-1| I125: The header path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for the kernel "3.10.0-693.21.1.el7.x86_64" is valid. Whoohoo!
2018-03-09T22:49:21.387+01:00| vthread-1| I125: found symbol version file /lib/modules/3.10.0-693.21.1.el7.x86_64/build/Module.symvers
2018-03-09T22:49:21.387+01:00| vthread-1| I125: Reading symbol versions from /lib/modules/3.10.0-693.21.1.el7.x86_64/build/Module.symvers.
2018-03-09T22:49:21.404+01:00| vthread-1| I125: Read 16075 symbol versions
2018-03-09T22:49:21.405+01:00| vthread-1| I125: Reading in info for the vmmon module.
2018-03-09T22:49:21.405+01:00| vthread-1| I125: Reading in info for the vmnet module.
2018-03-09T22:49:21.405+01:00| vthread-1| I125: Reading in info for the vmblock module.
2018-03-09T22:49:21.405+01:00| vthread-1| I125: Reading in info for the vmci module.
2018-03-09T22:49:21.405+01:00| vthread-1| I125: Reading in info for the vsock module.
2018-03-09T22:49:21.405+01:00| vthread-1| I125: Setting vsock to depend on vmci.
2018-03-09T22:49:21.405+01:00| vthread-1| I125: Invoking modinfo on "vmmon".
2018-03-09T22:49:21.412+01:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2018-03-09T22:49:21.412+01:00| vthread-1| I125: Invoking modinfo on "vmnet".
2018-03-09T22:49:21.418+01:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2018-03-09T22:49:21.418+01:00| vthread-1| I125: Invoking modinfo on "vmblock".
2018-03-09T22:49:21.425+01:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2018-03-09T22:49:21.425+01:00| vthread-1| I125: Invoking modinfo on "vmci".
2018-03-09T22:49:21.432+01:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2018-03-09T22:49:21.432+01:00| vthread-1| I125: Invoking modinfo on "vsock".
2018-03-09T22:49:21.441+01:00| vthread-1| I125: "/sbin/modinfo" exited with status 0.
2018-03-09T22:49:21.450+01:00| vthread-1| I125: to be installed: vmmon status: 0
2018-03-09T22:49:21.450+01:00| vthread-1| I125: to be installed: vmnet status: 0
2018-03-09T22:49:21.462+01:00| vthread-1| I125: Obtaining info using the running kernel.
2018-03-09T22:49:21.462+01:00| vthread-1| I125: Setting header path for 3.10.0-693.21.1.el7.x86_64 to "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include".
2018-03-09T22:49:21.462+01:00| vthread-1| I125: Validating path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for kernel release "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.462+01:00| vthread-1| I125: Failed to find /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h
2018-03-09T22:49:21.462+01:00| vthread-1| I125: /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2018-03-09T22:49:21.462+01:00| vthread-1| I125: using /usr/local/bin/gcc for preprocess check
2018-03-09T22:49:21.480+01:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.480+01:00| vthread-1| I125: The header path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for the kernel "3.10.0-693.21.1.el7.x86_64" is valid. Whoohoo!
2018-03-09T22:49:21.743+01:00| vthread-1| I125: found symbol version file /lib/modules/3.10.0-693.21.1.el7.x86_64/build/Module.symvers
2018-03-09T22:49:21.743+01:00| vthread-1| I125: Reading symbol versions from /lib/modules/3.10.0-693.21.1.el7.x86_64/build/Module.symvers.
2018-03-09T22:49:21.761+01:00| vthread-1| I125: Read 16075 symbol versions
2018-03-09T22:49:21.761+01:00| vthread-1| I125: Kernel header path retrieved from FileEntry: /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include
2018-03-09T22:49:21.761+01:00| vthread-1| I125: Update kernel header path to /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include
2018-03-09T22:49:21.761+01:00| vthread-1| I125: Validating path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for kernel release "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.761+01:00| vthread-1| I125: Failed to find /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h
2018-03-09T22:49:21.761+01:00| vthread-1| I125: /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2018-03-09T22:49:21.761+01:00| vthread-1| I125: using /usr/local/bin/gcc for preprocess check
2018-03-09T22:49:21.782+01:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.782+01:00| vthread-1| I125: The header path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for the kernel "3.10.0-693.21.1.el7.x86_64" is valid. Whoohoo!
2018-03-09T22:49:21.783+01:00| vthread-1| I125: Found compiler at "/usr/local/bin/gcc"
2018-03-09T22:49:21.793+01:00| vthread-1| I125: Got gcc version "4.9.2".
2018-03-09T22:49:21.793+01:00| vthread-1| I125: GCC minor version 4 does not match Kernel GCC minor version 4. But that is ok.
2018-03-09T22:49:21.805+01:00| vthread-1| I125: Got gcc version "4.9.2".
2018-03-09T22:49:21.805+01:00| vthread-1| I125: GCC minor version 4 does not match Kernel GCC minor version 4. But that is ok.
2018-03-09T22:49:21.808+01:00| vthread-1| I125: Trying to find a suitable PBM set for kernel "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.808+01:00| vthread-1| I125: No matching PBM set was found for kernel "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.809+01:00| vthread-1| I125: GCC minor version 4 does not match Kernel GCC minor version 4. But that is ok.
2018-03-09T22:49:21.809+01:00| vthread-1| I125: Validating path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for kernel release "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.809+01:00| vthread-1| I125: Failed to find /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h
2018-03-09T22:49:21.809+01:00| vthread-1| I125: /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2018-03-09T22:49:21.809+01:00| vthread-1| I125: using /usr/local/bin/gcc for preprocess check
2018-03-09T22:49:21.826+01:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.826+01:00| vthread-1| I125: The header path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for the kernel "3.10.0-693.21.1.el7.x86_64" is valid. Whoohoo!
2018-03-09T22:49:21.835+01:00| vthread-1| I125: GCC minor version 4 does not match Kernel GCC minor version 4. But that is ok.
2018-03-09T22:49:21.835+01:00| vthread-1| I125: Validating path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for kernel release "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.835+01:00| vthread-1| I125: Failed to find /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h
2018-03-09T22:49:21.835+01:00| vthread-1| I125: /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2018-03-09T22:49:21.835+01:00| vthread-1| I125: using /usr/local/bin/gcc for preprocess check
2018-03-09T22:49:21.853+01:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.853+01:00| vthread-1| I125: The header path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for the kernel "3.10.0-693.21.1.el7.x86_64" is valid. Whoohoo!
2018-03-09T22:49:21.853+01:00| vthread-1| I125: Using temp dir "/tmp".
2018-03-09T22:49:21.857+01:00| vthread-1| I125: Obtaining info using the running kernel.
2018-03-09T22:49:21.857+01:00| vthread-1| I125: Setting header path for 3.10.0-693.21.1.el7.x86_64 to "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include".
2018-03-09T22:49:21.857+01:00| vthread-1| I125: Validating path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for kernel release "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.857+01:00| vthread-1| I125: Failed to find /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h
2018-03-09T22:49:21.857+01:00| vthread-1| I125: /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2018-03-09T22:49:21.858+01:00| vthread-1| I125: using /usr/local/bin/gcc for preprocess check
2018-03-09T22:49:21.875+01:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.21.1.el7.x86_64".
2018-03-09T22:49:21.875+01:00| vthread-1| I125: The header path "/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include" for the kernel "3.10.0-693.21.1.el7.x86_64" is valid. Whoohoo!
2018-03-09T22:49:22.211+01:00| vthread-1| I125: found symbol version file /lib/modules/3.10.0-693.21.1.el7.x86_64/build/Module.symvers
2018-03-09T22:49:22.211+01:00| vthread-1| I125: Reading symbol versions from /lib/modules/3.10.0-693.21.1.el7.x86_64/build/Module.symvers.
2018-03-09T22:49:22.229+01:00| vthread-1| I125: Read 16075 symbol versions
2018-03-09T22:49:22.229+01:00| vthread-1| I125: Invoking modinfo on "vmmon".
2018-03-09T22:49:22.236+01:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2018-03-09T22:49:22.236+01:00| vthread-1| I125: Invoking modinfo on "vmnet".
2018-03-09T22:49:22.244+01:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2018-03-09T22:49:22.348+01:00| vthread-1| I125: Setting destination path for vmmon to "/lib/modules/3.10.0-693.21.1.el7.x86_64/misc/vmmon.ko".
2018-03-09T22:49:22.348+01:00| vthread-1| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2018-03-09T22:49:22.390+01:00| vthread-1| I125: Successfully extracted the vmmon source.
2018-03-09T22:49:22.390+01:00| vthread-1| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-dgt1mf/vmmon-only auto-build HEADER_DIR=/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include CC=/usr/local/bin/gcc IS_GCC_3=no"
2018-03-09T22:49:22.875+01:00| vthread-1| W115: Failed to build vmmon. Failed to execute the build command.
2018-03-09T22:49:22.884+01:00| vthread-1| I125: Setting destination path for vmnet to "/lib/modules/3.10.0-693.21.1.el7.x86_64/misc/vmnet.ko".
2018-03-09T22:49:22.884+01:00| vthread-1| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2018-03-09T22:49:22.906+01:00| vthread-1| I125: Successfully extracted the vmnet source.
2018-03-09T22:49:22.907+01:00| vthread-1| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-dgt1mf/vmnet-only auto-build HEADER_DIR=/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include CC=/usr/local/bin/gcc IS_GCC_3=no"
2018-03-09T22:49:23.430+01:00| vthread-1| W115: Failed to build vmnet. Failed to execute the build command.
That was the try to patch Workstation 14 with the workstation 12 patch from Darius:
[root@localhost vmnet-fix]# patch -p0 < ~/Downloads/VMware-Workstation-12.5.7-vmnet-RHEL74.patch
patching file vmnet-only/compat_netdevice.h
Hunk #1 FAILED at 337.
1 out of 1 hunk FAILED -- saving rejects to file vmnet-only/compat_netdevice.h.rej
[root@localhost vmnet-fix]#
After that, I tried to install workstation pro 12 ,
but I also had had no success in patching it:
[root@localhost vmnet-fix]# cp /usr/lib/vmware/modules/source/vmnet.tar ./vmnet-12.5.7.tar
[root@localhost vmnet-fix]# tar xf vmnet-12.5.7.tar
[root@localhost vmnet-fix]# patch -p0 < ~/Downloads/VMware-Workstation-12.5.7-vmnet-RHEL74.patch
patching file vmnet-only/compat_netdevice.h
[root@localhost vmnet-fix]# tar cf vmnet.tar vmnet-only/
[root@localhost vmnet-fix]# cp vmnet.tar /usr/lib/vmware/modules/source/vmnet.tar
cp: overwrite ‘/usr/lib/vmware/modules/source/vmnet.tar’? y
[root@localhost vmnet-fix]# vmware-modconfig --console --install-all
Stopping vmware (via systemctl): [ OK ]
Using kernel build system.
make: Entering directory `/tmp/modconfig-sS7npk/vmmon-only'
/usr/bin/make -C /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-693.21.1.el7.x86_64'
arch/x86/Makefile:166: *** CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.. Stop.
make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.21.1.el7.x86_64'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/modconfig-sS7npk/vmmon-only'
Using kernel build system.
make: Entering directory `/tmp/modconfig-sS7npk/vmnet-only'
/usr/bin/make -C /lib/modules/3.10.0-693.21.1.el7.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-693.21.1.el7.x86_64'
arch/x86/Makefile:166: *** CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.. Stop.
make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.21.1.el7.x86_64'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/modconfig-sS7npk/vmnet-only'
Unable to install all modules. See log for details.
[root@localhost vmnet-fix]#