You are not logged in.

#1 2019-03-16 02:59:09

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

[Solved]VMware kernel module updater failing with kernel 5.0+

I am using VMware for work and each time I update, I find that VMWare has issues loading the modules vmmon and vmnet under kernel 5.0, 5.0,1 & 5.0.2

Here's the log when I updated to 5.0.2 :

2019-03-15T19:02:18.999-05:00| host-1049| I125: Log for VMware Workstation pid=1049 version=15.0.2 build=build-10952284 option=Release
2019-03-15T19:02:18.999-05:00| host-1049| I125: The process is 64-bit.
2019-03-15T19:02:18.999-05:00| host-1049| I125: Host codepage=UTF-8 encoding=UTF-8
2019-03-15T19:02:18.999-05:00| host-1049| I125: Host is Linux 5.0.2-arch1-1-ARCH Arch Linux 
2019-03-15T19:02:18.998-05:00| host-1049| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2019-03-15T19:02:18.998-05:00| host-1049| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2019-03-15T19:02:18.998-05:00| host-1049| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2019-03-15T19:02:18.998-05:00| host-1049| I125: DictionaryLoad: Cannot open file "/home/inxsible/.vmware/config": No such file or directory.
2019-03-15T19:02:18.998-05:00| host-1049| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/inxsible/.vmware/config": No such file or directory.
2019-03-15T19:02:18.998-05:00| host-1049| I125: PREF Optional preferences file not found at /home/inxsible/.vmware/config. Using default values.
2019-03-15T19:02:19.001-05:00| host-1049| W115: HostinfoReadDistroFile: Cannot work with empty file.
2019-03-15T19:02:19.001-05:00| host-1049| I125: HostinfoLsb: Error: no distro file found
2019-03-15T19:02:19.001-05:00| host-1049| W115: Logging to /tmp/vmware-root/vmware-1049.log
2019-03-15T19:02:19.037-05:00| host-1049| I125: Obtaining info using the running kernel.
2019-03-15T19:02:19.037-05:00| host-1049| I125: Created new pathsHash.
2019-03-15T19:02:19.037-05:00| host-1049| I125: Setting header path for 5.0.2-arch1-1-ARCH to "/lib/modules/5.0.2-arch1-1-ARCH/build/include".
2019-03-15T19:02:19.037-05:00| host-1049| I125: Validating path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for kernel release "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.037-05:00| host-1049| I125: Failed to find /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h
2019-03-15T19:02:19.037-05:00| host-1049| I125: /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-03-15T19:02:19.037-05:00| host-1049| I125: using /sbin/gcc for preprocess check
2019-03-15T19:02:19.043-05:00| host-1049| I125: Preprocessed UTS_RELEASE, got value "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.043-05:00| host-1049| I125: The header path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for the kernel "5.0.2-arch1-1-ARCH" is valid.  Whoohoo!
2019-03-15T19:02:19.197-05:00| host-1049| I125: found symbol version file /lib/modules/5.0.2-arch1-1-ARCH/build/Module.symvers
2019-03-15T19:02:19.197-05:00| host-1049| I125: Reading symbol versions from /lib/modules/5.0.2-arch1-1-ARCH/build/Module.symvers.
2019-03-15T19:02:19.216-05:00| host-1049| I125: Read 22968 symbol versions
2019-03-15T19:02:19.216-05:00| host-1049| I125: Reading in info for the vmmon module.
2019-03-15T19:02:19.216-05:00| host-1049| I125: Reading in info for the vmnet module.
2019-03-15T19:02:19.216-05:00| host-1049| I125: Reading in info for the vmci module.
2019-03-15T19:02:19.216-05:00| host-1049| I125: Reading in info for the vsock module.
2019-03-15T19:02:19.216-05:00| host-1049| I125: Setting vsock to depend on vmci.
2019-03-15T19:02:19.216-05:00| host-1049| I125: Invoking modinfo on "vmmon".
2019-03-15T19:02:19.218-05:00| host-1049| I125: "/sbin/modinfo" exited with status 256.
2019-03-15T19:02:19.218-05:00| host-1049| I125: Invoking modinfo on "vmnet".
2019-03-15T19:02:19.220-05:00| host-1049| I125: "/sbin/modinfo" exited with status 256.
2019-03-15T19:02:19.220-05:00| host-1049| I125: Invoking modinfo on "vmci".
2019-03-15T19:02:19.221-05:00| host-1049| I125: "/sbin/modinfo" exited with status 256.
2019-03-15T19:02:19.221-05:00| host-1049| I125: Invoking modinfo on "vsock".
2019-03-15T19:02:19.225-05:00| host-1049| I125: "/sbin/modinfo" exited with status 0.
2019-03-15T19:02:19.239-05:00| host-1049| I125: to be installed: vmmon status: 0
2019-03-15T19:02:19.239-05:00| host-1049| I125: to be installed: vmnet status: 0
2019-03-15T19:02:19.268-05:00| host-1049| I125: Obtaining info using the running kernel.
2019-03-15T19:02:19.268-05:00| host-1049| I125: Setting header path for 5.0.2-arch1-1-ARCH to "/lib/modules/5.0.2-arch1-1-ARCH/build/include".
2019-03-15T19:02:19.268-05:00| host-1049| I125: Validating path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for kernel release "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.268-05:00| host-1049| I125: Failed to find /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h
2019-03-15T19:02:19.268-05:00| host-1049| I125: /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-03-15T19:02:19.268-05:00| host-1049| I125: using /sbin/gcc for preprocess check
2019-03-15T19:02:19.274-05:00| host-1049| I125: Preprocessed UTS_RELEASE, got value "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.274-05:00| host-1049| I125: The header path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for the kernel "5.0.2-arch1-1-ARCH" is valid.  Whoohoo!
2019-03-15T19:02:19.425-05:00| host-1049| I125: found symbol version file /lib/modules/5.0.2-arch1-1-ARCH/build/Module.symvers
2019-03-15T19:02:19.425-05:00| host-1049| I125: Reading symbol versions from /lib/modules/5.0.2-arch1-1-ARCH/build/Module.symvers.
2019-03-15T19:02:19.443-05:00| host-1049| I125: Read 22968 symbol versions
2019-03-15T19:02:19.443-05:00| host-1049| I125: Kernel header path retrieved from FileEntry: /lib/modules/5.0.2-arch1-1-ARCH/build/include
2019-03-15T19:02:19.443-05:00| host-1049| I125: Update kernel header path to /lib/modules/5.0.2-arch1-1-ARCH/build/include
2019-03-15T19:02:19.443-05:00| host-1049| I125: Validating path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for kernel release "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.443-05:00| host-1049| I125: Failed to find /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h
2019-03-15T19:02:19.443-05:00| host-1049| I125: /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-03-15T19:02:19.443-05:00| host-1049| I125: using /sbin/gcc for preprocess check
2019-03-15T19:02:19.449-05:00| host-1049| I125: Preprocessed UTS_RELEASE, got value "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.449-05:00| host-1049| I125: The header path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for the kernel "5.0.2-arch1-1-ARCH" is valid.  Whoohoo!
2019-03-15T19:02:19.450-05:00| host-1049| I125: Found compiler at "/sbin/gcc"
2019-03-15T19:02:19.453-05:00| host-1049| I125: Got gcc version "8.2.1".
2019-03-15T19:02:19.453-05:00| host-1049| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-03-15T19:02:19.456-05:00| host-1049| I125: Got gcc version "8.2.1".
2019-03-15T19:02:19.456-05:00| host-1049| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-03-15T19:02:19.458-05:00| host-1049| I125: Trying to find a suitable PBM set for kernel "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.458-05:00| host-1049| I125: No matching PBM set was found for kernel "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.458-05:00| host-1049| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-03-15T19:02:19.458-05:00| host-1049| I125: Validating path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for kernel release "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.458-05:00| host-1049| I125: Failed to find /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h
2019-03-15T19:02:19.458-05:00| host-1049| I125: /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-03-15T19:02:19.458-05:00| host-1049| I125: using /sbin/gcc for preprocess check
2019-03-15T19:02:19.464-05:00| host-1049| I125: Preprocessed UTS_RELEASE, got value "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.464-05:00| host-1049| I125: The header path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for the kernel "5.0.2-arch1-1-ARCH" is valid.  Whoohoo!
2019-03-15T19:02:19.464-05:00| host-1049| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-03-15T19:02:19.464-05:00| host-1049| I125: Validating path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for kernel release "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.464-05:00| host-1049| I125: Failed to find /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h
2019-03-15T19:02:19.464-05:00| host-1049| I125: /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-03-15T19:02:19.464-05:00| host-1049| I125: using /sbin/gcc for preprocess check
2019-03-15T19:02:19.470-05:00| host-1049| I125: Preprocessed UTS_RELEASE, got value "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.470-05:00| host-1049| I125: The header path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for the kernel "5.0.2-arch1-1-ARCH" is valid.  Whoohoo!
2019-03-15T19:02:19.470-05:00| host-1049| I125: Using temp dir "/tmp".
2019-03-15T19:02:19.472-05:00| host-1049| I125: Obtaining info using the running kernel.
2019-03-15T19:02:19.472-05:00| host-1049| I125: Setting header path for 5.0.2-arch1-1-ARCH to "/lib/modules/5.0.2-arch1-1-ARCH/build/include".
2019-03-15T19:02:19.472-05:00| host-1049| I125: Validating path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for kernel release "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.472-05:00| host-1049| I125: Failed to find /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h
2019-03-15T19:02:19.472-05:00| host-1049| I125: /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-03-15T19:02:19.472-05:00| host-1049| I125: using /sbin/gcc for preprocess check
2019-03-15T19:02:19.478-05:00| host-1049| I125: Preprocessed UTS_RELEASE, got value "5.0.2-arch1-1-ARCH".
2019-03-15T19:02:19.478-05:00| host-1049| I125: The header path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for the kernel "5.0.2-arch1-1-ARCH" is valid.  Whoohoo!
2019-03-15T19:02:19.628-05:00| host-1049| I125: found symbol version file /lib/modules/5.0.2-arch1-1-ARCH/build/Module.symvers
2019-03-15T19:02:19.628-05:00| host-1049| I125: Reading symbol versions from /lib/modules/5.0.2-arch1-1-ARCH/build/Module.symvers.
2019-03-15T19:02:19.648-05:00| host-1049| I125: Read 22968 symbol versions
2019-03-15T19:02:19.648-05:00| host-1049| I125: Invoking modinfo on "vmmon".
2019-03-15T19:02:19.650-05:00| host-1049| I125: "/sbin/modinfo" exited with status 256.
2019-03-15T19:02:19.650-05:00| host-1049| I125: Invoking modinfo on "vmnet".
2019-03-15T19:02:19.652-05:00| host-1049| I125: "/sbin/modinfo" exited with status 256.
2019-03-15T19:02:20.078-05:00| host-1049| I125: Setting destination path for vmmon to "/lib/modules/5.0.2-arch1-1-ARCH/misc/vmmon.ko".
2019-03-15T19:02:20.084-05:00| host-1049| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2019-03-15T19:02:20.094-05:00| host-1049| I125: Successfully extracted the vmmon source.
2019-03-15T19:02:20.094-05:00| host-1049| I125: Building module with command "/sbin/make -j4 -C /tmp/modconfig-m2eb3o/vmmon-only auto-build HEADER_DIR=/lib/modules/5.0.2-arch1-1-ARCH/build/include CC=/sbin/gcc IS_GCC_3=no"
2019-03-15T19:02:22.081-05:00| host-1049| W115: Failed to build vmmon.  Failed to execute the build command.
2019-03-15T19:02:22.083-05:00| host-1049| I125: Setting destination path for vmnet to "/lib/modules/5.0.2-arch1-1-ARCH/misc/vmnet.ko".
2019-03-15T19:02:22.083-05:00| host-1049| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2019-03-15T19:02:22.088-05:00| host-1049| I125: Successfully extracted the vmnet source.
2019-03-15T19:02:22.088-05:00| host-1049| I125: Building module with command "/sbin/make -j4 -C /tmp/modconfig-m2eb3o/vmnet-only auto-build HEADER_DIR=/lib/modules/5.0.2-arch1-1-ARCH/build/include CC=/sbin/gcc IS_GCC_3=no"
2019-03-15T19:02:23.789-05:00| host-1049| W115: Failed to build vmnet.  Failed to execute the build command.
2019-03-15T21:38:15.425-05:00| host-1049| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-03-15T21:38:15.425-05:00| host-1049| I125: Validating path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for kernel release "5.0.2-arch1-1-ARCH".
2019-03-15T21:38:15.425-05:00| host-1049| I125: Failed to find /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h
2019-03-15T21:38:15.425-05:00| host-1049| I125: /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-03-15T21:38:15.425-05:00| host-1049| I125: using /sbin/gcc for preprocess check
2019-03-15T21:38:15.445-05:00| host-1049| I125: Preprocessed UTS_RELEASE, got value "5.0.2-arch1-1-ARCH".
2019-03-15T21:38:15.445-05:00| host-1049| I125: The header path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for the kernel "5.0.2-arch1-1-ARCH" is valid.  Whoohoo!
2019-03-15T21:38:15.446-05:00| host-1049| I125: Using temp dir "/tmp".
2019-03-15T21:38:15.450-05:00| host-1049| I125: Obtaining info using the running kernel.
2019-03-15T21:38:15.450-05:00| host-1049| I125: Setting header path for 5.0.2-arch1-1-ARCH to "/lib/modules/5.0.2-arch1-1-ARCH/build/include".
2019-03-15T21:38:15.450-05:00| host-1049| I125: Validating path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for kernel release "5.0.2-arch1-1-ARCH".
2019-03-15T21:38:15.450-05:00| host-1049| I125: Failed to find /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h
2019-03-15T21:38:15.450-05:00| host-1049| I125: /lib/modules/5.0.2-arch1-1-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-03-15T21:38:15.450-05:00| host-1049| I125: using /sbin/gcc for preprocess check
2019-03-15T21:38:15.457-05:00| host-1049| I125: Preprocessed UTS_RELEASE, got value "5.0.2-arch1-1-ARCH".
2019-03-15T21:38:15.457-05:00| host-1049| I125: The header path "/lib/modules/5.0.2-arch1-1-ARCH/build/include" for the kernel "5.0.2-arch1-1-ARCH" is valid.  Whoohoo!
2019-03-15T21:38:15.611-05:00| host-1049| I125: found symbol version file /lib/modules/5.0.2-arch1-1-ARCH/build/Module.symvers
2019-03-15T21:38:15.611-05:00| host-1049| I125: Reading symbol versions from /lib/modules/5.0.2-arch1-1-ARCH/build/Module.symvers.
2019-03-15T21:38:15.629-05:00| host-1049| I125: Read 22968 symbol versions
2019-03-15T21:38:15.629-05:00| host-1049| I125: Invoking modinfo on "vmmon".
2019-03-15T21:38:15.632-05:00| host-1049| I125: "/sbin/modinfo" exited with status 256.
2019-03-15T21:38:15.632-05:00| host-1049| I125: Invoking modinfo on "vmnet".
2019-03-15T21:38:15.634-05:00| host-1049| I125: "/sbin/modinfo" exited with status 256.
2019-03-15T21:38:15.979-05:00| host-1049| I125: Setting destination path for vmmon to "/lib/modules/5.0.2-arch1-1-ARCH/misc/vmmon.ko".
2019-03-15T21:38:15.979-05:00| host-1049| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2019-03-15T21:38:15.984-05:00| host-1049| I125: Successfully extracted the vmmon source.
2019-03-15T21:38:15.984-05:00| host-1049| I125: Building module with command "/sbin/make -j4 -C /tmp/modconfig-fi608T/vmmon-only auto-build HEADER_DIR=/lib/modules/5.0.2-arch1-1-ARCH/build/include CC=/sbin/gcc IS_GCC_3=no"
2019-03-15T21:38:17.788-05:00| host-1049| W115: Failed to build vmmon.  Failed to execute the build command.
2019-03-15T21:38:17.790-05:00| host-1049| I125: Setting destination path for vmnet to "/lib/modules/5.0.2-arch1-1-ARCH/misc/vmnet.ko".
2019-03-15T21:38:17.790-05:00| host-1049| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2019-03-15T21:38:17.793-05:00| host-1049| I125: Successfully extracted the vmnet source.
2019-03-15T21:38:17.793-05:00| host-1049| I125: Building module with command "/sbin/make -j4 -C /tmp/modconfig-fi608T/vmnet-only auto-build HEADER_DIR=/lib/modules/5.0.2-arch1-1-ARCH/build/include CC=/sbin/gcc IS_GCC_3=no"
2019-03-15T21:38:19.425-05:00| host-1049| W115: Failed to build vmnet.  Failed to execute the build command.

