VMware

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  

vmware tools in a Ubuntu Gusty guest (2.6.22) posted: Oct 30, 2007 11:00 AM

Click to view Tex-Twil's profile Novice 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.

Re: vmware tools in a Ubuntu Gusty guest (2.6.22)

1. Oct 30, 2007 6:55 PM in response to: Tex-Twil
Click to view Noel's profile Expert 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

Re: vmware tools in a Ubuntu Gusty guest (2.6.22)

2. Oct 30, 2007 9:36 PM in response to: Noel
Click to view duckolay's profile Lurker 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

Re: vmware tools in a Ubuntu Gusty guest (2.6.22)

4. Oct 31, 2007 10:52 AM in response to: duckolay
Click to view Noel's profile Expert 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

Re: vmware tools in a Ubuntu Gusty guest (2.6.22)

6. Oct 31, 2007 12:48 PM in response to: Tex-Twil
Click to view Noel's profile Expert 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.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities