Hi,
I'm trying to install vmware tools on a guest Gusty distribution. I have a problem with the vmware-config-tools.pl phase. It says that the headers of my kernel are different from the kernel I'm running.
Unable to make a vmhgfs module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vmhgfs.o': -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
I did install the headers
sudo aptitude install linux-headers-$(uname -r)
I've seen some discussion about this problem here but none of them helped me to find the solution. There is the "any-to-any" patch but this is for the host and I'm having this troubles in a guest
thanks.
Not that this is what you want to hear, but I'm running Gutsy in a guest, and had zero problem with what you describe. I did have to fix the one file in the vmhgfs tar before building, but other than that it has been good.
What are your packages? I have:
ii linux-headers-2.6.22-14 2.6.22-14.46 Header files related to Linux kernel version
ii linux-headers-2.6.22-14-generic 2.6.22-14.46 Linux kernel headers for version 2.6.22 on x
ii linux-headers-generic 2.6.22.14.21 Generic Linux kernel headers
ii linux-image-2.6.22-14-generic 2.6.22-14.46 Linux kernel image for version 2.6.22 on x86
ii linux-image-generic 2.6.22.14.21 Generic Linux kernel image
By any chance, have you updated to Gutsy from Feisty, and not rebooted yet, so you are running on an older kernel?
--- Noel
I have the same problem with Ubuntu Gusty guest (2.6.22) and VMware Workstation 6.02 b59824 , host XP sp2 (
Noel, glad it worked for you, but could you tell us what exactly you did?
thanks
Hi,
It's a fresh install of Gusty in Vmware 6.0.2 host running in Vista. The kernel I'm running is 2.6.22.14-generic.
Updated from Feisty to Gutsy.
Unpacked the vmware tools tar under /tmp.
Unpacked vmware-tools-distrib/lib/modules/source/vmhgfs.tar
Fixed compat_slab.h
Re-rolled vmhgfs.tar
Ran the install script.
Fixed vmware-config-tools.pl for the XOrg 7.2 reporting as 1.3 fix.
Ran vmware-config-tools.pl
Hi,
and what are the fixes you are talking about ? What do they consist of ? where have you found them ?
thanks
Please note that the fix for the second one needs to be understood, not performed by rote, since the file in VMware Tools Build 59824 does not match exactly what is described in the post for VMware Fusion.
Hi,
thank you it worked perfectly
cheers