VMware Communities
Marfi
Contributor
Contributor

Workstation 8 + Ubuntu 13.04 Module compile error

All,

I upgraded to 13.04, and am having some trouble getting the kernel modules to compile. I used to use the 2.6 patch, but since the new kernel is 3.8...old patch didn't work. Smiley Happy

I did some searching and did find a 3.8 patch, however that was for Workstation 9, and not 8. Here's what I'm seeing:

Virtual machine monitor                                             done
   Virtual machine communication interface                            failed
   VM communication interface socket family                           failed
   Blocking file system                                                done
   Virtual ethernet                                                    done
   VMware Authentication Daemon                                        done

And my modconfig.log:

2013-04-25T18:14:32.404-05:00| vthread-3| I120: Log for VMware Workstation pid=4221 version=8.0.6 build=build-1035888 option=Release

2013-04-25T18:14:32.404-05:00| vthread-3| I120: The process is 64-bit.

2013-04-25T18:14:32.404-05:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8

2013-04-25T18:14:32.404-05:00| vthread-3| I120: Host is Linux 3.8.0-19-generic Ubuntu 13.04

2013-04-25T18:14:32.368-05:00| vthread-3| I120: Msg_Reset:

2013-04-25T18:14:32.368-05:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.

2013-04-25T18:14:32.368-05:00| vthread-3| I120: ----------------------------------------

2013-04-25T18:14:32.368-05:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2013-04-25T18:14:32.379-05:00| vthread-3| I120: Msg_Reset:

2013-04-25T18:14:32.379-05:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/home/ph33r/.vmware/config": No such file or directory.

2013-04-25T18:14:32.379-05:00| vthread-3| I120: ----------------------------------------

2013-04-25T18:14:32.379-05:00| vthread-3| I120: PREF Optional preferences file not found at /home/ph33r/.vmware/config. Using default values.

2013-04-25T18:14:32.404-05:00| vthread-3| W110: Logging to /tmp/vmware-root/modconfig-4221.log

2013-04-25T18:14:32.594-05:00| vthread-3| I120: modconf query interface initialized

2013-04-25T18:14:32.595-05:00| vthread-3| I120: modconf library initialized

2013-04-25T18:14:32.689-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:32.693-05:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:32.693-05:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h

2013-04-25T18:14:32.693-05:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.

2013-04-25T18:14:32.693-05:00| vthread-3| I120: Validating path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:32.696-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:32.717-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:32.743-05:00| vthread-3| I120: Header path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic is valid.

2013-04-25T18:14:32.743-05:00| vthread-3| I120: Validating path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:32.746-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:32.764-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:32.792-05:00| vthread-3| I120: Header path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic is valid.

2013-04-25T18:14:32.823-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.828-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.833-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.838-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.839-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.870-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.876-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.882-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.886-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.887-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.891-05:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:32.891-05:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h

2013-04-25T18:14:32.891-05:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.

2013-04-25T18:14:32.891-05:00| vthread-3| I120: Validating path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:32.895-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:32.914-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:32.936-05:00| vthread-3| I120: Header path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic is valid.

2013-04-25T18:14:32.967-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.973-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.979-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.982-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.983-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:32.987-05:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:32.987-05:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h

2013-04-25T18:14:32.987-05:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.

2013-04-25T18:14:32.987-05:00| vthread-3| I120: Validating path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:32.991-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:33.009-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:33.032-05:00| vthread-3| I120: Header path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic is valid.

2013-04-25T18:14:33.093-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:33.098-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:33.102-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:33.103-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:33.105-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:33.320-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:33.320-05:00| vthread-3| I120: Validating path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:33.323-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:33.334-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:33.343-05:00| vthread-3| I120: Header path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic is valid.

2013-04-25T18:14:33.343-05:00| vthread-3| I120: Building module vmmon.

2013-04-25T18:14:33.343-05:00| vthread-3| I120: Extracting the sources of the vmmon module.

2013-04-25T18:14:33.361-05:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.8.0-19-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7

2013-04-25T18:14:35.401-05:00| vthread-3| I120: Installing module vmmon from /tmp/vmware-root/modules/vmmon.o to /lib/modules/3.8.0-19-generic/misc.

2013-04-25T18:14:35.401-05:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.8.0-19-generic/misc/vmmon.ko

