LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2005, 06:52 AM   #1
metallicasorc
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Rep: Reputation: 0
Installing VMtools on SuSE 9.2


Hi Guys,

Im having a bit of trouble installing VMtools onto my Linuxz guest OS. ok so i figured out the majority of how to manually install VMtools, i have installed "kernel-source" "binutils" "gcc" & "make" but right at the end it comes back with this message:

"the filesystem driver (vmhgfs module) is used only for the shared folder feature. the rest of the software provided by VMtools is designed to work independantly of the feature.
if you wish to have the shared folders feature, you can install the driver by running vmware-config-tools.pl again after making sure that gcc, binutils, make and the kernel sources (which i have done) for you running kernel are installed on you machine.
these packages are available on your distribution's installation cd {press enter to continue}

detected xfree86 version .0.0.0.

problem extracting version of xfree 4

execution aborted"
(end of text)

i then found out that there was a problem with a Kstrdup string among one of the files so i then found this solution


"This is because the function 'kstrdup' in the vmware-tools source (in the vmhgfs module) is conflicting with the function 'kstrdup' in the Linux kernel source, in mm/slab.c , drivers/md/dm-ioctl.c , and a few other places.

To work around this error, you need to modify the vmware-tools source a little bit.

- Find the file vmhgfs.tar and untar it:

cd modules/source
cp vmhgfs.tar vmhgfs.tar.old
tar xvf vmhgfs.tar
cd vmhgfs-only

- in main.c main.h and driver.c , replace the string 'kstrdup' with something unique, like 'vmkstrdup'.

Then tar it back up, remove your old temprary files and re-run the tool again:

cd ..
tar cf vmhgfs.tar vmhgfs-only
rm -rf vmhgfs-only"
(end of text)



only i have no idea how to edit those files to replace the string, i cant seem to get hold of the guy who wrote this to give me any information, and i have even been onto VMware website but they are no help, so your my last chance of saving my hair before i rip it all out.
and if someone could put this as simply as possible that would really help, as would a link of some kind.


thanking you in advance

Dan
 
Old 04-12-2005, 04:18 PM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
It can be made to work. However my experience is that it behaves quite badly.
My best recommendation is to samba export your host drive and get to it
via smb from inside of your virtual machine.

I do not recommend using hgfs with SUSE 9.2.
 
Old 04-12-2005, 04:20 PM   #3
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
I'm referring to VMware 4.5.2 of course... it might work alright in 5.0. And I believe it works fine on SUSE 8.2...

The bad combo is:

SUSE 9.2 (unsupported by VMware 4.5.x)
+ VMware 4.5.2 + hgfs
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Having trouble installing VMTools in Mandrake 10.1 jacatone Linux - Newbie 3 05-19-2005 10:43 AM
vmware - suse - vmtools for graphic Ingo73 Linux - Software 2 07-21-2004 01:19 PM
Vmware 4 Redhat 9 VMtools Yoel Linux - General 20 08-20-2003 09:15 PM
Install vmtools failure! kernel is not the right one! help me catvzhou Linux - Software 2 05-19-2003 11:09 PM
VMTools StillLearning Linux - Software 1 01-12-2002 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration