VMware Communities
dsilver829
Contributor
Contributor

VMware Player (5.0.2) Fails to Install Modules on Ubuntu (13.04)

For quite a while, VMware Player (5.0.2) has been popping up error boxes on my Ubuntu host. The box would prompt me to install modules into the kernel. When I clicked 'Agree', VMware would attempt to install the modules and fail. That was okay, though, because the guest OS would continue to boot and everything was fine.

Now, however, VMwawre Player displays a box prior to launching the application, again asking me to compile and load modules "into the running kernel". When I click, "Install", the box vanishes and the program crashes.

Any idea what's up?

David

Here's the log:

2013-05-16T16:50:28.801-08:00| vthread-3| I120: Log for VMware Workstation pid=4433 version=9.0.2 build=build-1031769 option=Release

2013-05-16T16:50:28.801-08:00| vthread-3| I120: The process is 64-bit.

2013-05-16T16:50:28.801-08:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8

2013-05-16T16:50:28.801-08:00| vthread-3| I120: Host is Linux 3.8.0-21-generic Ubuntu 13.04

2013-05-16T16:50:28.801-08:00| vthread-3| I120: Msg_Reset:

2013-05-16T16:50:28.801-08:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.

2013-05-16T16:50:28.801-08:00| vthread-3| I120: ----------------------------------------

2013-05-16T16:50:28.801-08:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2013-05-16T16:50:28.801-08:00| vthread-3| I120: Msg_Reset:

2013-05-16T16:50:28.801-08:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/home/dsilver/.vmware/config": No such file or directory.

2013-05-16T16:50:28.801-08:00| vthread-3| I120: ----------------------------------------

2013-05-16T16:50:28.801-08:00| vthread-3| I120: PREF Optional preferences file not found at /home/dsilver/.vmware/config. Using default values.

2013-05-16T16:50:28.801-08:00| vthread-3| W110: Logging to /tmp/vmware-dsilver/vmware-modconfig-4433.log

2013-05-16T16:50:28.811-08:00| vthread-3| I120: Reading in info for the vmmon module.

2013-05-16T16:50:28.811-08:00| vthread-3| I120: Reading in info for the vmnet module.

2013-05-16T16:50:28.811-08:00| vthread-3| I120: Reading in info for the vmblock module.

2013-05-16T16:50:28.811-08:00| vthread-3| I120: Reading in info for the vmci module.

2013-05-16T16:50:28.811-08:00| vthread-3| I120: Reading in info for the vsock module.

2013-05-16T16:50:28.811-08:00| vthread-3| I120: Setting vsock to depend on vmci.

2013-05-16T16:50:28.811-08:00| vthread-3| I120: Created new pathsHash.

2013-05-16T16:50:28.811-08:00| vthread-3| I120: Invoking modinfo on "vmmon".

2013-05-16T16:50:28.815-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.

2013-05-16T16:50:28.815-08:00| vthread-3| I120: Invoking modinfo on "vmnet".

2013-05-16T16:50:28.819-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.

2013-05-16T16:50:28.819-08:00| vthread-3| I120: Invoking modinfo on "vmblock".

2013-05-16T16:50:28.822-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.

2013-05-16T16:50:28.822-08:00| vthread-3| I120: Invoking modinfo on "vmci".

2013-05-16T16:50:28.826-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.

2013-05-16T16:50:28.827-08:00| vthread-3| I120: Invoking modinfo on "vsock".

2013-05-16T16:50:28.831-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.

2013-05-16T16:50:28.853-08:00| vthread-3| I120: Obtaining info using the running kernel.

2013-05-16T16:50:28.853-08:00| vthread-3| I120: Setting header path for 3.8.0-21-generic to "/lib/modules/3.8.0-21-generic/build/include".

2013-05-16T16:50:28.853-08:00| vthread-3| I120: Validating path "/lib/modules/3.8.0-21-generic/build/include" for kernel release "3.8.0-21-generic".

2013-05-16T16:50:28.853-08:00| vthread-3| I120: Failed to find /lib/modules/3.8.0-21-generic/build/include/linux/version.h

2013-05-16T16:50:28.853-08:00| vthread-3| I120: /lib/modules/3.8.0-21-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2013-05-16T16:50:28.869-08:00| vthread-3| I120: Preprocessed UTS_RELEASE, got value "3.8.0-21-generic".

2013-05-16T16:50:28.869-08:00| vthread-3| I120: The header path "/lib/modules/3.8.0-21-generic/build/include" for the kernel "3.8.0-21-generic" is valid.  Whoohoo!

2013-05-16T16:50:28.978-08:00| vthread-3| I120: Kernel header path retrieved from FileEntry: /lib/modules/3.8.0-21-generic/build/include

2013-05-16T16:50:28.978-08:00| vthread-3| I120: Update kernel header path to /lib/modules/3.8.0-21-generic/build/include

2013-05-16T16:50:28.978-08:00| vthread-3| I120: Validating path "/lib/modules/3.8.0-21-generic/build/include" for kernel release "3.8.0-21-generic".

2013-05-16T16:50:28.978-08:00| vthread-3| I120: Failed to find /lib/modules/3.8.0-21-generic/build/include/linux/version.h

2013-05-16T16:50:28.978-08:00| vthread-3| I120: /lib/modules/3.8.0-21-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2013-05-16T16:50:28.993-08:00| vthread-3| I120: Preprocessed UTS_RELEASE, got value "3.8.0-21-generic".

2013-05-16T16:50:28.993-08:00| vthread-3| I120: The header path "/lib/modules/3.8.0-21-generic/build/include" for the kernel "3.8.0-21-generic" is valid.  Whoohoo!

2013-05-16T16:50:28.995-08:00| vthread-3| I120: Found compiler at "/usr/bin/gcc"

2013-05-16T16:50:29.002-08:00| vthread-3| I120: Got gcc version "4.7".

2013-05-16T16:50:29.002-08:00| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.

2013-05-16T16:50:29.002-08:00| vthread-3| I120: Using user supplied compiler "/usr/bin/gcc".

2013-05-16T16:50:29.008-08:00| vthread-3| I120: Got gcc version "4.7".

2013-05-16T16:50:29.008-08:00| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.

2013-05-16T16:50:29.017-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel "3.8.0-21-generic".

2013-05-16T16:50:29.017-08:00| vthread-3| I120: No matching PBM set was found for kernel "3.8.0-21-generic".

2013-05-16T16:50:29.018-08:00| vthread-3| I120: Validating path "/lib/modules/3.8.0-21-generic/build/include" for kernel release "3.8.0-21-generic".

2013-05-16T16:50:29.018-08:00| vthread-3| I120: Failed to find /lib/modules/3.8.0-21-generic/build/include/linux/version.h

2013-05-16T16:50:29.018-08:00| vthread-3| I120: /lib/modules/3.8.0-21-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2013-05-16T16:50:29.032-08:00| vthread-3| I120: Preprocessed UTS_RELEASE, got value "3.8.0-21-generic".

2013-05-16T16:50:29.032-08:00| vthread-3| I120: The header path "/lib/modules/3.8.0-21-generic/build/include" for the kernel "3.8.0-21-generic" is valid.  Whoohoo!

2013-05-16T16:50:29.032-08:00| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.

2013-05-16T16:50:30.356-08:00| vthread-3| I120: Validating path "/lib/modules/3.8.0-21-generic/build/include" for kernel release "3.8.0-21-generic".

2013-05-16T16:50:30.356-08:00| vthread-3| I120: Failed to find /lib/modules/3.8.0-21-generic/build/include/linux/version.h

2013-05-16T16:50:30.356-08:00| vthread-3| I120: /lib/modules/3.8.0-21-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2013-05-16T16:50:30.373-08:00| vthread-3| I120: Preprocessed UTS_RELEASE, got value "3.8.0-21-generic".

2013-05-16T16:50:30.373-08:00| vthread-3| I120: The header path "/lib/modules/3.8.0-21-generic/build/include" for the kernel "3.8.0-21-generic" is valid.  Whoohoo!

2013-05-16T16:50:30.373-08:00| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.

2013-05-16T16:50:30.373-08:00| vthread-3| I120: Relaunching with /usr/bin/vmware-gksu '/usr/bin/vmware-modconfig' --icon='vmware-player' --appname='VMware'

Tags (1)
Reply
0 Kudos
8 Replies
bakes
Contributor
Contributor

Run this from the command line:

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

Then start the vm player.

Reply
0 Kudos
dibl
Enthusiast
Enthusiast

That is the same problem as I reported here:  module-updater crashes silently on Debian "Jessie"

I suspect recent updates to libc6 may be behind it.  The escalation to root privileges called by the last line in your log "/usr/bin/vmware-gksu" is failing.  But the modules will build in a root terminal or console with the command shown above and in my post.

Reply
0 Kudos
LinuxG1rl
Enthusiast
Enthusiast

I just saw this, if it is a problem to post twice, please remove.

I did the vmware-modconfig --console --install-all and these are the errors that I got, as a result, can not turn on vms, vmmon and vmci not found - can you help? I also have ubuntu 13.04.

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

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-root/modules/vmmon-only'

make -C /lib/modules/3.8.0-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

      MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/linux-headers-3.8.0-23-generic'

  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/hostif.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/apic.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/comport.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/cpuid.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/hashFunc.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/memtrack.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/phystrack.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/task.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/vmx86.o

  CC [M]  /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.o

  LD [M]  /tmp/vmware-root/modules/vmmon-only/vmmon.o

  Building modules, stage 2.

  MODPOST 1 modules

  CC      /tmp/vmware-root/modules/vmmon-only/vmmon.mod.o

  LD [M]  /tmp/vmware-root/modules/vmmon-only/vmmon.ko

make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-23-generic'

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

      MODULEBUILDDIR= postbuild

make[1]: Entering directory `/tmp/vmware-root/modules/vmmon-only'

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

make[1]: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

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

make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

Built vmmon module

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-root/modules/vmnet-only'

make -C /lib/modules/3.8.0-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

      MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/linux-headers-3.8.0-23-generic'

  CC [M]  /tmp/vmware-root/modules/vmnet-only/driver.o

  CC [M]  /tmp/vmware-root/modules/vmnet-only/hub.o

  CC [M]  /tmp/vmware-root/modules/vmnet-only/userif.o

  CC [M]  /tmp/vmware-root/modules/vmnet-only/netif.o

  CC [M]  /tmp/vmware-root/modules/vmnet-only/bridge.o

  CC [M]  /tmp/vmware-root/modules/vmnet-only/filter.o

  CC [M]  /tmp/vmware-root/modules/vmnet-only/procfs.o

  CC [M]  /tmp/vmware-root/modules/vmnet-only/smac_compat.o

  CC [M]  /tmp/vmware-root/modules/vmnet-only/smac.o

  CC [M]  /tmp/vmware-root/modules/vmnet-only/vnetEvent.o

  CC [M]  /tmp/vmware-root/modules/vmnet-only/vnetUserListener.o

  LD [M]  /tmp/vmware-root/modules/vmnet-only/vmnet.o

  Building modules, stage 2.

  MODPOST 1 modules

  CC      /tmp/vmware-root/modules/vmnet-only/vmnet.mod.o

  LD [M]  /tmp/vmware-root/modules/vmnet-only/vmnet.ko

make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-23-generic'

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

      MODULEBUILDDIR= postbuild

make[1]: Entering directory `/tmp/vmware-root/modules/vmnet-only'

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

make[1]: Leaving directory `/tmp/vmware-root/modules/vmnet-only'

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

make: Leaving directory `/tmp/vmware-root/modules/vmnet-only'

Built vmnet module

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-root/modules/vmblock-only'

make -C /lib/modules/3.8.0-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

      MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/linux-headers-3.8.0-23-generic'

  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/block.o

  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/control.o

  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o

  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/dentry.o

  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/file.o

  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/inode.o

  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/module.o

  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/filesystem.o

  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/stubs.o

  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/super.o

/tmp/vmware-root/modules/vmblock-only/linux/control.c: In function ‘ExecuteBlockOp’:

/tmp/vmware-root/modules/vmblock-only/linux/control.c:285:9: warning: assignment from incompatible pointer type [enabled by default]

/tmp/vmware-root/modules/vmblock-only/linux/control.c:296:4: warning: passing argument 1 of ‘putname’ from incompatible pointer type [enabled by default]

In file included from include/linux/proc_fs.h:5:0,

                 from /tmp/vmware-root/modules/vmblock-only/linux/control.c:28:

include/linux/fs.h:2052:13: note: expected ‘struct filename *’ but argument is of type ‘char *’

/tmp/vmware-root/modules/vmblock-only/linux/inode.c:49:4: warning: initialization from incompatible pointer type [enabled by default]

/tmp/vmware-root/modules/vmblock-only/linux/inode.c:49:4: warning: (near initialization for ‘RootInodeOps.lookup’) [enabled by default]

/tmp/vmware-root/modules/vmblock-only/linux/dentry.c:38:4: warning: initialization from incompatible pointer type [enabled by default]

/tmp/vmware-root/modules/vmblock-only/linux/dentry.c:38:4: warning: (near initialization for ‘LinkDentryOps.d_revalidate’) [enabled by default]

/tmp/vmware-root/modules/vmblock-only/linux/dentry.c: In function ‘DentryOpRevalidate’:

/tmp/vmware-root/modules/vmblock-only/linux/dentry.c:104:7: warning: passing argument 2 of ‘actualDentry->d_op->d_revalidate’ makes integer from pointer without a cast [enabled by default]

/tmp/vmware-root/modules/vmblock-only/linux/dentry.c:104:7: note: expected ‘unsigned int’ but argument is of type ‘struct nameidata *’

  LD [M]  /tmp/vmware-root/modules/vmblock-only/vmblock.o

  Building modules, stage 2.

  MODPOST 1 modules

WARNING: "putname" [/tmp/vmware-root/modules/vmblock-only/vmblock.ko] undefined!

  CC      /tmp/vmware-root/modules/vmblock-only/vmblock.mod.o

  LD [M]  /tmp/vmware-root/modules/vmblock-only/vmblock.ko

make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-23-generic'

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

      MODULEBUILDDIR= postbuild

make[1]: Entering directory `/tmp/vmware-root/modules/vmblock-only'

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

make[1]: Leaving directory `/tmp/vmware-root/modules/vmblock-only'

cp -f vmblock.ko ./../vmblock.o

make: Leaving directory `/tmp/vmware-root/modules/vmblock-only'

Built vmblock module

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-root/modules/vmci-only'

make -C /lib/modules/3.8.0-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

      MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/linux-headers-3.8.0-23-generic'

  CC [M]  /tmp/vmware-root/modules/vmci-only/linux/driver.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/linux/vmciKernelIf.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciContext.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDatagram.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDoorbell.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDriver.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciEvent.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQPair.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciHashtable.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQueuePair.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciResource.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciRoute.o

  CC [M]  /tmp/vmware-root/modules/vmci-only/driverLog.o

/tmp/vmware-root/modules/vmci-only/linux/driver.c:127:4: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]

/tmp/vmware-root/modules/vmci-only/linux/driver.c:127:4: error: initializer element is not constant

/tmp/vmware-root/modules/vmci-only/linux/driver.c:127:4: error: (near initialization for ‘vmci_driver.remove’)

/tmp/vmware-root/modules/vmci-only/linux/driver.c:1745:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vmci_probe_device’

/tmp/vmware-root/modules/vmci-only/linux/driver.c:1973:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vmci_remove_device’

/tmp/vmware-root/modules/vmci-only/linux/driver.c: In function ‘__check_disable_host’:

/tmp/vmware-root/modules/vmci-only/linux/driver.c:2498:1: warning: return from incompatible pointer type [enabled by default]

/tmp/vmware-root/modules/vmci-only/linux/driver.c: In function ‘__check_disable_guest’:

/tmp/vmware-root/modules/vmci-only/linux/driver.c:2501:1: warning: return from incompatible pointer type [enabled by default]

/tmp/vmware-root/modules/vmci-only/linux/driver.c: In function ‘__check_disable_msi’:

/tmp/vmware-root/modules/vmci-only/linux/driver.c:2504:1: warning: return from incompatible pointer type [enabled by default]

/tmp/vmware-root/modules/vmci-only/linux/driver.c: In function ‘__check_disable_msix’:

/tmp/vmware-root/modules/vmci-only/linux/driver.c:2507:1: warning: return from incompatible pointer type [enabled by default]

/tmp/vmware-root/modules/vmci-only/linux/driver.c: At top level:

/tmp/vmware-root/modules/vmci-only/linux/driver.c:119:12: warning: ‘vmci_probe_device’ used but never defined [enabled by default]

/tmp/vmware-root/modules/vmci-only/linux/driver.c:121:13: warning: ‘vmci_remove_device’ used but never defined [enabled by default]

/tmp/vmware-root/modules/vmci-only/linux/driver.c:2054:1: warning: ‘vmci_interrupt’ defined but not used [-Wunused-function]

/tmp/vmware-root/modules/vmci-only/linux/driver.c:2128:1: warning: ‘vmci_interrupt_bm’ defined but not used [-Wunused-function]

/tmp/vmware-root/modules/vmci-only/linux/driver.c:1708:1: warning: ‘vmci_enable_msix’ defined but not used [-Wunused-function]

cc1: some warnings being treated as errors

make[2]: *** [/tmp/vmware-root/modules/vmci-only/linux/driver.o] Error 1

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

make[1]: *** [_module_/tmp/vmware-root/modules/vmci-only] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-23-generic'

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

make: Leaving directory `/tmp/vmware-root/modules/vmci-only'

Unable to install vmci

Reply
0 Kudos
jcj52436999
Contributor
Contributor

VMware Player 64 bit bundle appears to install on 64 bit Mint 14 Linux and will start, but then the start aborts with a request for the gcc and headers, and pointing to the gcc facilities fails, Player does not see them.  Similar problem with Ubuntu 13.04 on the same laptop.  Strange because Player runs well on Ubuntu 12.04.  Web searches reveal problems like this going back six years for Mint Linux with no solutions worked out in web posts.  

Reply
0 Kudos
LinuxG1rl
Enthusiast
Enthusiast

I really hope someone does have a solution 😞

I have vm workstation 8 and ubuntu 13.04, both 64 bit.

vm community, please help us if you can, thanks !

Reply
0 Kudos
LinuxG1rl
Enthusiast
Enthusiast

this script posted by tangramor in ubuntu forums solved my problem (vm workstation 8):

#!/bin/bash

if [[ $UID != 0 ]]; then

  echo "Please run this script with sudo:"

  echo "sudo $0 $*"

  exit 1

fi

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h

cd /usr/lib/vmware/modules/source

sudo cp vmci.orig.tar vmci.tar

sudo cp -n vmci.tar vmci.orig.tar

sudo tar -xf vmci.tar

cd vmci-only/linux/

sudo sed '127s/.*/ .remove = vmci_remove_device,/' driver.c > driver.c.tmp

mv driver.c.tmp driver.c

sudo sed '1744s/.*/static int/' driver.c > driver.c.tmp

mv driver.c.tmp driver.c

sudo sed '1972s/.*/static void/' driver.c > driver.c.tmp

mv driver.c.tmp driver.c

cd ../..

sudo tar -cf vmci.tar vmci-only/

sudo rm vmci-only/ -Rf

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

sudo rm /usr/src/linux-headers-$(uname -r)/include/linux/version.h

echo "Done"

Reply
0 Kudos
valdresalex
Contributor
Contributor

The first answer (bakes) worked for me on Ubuntu (13.04)

Alex 🙂

Reply
0 Kudos
donaltman
Contributor
Contributor

Hello,

I'm having a similar problem installing workstation 9.0.2 onto Linux Mint 15 (kernel 3.8.0-26-generic).  When I install workstation I get a bunch of error messages during the VMX 5.0.2 install coming from the configuration section:

BEGIN COPIED TEXT

Installing VMware VMX 5.0.2

    Configuring...Traceback (most recent call last):

  File "/tmp/vmis.zc4Ot5/install/vmware-installer/python/lib/logging/handlers.py", line 73, in emit

    if self.shouldRollover(record):

  File "/tmp/vmis.zc4Ot5/install/vmware-installer/python/lib/logging/handlers.py", line 146, in shouldRollover

    msg = "%s\n" % self.format(record)

  File "/tmp/vmis.zc4Ot5/install/vmware-installer/python/lib/logging/__init__.py", line 630, in format

    return fmt.format(record)

  File "/tmp/vmis.zc4Ot5/install/vmware-installer/python/lib/logging/__init__.py", line 421, in format

    s = self._fmt % record.__dict__

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 289: ordinaInstalling VMware Workstation 9.0.2

    Configuring...

[######################################################################] 100%

Installation was successful.

END COPIED TEXT

But Installation wasn't successful!

Workstation starts, but when I try to start a virtual machine it asks me to register.  When I attempt to enter the S/N, no window pops up to accept it.

- I've tried bakes' solution with no change.

- I've tried LinuxG1rl's script with no success (perhaps because this is workstation 9, not 8?) 

- I've found an alternative vmx 5.0.2 at http://goo.gl/JXy7L

which came from http://www.upubuntu.com/2013/05/install-vmware-player-502-in-ubuntu.html

However, I'm reluctant to even try it since I don't know whose code it really is.

I could post a voluminous session log, but the gist of it is that the errors start with:

BEGIN COPIED TEXT

2013-07-24T10:50:22.696-04:00 [7F80C992E740 info 'Libs'] Msg_AppendMsgList stub: Cannot open file "/etc/vmware/ft-vmk-version": No such file or directory.

2013-07-24T10:50:22.696-04:00 [7F80C992E740 error 'Default'] An error occurred while loading configuration "/etc/vmware/ft-vmk-version",not all entries are being read. It is strongly encouraged that you manually inspect the file and fix any corruptions.

2013-07-24T10:50:22.696-04:00 [7F80C992E740 info 'Libs'] Msg_AppendMsgList stub: Cannot open file "/etc/vmware/ft-vmx-version": No such file or directory.

2013-07-24T10:50:22.696-04:00 [7F80C992E740 error 'Default'] An error occurred while loading configuration "/etc/vmware/ft-vmx-version",not all entries are being read. It is strongly encouraged that you manually inspect the file and fix any corruptions.

2013-07-24T10:50:22.696-04:00 [7F80C992E740 info 'Libs'] Msg_AppendMsgList stub: Cannot open file "/etc/vmware/hostd/ft-hostd-version": No such file or directory.

2013-07-24T10:50:22.696-04:00 [7F80C992E740 error 'Default'] An error occurred while loading configuration "/etc/vmware/hostd/ft-hostd-version",not all entries are being read. It is strongly encouraged that you manually inspect the file and fix any corruptions.

2013-07-24T10:50:22.696-04:00 [7F80C992E740 warning 'ha-host'] Failed to read FT version information.

END COPIED TEXT

I believe those files don't exist because of the failed VMX install.

So, I'm stuck!  I'd really appreciate a hand.

My fallback would be to try the open-source player, but since I've paid for 9.x I'm reluctant to give up anything.

TIA

Reply
0 Kudos