2013-04-25T18:14:36.342-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:36.342-05:00| vthread-3| I120: Validating path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:36.347-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:36.357-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:36.371-05:00| vthread-3| I120: Header path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic is valid.

2013-04-25T18:14:36.371-05:00| vthread-3| I120: Building module vmnet.

2013-04-25T18:14:36.371-05:00| vthread-3| I120: Extracting the sources of the vmnet module.

2013-04-25T18:14:36.379-05:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmnet-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.8.0-19-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7

2013-04-25T18:14:39.239-05:00| vthread-3| I120: Installing module vmnet from /tmp/vmware-root/modules/vmnet.o to /lib/modules/3.8.0-19-generic/misc.

2013-04-25T18:14:39.240-05:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.8.0-19-generic/misc/vmnet.ko

2013-04-25T18:14:40.177-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:40.177-05:00| vthread-3| I120: Validating path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:40.180-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:40.191-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:40.210-05:00| vthread-3| I120: Header path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic is valid.

2013-04-25T18:14:40.210-05:00| vthread-3| I120: Building module vmblock.

2013-04-25T18:14:40.210-05:00| vthread-3| I120: Extracting the sources of the vmblock module.

2013-04-25T18:14:40.227-05:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmblock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.8.0-19-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7

2013-04-25T18:14:42.732-05:00| vthread-3| I120: Installing module vmblock from /tmp/vmware-root/modules/vmblock.o to /lib/modules/3.8.0-19-generic/misc.

2013-04-25T18:14:42.733-05:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.8.0-19-generic/misc/vmblock.ko

2013-04-25T18:14:43.636-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:43.636-05:00| vthread-3| I120: Validating path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:43.638-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:43.658-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:43.686-05:00| vthread-3| I120: Header path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic is valid.

2013-04-25T18:14:43.686-05:00| vthread-3| I120: Building module vmci.

2013-04-25T18:14:43.686-05:00| vthread-3| I120: Extracting the sources of the vmci module.

2013-04-25T18:14:43.701-05:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.8.0-19-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7

2013-04-25T18:14:45.742-05:00| vthread-3| I120: Failed to compile module vmci!

2013-04-25T18:14:45.746-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.8.0-19-generic.

2013-04-25T18:14:45.746-05:00| vthread-3| I120: Validating path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic

2013-04-25T18:14:45.750-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:45.763-05:00| vthread-3| I120: Your GCC version: 4.7

2013-04-25T18:14:45.777-05:00| vthread-3| I120: Header path /lib/modules/3.8.0-19-generic/build/include for kernel release 3.8.0-19-generic is valid.

2013-04-25T18:14:45.777-05:00| vthread-3| I120: Building module vmci.

2013-04-25T18:14:45.777-05:00| vthread-3| I120: Extracting the sources of the vmci module.

2013-04-25T18:14:45.787-05:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.8.0-19-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7

2013-04-25T18:14:46.902-05:00| vthread-3| I120: Failed to compile module vmci!

Any help would be much appreciated!
--Marfi

22 Replies
Marfi
Contributor
Contributor

So as a temporary work-around, I reverted to the previous kernel (3.5) and am running Ubuntu 13.04 with the older kernel. If possible, I would like to see 13.04 + Kernel 3.8 + Workstation 8. Smiley Happy

Regards,

--Marfi

Reply
0 Kudos
mfelker
Expert
Expert

See if the the stepls in the previous thread on Ubuntu 13.04 work.  If not completely uninstall workstation (KB 38). then try again. If you still get the samke errorthen   repost the output again and myself or somebody else might be able to post.  WS 9  installs on 13.04 out the box for me.

Reply
0 Kudos
avanish321
Expert
Expert

have a look at http://communities.vmware.com/message/2233535#2233535.

This might help you.

Am not sure if this is relevant, but that did help me in installing tools.

Cheers! Avanish
Reply
0 Kudos
Marfi
Contributor
Contributor

Thanks for the replies!
mfelker, I tried several posts prior to posting this thread, which included several patches. I did another search on the forum, tried what I could find, and still no avail. Also note that I'm on WS8, not 9.
Avanish321, I just tried this as well, and did not work for me either.
I also uninstalled / reinstalled, and am still getting the same error. Log file is attached.
Regards,
--Marfi
Reply
0 Kudos
imageMapBRM
Contributor
Contributor