Once I downgrade back to 4.20.13, everything works as expected. Since this is a work machine, I can't be down for too long which is why for now I have put linux and linux-headers in IgnorePkg.

I found this link which talks about the same issue but that was from back in early 2018, so I am not sure if the same fix still applies and I didn't want to try something which will put my work machine out of commission for a long time.

Last edited by Inxsible (2019-04-01 19:22:31)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#2 2019-03-16 12:44:01

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,914

Re: [Solved]VMware kernel module updater failing with kernel 5.0+

Have you tried the patches for your workstation version and kernel 5.x from https://github.com/mkubecek/vmware-host … s/releases ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2019-03-20 17:54:05

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [Solved]VMware kernel module updater failing with kernel 5.0+

Sorry for the delayed reply.

I am not using workstation, but vmware-workstation-player. (I should have mentioned that in my original post).

I'll try a patch out and see if that works but before that, I am going to try a couple other possible solutions to see if they fix it for me:

https://kb.vmware.com/s/article/1002411

https://askubuntu.com/questions/896602/ … e-into-ker

Last edited by Inxsible (2019-03-20 17:59:43)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2019-04-01 19:22:16

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [Solved]VMware kernel module updater failing with kernel 5.0+

I should have updated this post earlier, but one of the patches matching my install version from mkubecek's github worked.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2019-04-04 20:25:14

webmario
Member
Registered: 2019-04-04
Posts: 1

Re: [Solved]VMware kernel module updater failing with kernel 5.0+

A patch from https://github.com/mkubecek/vmware-host … s/releases solved my issue as well.

Thanks.

Offline

Board footer

Powered by FluxBB