You are not logged in.

#1 2017-12-31 11:35:50

zigo
Member
Registered: 2016-06-07
Posts: 5

[SOLVED] VMWare workstation issue

Hello All;
I have installed vmware-workstation 14.1.0-4 with yaourt. i have this errors

==> No kernel 4.14.5-1-ARCH modules. You must install them to use DKMS!
==> dkms remove vmware-workstation/14.1.0_7370693 -k 4.14.8-1-ARCH
Error! Bad return status for module build on kernel: 4.14.8-1-ARCH (x86_64) Consult /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/make.log for more information.

and this is the output of the "/var/lib/dkms/vmware-workstation/14.1.0_7370693/build/make.log"


DKMS make.log for vmware-workstation-14.1.0_7370693 for kernel 4.14.8-1-ARCH (x86_64) Fri Dec 29 08:51:39 EET 2017 cp -r /usr/src/vmware-workstation-14.1.0_7370693/vmmon-only vmmon-only cp -r /usr/src/vmware-workstation-14.1.0_7370693/vmnet-only vmnet-only make KVERSION=4.14.8-1-ARCH VM_KBUILD=yes -C vmnet-only make KVERSION=4.14.8-1-ARCH VM_KBUILD=yes -C vmmon-only make[1]: Entering directory '/var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only' Using kernel build system. make[1]: Entering directory '/var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only' Using kernel build system. make -C /lib/modules/4.14.8-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/lib/modules/4.14.8-1-ARCH/build' make -C /lib/modules/4.14.8-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/lib/modules/4.14.8-1-ARCH/build' CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/driver.o CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/driver.o CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/hub.o CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/hostif.o In file included from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./common/vmx86.h:32:0, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/driver.h:32, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/driver.c:48: /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined #define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/msr.h:5:0, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/compat_timer.h:4, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/driver.c:24: ./arch/x86/include/asm/msr-index.h:572:0: note: this is the location of the previous definition #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/vm_asm.h:43:0, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/hostif.c:65: /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined #define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/msr.h:5:0, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/compat_timer.h:4, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/hostif.c:32: ./arch/x86/include/asm/msr-index.h:572:0: note: this is the location of the previous definition #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/vm_asm_x86.h:41:0, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/vm_asm_x86_64.h:40, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/vm_asm.h:46, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/hostif.c:65: /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined #define CR3_PCID_MASK 0xFFF

In file included from ./arch/x86/include/asm/processor.h:5:0, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/compat_timer.h:4, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/hostif.c:32: ./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition #define CR3_PCID_MASK 0xFFFull

In file included from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/vm_asm_x86.h:41:0, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/vm_asm_x86_64.h:40, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/vm_asm.h:46, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/driver.c:50: /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined #define CR3_PCID_MASK 0xFFF

In file included from ./arch/x86/include/asm/processor.h:5:0, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/./include/compat_timer.h:4, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/driver.c:24: ./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition #define CR3_PCID_MASK 0xFFFull

/var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/hostif.c: In function 'HostIF_EstimateLockedPageLimit': /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/hostif.c:1536:19: error: implicit declaration of function 'global_page_state'; did you mean 'global_numa_state'? [-Werror=implicit-function-declaration] lockedPages += global_page_state(NR_PAGETABLE); ^~~~~~~~~~~~~~~~~ global_numa_state CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/driverLog.o CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/userif.o CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/netif.o CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/common/memtrack.o cc1: some warnings being treated as errors make[3]: [scripts/Makefile.build:315: /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only/linux/hostif.o] Error 1 make[3]: Waiting for unfinished jobs.... CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/bridge.o make[2]: [Makefile:1504: module/var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only] Error 2 make[2]: Leaving directory '/usr/lib/modules/4.14.8-1-ARCH/build' make[1]: [Makefile:114: vmmon.ko] Error 2 make[1]: Leaving directory '/var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmmon-only' make: [Makefile:13: vmmon.ko] Error 2 make: Waiting for unfinished jobs.... CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/procfs.o In file included from ./include/linux/pci.h:37:0, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/compat_netdevice.h:27, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/netif.c:43: ./include/linux/pci_ids.h:2261:0: warning: "PCI_VENDOR_ID_VMWARE" redefined #define PCI_VENDOR_ID_VMWARE 0x15ad

In file included from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/net.h:38:0, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vnetInt.h:26, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/netif.c:42: /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vm_device_version.h:57:0: note: this is the location of the previous definition #define PCI_VENDOR_ID_VMWARE 0x15AD

In file included from ./include/linux/pci.h:37:0, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/compat_netdevice.h:27, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/netif.c:43: ./include/linux/pci_ids.h:2262:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

In file included from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/net.h:38:0, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vnetInt.h:26, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/netif.c:42: /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vm_device_version.h:75:0: note: this is the location of the previous definition #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0

CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/smac_compat.o CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/smac.o In file included from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/net.h:38:0, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vnetInt.h:26, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/bridge.c:53: /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vm_device_version.h:75:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0

In file included from ./include/linux/pci.h:37:0, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/compat_netdevice.h:27, from /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/bridge.c:52: ./include/linux/pci_ids.h:2262:0: note: this is the location of the previous definition #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vnetEvent.o CC [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vnetUserListener.o LD [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vmnet.o Building modules, stage 2. MODPOST 1 modules CC /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vmnet.mod.o LD [M] /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only/vmnet.ko make[2]: Leaving directory '/usr/lib/modules/4.14.8-1-ARCH/build' make -C $PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= postbuild make[2]: Entering directory '/var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only' make[2]: 'postbuild' is up to date. make[2]: Leaving directory '/var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only' cp -f vmnet.ko ./../vmnet.o make[1]: Leaving directory '/var/lib/dkms/vmware-workstation/14.1.0_7370693/build/vmnet-only'

any help please

Last edited by zigo (2018-01-03 14:26:57)

Offline

#2 2017-12-31 14:44:16

robg
Member
Registered: 2015-03-05
Posts: 224

Re: [SOLVED] VMWare workstation issue

Hello zigo,

First of all, please use code instead of quote tags. Also, please inform people who are interested in helping you that you haven taken this issue here from a thread on the corresponding AUR page.

Concerning your question: It appears that you might be dealing with a XY problem. Could you please remove the `vmware-workstation` package and install it manually by means of makepkg and pacman? Also, don't forget about the maintainer's pinned comment:

After the first installation, don't forget to:
1) reboot or load vmw_vmci and vmmon kernel modules (modprobe -a vmw_vmci vmmon)
2) Enable the services you need:
- vmware-networks.service: to have network access in VMs
- vmware-usbarbitrator.service: to connect USB devices inside VMs
- vmware-hostd.service: to share VMs on the network

For people who would stay on VMware 12.5.7, use the following commands. This old version should be compatible with the next Linux LTS (4.14).
% git clone https://aur.archlinux.org/vmware-workstation.git
% cd vmware-workstation
% git checkout 2965e8782be11ce0049f32fafa96b2d60c0282c8
% makepkg -si

Then, if you are still having issues, please report back with the exact commands you have issued and their corresponding outputs.

Last edited by robg (2017-12-31 14:45:23)

Offline

#3 2018-01-01 03:48:34

zigo
Member
Registered: 2016-06-07
Posts: 5

Re: [SOLVED] VMWare workstation issue

Hello robg,
Thank you for your replay
I Downloaded the vmware-workstation snapshot "vmware-workstation.tar.gz" and i extracted it

[zigo@archlinux vmware-workstation]$ makepkg

==> Making package: vmware-workstation 14.1.0-4 (Mon Jan  1 00:29:30 EET 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading VMware-Workstation-Full-14.1.0-7370693.x86_64.bundle...
** Resuming transfer from byte position 10211328
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  429M  100  429M    0     0    98k      0  1:14:36  1:14:36 --:--:--  123k
  -> Found bootstrap
  -> Found vmware-vix-bootstrap
  -> Found config
  -> Found pam.d-vmware-authd
  -> Found configure-initscript.sh
  -> Found vmware-environment.sh
  -> Found config.xml
  -> Found datastores.xml
  -> Found environments.xml
  -> Found proxy.xml
  -> Found vmware-hostd-certificates.service
  -> Found vmware-hostd.service
  -> Found vmware-networks-configuration.service
  -> Found vmware-networks.service
  -> Found vmware-usbarbitrator.service
  -> Found dkms.conf.in
  -> Found Makefile
  -> Found vmmon.patch
  -> Found vmnet.patch
==> Validating source files with sha256sums...
    VMware-Workstation-Full-14.1.0-7370693.x86_64.bundle ... Passed
    bootstrap ... Passed
    vmware-vix-bootstrap ... Passed
    config ... Passed
    pam.d-vmware-authd ... Passed
    configure-initscript.sh ... Passed
    vmware-environment.sh ... Passed
    config.xml ... Passed
    datastores.xml ... Passed
    environments.xml ... Passed
    proxy.xml ... Passed
    vmware-hostd-certificates.service ... Passed
    vmware-hostd.service ... Passed
    vmware-networks-configuration.service ... Passed
    vmware-networks.service ... Passed
    vmware-usbarbitrator.service ... Passed
    dkms.conf.in ... Passed
    Makefile ... Passed
    vmmon.patch ... Passed
    vmnet.patch ... Passed
==> Extracting sources...
==> Starting prepare()...
Extracting VMware Installer...done.
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-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
==> Entering fakeroot environment...
==> Starting package()...
==> Patching vmmon module for DKMS
patching file Makefile
patching file Makefile.kernel
patching file include/compat_module.h
patching file include/compat_timer.h
patching file linux/driver.c
patching file linux/hostif.c
==> Patching vmnet module for DKMS
patching file Makefile
patching file Makefile.kernel
patching file driver.c
patching file vm_device_version.h
patching file vmnetInt.h
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "vmware-workstation"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: vmware-workstation 14.1.0-4

[zigo@archlinux vmware-workstation]$ sudo pacman -U vmware-workstation-14.1.0-4-x86_64.pkg.tar.xz

loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) vmware-workstation-14.1.0-4

