Hi!
Yesterday when update my RHEL 6.2 for 6.6, my VMWare Workstation 10.0.3 dont't work, when start the vm appear the error.
could open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
I try this command sudo vmware-modconfig --console --install-all but the problem yet continue.
somebody have find the solution.
Thank's!
Its Work!!! on Centos 6.5
thanks raz3k!!!!
I'm trying this procedure and it all looks fine until:
# vmware-modconfig --console --build-mod vmmon /usr/bin/gcc /lib/modules/2.6.32-504.1.3.el6.x86_64/build/include/
Provided kernel information will not work with the running kernel.
Any suggestions? Permissions on the module library directories seem OK.
Try this solution via HFWSterkenHFWSterken
https://communities.vmware.com/message/2449348#2449348
its works for me, only a few days ago
I hope you find it useful
regards
Thanks, that actually works. My problem was that as I was installing the kernel development packages, my running kernel got out-of-sync with the headers and source. Once I got the running kernel to the same version as the headers/source, your procedure worked great.
VMWare Workstation 10.0.5 was released today and the release notes indicate they fixed the RHEL 6.6 kernel module issue. Will test shortly.
Hi all. I'm trying on
uname -r
2.6.32-504.12.2.el6.i686
with not much luck. Hopefully this error will help someone to fix the issue:
===========================================================================================
vmware-modconfig --console --build-mod vmmon /usr/bin/gcc /lib/modules/$(uname -r)/build/include/
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.32-504.12.2.el6.i686/build/include//.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-504.12.2.el6.i686'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
In file included from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:113:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.h:53: error: static declaration of ‘iommu_map’ follows non-static declaration
include/linux/iommu.h:68: note: previous declaration of ‘iommu_map’ was here
/tmp/vmware-root/modules/vmmon-only/linux/iommu.h:60: error: conflicting types for ‘iommu_unmap’
include/linux/iommu.h:70: note: previous declaration of ‘iommu_unmap’ was here
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-504.12.2.el6.i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
==============================================================================================
Machine has just been updated to CentOS 6.6. vmmon.ko compiled fine on 2.6.32-431.29.2
So, after long time I have solution, finally:
Kernel:
Linux name.host 2.6.32-504.23.4.el6.x86_64 #1 SMP Tue Jun 9 20:57:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.6 (Final)
Release: 6.6
Codename: Final
As root enter the following:
cd /usr/lib/vmware/modules/source
cd lib/modules/source/
cp vmmon.tar vmmon.tar.old
tar -xvf vmmon.tar
vi vmmon-only/linux/iommu.h
Line 50
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
Change to:
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
Save the file!
tar -cvf vmmon.tar vmmon-only
service vmware stop
vmware-modconfig --console --build-mod vmmon /usr/bin/gcc /lib/modules/$(uname -r)/build/include/
service vmware start
Thats all Folks! :smileycool: