You are not logged in.

#1 2018-01-19 00:19:52

l3l00
Member
Registered: 2018-01-18
Posts: 38

[SOLVED] VMWare Workstation Full 12.5.9 - Launching GUI issues

I am certain this is the final issue I will have. My apologies.

A few errors but I think they are all connected. I am running gnome if this helps at all?

Clicking on VMWare Workstation Icon in standard user will attempt to launch the app, it mentions it needs to load a few modules in the current running kernel.
- I enter my root password - it stops the service, attempts to load the Virtual machine monitor & Network Device, but fails giving me a log file I should see why.

Log file for this: (couldn't be kernel related because of >  kernel "4.14.13-1-ARCH" is valid.  Whoohoo! dig the Whoohoo! Message ^-^)

8-01-18T17:14:02.478-07:00| vthread-4| I125: Using temp dir "/tmp".
2018-01-18T17:14:02.479-07:00| vthread-4| I125: Obtaining info using the running kernel.
2018-01-18T17:14:02.479-07:00| vthread-4| I125: Setting header path for 4.14.13-1-ARCH to "/lib/modules/4.14.13-1-ARCH/build/include".
2018-01-18T17:14:02.479-07:00| vthread-4| I125: Validating path "/lib/modules/4.14.13-1-ARCH/build/include" for kernel release "4.14.13-1-ARCH".
2018-01-18T17:14:02.479-07:00| vthread-4| I125: Failed to find /lib/modules/4.14.13-1-ARCH/build/include/linux/version.h
2018-01-18T17:14:02.479-07:00| vthread-4| I125: /lib/modules/4.14.13-1-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2018-01-18T17:14:02.479-07:00| vthread-4| I125: using /sbin/gcc for preprocess check
2018-01-18T17:14:02.487-07:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.14.13-1-ARCH".
2018-01-18T17:14:02.487-07:00| vthread-4| I125: The header path "/lib/modules/4.14.13-1-ARCH/build/include" for the kernel "4.14.13-1-ARCH" is valid.  Whoohoo!
2018-01-18T17:14:02.592-07:00| vthread-4| I125: found symbol version file /lib/modules/4.14.13-1-ARCH/build/Module.symvers
2018-01-18T17:14:02.592-07:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.14.13-1-ARCH/build/Module.symvers.
2018-01-18T17:14:02.605-07:00| vthread-4| I125: Read 20605 symbol versions
2018-01-18T17:14:02.605-07:00| vthread-4| I125: Invoking modinfo on "vmmon".
2018-01-18T17:14:02.607-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2018-01-18T17:14:02.607-07:00| vthread-4| I125: Invoking modinfo on "vmnet".
2018-01-18T17:14:02.609-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2018-01-18T17:14:03.057-07:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.14.13-1-ARCH/misc/vmmon.ko".
2018-01-18T17:14:03.057-07:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2018-01-18T17:14:03.065-07:00| vthread-4| I125: Successfully extracted the vmmon source.
2018-01-18T17:14:03.065-07:00| vthread-4| I125: Building module with command "/sbin/make -j8 -C /tmp/modconfig-Oc502P/vmmon-only auto-build HEADER_DIR=/lib/modules/4.14.13-1-ARCH/build/include CC=/sbin/gcc IS_GCC_3=no"
2018-01-18T17:14:05.138-07:00| vthread-4| W115: Failed to build vmmon.  Failed to execute the build command.
2018-01-18T17:14:05.139-07:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.14.13-1-ARCH/misc/vmnet.ko".
2018-01-18T17:14:05.139-07:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2018-01-18T17:14:05.143-07:00| vthread-4| I125: Successfully extracted the vmnet source.
2018-01-18T17:14:05.143-07:00| vthread-4| I125: Building module with command "/sbin/make -j8 -C /tmp/modconfig-Oc502P/vmnet-only auto-build HEADER_DIR=/lib/modules/4.14.13-1-ARCH/build/include CC=/sbin/gcc IS_GCC_3=no"
2018-01-18T17:14:07.238-07:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.

If I attempt to run:
# vmware

DISPLAY is not set, unable to open the VMware Workstation user interface.

I have tried the wiki documentation: https://wiki.archlinux.org/index.php/VMware
for the earlier versions but they do not seem to work with this one.

There is this too:

# vmware-modconfig --console --install-all
Stopping VMware services:
   VMware Authentication Daemon                                        done
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
make: Entering directory '/tmp/modconfig-0EQUy5/vmmon-only'
Using kernel build system.
/sbin/make -C /lib/modules/4.14.13-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/4.14.13-1-ARCH/build'
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/common/apic.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/common/vmx86.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/common/cpuid.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/common/task.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/common/hashFunc.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/common/phystrack.o
  CC [M]  /tmp/modconfig-0EQUy5/vmmon-only/vmcore/moduleloop.o
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 ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-0EQUy5/vmmon-only/common/task.c:67:
./arch/x86/include/asm/processor-flags.h:39:0: warning: "CR3_PCID_MASK" redefined
 #define CR3_PCID_MASK 0xFFFull
 
In file included from /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm_x86_64.h:39,
                 from /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-0EQUy5/vmmon-only/common/task.c:53:
/tmp/modconfig-0EQUy5/vmmon-only/./include/x86_basic_defs.h:65:0: note: this is the location of the previous definition
 #define CR3_PCID_MASK  0xFFF
 
In file included from /tmp/modconfig-0EQUy5/vmmon-only/common/vmx86.h:32:0,
                 from /tmp/modconfig-0EQUy5/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-0EQUy5/vmmon-only/./include/x86msr.h:111: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/rcupdate.h:40,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-0EQUy5/vmmon-only/common/vmx86.c:31:
./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 ./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 ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-0EQUy5/vmmon-only/common/task.c:67:
./arch/x86/include/asm/msr-index.h:572:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES 0x00000140
 
In file included from /tmp/modconfig-0EQUy5/vmmon-only/common/vmx86.h:32:0,
                 from /tmp/modconfig-0EQUy5/vmmon-only/common/task.c:51:
/tmp/modconfig-0EQUy5/vmmon-only/./include/x86msr.h:111:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES            0x140
 
In file included from /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm_x86_64.h:39,
                 from /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-0EQUy5/vmmon-only/common/vmx86.c:46:
/tmp/modconfig-0EQUy5/vmmon-only/./include/x86_basic_defs.h:65:0: warning: "CR3_PCID_MASK" redefined
 #define CR3_PCID_MASK  0xFFF
 
In file included from ./arch/x86/include/asm/irqflags.h:5:0,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:39,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-0EQUy5/vmmon-only/common/vmx86.c:31:
./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 /tmp/modconfig-0EQUy5/vmmon-only/./common/vmx86.h:32:0,
                 from /tmp/modconfig-0EQUy5/vmmon-only/linux/driver.h:31,
                 from /tmp/modconfig-0EQUy5/vmmon-only/linux/driver.c:48:
/tmp/modconfig-0EQUy5/vmmon-only/./include/x86msr.h:111: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/wait.h:9,
                 from ./include/linux/wait_bit.h:8,
                 from ./include/linux/fs.h:6,
                 from ./include/linux/highmem.h:5,
                 from /tmp/modconfig-0EQUy5/vmmon-only/linux/driver.c:25:
./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 /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm.h:43:0,
                 from /tmp/modconfig-0EQUy5/vmmon-only/linux/hostif.c:83:
/tmp/modconfig-0EQUy5/vmmon-only/./include/x86msr.h:111: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/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/mm.h:10,
                 from /tmp/modconfig-0EQUy5/vmmon-only/./include/compat_page.h:23,
                 from /tmp/modconfig-0EQUy5/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 /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm_x86_64.h:39,
                 from /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-0EQUy5/vmmon-only/linux/hostif.c:83:
/tmp/modconfig-0EQUy5/vmmon-only/./include/x86_basic_defs.h:65: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/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/mm.h:10,
                 from /tmp/modconfig-0EQUy5/vmmon-only/./include/compat_page.h:23,
                 from /tmp/modconfig-0EQUy5/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 /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm_x86_64.h:39,
                 from /tmp/modconfig-0EQUy5/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-0EQUy5/vmmon-only/linux/driver.c:50:
/tmp/modconfig-0EQUy5/vmmon-only/./include/x86_basic_defs.h:65: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/wait.h:9,
                 from ./include/linux/wait_bit.h:8,
                 from ./include/linux/fs.h:6,
                 from ./include/linux/highmem.h:5,
                 from /tmp/modconfig-0EQUy5/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
 #define CR3_PCID_MASK 0xFFFull
 
/tmp/modconfig-0EQUy5/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
/tmp/modconfig-0EQUy5/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
/tmp/modconfig-0EQUy5/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
/tmp/modconfig-0EQUy5/vmmon-only/linux/hostif.c: In function 'HostIF_EstimateLockedPageLimit':
/tmp/modconfig-0EQUy5/vmmon-only/linux/hostif.c:1597:31: error: implicit declaration of function 'global_page_state'; did you mean 'global_numa_state'? [-Werror=implicit-function-declaration]
    unsigned int lockedPages = global_page_state(NR_PAGETABLE) +
                               ^~~~~~~~~~~~~~~~~
                               global_numa_state
/tmp/modconfig-0EQUy5/vmmon-only/linux/driver.c:1291:1: warning: always_inline function might not be inlinable [-Wattributes]
 LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
 ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/modconfig-0EQUy5/vmmon-only/./common/vmx86.h:32:0,
                 from /tmp/modconfig-0EQUy5/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-0EQUy5/vmmon-only/./include/x86msr.h:111: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/rcupdate.h:40,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-0EQUy5/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:572:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140
 
/tmp/modconfig-0EQUy5/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:314: /tmp/modconfig-0EQUy5/vmmon-only/linux/hostif.o] Error 1
make[1]: *** [Makefile:1507: _module_/tmp/modconfig-0EQUy5/vmmon-only] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.14.13-1-ARCH/build'
make: *** [Makefile:120: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-0EQUy5/vmmon-only'
make: Entering directory '/tmp/modconfig-0EQUy5/vmnet-only'
Using kernel build system.
/sbin/make -C /lib/modules/4.14.13-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/4.14.13-1-ARCH/build'
  CC [M]  /tmp/modconfig-0EQUy5/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-0EQUy5/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-0EQUy5/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-0EQUy5/vmnet-only/netif.o
  CC [M]  /tmp/modconfig-0EQUy5/vmnet-only/bridge.o
  CC [M]  /tmp/modconfig-0EQUy5/vmnet-only/procfs.o
  CC [M]  /tmp/modconfig-0EQUy5/vmnet-only/smac_compat.o
  CC [M]  /tmp/modconfig-0EQUy5/vmnet-only/smac.o
  CC [M]  /tmp/modconfig-0EQUy5/vmnet-only/vnetEvent.o
In file included from ./include/linux/pci.h:37:0,
                 from /tmp/modconfig-0EQUy5/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-0EQUy5/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 /tmp/modconfig-0EQUy5/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-0EQUy5/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-0EQUy5/vmnet-only/netif.c:42:
/tmp/modconfig-0EQUy5/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 ./include/linux/pci.h:37:0,
                 from /tmp/modconfig-0EQUy5/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-0EQUy5/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 /tmp/modconfig-0EQUy5/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-0EQUy5/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-0EQUy5/vmnet-only/netif.c:42:
/tmp/modconfig-0EQUy5/vmnet-only/vm_device_version.h:73:0: note: this is the location of the previous definition
 #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
 
  CC [M]  /tmp/modconfig-0EQUy5/vmnet-only/vnetUserListener.o
In file included from /tmp/modconfig-0EQUy5/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-0EQUy5/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-0EQUy5/vmnet-only/bridge.c:52:
/tmp/modconfig-0EQUy5/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
 #define PCI_VENDOR_ID_VMWARE                    0x15AD
 
In file included from ./include/linux/pci.h:37:0,
                 from /tmp/modconfig-0EQUy5/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-0EQUy5/vmnet-only/bridge.c:51:
./include/linux/pci_ids.h:2261:0: note: this is the location of the previous definition
 #define PCI_VENDOR_ID_VMWARE  0x15ad
 
In file included from /tmp/modconfig-0EQUy5/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-0EQUy5/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-0EQUy5/vmnet-only/bridge.c:52:
/tmp/modconfig-0EQUy5/vmnet-only/vm_device_version.h:73: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 /tmp/modconfig-0EQUy5/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-0EQUy5/vmnet-only/bridge.c:51:
./include/linux/pci_ids.h:2262:0: note: this is the location of the previous definition
 #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
 
/tmp/modconfig-0EQUy5/vmnet-only/bridge.c: In function 'VNetBridgeReceiveFromVNet':
/tmp/modconfig-0EQUy5/vmnet-only/bridge.c:639:14: error: passing argument 1 of 'atomic_inc' from incompatible pointer type [-Werror=incompatible-pointer-types]
   atomic_inc(&clone->users);
              ^
In file included from ./include/linux/atomic.h:5:0,
                 from ./include/linux/rcupdate.h:38,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-0EQUy5/vmnet-only/bridge.c:25:
./arch/x86/include/asm/atomic.h:90:29: note: expected 'atomic_t * {aka struct <anonymous> *}' but argument is of type 'refcount_t * {aka struct refcount_struct *}'
 static __always_inline void atomic_inc(atomic_t *v)
                             ^~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:314: /tmp/modconfig-0EQUy5/vmnet-only/bridge.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1507: _module_/tmp/modconfig-0EQUy5/vmnet-only] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.14.13-1-ARCH/build'
make: *** [Makefile:120: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-0EQUy5/vmnet-only'
Unable to install all modules.  See log for details.

Last edited by l3l00 (2018-01-20 20:20:50)

Offline

#2 2018-01-19 00:24:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] VMWare Workstation Full 12.5.9 - Launching GUI issues


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-01-19 00:28:31

l3l00
Member
Registered: 2018-01-18
Posts: 38

Re: [SOLVED] VMWare Workstation Full 12.5.9 - Launching GUI issues

After doing:

Kernel modules fail to build on Linux 4.13

On VMware Workstation Pro 12.5.7, the module source needs to be modified to be successfully compiled under kernel 4.13 [2].

# cd /usr/lib/vmware/modules/source
# tar xf vmnet.tar
# mv vmnet.tar vmnet.old.tar
# sed -i 's/atomic_inc(&clone->users);/clone = skb_get(clone);/g' vmnet-only/bridge.c
# tar cf vmnet.tar vmnet-only
# rm -r vmnet-only

Virtual Network Passed! But the Monitor one is failing (clicking the VMWare Workstation Icon)

Plus
# vmware
Still complains about the DISPLAY is not set.

Last edited by l3l00 (2018-01-19 00:29:06)

Offline

#4 2018-01-19 00:43:54

l3l00
Member
Registered: 2018-01-18
Posts: 38

Re: [SOLVED] VMWare Workstation Full 12.5.9 - Launching GUI issues

2018-01-18T17:41:31.143-07:00| vthread-4| I125: Invoking modinfo on "vmmon".
2018-01-18T17:41:31.145-07:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2018-01-18T17:41:31.951-07:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.14.13-1-ARCH/misc/vmmon.ko".
2018-01-18T17:41:31.951-07:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2018-01-18T17:41:31.958-07:00| vthread-4| I125: Successfully extracted the vmmon source.
2018-01-18T17:41:31.958-07:00| vthread-4| I125: Building module with command "/sbin/make -j8 -C /tmp/modconfig-BsUcZS/vmmon-only auto-build HEADER_DIR=/lib/modules/4.14.13-1-ARCH/build/include CC=/sbin/gcc IS_GCC_3=no"
2018-01-18T17:41:33.952-07:00| vthread-4| W115: Failed to build vmmon.  Failed to execute the build command.


# cd /usr/lib/vmware/modules/source
# tar xf vmmon.tar
# mv vmmon.tar vmmon.old.tar
# sed -i 's/uvAddr, numPages, 0, 0/uvAddr, numPages, 0/g' vmmon-only/linux/hostif.c
# tar cf vmmon.tar vmmon-only
# rm -r vmmon-only

# tar xf vmnet.tar
# mv vmnet.tar vmnet.old.tar
# sed -i 's/addr, 1, 1, 0/addr, 1, 0/g' vmnet-only/userif.c
# tar cf vmnet.tar vmnet-only
# rm -r vmnet-only

No Dice

Offline

#5 2018-01-20 15:50:52

l3l00
Member
Registered: 2018-01-18
Posts: 38

Re: [SOLVED] VMWare Workstation Full 12.5.9 - Launching GUI issues

Update, I attempted to load the vmmon.ko manually

cd /usr/lib/vmware/modules/source
untar'd the vmmon.tar
cd vmmon-only
make

---------------
Using kernel build system.   
make -C /lib/modules/4.14.13-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/4.14.13-1-ARCH/build'
  CC [M]  /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.o
In file included from /usr/lib/vmware/modules/source/vmmon-only/./include/vm_asm.h:43:0,
                 from /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:83:
/usr/lib/vmware/modules/source/vmmon-only/./include/x86msr.h:111: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/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/mm.h:10,
                 from /usr/lib/vmware/modules/source/vmmon-only/./include/compat_page.h:23,
                 from /usr/lib/vmware/modules/source/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 /usr/lib/vmware/modules/source/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /usr/lib/vmware/modules/source/vmmon-only/./include/vm_asm_x86_64.h:39,
                 from /usr/lib/vmware/modules/source/vmmon-only/./include/vm_asm.h:46,
                 from /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:83:
/usr/lib/vmware/modules/source/vmmon-only/./include/x86_basic_defs.h:65:0: warni
ng: "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/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/mm.h:10,
                 from /usr/lib/vmware/modules/source/vmmon-only/./include/compat_page.h:23,
               from /usr/lib/vmware/modules/source/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

/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c: In function 'HostIF_EstimateLockedPageLimit':
/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:1597:31: error: implicit declaration of function 'global_page_state'; did you mean 'global_numa_state'? [-Werror=implicit-function-declaration]
    unsigned int lockedPages = global_page_state(NR_PAGETABLE) +
                               ^~~~~~~~~~~~~~~~~
                               global_numa_state
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:315: /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.o] Error 1  
make[1]: *** [Makefile:1507: _module_/usr/lib/vmware/modules/source/vmmon-only] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.14.13-1-ARCH/build'
make: *** [Makefile:120: vmmon.ko] Error 2

So I believe ythis is where it is failing, it cannot make the kernel for vmmon so I cannot move it to the export.
Would anyone know where I could get a patched version or an ealier version and see if I can shove that in to place?

Offline

#6 2018-01-20 20:20:31

l3l00
Member
Registered: 2018-01-18
Posts: 38

Re: [SOLVED] VMWare Workstation Full 12.5.9 - Launching GUI issues

Got it, modified hostif.c: at line 1597 changing all three 'global_page_state' to  'global_numa_state' plus a few lines down for one that had something MAP.
It worked, gui launched!

Offline

Board footer

Powered by FluxBB