Total Installed Size:  779.07 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Processing package changes...
(1/1) installing vmware-workstation                [######################] 100%

==> Before using VMware, you need to reboot or load vmw_vmci and vmmon kernel modules (in a terminal on root: modprobe -a vmw_vmci vmmon)
==> You may also need to enable some of these services:
- vmware-networks.service: to have network access in VMs
- vmware-usbarbitrator.service: to connect USB devices inside VMs
- vmware-hostd.service: to share VMs on the network

Optional dependencies for vmware-workstation
    linux-headers: build modules against Arch kernel [installed]
:: Running post-transaction hooks...
(1/5) Install DKMS modules
==> No kernel 4.14.5-1-ARCH modules. You must install them to use DKMS!
==> dkms install vmware-workstation/14.1.0_7370693 -k 4.14.8-1-ARCH
Error! Bad return status for module build on kernel: 4.14.8-1-ARCH (x86_64)
Consult /var/lib/dkms/vmware-workstation/14.1.0_7370693/build/make.log for more information.
(2/5) Updating icon theme caches...
(3/5) Arming ConditionNeedsUpdate...
(4/5) Updating the desktop file MIME type cache...
(5/5) Updating the MIME type database...

Then i rebooted my PC and do the command

[zigo@archlinux ~]$ sudo modprobe -a vmw_vmci vmmon

modprobe: WARNING: Module vmmon not found in directory /lib/modules/4.14.8-1-ARCH

Offline

#4 2018-01-01 04:08:51

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] VMWare workstation issue

Make sure you upgrade your system (-Syu) because it looks like you might have a kernel mismatch.

Offline

#5 2018-01-01 08:59:55

zigo
Member
Registered: 2016-06-07
Posts: 5

Re: [SOLVED] VMWare workstation issue

circleface wrote:

Make sure you upgrade your system (-Syu) because it looks like you might have a kernel mismatch.

Hello circleface i have upgraded the system with

pacman -Syu

and i'm now working on linux kernel 4.14.9-1

and have done the command

[zigo@archlinux vmware-workstation]$ sudo pacman -U vmware-workstation-14.1.0-4-x86_64.pkg.tar.xz

and this is the output

loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) vmware-workstation-14.1.0-4

Total Installed Size:  777.89 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Processing package changes...
(1/1) installing vmware-workstation                [######################] 100%

==> Before using VMware, you need to reboot or load vmw_vmci and vmmon kernel modules (in a terminal on root: modprobe -a vmw_vmci vmmon)
==> You may also need to enable some of these services:
- vmware-networks.service: to have network access in VMs
- vmware-usbarbitrator.service: to connect USB devices inside VMs
- vmware-hostd.service: to share VMs on the network

Optional dependencies for vmware-workstation
    linux-headers: build modules against Arch kernel [installed]
:: Running post-transaction hooks...
(1/5) Install DKMS modules
==> No kernel 4.14.5-1-ARCH modules. You must install them to use DKMS!
==> dkms install vmware-workstation/14.1.0_7370693 -k 4.14.9-1-ARCH
==> No kernel 4.14.8-1-ARCH modules. You must install them to use DKMS!
(2/5) Updating icon theme caches...
(3/5) Arming ConditionNeedsUpdate...
(4/5) Updating the desktop file MIME type cache...
(5/5) Updating the MIME type database...

Offline

#6 2018-01-01 15:44:37

robg
Member
Registered: 2015-03-05
Posts: 224

Re: [SOLVED] VMWare workstation issue

Thank you for proving the requested information. Could you try to build and install the package again _after_ installing linux-headers? Please report back again with the issued commands and outputs.

Offline

#7 2018-01-02 11:45:57

zigo
Member
Registered: 2016-06-07
Posts: 5

Re: [SOLVED] VMWare workstation issue

robg wrote:

Thank you for proving the requested information. Could you try to build and install the package again _after_ installing linux-headers? Please report back again with the issued commands and outputs.

Thank you robg for your replay i have upgraded to linux 4.14.10-1 and Vmware-workstation is working now.

Offline

#8 2018-01-02 13:08:37

robg
Member
Registered: 2015-03-05
Posts: 224

Re: [SOLVED] VMWare workstation issue

Happy to hear that. As an advice for the future: Check the optional dependencies, e.g., in this case,

linux-headers wrote:

Header files and scripts for building modules for Linux kernel

in conjunction with

modprobe: WARNING: Module vmmon not found in directory /lib/modules/4.14.8-1-ARCH

Also, please prepend [SOLVED] to your thread's title (See Code of Conduct).

Offline

#9 2020-02-16 22:27:33

amitsova
Guest

Re: [SOLVED] VMWare workstation issue

Hi team,

I have the same issue : / Can somebody please help me?

CentOS 8, VMware 15.0.2

[root@centos8 ~]# modprobe -a vmw_vmci vmmon
modprobe: WARNING: Module vmmon not found in directory /lib/modules/4.18.0-147.5.1.el8_1.x86_64
[root@centos8 ~]# uname -r
4.18.0-147.5.1.el8_1.x86_64
[root@centos8 ~]#


A shortcut from "vmware-modconfig --console --install-all"

...

#define CR3_PCID_MASK 0xFFFull

/tmp/modconfig-XxYpcu/vmmon-only/linux/hostif.c: In function ‘HostIF_MapUserMem’:
/tmp/modconfig-XxYpcu/vmmon-only/linux/hostif.c:3408:40: error: macro "access_ok" passed 3 arguments, but takes just 2
    if (!access_ok(VERIFY_WRITE, p, size)) {
                                        ^
/tmp/modconfig-XxYpcu/vmmon-only/linux/hostif.c:3408:9: error: ‘access_ok’ undeclared (first use in this function)
    if (!access_ok(VERIFY_WRITE, p, size)) {
         ^~~~~~~~~
/tmp/modconfig-XxYpcu/vmmon-only/linux/hostif.c:3408:9: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:313: /tmp/modconfig-XxYpcu/vmmon-only/linux/hostif.o] Error 1
make[1]: *** [Makefile:1547: _module_/tmp/modconfig-XxYpcu/vmmon-only] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
make: *** [Makefile:110: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-XxYpcu/vmmon-only'
make: Entering directory '/tmp/modconfig-XxYpcu/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.18.0-147.5.1.el8_1.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
  CC [M]  /tmp/modconfig-XxYpcu/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-XxYpcu/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-XxYpcu/vmnet-only/userif.o
/tmp/modconfig-XxYpcu/vmnet-only/userif.c: In function ‘VNetUserIfMapPtr’:
/tmp/modconfig-XxYpcu/vmnet-only/userif.c:145:52: error: macro "access_ok" passed 3 arguments, but takes just 2
    if (!access_ok(VERIFY_WRITE, (void *)uAddr, size) ||
                                                    ^
/tmp/modconfig-XxYpcu/vmnet-only/userif.c:145:9: error: ‘access_ok’ undeclared (first use in this function)
    if (!access_ok(VERIFY_WRITE, (void *)uAddr, size) ||
         ^~~~~~~~~
/tmp/modconfig-XxYpcu/vmnet-only/userif.c:145:9: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:313: /tmp/modconfig-XxYpcu/vmnet-only/userif.o] Error 1
make[1]: *** [Makefile:1547: _module_/tmp/modconfig-XxYpcu/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
make: *** [Makefile:110: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-XxYpcu/vmnet-only'
Unable to install all modules.  See log for details.


Please help.

Thanks in advance!

#10 2020-02-16 22:30:23

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] VMWare workstation issue

Forum Registration wrote:

These forums are for Arch Linux x86_64 ONLY. Not Antegros, or Apricity, or Manjaro, or any of the "easy Arch installers", nor Arch-ARM; nothing other than vanilla 64-bit Arch Linux. Ask those communities for support. If you have installed Arch, please read the rules before posting. README: Forum Rules.

Closing this old thread now.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB