VMware Communities > VMTN > Desktop Products > VMware Workstation > Discussions

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
7 Replies Last post: Nov 1, 2007 12:31 PM by Tex-Twil
Reply

vmware tools in a Ubuntu Gusty guest (2.6.22)

Oct 30, 2007 11:00 AM

Click to view Tex-Twil's profile Novice Tex-Twil 19 posts since
Sep 5, 2007
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.

Reply Re: vmware tools in a Ubuntu Gusty guest (2.6.22) Oct 30, 2007 6:55 PM
Click to view Noel's profile Expert Noel 887 posts since
Dec 15, 2004

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:

[code]

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

[/code]

By any chance, have you updated to Gutsy from Feisty, and not rebooted yet, so you are running on an older kernel?

--- Noel

Reply Re: vmware tools in a Ubuntu Gusty guest (2.6.22) Oct 30, 2007 9:36 PM
in response to: Noel
Click to view duckolay's profile Lurker duckolay 1 posts since
Oct 30, 2007
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
Reply Re: vmware tools in a Ubuntu Gusty guest (2.6.22) Oct 31, 2007 2:22 AM
in response to: Noel
Click to view Tex-Twil's profile Novice Tex-Twil 19 posts since
Sep 5, 2007

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.

Reply Re: vmware tools in a Ubuntu Gusty guest (2.6.22) Oct 31, 2007 10:52 AM
in response to: duckolay
Click to view Noel's profile Expert Noel 887 posts since
Dec 15, 2004
  1. Updated from Feisty to Gutsy.
  2. Unpacked the vmware tools tar under /tmp.
  3. Unpacked vmware-tools-distrib/lib/modules/source/vmhgfs.tar
  4. Fixed compat_slab.h
  5. Re-rolled vmhgfs.tar
  6. Ran the install script.
  7. Fixed vmware-config-tools.pl for the XOrg 7.2 reporting as 1.3 fix.
  8. Ran vmware-config-tools.pl

Reply Re: vmware tools in a Ubuntu Gusty guest (2.6.22) Oct 31, 2007 11:49 AM
in response to: Noel
Click to view Tex-Twil's profile Novice Tex-Twil 19 posts since
Sep 5, 2007

Hi,

and what are the fixes you are talking about ? What do they consist of ? where have you found them ?

thanks

Reply Re: vmware tools in a Ubuntu Gusty guest (2.6.22) Oct 31, 2007 12:48 PM
in response to: Tex-Twil
Click to view Noel's profile Expert Noel 887 posts since
Dec 15, 2004

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.
Reply Re: vmware tools in a Ubuntu Gusty guest (2.6.22) Nov 1, 2007 12:31 PM
in response to: Noel
Click to view Tex-Twil's profile Novice Tex-Twil 19 posts since
Sep 5, 2007

Hi,

thank you it worked perfectly ;)

cheers

Actions