I am having the same issue. At present, VMCI doesn't compile. All directions found through Google are for VMware Workstation 9, not VMware Workstation 8. As with W9, you need to symlink the "version.h" file, which starts the build process but then it fails on VMCI (see below and attached).

Would be nice to see a resolution on this thread if one has already been found.

Compiler output (not in the attached file) is as follows:

make: Entering directory `/tmp/vmware-root/modules/vmci-only'
make -C /lib/modules/3.8.0-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
          MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
  CC [M]  /tmp/vmware-root/modules/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/linux/driver.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/vmciHashtable.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQPair.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-19-generic'
make: *** [vmci.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmci-only'
Unable to install vmci

Reply
0 Kudos
imageMapBRM
Contributor
Contributor

Attached is a nice little patch. It's a mod of the W9 patch. Seems to do the job.

Reply
0 Kudos
LinuxG1rl
Enthusiast
Enthusiast

Hello imageMapBRM,

Is this patch for workstation 8? How do I apply it?

Thanks in advance,

LinuxG1rl

Reply
0 Kudos
pivotmannz
Contributor
Contributor

On a Debian/Ubuntu system you can get WS8 running on 13.04 with the default kernel working, by doing this:

# Become root

sudo -i

# Do a couple of pre-requisites

apt-get install build-essential

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


# Extract each of the VMware module packages


cd /usr/lib/vmware/modules/source
for file in *
do
  tar xvf $file
done


# Fetch and apply patches required for this release...

wget http://communities.vmware.com/servlet/JiveServlet/download/2234875-108182/vmci.linux-3-8.patch

patch -p0 < vmci.linux-3-8.patch


# Put the VMware module source packages back together again

for file in *-only

do

  tar cvf `basename $file -only`.tar $file

done

rm -rf *-only


# Tell VMware to rebuild the modules - can also just run the command "vmware" as root

vmware-modconfig --console --install-all

Hope this helps.

LinuxG1rl
Enthusiast
Enthusiast

HI pivotmannz,

First of all, thank you so much for your time! I did what you said, but encountered several errors and it did not work. If you could help me debug what went wrong it would be great!

Please see - I have the history of what I did, unfortunately I didn't save the terminal output of all the commands, but I think I remember more or less where the problems occured - you can also see below the end with the final error - I highlighted the errors in red. They happend on command 87 (from history), on command 97 and 99 - you can scroll the long log to see the lines marked in red (BTW, command 85 I did before your post). The interesting thing is that now the VM application opens, but I can't run any of my machines, get the errors: "Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded", then "Failed to initialize monitor device" and then "Unable to change virtual machine power state: Cannot find a valid peer process to connect to" Thanks in advance !!!

85  sudo ln -s  /usr/src/linux-headers-3.8.0-19-generic/include/generated/uapi/linux/version.h  /usr/src/linux-headers-3.8.0-19-generic/include/linux   /version.h -
   86  apt-get install build-essential
    87  ln -s /usr/src/linux-headers-$(uname  -r)/include/generated/uapi/linux/version.h  /usr/src/linux-headers-$(uname -r)/include/linux/version.h

****In here I got the first error - it said link already exists.

   88  cd /usr/lib/vmware/modules/source
   89  ll
   90  tar xvf vmblock.tar ; tar xvf vmci.tar; tar xvf vmmon.tar ; tar xvf vmnet.tar ; tar xvf vsock.tar

   91 cd /usr/lib/vmware/modules/source
   92  wget http://communities.vmware.com/servlet/JiveServlet/download/2234875-108182/vmci.linux-3-8.patch
   93  patch -p0 < vmci.linux-3-8.patch
   94  ll
   95  vi module_together
  96  chmod 755 module_together
  97  ./module_together
  98  rm -rf *-only
  99  vmware-modconfig --console --install-all

vmci-only/shared/compat_dcache.h
vmci-only/shared/compat_sched.h
vmci-only/shared/compat_pci.h
vmci-only/shared/compat_workqueue.h
vmci-only/shared/compat_pci_mapping.h
vmci-only/shared/backdoor_types.h
vmci-only/shared/vmciKernelAPI2.h
vmci-only/shared/compat_statfs.h
vmci-only/shared/vm_basic_math.h
vmci-only/shared/vmciKernelAPI.h
vmci-only/shared/vmware_pack_init.h
vmci-only/shared/compat_pagemap.h
vmci-only/shared/compat_namei.h
vmci-only/shared/vmci_call_defs.h
vmci-only/shared/compat_timer.h
vmci-only/shared/vm_basic_asm.h
vmci-only/shared/dbllnklst.h
vmci-only/shared/autoconf/
vmci-only/shared/autoconf/skblin.c
vmci-only/shared/autoconf/cachector.c
vmci-only/shared/autoconf/netif_num_params.c
vmci-only/shared/autoconf/cachecreate.c
vmci-only/shared/autoconf/netcreate_num_params.c
vmci-only/shared/autoconf/inode1.c
vmci-only/shared/autoconf/filldir1.c
vmci-only/shared/autoconf/geninclude.c
vmci-only/shared/autoconf/statfs1.c
vmci-only/shared/autoconf/cachector1.c
vmci-only/shared/autoconf/getsb1.c
vmci-only/shared/compat_page.h
vmci-only/shared/compat_cred.h
vmci-only/shared/compat_version.h
vmci-only/shared/backdoor_def.h
tar: Exiting with failure status due to previous errors
tar: .tar: Cannot stat: No such file or directory

vmmon-only/
vmmon-only/linux/
vmmon-only/linux/driver.c
vmmon-only/linux/hostif.c
vmmon-only/linux/vmmonInt.h
vmmon-only/linux/driverLog.h
vmmon-only/linux/driver.h
vmmon-only/linux/hostif_priv.h
vmmon-only/linux/driverLog.c
vmmon-only/linux/vmhost.h
vmmon-only/Makefile
vmmon-only/include/
vmmon-only/include/includeCheck.h
vmmon-only/include/x86vt.h
vmmon-only/include/x86apic.h
vmmon-only/include/x86segdescrs.h
vmmon-only/include/usercalldefs.h
vmmon-only/include/vmm_constants.h
vmmon-only/include/pagelist.h
vmmon-only/include/pcip_defs.h
vmmon-only/include/cpuid_info.h
vmmon-only/include/x86types.h
vmmon-only/include/pgtbl.h
vmmon-only/include/compat_module.h
vmmon-only/include/vcpuset.h
vmmon-only/include/vm_atomic.h
vmmon-only/include/circList.h
vmmon-only/include/overheadmem_types.h
vmmon-only/include/community_source.h
vmmon-only/include/compat_semaphore.h
vmmon-only/include/uccostTable.h
vmmon-only/include/compat_autoconf.h
vmmon-only/include/hashFunc.h
vmmon-only/include/vm_assert.h
vmmon-only/include/ptsc.h
vmmon-only/include/contextinfo.h
vmmon-only/include/compat_interrupt.h
vmmon-only/include/x86cpuid.h
vmmon-only/include/vm_asm_x86_64.h
vmmon-only/include/vmware_pack_end.h
vmmon-only/include/mon_assert.h
vmmon-only/include/compat_pgtable.h
vmmon-only/include/x86cpuid_asm.h
vmmon-only/include/vm_basic_asm_x86.h
vmmon-only/include/compat_kernel.h
vmmon-only/include/x86svm.h
vmmon-only/include/modulecall.h
vmmon-only/include/compat_highmem.h
vmmon-only/include/vmware_pack_begin.h
vmmon-only/include/vm_time.h
vmmon-only/include/vmmem_shared.h
vmmon-only/include/crossgdt.h
vmmon-only/include/vmware.h
vmmon-only/include/cpu_defs.h
vmmon-only/include/vm_basic_types.h
vmmon-only/include/iocontrols.h
vmmon-only/include/compat_spinlock.h
vmmon-only/include/x86sel.h
vmmon-only/include/memDefaults.h
vmmon-only/include/vcpuid.h
vmmon-only/include/vm_basic_asm_x86_64.h
vmmon-only/include/modulecallstructs.h
vmmon-only/include/vm_basic_defs.h
vmmon-only/include/driver-config.h
vmmon-only/include/vm_asm.h
vmmon-only/include/x86_basic_defs.h
vmmon-only/include/initblock.h
vmmon-only/include/compat_ioport.h
vmmon-only/include/speaker_reg.h
vmmon-only/include/compat_sched.h
vmmon-only/include/compat_pci.h
vmmon-only/include/x86msr.h
vmmon-only/include/numa_defs.h
vmmon-only/include/x86desc.h
vmmon-only/include/vm_basic_math.h
vmmon-only/include/vmware_pack_init.h
vmmon-only/include/rateconv.h
vmmon-only/include/x86vendor.h
vmmon-only/include/vm_asm_x86.h
vmmon-only/include/pshare_ext.h
vmmon-only/include/vm_basic_asm.h
vmmon-only/include/compat_page.h
vmmon-only/include/versioned_atomic.h
vmmon-only/include/compat_cred.h
vmmon-only/include/basic_initblock.h
vmmon-only/include/compat_version.h
vmmon-only/include/monitorAction_exported.h
vmmon-only/Makefile.kernel
vmmon-only/common/
vmmon-only/common/task.h
vmmon-only/common/comport.c
vmmon-only/common/phystrack.h
vmmon-only/common/memtrack.h
vmmon-only/common/vmx86.h
vmmon-only/common/hashFunc.c
vmmon-only/common/apic.c
vmmon-only/common/comport.h
vmmon-only/common/memtrack.c
vmmon-only/common/hostKernel.h
vmmon-only/common/apic.h
vmmon-only/common/hostif.h
vmmon-only/common/cpuid.h
vmmon-only/common/cpuid.c
vmmon-only/common/vmx86.c
vmmon-only/common/task.c
vmmon-only/common/hostifMem.h
vmmon-only/common/phystrack.c
vmmon-only/common/hostifGlobalLock.h
vmmon-only/vmcore/
vmmon-only/vmcore/driver_vmcore.h
vmmon-only/vmcore/moduleloop.c
vmmon-only/README
vmmon-only/Makefile.normal
vmmon-only/COPYING
vmmon-only/autoconf/
vmmon-only/autoconf/smpcall.c
vmmon-only/autoconf/geninclude.c
tar: Exiting with failure status due to previous errors
tar: .tar: Cannot stat: No such file or directory

vmnet-only/
vmnet-only/includeCheck.h
vmnet-only/compat_skbuff.h
vmnet-only/vnetEvent.h
vmnet-only/compat_sock.h
vmnet-only/driver.c
vmnet-only/compat_module.h
vmnet-only/smac_compat.c
vmnet-only/skblin.c
vmnet-only/vm_atomic.h
vmnet-only/vnetInt.h
vmnet-only/Makefile
vmnet-only/community_source.h
vmnet-only/compat_autoconf.h
vmnet-only/smac.h
vmnet-only/netif.c
vmnet-only/vm_assert.h
vmnet-only/x86cpuid.h
vmnet-only/vm_device_version.h
vmnet-only/vmware_pack_end.h
vmnet-only/hub.c
vmnet-only/procfs.c
vmnet-only/vm_basic_asm_x86.h
vmnet-only/vnetKernel.h
vmnet-only/vmware_pack_begin.htar: Exiting with failure status due to previous errors
tar: .tar: Cannot stat: No such file or directory

vmnet-only/Makefile.kernel
vmnet-only/compat_netdevice.h
vmnet-only/netdev_has_net.c
vmnet-only/vnetFilter.h
vmnet-only/vm_basic_types.h
vmnet-only/vm_oui.h
vmnet-only/vnetUserListener.c
vmnet-only/vnetFilterInt.h
vmnet-only/vm_basic_asm_x86_64.h
vmnet-only/userif.c
vmnet-only/vmnetInt.h
vmnet-only/vm_basic_defs.h
vmnet-only/driver-config.h
vmnet-only/vnet.h
vmnet-only/filter.c
vmnet-only/Makefile.normal
vmnet-only/bridge.c
vmnet-only/nfhook_uses_skb.c
vmnet-only/geninclude.c
vmnet-only/netdev_has_dev_net.c
vmnet-only/net.h
vmnet-only/COPYING
vmnet-only/vmware_pack_init.h
vmnet-only/smac.c
vmnet-only/smac_compat.h
vmnet-only/vm_basic_asm.h
vmnet-only/compat_version.h
vmnet-only/vnetEvent.c
vmnet-only/monitorAction_exported.h
tar: Exiting with failure status due to previous errors
tar: .tar: Cannot stat: No such file or directory

vsock-only/
vsock-only/linux/
vsock-only/linux/vsockAddr.c
vsock-only/linux/notify.h
vsock-only/linux/vsockCommon.h
vsock-only/linux/vsockVmci.h
vsock-only/linux/vmci_sockets_int.h
vsock-only/linux/vmci_sockets.h
vsock-only/linux/vsockPacket.h
vsock-only/linux/vsock_version.h
vsock-only/linux/af_vsock.c
vsock-only/linux/vsockSocketWrapper.h
vsock-only/linux/notify.c
vsock-only/linux/util.c
vsock-only/linux/notifyQState.c
vsock-only/linux/stats.h
vsock-only/linux/vsockAddr.h
vsock-only/linux/vmciKernelAPI1.h
vsock-only/linux/stats.c
vsock-only/linux/af_vsock.h
vsock-only/linux/vmciKernelAPI2.h
vsock-only/linux/vmciKernelAPI.h
vsock-only/linux/util.h
vsock-only/Makefile
vsock-only/Makefile.kernel
vsock-only/README
vsock-only/COPYING
vsock-only/shared/
vsock-only/shared/includeCheck.h
vsock-only/shared/compat_skbuff.h
vsock-only/shared/compat_init.h
vsock-only/shared/compat_sock.h
vsock-only/shared/compat_scsi.h
vsock-only/shared/compat_module.h
vsock-only/shared/vmci_infrastructure.h
vsock-only/shared/compat_page-flags.h
vsock-only/shared/compat_mm.h
vsock-only/shared/vm_atomic.h
vsock-only/shared/circList.h
vsock-only/shared/community_source.h
vsock-only/shared/compat_mutex.h
vsock-only/shared/compat_semaphore.h
vsock-only/shared/compat_autoconf.h
vsock-only/shared/compat_log2.h
vsock-only/shared/compat_string.h
vsock-only/shared/guest_msg_def.h
vsock-only/shared/vm_assert.h
vsock-only/shared/compat_interrupt.h
vsock-only/shared/x86cpuid.h
vsock-only/shared/vm_device_version.h
vsock-only/shared/vmware_pack_end.h
vsock-only/shared/driverLog.h
vsock-only/shared/compat_pgtable.h
vsock-only/shared/x86cpuid_asm.h
vsock-only/shared/vm_basic_asm_x86.h
vsock-only/shared/compat_kernel.h
vsock-only/shared/compat_uaccess.h
vsock-only/shared/compat_highmem.h
vsock-only/shared/vmware_pack_begin.h
vsock-only/shared/compat_netdevice.h
vsock-only/shared/vmware.h
vsock-only/shared/vm_basic_types.h
vsock-only/shared/compat_fs.h
vsock-only/shared/driverLog.c
vsock-only/shared/compat_spinlock.h
vsock-only/shared/vmci_defs.h
vsock-only/shared/vmci_iocontrols.h
vsock-only/shared/vmci_kernel_if.h
vsock-only/shared/vm_basic_asm_x86_64.h
vsock-only/shared/vmciKernelAPI1.h
vsock-only/shared/vm_basic_defs.h
vsock-only/shared/driver-config.h
vsock-only/shared/compat_slab.h
vsock-only/shared/compat_ethtool.h
vsock-only/shared/compat_ioport.h
vsock-only/shared/compat_dcache.h
vsock-only/shared/compat_sched.h
vsock-only/shared/compat_pci.h
vsock-only/shared/compat_workqueue.h

tar: Exiting with failure status due to previous errors
tar: .tar: Cannot stat: No such file or directory

vsock-only/shared/compat_pci_mapping.h
vsock-only/shared/backdoor_types.h
vsock-only/shared/vmciKernelAPI2.h
vsock-only/shared/compat_statfs.h
vsock-only/shared/vm_basic_math.h
vsock-only/shared/vmciKernelAPI.h
vsock-only/shared/vmware_pack_init.h
vsock-only/shared/compat_pagemap.h
vsock-only/shared/compat_namei.h
vsock-only/shared/vmci_call_defs.h
vsock-only/shared/compat_timer.h
vsock-only/shared/vm_basic_asm.h
vsock-only/shared/dbllnklst.h
vsock-only/shared/autoconf/
vsock-only/shared/autoconf/skblin.c
vsock-only/shared/autoconf/cachector.c
vsock-only/shared/autoconf/netif_num_params.c
vsock-only/shared/autoconf/cachecreate.c
vsock-only/shared/autoconf/netcreate_num_params.c
vsock-only/shared/autoconf/inode1.c
vsock-only/shared/autoconf/filldir1.c
vsock-only/shared/autoconf/geninclude.c
vsock-only/shared/autoconf/statfs1.c
vsock-only/shared/autoconf/cachector1.c
vsock-only/shared/autoconf/getsb1.c
vsock-only/shared/compat_page.h
vsock-only/shared/compat_cred.h
vsock-only/shared/compat_version.h
vsock-only/shared/backdoor_def.h
tar: Exiting with failure status due to previous errors
root@linux:/usr/lib/vmware/modules/source# rm -rf *-only
root@linux:/usr/lib/vmware/modules/source# 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
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/3.8.0-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-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-19-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-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-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-19-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-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-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/filesystem.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/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/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  *’
/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]
  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-19-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-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-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/vmciHashtable.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQPair.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-19-generic'
make: *** [vmci.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmci-only'
Unable to install vmci

root@linux:/usr/lib/vmware/modules/source#

Reply
0 Kudos
LinuxG1rl
Enthusiast
Enthusiast

Important: problem solved!

It was my mistake, on the step below, I put an unnecessary space between -only` and .tar:

