VMware Communities
terryxela
Contributor
Contributor

opensuse 11 - unable to install vmware tools

ref:

vmware workstation 6.0.2

host opensuse 10.3 64b

guest: opensuse 11 64b

Problem: I can not install vmware tools either the 386.rpm or the tar file. The tar file complaind the g compilare are different version of the one use for the kernel. I tried different setups without sucess. I will spend more time with it but I wonder if any of you have already done it.

BTW the installation of opensue 11 went perfect and very fast. It runs almost as good as the real.

TIA

-=terry=-

Reply
0 Kudos
27 Replies
louyo
Virtuoso
Virtuoso

>>I wonder if any of you have already done it.

I tried, from the tar file and got:

-


The following VMware kernel modules have been found on your system that were

not installed by the VMware Installer. Please remove them then run this

installer again.

vmmemctl

vmxnet

vmblock

vmhgfs

-


Haven't pursued it any further.

Lou

Reply
0 Kudos
terryxela
Contributor
Contributor

Thxs Lou

-=terry=-

Reply
0 Kudos
Sli64Inv
Contributor
Contributor

By default opensuse installs the open-vm-tools and vmware-kmp-pae. To install the vmware tools you should first remove those packages. The vmware tools needs patching before install as it will not compile on kernel 2.6.25. patch or replace the modules with the ones in the attachment. It will also complain about the gcc version mismatch but this can be ignored.

Message was edited by: Sli64Inv - removed attachment

Reply
0 Kudos
louyo
Virtuoso
Virtuoso

>>patch or replace the modules with the ones in the attachment.

Thanks, got it going. For some reason, it took a second pass of the tools config. Perhaps a finger check on the first one..

Lou

Reply
0 Kudos
terryxela
Contributor
Contributor

Sli64Inv,

Thxs for the reply.

1. I did not have installed as a default open-vm-tools and vmware-kmp-pae but I checked to be sure.

2. I replaCe both modules: vmblock.tar and bmhgfs.tar with the ones that you supply. I did not do anything with the *.diff files

3. I run the installer and when I tried to run the config

-


  1. linux-gahy:/home/tdec/installations/VMware # /usr/bin/vmware-config-tools.pl

sh: /usr/sbin/vmware-checkvm: Permission denied

sh: /usr/sbin/vmware-checkvm: Permission denied

sh: /usr/sbin/vmware-checkvm: Permission denied

This configuration program is to be executed in a virtual machine.

Execution aborted.

-


#linux-gahy:/usr/bin # ls vmware-config-tools.pl -la

-rwxr-xr-x 1 root root 333198 Jun 27 06:39 vmware-config-tools.pl

-


Am I doing anything wrong?

Thxs again for your help.

-=terry(Denver)=-

Reply
0 Kudos
terryxela
Contributor
Contributor

Sli64Inv,

Forget about my last message. Everything is working OK.

1. I run vmware-uninstall script and remove everything.

2. Then I run the installation script

3. I had to change some of the permission and finally I got to the last step when it complains about the kernel version. I ignored.

4. Tools are running ok

Thank you much for your help and have a good weekend.

-terry(Denver)=-

Reply
0 Kudos
terryxela
Contributor
Contributor

VMware tools are working however I have two problems and I am sure if they are related to my setup:

1. copy and paste do not work

2. share folder do not work. When I tried to access the share folder (cd /mnt/hgfs and then > ls the process get killed and I have to reboot the VM)

I am running opensuse 10.3 64b as host and opensuse 11 64b as client. I wonder if you are using a 32 client instead?

TIA

-=terry=-

Reply
0 Kudos
terryxela
Contributor
Contributor

Seems that the final solution to run opensuse 11 as guest in a linux host is to be sure to install version 6.0.4. With the version the tools install without problems except for complaining about the c compiler version and you have to ignore it. With version 6.0.4 you do not need any patches.

I have to spend more time with it to see if there are problems.

-=terry=-

Reply
0 Kudos
louyo
Virtuoso
Virtuoso

share folder do not work. When I tried to access the share folder (cd /mnt/hgfs and then > ls the process get killed and I have to reboot the VM)

Same thing running on 6.0.4 on Windows XP host. Locks up with segmentation fault, and I have to power off/restart the VM.

Haven't tried it on Linux host.

Lou

Reply
0 Kudos
terryxela
Contributor
Contributor

>

Same thing running on 6.0.4 on Windows XP host.

Louyo,

It has to be related to the different c compiler versions used. I do not have any problem in the same machine and same VMware running previous versions of opensuse or other linux version. The problem is only with opensuse 11.

Also I have not been able to cut and paste or d-n-d between vm and the desktop.

-=terry=-

Reply
0 Kudos
Sli64Inv
Contributor
Contributor

I am running Vista 64 bit as host OS and 'copy and paste' and d-n-d are working between an opensuse 32 bit or 64 bit guest. Shared folders aren't working however. So something is definitely broken.

EDIT: something was wrong with the patches, the attached patches are based on and shared folders are working again (only tested with vista as host os).

Reply
0 Kudos
terryxela
Contributor
Contributor

Sli64Inv,

Thxs again. With the patch I can now see the sharefolder.

Still I can not d-n-d or copy/paste. It may be related to host/guest linux/linux the difference with your system. Of course I checked and they are enable.

I hope VMware solve this problems, I know they have a beta so I may try it.

-=terry(Denver)=-

Reply
0 Kudos
terryxela
Contributor
Contributor

I do not know what I did, probably reboot the whole machine but now everytying is working:

d-n-d

cut paste

share folder.

To thxs again Sli65Inv.

-=terry=-

Reply
0 Kudos
bostjanv
Contributor
Contributor

Hello,

I've been reading this thread because I have the same problem (unable to install VMware tools in Linux guest on Workstation 6.0.4). It seems that to succeed one has to uninstall the existing VMware tools modules that were not installed by the installer. However, I am unable to do that. If I use the VMware tools uninstaller it comlains that it cannot locate the installation database. Any suggestions?

Regards,

bostjanv

Reply
0 Kudos
terryxela
Contributor
Contributor

bostjanv,

1. Uninstall the present tools

  1. /usr/bin/vmware-uninstall-tools.pl

2. Download the VM tools

Vm / Install VMware tools

3. Extract the file into any directory. I have one ~/installation/ vmware-tools-destrib/

4. cd to ~/installations/vmware-tools-distrib/lib/modules/source

5. delete or rename the vmblock.tar and vmhgfs.tar

6. copy the same files from the patch that Sli64Inv posted in the message above.

7. Now run the installation script as root

  1. ./vmware-install.pl

-=terry(Denver)=-

Reply
0 Kudos
louyo
Virtuoso
Virtuoso

Those modules were installed by openSUSE. Use YAST software management to remove them.

Lou

Reply
0 Kudos
bostjanv
Contributor
Contributor

I have now managed to uninstall the preinstalled vmware tools; then I installed the proprietary version; next I replaced the vmblock and vmhgfs modules as per above. After running vmware-tools-config.pl and testing the the command "ls /mnt/hgfs" I get a segmentation fault. Also on shutdown the virtual machine hangs. Any advice?

Regards,

bostjanv

Reply
0 Kudos
bostjanv
Contributor
Contributor

Hello,

Just to close this issue on my part: After replacing the vmhgfs and vmblock modules with the versions contained in vmware-tools-patch-new.tar.bz2 (123.4 K) posted by Sli64Inv Jun 30 it seems that everything works.

Regards,

bostjanv

Reply
0 Kudos
xcallejas
Contributor
Contributor

Hi,

I'm also running openSUSE 11 with kernel 2.6.25.9-0.2-default.

Where can I get this patch so vmware compile all the modules?

thx.

Reply
0 Kudos