VMware Communities
mike_basinger
Contributor
Contributor

VMWare Workstation not working Fedora 25

Fedora 25 just updated to Kernel 4.9, and VMware Workstation 12.5.2 no longer works. Any idea when I fix will be available, or does anyone know a work around.

Error log:

017-01-15T10:55:28.845-07:00| vthread-4| I125: Log for VMware Workstation pid=3006 version=12.5.2 build=build-4638234 option=Release

2017-01-15T10:55:28.845-07:00| vthread-4| I125: The process is 64-bit.

2017-01-15T10:55:28.845-07:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8

2017-01-15T10:55:28.845-07:00| vthread-4| I125: Host is Linux 4.9.3-200.fc25.x86_64 Fedora release 25 (Twenty Five)

2017-01-15T10:55:28.844-07:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.

2017-01-15T10:55:28.844-07:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2017-01-15T10:55:28.845-07:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.

2017-01-15T10:55:28.845-07:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.

2017-01-15T10:55:28.859-07:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-3006.log

2017-01-15T10:55:28.885-07:00| vthread-4| I125: Obtaining info using the running kernel.

2017-01-15T10:55:28.886-07:00| vthread-4| I125: Created new pathsHash.

2017-01-15T10:55:28.886-07:00| vthread-4| I125: Setting header path for 4.9.3-200.fc25.x86_64 to "/lib/modules/4.9.3-200.fc25.x86_64/build/i

nclude".

2017-01-15T10:55:28.886-07:00| vthread-4| I125: Validating path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for kernel release "4.9.3

-200.fc25.x86_64".

2017-01-15T10:55:28.887-07:00| vthread-4| I125: Failed to find /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h

2017-01-15T10:55:28.887-07:00| vthread-4| I125: /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h not found, looking for gene

rated/uapi/linux/version.h instead.

2017-01-15T10:55:28.888-07:00| vthread-4| I125: using /bin/gcc for preprocess check

2017-01-15T10:55:28.917-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.3-200.fc25.x86_64".

2017-01-15T10:55:28.917-07:00| vthread-4| I125: The header path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for the kernel "4.9.3-200

.fc25.x86_64" is valid.  Whoohoo!

2017-01-15T10:55:29.032-07:00| vthread-4| I125: found symbol version file /lib/modules/4.9.3-200.fc25.x86_64/build/Module.symvers

2017-01-15T10:55:29.032-07:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.3-200.fc25.x86_64/build/Module.symvers.

2017-01-15T10:55:29.046-07:00| vthread-4| I125: Read 17890 symbol versions

2017-01-15T10:55:29.048-07:00| vthread-4| I125: Reading in info for the vmmon module.

2017-01-15T10:55:29.048-07:00| vthread-4| I125: Reading in info for the vmnet module.

2017-01-15T10:55:29.048-07:00| vthread-4| I125: Reading in info for the vmblock module.

2017-01-15T10:55:29.048-07:00| vthread-4| I125: Reading in info for the vmci module.

2017-01-15T10:55:29.048-07:00| vthread-4| I125: Reading in info for the vsock module.

2017-01-15T10:55:29.048-07:00| vthread-4| I125: Setting vsock to depend on vmci.

2017-01-15T10:55:29.048-07:00| vthread-4| I125: Invoking modinfo on "vmmon".

2017-01-15T10:55:29.050-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-01-15T10:55:29.050-07:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-01-15T10:55:29.051-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-01-15T10:55:29.051-07:00| vthread-4| I125: Invoking modinfo on "vmblock".

2017-01-15T10:55:29.052-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-01-15T10:55:29.052-07:00| vthread-4| I125: Invoking modinfo on "vmci".

2017-01-15T10:55:29.053-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-01-15T10:55:29.053-07:00| vthread-4| I125: Invoking modinfo on "vsock".

2017-01-15T10:55:29.056-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2017-01-15T10:55:29.065-07:00| vthread-4| I125: to be installed: vmmon status: 0

2017-01-15T10:55:29.065-07:00| vthread-4| I125: to be installed: vmnet status: 0

2017-01-15T10:55:29.081-07:00| vthread-4| I125: Obtaining info using the running kernel.

2017-01-15T10:55:29.082-07:00| vthread-4| I125: Setting header path for 4.9.3-200.fc25.x86_64 to "/lib/modules/4.9.3-200.fc25.x86_64/build/i

nclude".

2017-01-15T10:55:29.082-07:00| vthread-4| I125: Validating path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for kernel release "4.9.3

-200.fc25.x86_64".

2017-01-15T10:55:29.082-07:00| vthread-4| I125: Failed to find /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h

2017-01-15T10:55:29.082-07:00| vthread-4| I125: /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h not found, looking for gene

rated/uapi/linux/version.h instead.

2017-01-15T10:55:29.082-07:00| vthread-4| I125: using /bin/gcc for preprocess check

2017-01-15T10:55:29.087-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.3-200.fc25.x86_64".

2017-01-15T10:55:29.087-07:00| vthread-4| I125: The header path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for the kernel "4.9.3-200

.fc25.x86_64" is valid.  Whoohoo!

2017-01-15T10:55:29.200-07:00| vthread-4| I125: found symbol version file /lib/modules/4.9.3-200.fc25.x86_64/build/Module.symvers

2017-01-15T10:55:29.200-07:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.3-200.fc25.x86_64/build/Module.symvers.

2017-01-15T10:55:29.213-07:00| vthread-4| I125: Read 17890 symbol versions

2017-01-15T10:55:29.213-07:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.9.3-200.fc25.x86_64/build/includ

e

2017-01-15T10:55:29.213-07:00| vthread-4| I125: Update kernel header path to /lib/modules/4.9.3-200.fc25.x86_64/build/include

2017-01-15T10:55:29.213-07:00| vthread-4| I125: Validating path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for kernel release "4.9.3

-200.fc25.x86_64".

2017-01-15T10:55:29.213-07:00| vthread-4| I125: Failed to find /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h

2017-01-15T10:55:29.213-07:00| vthread-4| I125: /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h not found, looking for gene

rated/uapi/linux/version.h instead.

2017-01-15T10:55:29.213-07:00| vthread-4| I125: using /bin/gcc for preprocess check

2017-01-15T10:55:29.218-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.3-200.fc25.x86_64".

2017-01-15T10:55:29.218-07:00| vthread-4| I125: The header path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for the kernel "4.9.3-200

.fc25.x86_64" is valid.  Whoohoo!

2017-01-15T10:55:29.219-07:00| vthread-4| I125: Found compiler at "/bin/gcc"

2017-01-15T10:55:29.221-07:00| vthread-4| I125: Got gcc version "6.3.1".

2017-01-15T10:55:29.221-07:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-01-15T10:55:29.221-07:00| vthread-4| I125: Using user supplied compiler "/bin/gcc".

2017-01-15T10:55:29.223-07:00| vthread-4| I125: Got gcc version "6.3.1".

2017-01-15T10:55:29.223-07:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-01-15T10:55:29.224-07:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "4.9.3-200.fc25.x86_64".

2017-01-15T10:55:29.224-07:00| vthread-4| I125: No matching PBM set was found for kernel "4.9.3-200.fc25.x86_64".

2017-01-15T10:55:29.225-07:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-01-15T10:55:29.225-07:00| vthread-4| I125: Validating path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for kernel release "4.9.3

-200.fc25.x86_64".

2017-01-15T10:55:29.225-07:00| vthread-4| I125: Failed to find /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h

2017-01-15T10:55:29.225-07:00| vthread-4| I125: /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h not found, looking for gene

rated/uapi/linux/version.h instead.

2017-01-15T10:55:29.225-07:00| vthread-4| I125: using /bin/gcc for preprocess check

2017-01-15T10:55:29.230-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.3-200.fc25.x86_64".

2017-01-15T10:55:29.230-07:00| vthread-4| I125: The header path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for the kernel "4.9.3-200

.fc25.x86_64" is valid.  Whoohoo!

2017-01-15T10:55:29.231-07:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-01-15T10:55:29.231-07:00| vthread-4| I125: Validating path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for kernel release "4.9.3

-200.fc25.x86_64".

2017-01-15T10:55:29.231-07:00| vthread-4| I125: Failed to find /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h

2017-01-15T10:55:29.231-07:00| vthread-4| I125: /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h not found, looking for gene

rated/uapi/linux/version.h instead.

2017-01-15T10:55:29.231-07:00| vthread-4| I125: using /bin/gcc for preprocess check

2017-01-15T10:55:29.236-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.3-200.fc25.x86_64".

2017-01-15T10:55:29.236-07:00| vthread-4| I125: The header path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for the kernel "4.9.3-200

.fc25.x86_64" is valid.  Whoohoo!

2017-01-15T10:55:29.236-07:00| vthread-4| I125: Using temp dir "/tmp".

2017-01-15T10:55:29.237-07:00| vthread-4| I125: Obtaining info using the running kernel.

2017-01-15T10:55:29.237-07:00| vthread-4| I125: Setting header path for 4.9.3-200.fc25.x86_64 to "/lib/modules/4.9.3-200.fc25.x86_64/build/i

nclude".

2017-01-15T10:55:29.237-07:00| vthread-4| I125: Validating path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for kernel release "4.9.3

-200.fc25.x86_64".

2017-01-15T10:55:29.237-07:00| vthread-4| I125: Failed to find /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h

2017-01-15T10:55:29.237-07:00| vthread-4| I125: /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h not found, looking for gene

rated/uapi/linux/version.h instead.

2017-01-15T10:55:29.237-07:00| vthread-4| I125: using /bin/gcc for preprocess check

2017-01-15T10:55:29.243-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.3-200.fc25.x86_64".

2017-01-15T10:55:29.243-07:00| vthread-4| I125: The header path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for the kernel "4.9.3-200

.fc25.x86_64" is valid.  Whoohoo!

2017-01-15T10:55:29.357-07:00| vthread-4| I125: found symbol version file /lib/modules/4.9.3-200.fc25.x86_64/build/Module.symvers

2017-01-15T10:55:29.357-07:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.3-200.fc25.x86_64/build/Module.symvers.

2017-01-15T10:55:29.370-07:00| vthread-4| I125: Read 17890 symbol versions

2017-01-15T10:55:29.370-07:00| vthread-4| I125: Invoking modinfo on "vmmon".

2017-01-15T10:55:29.372-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-01-15T10:55:29.372-07:00| vthread-4| I125: Invoking modinfo on "vmnet".

2017-01-15T10:55:29.373-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2017-01-15T10:55:29.421-07:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.9.3-200.fc25.x86_64/misc/vmmon.ko".

2017-01-15T10:55:29.422-07:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".

2017-01-15T10:55:29.430-07:00| vthread-4| I125: Successfully extracted the vmmon source.

2017-01-15T10:55:29.430-07:00| vthread-4| I125: Building module with command "/bin/make -j4 -C /tmp/modconfig-dvdzet/vmmon-only auto-build H

EADER_DIR=/lib/modules/4.9.3-200.fc25.x86_64/build/include CC=/bin/gcc IS_GCC_3=no"

2017-01-15T10:55:31.013-07:00| vthread-4| W115: Failed to build vmmon.  Failed to execute the build command.

2017-01-15T10:55:31.014-07:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.9.3-200.fc25.x86_64/misc/vmnet.ko".

2017-01-15T10:55:31.014-07:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

2017-01-15T10:55:31.019-07:00| vthread-4| I125: Successfully extracted the vmnet source.

2017-01-15T10:55:31.019-07:00| vthread-4| I125: Building module with command "/bin/make -j4 -C /tmp/modconfig-dvdzet/vmnet-only auto-build H

EADER_DIR=/lib/modules/4.9.3-200.fc25.x86_64/build/include CC=/bin/gcc IS_GCC_3=no"

2017-01-15T10:55:32.267-07:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.

9 Replies
wila
Immortal
Immortal

Hi,

Easiest workaround is to just boot to the previous kernel.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
dariusd
VMware Employee
VMware Employee

If you're up for re-packing some tarfiles that Workstation installs into /usr/lib/vmware/modules/source/ , take a look at the following post and see if it helps.  (I'll repeat the disclaimer from that post: I haven't yet tested the patch on Fedora 25 myself!)

Re: VMware Workstation 12.5.2 build-4638234 does not compile on Fedora 25 4.9.3-200.fc25.x86_64 #1 S...

Cheers,

--

Darius

Reply
0 Kudos
alexsandr1981
Contributor
Contributor

/usr/lib/vmware/modules/source


unpack:

vmmon.tar ( hostif.c )

vmnet.tar ( userif.c )
find all get_user_pages function. Remove one parameter before "ppage" or "&page"

pack it back.


all must work.


Or use mine patched in attachment

evensky
Contributor
Contributor

I can confirm that the attached equivalent patch (with -p1) seems to work on Debian Sid (linux-image-4.9.0-1-amd64  4.9.2-2).

Reply
0 Kudos
StarkWeave
Contributor
Contributor

This method worked for me on Fedora 25.

Reply
0 Kudos
matmatician
Contributor
Contributor

You're a saint among men, sir. Thank you!! Worked like a charm. :thumbsup: Works on Fedora 25 as of Jan. 25 2017

Reply
0 Kudos
focaccio
Enthusiast
Enthusiast

Thanks alexsandr1981 !

Worked for me on Fedora 25 with (with KDE) after fixing header problems also.

Reply
0 Kudos
saidakkas
Contributor
Contributor

worked for me, fantastic

Reply
0 Kudos
dariusd
VMware Employee
VMware Employee

Please note: This issue was fixed in VMware Workstation 12.5.3, which was released in early March.  If you are still encountering this particular failure, please upgrade your installation of VMware Workstation Pro/Player.  The updated versions of VMware Workstation Pro/Player also include important security fixes, so it's worth doing the upgrade.

Thanks,

--

Darius

Reply
0 Kudos