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.
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:
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!
Thank you, but that doesnt help 😞
I did all the steps previously described in this thread, they had worked for me with vmware 8 + ubuntu 13.04 - but now that I upgraded to 13.10 they are no longer working and I cant launch my workstation....the patch that pivotmanz gave was probably good only for the previous version - can anyone help?
I keep getting the unable to install vmon error...
This is the script. I of course previously did the wget for the patch, but as I said, it is probably not good for the new ubuntu version.
#!/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"
And the error (only part as it is too long):
typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \ | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/x86svm.h:317:4: note: in expansion of macro ‘ASSERT_ON_COMPILE’
ASSERT_ON_COMPILE(SVM_EXEC_CTL_BIT(SVM_EXITCODE_##name) == \ | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/x86svm.h:364:4: note: in expansion of macro ‘VERIFY_EXEC_CTL’
VERIFY_EXEC_CTL(WBINVD); | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/vm_assert.h:274:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \ | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/x86svm.h:317:4: note: in expansion of macro ‘ASSERT_ON_COMPILE’
ASSERT_ON_COMPILE(SVM_EXEC_CTL_BIT(SVM_EXITCODE_##name) == \ | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/x86svm.h:365:4: note: in expansion of macro ‘VERIFY_EXEC_CTL’
VERIFY_EXEC_CTL(MONITOR); | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/vm_assert.h:274:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \ | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/x86svm.h:317:4: note: in expansion of macro ‘ASSERT_ON_COMPILE’
ASSERT_ON_COMPILE(SVM_EXEC_CTL_BIT(SVM_EXITCODE_##name) == \ | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/x86svm.h:366:4: note: in expansion of macro ‘VERIFY_EXEC_CTL’
VERIFY_EXEC_CTL(MWAIT); | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/vm_assert.h:274:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \ | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/x86svm.h:317:4: note: in expansion of macro ‘ASSERT_ON_COMPILE’
ASSERT_ON_COMPILE(SVM_EXEC_CTL_BIT(SVM_EXITCODE_##name) == \ | |
^ |
/tmp/vmware-root/modules/vmmon-only/./include/x86svm.h:367:4: note: in expansion of macro ‘VERIFY_EXEC_CTL’
VERIFY_EXEC_CTL(MWAIT_COND); | |
^ |
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-14-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
Unable to install vmmon
I hope the vmcommunity can help!
Thanks!
Help anyone....please?
Please don't spent time answering LinuxG1rl in this thread, if you want to help her, then continue in the following thread: ubuntu 13.10 + vmware workstation 8 - modules problem that she started as well.
--
Wil