# Put the VMware module source packages back together again

for file in *-only

do

  tar cvf `basename $file -only`.tar $file

done

rm -rf *-only

So everyone with vmware workstation 8 - if you do all the steps described by pivotmannz, your workstation will work!

Million thanks to pivotmannz for the help!

🙂

mikkolipasti
Contributor
Contributor

Absolutely brilliant. This solution fixed my problem too!

Reply
0 Kudos
mikkolipasti
Contributor
Contributor

LinuxG1rl: thank you for posting the question and commenting about the solution. Your work helped me find what I needed to do and saved me a lot of trouble. Would you please flag pivotmannz's answer as the correct one? He'll get some points and others will find the solution even faster. Thanks!

LinuxG1rl
Enthusiast
Enthusiast

Sorry for the late reply! How do I flag his answer as the correct one? Want to do it 🙂

@pivotmannz - got the same problem again. Ubuntu updates update the kernel again and I could not launch my vmworkstation.

I did your procedure again, hoping it would solve the problem as it did before - and what happened is that after I finished, I could launch vmworkstation, but I could not turn on any of my vms, I get the following error:

"Could not open /dev/vmmon: No such file or directory.

Please make sure that the kernel module `vmmon' is loaded."

Can you help me?

Thanks!

Reply
0 Kudos
LinuxG1rl
Enthusiast
Enthusiast

solution to my problem above is to indeed run pivotmannz's solution and then run sudo modprobe vmmon and sudo modprobe vmci.

Reply
0 Kudos
LinuxG1rl
Enthusiast
Enthusiast

ok, another update, it did not permanently solve the problem - after a reboot, I got the /dev/vmmon and vmci errors again - wouldnt want to have to run modprobe at every reboot - any help?

Reply
0 Kudos
vubao108
Contributor
Contributor

I don't understand this step :

# Put the VMware module source packages back together again

for file in *-only

do

  tar cvf `basename $file -only`.tar $file

done


Could you show me your script in this to solve the above task:

95  vi module_together



Thank you so much !


Reply
0 Kudos
ss2pheonix
Contributor
Contributor

Could you point me to the workstation 9 patch? I can't seem to find it anywhere.

Reply
0 Kudos
LinuxG1rl
Enthusiast
Enthusiast

Hello everyone,

I upgraded to ubuntu 13.10 and now I am having the same problem again. Still with VM workstation 8. I get the screen below. Is there a patch already for this? Any help is appreciated.

Screenshot from 2013-12-25 22_12_20.png

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

The screenshot says what it is missing, the kernel-headers package for your new kernel.

Run the following to fix that particular problem:

sudo apt-get install linux-headers-$(uname -r)

hope this helps,

--

Wil

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