VMware Communities
EEUSNZ
Contributor
Contributor
Jump to solution

VMware Workstation 12.5.7 kernel module updater fails to compile virtual network device.

Hi,

VMware Workstation 12.5.7 kernel module updater fails to compile virtual network device on linux (RHEL7) host. Unable to start services. Error log:

2017-08-04T15:34:55.675-10:00| vthread-4| I125: Log for VMware Workstation pid=26404 version=12.5.7 build=build-5813279 option=Release

2017-08-04T15:34:55.675-10:00| vthread-4| I125: The process is 64-bit.

2017-08-04T15:34:55.675-10:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8

2017-08-04T15:34:55.675-10:00| vthread-4| I125: Host is Linux 3.10.0-693.el7.x86_64 Red Hat Enterprise Linux Workstation release 7.4 (Maipo)

2017-08-04T15:34:55.674-10:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.

2017-08-04T15:34:55.674-10:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2017-08-04T15:34:55.675-10:00| vthread-4| I125: DictionaryLoad: Cannot open file "/home/marek/.vmware/config": No such file or directory.

2017-08-04T15:34:55.675-10:00| vthread-4| I125: PREF Optional preferences file not found at /home/marek/.vmware/config. Using default values.

2017-08-04T15:34:55.675-10:00| vthread-4| I125: PREF Unable to check permissions for preferences file.

2017-08-04T15:34:55.675-10:00| vthread-4| I125: DictionaryLoad: Cannot open file "/home/marek/.vmware/preferences": No such file or directory.

2017-08-04T15:34:55.675-10:00| vthread-4| I125: PREF Failed to load user preferences.

2017-08-04T15:34:55.678-10:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-26404.log

2017-08-04T15:34:55.687-10:00| vthread-4| I125: Obtaining info using the running kernel.

2017-08-04T15:34:55.687-10:00| vthread-4| I125: Created new pathsHash.

2017-08-04T15:34:55.687-10:00| vthread-4| I125: Setting header path for 3.10.0-693.el7.x86_64 to "/lib/modules/3.10.0-693.el7.x86_64/build/include".

2017-08-04T15:34:55.687-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-04T15:34:55.687-10:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h

2017-08-04T15:34:55.687-10:00| vthread-4| I125: /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-08-04T15:34:55.687-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-04T15:34:55.693-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-04T15:34:55.694-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-04T15:34:55.897-10:00| vthread-4| I125: found symbol version file /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers

2017-08-04T15:34:55.897-10:00| vthread-4| I125: Reading symbol versions from /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers.

2017-08-04T15:34:55.921-10:00| vthread-4| I125: Read 16054 symbol versions

2017-08-04T15:34:55.921-10:00| vthread-4| I125: Reading in info for the vmmon module.

2017-08-04T15:34:55.921-10:00| vthread-4| I125: Reading in info for the vmnet module.

2017-08-04T15:34:55.921-10:00| vthread-4| I125: Reading in info for the vmblock module.

2017-08-04T15:34:55.921-10:00| vthread-4| I125: Reading in info for the vmci module.

2017-08-04T15:34:55.921-10:00| vthread-4| I125: Reading in info for the vsock module.

2017-08-04T15:34:55.921-10:00| vthread-4| I125: Setting vsock to depend on vmci.

2017-08-04T15:34:55.921-10:00| vthread-4| I125: Invoking modinfo on "vmmon".

2017-08-04T15:34:55.923-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2017-08-04T15:34:55.923-10:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-08-04T15:34:55.924-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-08-04T15:34:55.924-10:00| vthread-4| I125: Invoking modinfo on "vmblock".

2017-08-04T15:34:55.926-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-08-04T15:34:55.926-10:00| vthread-4| I125: Invoking modinfo on "vmci".

2017-08-04T15:34:55.927-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-08-04T15:34:55.927-10:00| vthread-4| I125: Invoking modinfo on "vsock".

2017-08-04T15:34:55.929-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2017-08-04T15:34:55.937-10:00| vthread-4| I125: to be installed: vmnet status: 0

2017-08-04T15:34:55.947-10:00| vthread-4| I125: Obtaining info using the running kernel.

2017-08-04T15:34:55.947-10:00| vthread-4| I125: Setting header path for 3.10.0-693.el7.x86_64 to "/lib/modules/3.10.0-693.el7.x86_64/build/include".

2017-08-04T15:34:55.947-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-04T15:34:55.947-10:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h

2017-08-04T15:34:55.947-10:00| vthread-4| I125: /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-08-04T15:34:55.947-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-04T15:34:55.952-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-04T15:34:55.952-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-04T15:34:56.078-10:00| vthread-4| I125: found symbol version file /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers

2017-08-04T15:34:56.078-10:00| vthread-4| I125: Reading symbol versions from /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers.

2017-08-04T15:34:56.092-10:00| vthread-4| I125: Read 16054 symbol versions

2017-08-04T15:34:56.092-10:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/3.10.0-693.el7.x86_64/build/include

2017-08-04T15:34:56.092-10:00| vthread-4| I125: Update kernel header path to /lib/modules/3.10.0-693.el7.x86_64/build/include

2017-08-04T15:34:56.092-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-04T15:34:56.092-10:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h

2017-08-04T15:34:56.092-10:00| vthread-4| I125: /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-08-04T15:34:56.092-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-04T15:34:56.098-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-04T15:34:56.098-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-04T15:34:56.099-10:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"

2017-08-04T15:34:56.102-10:00| vthread-4| I125: Got gcc version "4.8.5".

2017-08-04T15:34:56.102-10:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-08-04T15:34:56.102-10:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".

2017-08-04T15:34:56.104-10:00| vthread-4| I125: Got gcc version "4.8.5".

2017-08-04T15:34:56.104-10:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-08-04T15:34:56.105-10:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "3.10.0-693.el7.x86_64".

2017-08-04T15:34:56.105-10:00| vthread-4| I125: No matching PBM set was found for kernel "3.10.0-693.el7.x86_64".

2017-08-04T15:34:56.105-10:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-08-04T15:34:56.105-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-04T15:34:56.105-10:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h

2017-08-04T15:34:56.105-10:00| vthread-4| I125: /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-08-04T15:34:56.105-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-04T15:34:56.111-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-04T15:34:56.111-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-04T15:34:56.112-10:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-08-04T15:34:56.112-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-04T15:34:56.112-10:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h

2017-08-04T15:34:56.112-10:00| vthread-4| I125: /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-08-04T15:34:56.112-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-04T15:34:56.117-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-04T15:34:56.117-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-04T15:34:56.117-10:00| vthread-4| I125: Using temp dir "/tmp".

2017-08-04T15:34:56.118-10:00| vthread-4| I125: Obtaining info using the running kernel.

2017-08-04T15:34:56.118-10:00| vthread-4| I125: Setting header path for 3.10.0-693.el7.x86_64 to "/lib/modules/3.10.0-693.el7.x86_64/build/include".

2017-08-04T15:34:56.118-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-04T15:34:56.118-10:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h

2017-08-04T15:34:56.118-10:00| vthread-4| I125: /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-08-04T15:34:56.118-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-04T15:34:56.123-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-04T15:34:56.123-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-04T15:34:56.246-10:00| vthread-4| I125: found symbol version file /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers

2017-08-04T15:34:56.246-10:00| vthread-4| I125: Reading symbol versions from /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers.

2017-08-04T15:34:56.260-10:00| vthread-4| I125: Read 16054 symbol versions

2017-08-04T15:34:56.260-10:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-08-04T15:34:56.262-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-08-04T15:34:56.430-10:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/3.10.0-693.el7.x86_64/misc/vmnet.ko".

2017-08-04T15:34:56.430-10:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

2017-08-04T15:34:56.436-10:00| vthread-4| I125: Successfully extracted the vmnet source.

2017-08-04T15:34:56.437-10:00| vthread-4| I125: Building module with command "/usr/bin/make -j12 -C /tmp/modconfig-KMc5lV/vmnet-only auto-build HEADER_DIR=/lib/modules/3.10.0-693.el7.x86_64/build/include CC=/usr/bin/gcc IS_GCC_3=no"

2017-08-04T15:34:57.627-10:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.

2017-08-04T15:37:18.351-10:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-08-04T15:37:18.351-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-04T15:37:18.351-10:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h

2017-08-04T15:37:18.351-10:00| vthread-4| I125: /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-08-04T15:37:18.351-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-04T15:37:18.366-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-04T15:37:18.366-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-04T15:37:18.367-10:00| vthread-4| I125: Using temp dir "/tmp".

2017-08-04T15:37:18.368-10:00| vthread-4| I125: Obtaining info using the running kernel.

2017-08-04T15:37:18.368-10:00| vthread-4| I125: Setting header path for 3.10.0-693.el7.x86_64 to "/lib/modules/3.10.0-693.el7.x86_64/build/include".

2017-08-04T15:37:18.368-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-04T15:37:18.368-10:00| vthread-4| I125: Failed to find /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h

2017-08-04T15:37:18.368-10:00| vthread-4| I125: /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-08-04T15:37:18.368-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-04T15:37:18.382-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-04T15:37:18.382-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-04T15:37:18.565-10:00| vthread-4| I125: found symbol version file /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers

2017-08-04T15:37:18.565-10:00| vthread-4| I125: Reading symbol versions from /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers.

2017-08-04T15:37:18.592-10:00| vthread-4| I125: Read 16054 symbol versions

2017-08-04T15:37:18.592-10:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-08-04T15:37:18.595-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-08-04T15:37:18.812-10:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/3.10.0-693.el7.x86_64/misc/vmnet.ko".

2017-08-04T15:37:18.812-10:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

2017-08-04T15:37:18.822-10:00| vthread-4| I125: Successfully extracted the vmnet source.

2017-08-04T15:37:18.822-10:00| vthread-4| I125: Building module with command "/usr/bin/make -j12 -C /tmp/modconfig-6BiJQy/vmnet-only auto-build HEADER_DIR=/lib/modules/3.10.0-693.el7.x86_64/build/include CC=/usr/bin/gcc IS_GCC_3=no"

2017-08-04T15:37:20.063-10:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.

Any advise would be very welcome,

Marek

---------

VMware workstation:

# vmware -v

VMware Workstation 12.5.7 build-5813279

(did try version 12.5.0 as well I used to have working on older kernel before new system install)

Host:

Red Hat Enterprise Linux 7 workstation

# uname -r

3.10.0-693.el7.x86_64

Reply
0 Kudos
1 Solution
3 Replies
EEUSNZ
Contributor
Contributor
Jump to solution

Still no luck.

Noticed  in the log above: Failed to find /lib/modules/3.10.0-693.el7.x86_64/build/include/linux/version.h

So copied version.h from /usr/include/linux to the directory where it was missing based on the log.

Starting vmware workstation, vmnet still fails to build:

2017-08-07T08:42:26.358-10:00| vthread-4| I125: Log for VMware Workstation pid=16817 version=12.5.7 build=build-5813279 option=Release

2017-08-07T08:42:26.358-10:00| vthread-4| I125: The process is 64-bit.

2017-08-07T08:42:26.358-10:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8

2017-08-07T08:42:26.358-10:00| vthread-4| I125: Host is Linux 3.10.0-693.el7.x86_64 Red Hat Enterprise Linux Workstation release 7.4 (Maipo)

2017-08-07T08:42:26.357-10:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.

2017-08-07T08:42:26.357-10:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2017-08-07T08:42:26.357-10:00| vthread-4| I125: DictionaryLoad: Cannot open file "/home/marek/.vmware/config": No such file or directory.

2017-08-07T08:42:26.357-10:00| vthread-4| I125: PREF Optional preferences file not found at /home/marek/.vmware/config. Using default values.

2017-08-07T08:42:26.357-10:00| vthread-4| I125: PREF Unable to check permissions for preferences file.

2017-08-07T08:42:26.357-10:00| vthread-4| I125: DictionaryLoad: Cannot open file "/home/marek/.vmware/preferences": No such file or directory.

2017-08-07T08:42:26.357-10:00| vthread-4| I125: PREF Failed to load user preferences.

2017-08-07T08:42:26.360-10:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-16817.log

2017-08-07T08:42:26.365-10:00| vthread-4| I125: Obtaining info using the running kernel.

2017-08-07T08:42:26.365-10:00| vthread-4| I125: Created new pathsHash.

2017-08-07T08:42:26.365-10:00| vthread-4| I125: Setting header path for 3.10.0-693.el7.x86_64 to "/lib/modules/3.10.0-693.el7.x86_64/build/include".

2017-08-07T08:42:26.365-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.365-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-07T08:42:26.371-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.371-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-07T08:42:26.491-10:00| vthread-4| I125: found symbol version file /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers

2017-08-07T08:42:26.491-10:00| vthread-4| I125: Reading symbol versions from /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers.

2017-08-07T08:42:26.504-10:00| vthread-4| I125: Read 16054 symbol versions

2017-08-07T08:42:26.504-10:00| vthread-4| I125: Reading in info for the vmmon module.

2017-08-07T08:42:26.504-10:00| vthread-4| I125: Reading in info for the vmnet module.

2017-08-07T08:42:26.504-10:00| vthread-4| I125: Reading in info for the vmblock module.

2017-08-07T08:42:26.504-10:00| vthread-4| I125: Reading in info for the vmci module.

2017-08-07T08:42:26.504-10:00| vthread-4| I125: Reading in info for the vsock module.

2017-08-07T08:42:26.504-10:00| vthread-4| I125: Setting vsock to depend on vmci.

2017-08-07T08:42:26.505-10:00| vthread-4| I125: Invoking modinfo on "vmmon".

2017-08-07T08:42:26.506-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2017-08-07T08:42:26.506-10:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-08-07T08:42:26.508-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-08-07T08:42:26.508-10:00| vthread-4| I125: Invoking modinfo on "vmblock".

2017-08-07T08:42:26.510-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-08-07T08:42:26.510-10:00| vthread-4| I125: Invoking modinfo on "vmci".

2017-08-07T08:42:26.512-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-08-07T08:42:26.512-10:00| vthread-4| I125: Invoking modinfo on "vsock".

2017-08-07T08:42:26.515-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2017-08-07T08:42:26.523-10:00| vthread-4| I125: to be installed: vmnet status: 0

2017-08-07T08:42:26.533-10:00| vthread-4| I125: Obtaining info using the running kernel.

2017-08-07T08:42:26.533-10:00| vthread-4| I125: Setting header path for 3.10.0-693.el7.x86_64 to "/lib/modules/3.10.0-693.el7.x86_64/build/include".

2017-08-07T08:42:26.533-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.533-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-07T08:42:26.539-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.539-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-07T08:42:26.662-10:00| vthread-4| I125: found symbol version file /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers

2017-08-07T08:42:26.662-10:00| vthread-4| I125: Reading symbol versions from /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers.

2017-08-07T08:42:26.675-10:00| vthread-4| I125: Read 16054 symbol versions

2017-08-07T08:42:26.675-10:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/3.10.0-693.el7.x86_64/build/include

2017-08-07T08:42:26.675-10:00| vthread-4| I125: Update kernel header path to /lib/modules/3.10.0-693.el7.x86_64/build/include

2017-08-07T08:42:26.675-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.675-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-07T08:42:26.683-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.683-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-07T08:42:26.683-10:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"

2017-08-07T08:42:26.687-10:00| vthread-4| I125: Got gcc version "4.8.5".

2017-08-07T08:42:26.687-10:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-08-07T08:42:26.687-10:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".

2017-08-07T08:42:26.690-10:00| vthread-4| I125: Got gcc version "4.8.5".

2017-08-07T08:42:26.690-10:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-08-07T08:42:26.691-10:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.691-10:00| vthread-4| I125: No matching PBM set was found for kernel "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.691-10:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-08-07T08:42:26.691-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.691-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-07T08:42:26.698-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.698-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-07T08:42:26.698-10:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-08-07T08:42:26.698-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.698-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-07T08:42:26.704-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.704-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-07T08:42:26.704-10:00| vthread-4| I125: Using temp dir "/tmp".

2017-08-07T08:42:26.705-10:00| vthread-4| I125: Obtaining info using the running kernel.

2017-08-07T08:42:26.705-10:00| vthread-4| I125: Setting header path for 3.10.0-693.el7.x86_64 to "/lib/modules/3.10.0-693.el7.x86_64/build/include".

2017-08-07T08:42:26.705-10:00| vthread-4| I125: Validating path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for kernel release "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.705-10:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2017-08-07T08:42:26.711-10:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "3.10.0-693.el7.x86_64".

2017-08-07T08:42:26.711-10:00| vthread-4| I125: The header path "/lib/modules/3.10.0-693.el7.x86_64/build/include" for the kernel "3.10.0-693.el7.x86_64" is valid.  Whoohoo!

2017-08-07T08:42:26.834-10:00| vthread-4| I125: found symbol version file /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers

2017-08-07T08:42:26.834-10:00| vthread-4| I125: Reading symbol versions from /lib/modules/3.10.0-693.el7.x86_64/build/Module.symvers.

2017-08-07T08:42:26.846-10:00| vthread-4| I125: Read 16054 symbol versions

2017-08-07T08:42:26.846-10:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-08-07T08:42:26.848-10:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-08-07T08:42:26.903-10:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/3.10.0-693.el7.x86_64/misc/vmnet.ko".

2017-08-07T08:42:26.903-10:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

2017-08-07T08:42:26.909-10:00| vthread-4| I125: Successfully extracted the vmnet source.

2017-08-07T08:42:26.909-10:00| vthread-4| I125: Building module with command "/usr/bin/make -j12 -C /tmp/modconfig-un1uhj/vmnet-only auto-build HEADER_DIR=/lib/modules/3.10.0-693.el7.x86_64/build/include CC=/usr/bin/gcc IS_GCC_3=no"

2017-08-07T08:42:28.069-10:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.

---------------------------------

OR

-----------------------------

when vmware is executed from command line as root:

(vmware-modconfig:17964): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier `direction', expected character `}'

(vmware-modconfig:17964): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant

Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory

Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

Stopping vmware (via systemctl):                           [  OK  ]

Using kernel build system.

make: Entering directory `/tmp/modconfig-BevB4a/vmnet-only'

/usr/bin/make -C /lib/modules/3.10.0-693.el7.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/kernels/3.10.0-693.el7.x86_64'

  CC [M]  /tmp/modconfig-BevB4a/vmnet-only/driver.o

  CC [M]  /tmp/modconfig-BevB4a/vmnet-only/hub.o

  CC [M]  /tmp/modconfig-BevB4a/vmnet-only/userif.o

  CC [M]  /tmp/modconfig-BevB4a/vmnet-only/netif.o

  CC [M]  /tmp/modconfig-BevB4a/vmnet-only/bridge.o

  CC [M]  /tmp/modconfig-BevB4a/vmnet-only/smac_compat.o

  CC [M]  /tmp/modconfig-BevB4a/vmnet-only/procfs.o

  CC [M]  /tmp/modconfig-BevB4a/vmnet-only/smac.o

  CC [M]  /tmp/modconfig-BevB4a/vmnet-only/vnetEvent.o

  CC [M]  /tmp/modconfig-BevB4a/vmnet-only/vnetUserListener.o

In file included from /tmp/modconfig-BevB4a/vmnet-only/net.h:38:0,

                 from /tmp/modconfig-BevB4a/vmnet-only/vnetInt.h:26,

                 from /tmp/modconfig-BevB4a/vmnet-only/bridge.c:52:

/tmp/modconfig-BevB4a/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined [enabled by default]

#define PCI_VENDOR_ID_VMWARE                    0x15AD

^

In file included from include/linux/pci.h:35:0,

                 from /tmp/modconfig-BevB4a/vmnet-only/compat_netdevice.h:27,

                 from /tmp/modconfig-BevB4a/vmnet-only/bridge.c:51:

include/linux/pci_ids.h:2251:0: note: this is the location of the previous definition

#define PCI_VENDOR_ID_VMWARE  0x15ad

^

In file included from include/linux/pci.h:35:0,

                 from /tmp/modconfig-BevB4a/vmnet-only/compat_netdevice.h:27,

                 from /tmp/modconfig-BevB4a/vmnet-only/netif.c:43:

include/linux/pci_ids.h:2251:0: warning: "PCI_VENDOR_ID_VMWARE" redefined [enabled by default]

#define PCI_VENDOR_ID_VMWARE  0x15ad

^

In file included from /tmp/modconfig-BevB4a/vmnet-only/net.h:38:0,

                 from /tmp/modconfig-BevB4a/vmnet-only/vnetInt.h:26,

                 from /tmp/modconfig-BevB4a/vmnet-only/netif.c:42:

/tmp/modconfig-BevB4a/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition

#define PCI_VENDOR_ID_VMWARE                    0x15AD

^

In file included from /tmp/modconfig-BevB4a/vmnet-only/netif.c:43:0:

/tmp/modconfig-BevB4a/vmnet-only/netif.c: In function ‘VNetNetifStartXmit’:

/tmp/modconfig-BevB4a/vmnet-only/compat_netdevice.h:343:46: error: ‘struct net_device’ has no member named ‘trans_start’

#define compat_netif_trans_update(d) do { (d)->trans_start = jiffies; } while (0)

                                              ^

/tmp/modconfig-BevB4a/vmnet-only/netif.c:468:4: note: in expansion of macro ‘compat_netif_trans_update’

    compat_netif_trans_update(dev);

    ^

make[2]: *** [/tmp/modconfig-BevB4a/vmnet-only/netif.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[1]: *** [_module_/tmp/modconfig-BevB4a/vmnet-only] Error 2

make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.el7.x86_64'

make: *** [vmnet.ko] Error 2

make: Leaving directory `/tmp/modconfig-BevB4a/vmnet-only'

Starting vmware (via systemctl):  Job for vmware.service failed because the control process exited with error code. See "systemctl status vmware.service" and "journalctl -xe" for details.

                                                           [FAILED]

any advice?

Marek

Reply
0 Kudos
EEUSNZ
Contributor
Contributor
Jump to solution

Thank you, thank you, thank you and the original poster!

After following the guidelines in the post, everything worked perfect:

sudo vmware-modconfig --console --install-all

Stopping vmware (via systemctl):                           [  OK  ]

Using kernel build system.

make: Entering directory `/tmp/modconfig-akRJnx/vmmon-only'

/bin/make -C /lib/modules/3.10.0-693.el7.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/kernels/3.10.0-693.el7.x86_64'

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/linux/driverLog.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/linux/driver.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/linux/hostif.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/common/memtrack.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/common/apic.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/common/hashFunc.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/common/vmx86.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/common/cpuid.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/common/comport.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/common/task.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/common/phystrack.o

  CC [M]  /tmp/modconfig-akRJnx/vmmon-only/vmcore/moduleloop.o

/tmp/modconfig-akRJnx/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()

/tmp/modconfig-akRJnx/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()

/tmp/modconfig-akRJnx/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()

/tmp/modconfig-akRJnx/vmmon-only/linux/driver.c:1291:1: warning: always_inline function might not be inlinable [-Wattributes]

LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min

^

/tmp/modconfig-akRJnx/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section

  LD [M]  /tmp/modconfig-akRJnx/vmmon-only/vmmon.o

  Building modules, stage 2.

  MODPOST 1 modules

  CC      /tmp/modconfig-akRJnx/vmmon-only/vmmon.mod.o

  LD [M]  /tmp/modconfig-akRJnx/vmmon-only/vmmon.ko

make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.el7.x86_64'

/bin/make -C $PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= postbuild

make[1]: Entering directory `/tmp/modconfig-akRJnx/vmmon-only'

make[1]: `postbuild' is up to date.

make[1]: Leaving directory `/tmp/modconfig-akRJnx/vmmon-only'

cp -f vmmon.ko ./../vmmon.o

make: Leaving directory `/tmp/modconfig-akRJnx/vmmon-only'

Using kernel build system.

make: Entering directory `/tmp/modconfig-akRJnx/vmnet-only'

/bin/make -C /lib/modules/3.10.0-693.el7.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/kernels/3.10.0-693.el7.x86_64'

  CC [M]  /tmp/modconfig-akRJnx/vmnet-only/driver.o

  CC [M]  /tmp/modconfig-akRJnx/vmnet-only/hub.o

  CC [M]  /tmp/modconfig-akRJnx/vmnet-only/userif.o

  CC [M]  /tmp/modconfig-akRJnx/vmnet-only/netif.o

  CC [M]  /tmp/modconfig-akRJnx/vmnet-only/bridge.o

  CC [M]  /tmp/modconfig-akRJnx/vmnet-only/procfs.o

  CC [M]  /tmp/modconfig-akRJnx/vmnet-only/smac_compat.o

  CC [M]  /tmp/modconfig-akRJnx/vmnet-only/smac.o

  CC [M]  /tmp/modconfig-akRJnx/vmnet-only/vnetEvent.o

  CC [M]  /tmp/modconfig-akRJnx/vmnet-only/vnetUserListener.o

In file included from /tmp/modconfig-akRJnx/vmnet-only/net.h:38:0,

                 from /tmp/modconfig-akRJnx/vmnet-only/vnetInt.h:26,

                 from /tmp/modconfig-akRJnx/vmnet-only/bridge.c:52:

/tmp/modconfig-akRJnx/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined [enabled by default]

#define PCI_VENDOR_ID_VMWARE                    0x15AD

^

In file included from include/linux/pci.h:35:0,

                 from /tmp/modconfig-akRJnx/vmnet-only/compat_netdevice.h:27,

                 from /tmp/modconfig-akRJnx/vmnet-only/bridge.c:51:

include/linux/pci_ids.h:2251:0: note: this is the location of the previous definition

#define PCI_VENDOR_ID_VMWARE  0x15ad

^

In file included from include/linux/pci.h:35:0,

                 from /tmp/modconfig-akRJnx/vmnet-only/compat_netdevice.h:27,

                 from /tmp/modconfig-akRJnx/vmnet-only/netif.c:43:

include/linux/pci_ids.h:2251:0: warning: "PCI_VENDOR_ID_VMWARE" redefined [enabled by default]

#define PCI_VENDOR_ID_VMWARE  0x15ad

^

In file included from /tmp/modconfig-akRJnx/vmnet-only/net.h:38:0,

                 from /tmp/modconfig-akRJnx/vmnet-only/vnetInt.h:26,

                 from /tmp/modconfig-akRJnx/vmnet-only/netif.c:42:

/tmp/modconfig-akRJnx/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition

#define PCI_VENDOR_ID_VMWARE                    0x15AD

^

  LD [M]  /tmp/modconfig-akRJnx/vmnet-only/vmnet.o

  Building modules, stage 2.

  MODPOST 1 modules

  CC      /tmp/modconfig-akRJnx/vmnet-only/vmnet.mod.o

  LD [M]  /tmp/modconfig-akRJnx/vmnet-only/vmnet.ko

make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.el7.x86_64'

/bin/make -C $PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= postbuild

make[1]: Entering directory `/tmp/modconfig-akRJnx/vmnet-only'

make[1]: `postbuild' is up to date.

make[1]: Leaving directory `/tmp/modconfig-akRJnx/vmnet-only'

cp -f vmnet.ko ./../vmnet.o

make: Leaving directory `/tmp/modconfig-akRJnx/vmnet-only'

Starting vmware (via systemctl):                           [  OK  ]

It runs now,

thank you,

Marek

Reply
0 Kudos