4 Replies Latest reply on Jan 15, 2009 5:52 AM by tim108

    vmware tools on debian etch server problems

    tim108 Enthusiast


      can't seem to install vmware tools on debian etch server






      first i fillowed this howto












      but when i was asked 'what is the lcation of the directory of C headers that match your running kernel?






      in my case its:












      unfortunatly  i get this reply






      the directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.18-6-686).



      even if the module were to complie successfully, it would not load into the running kernel.









      thanks for any feedback












        • 1. Re: vmware tools on debian etch server problems
          RafaelBarreto Enthusiast

          I don't know if I understood your problem, but I will try to help.


          If you are sure that your running kernel is this "2.6.18-6-686", I would try to do a `uname -r` to confirm.




          If it returns me back something similar to "2.6.18-6-686" (but the same

          version), just like "", "2.6.18-6" or "2.6.18-6-generic", I

          would create a symbolic link:



          $ ln -s /usr/src/linux-headers-2.6.18-6-686

          If `uname -r` returns me something different than "2.6.18-6", I would

          search the headers in another directory, like /usr/include or I would

          try to download.





          It is just a suggestion.








          Use it, and shall be master!

          • 2. Re: vmware tools on debian etch server problems
            tim108 Enthusiast

            thanks but i think the directory was found  but if you read the output it says something about not matching the kernel

            • 3. Re: vmware tools on debian etch server problems
              sofar Novice





                 i used Debian (lenny) with VMS6.5.1 for guest os. lenny used kernel build number: 2.6.26. so i don't know the way is the best way for you, i got the somthing wrong same to u. but i works now . so i write my setps. hope can help you. if you just got the error with  C headers that match your running kernel. u can try the A way. else if have other problems, u can try B way.



              A way:



              1  aptitude update



              2  check ur kernel version and gcc version




              1. uname -a




              1. gcc --version



              3  install the linux-headers match ur kernel and other packages




              1. aptitude install linux-headers-$(uname -r)  build-essential



              4 reinstall vmware-tools




              1. urpath/vmware-install.pl












              B way



              1  check ur gcc version ( seems open-vm-tools and vm tools like 4.1)




              1. gcc --version            ## if ur gcc version > 4.1,  do the fllowing setps




              1. aptitude install gcc-4.1




              1. ln -sf /usr/bin/gcc-4.1 /usr/bin/gcc



              2  check ur kernel build number




              1. uname -r



              3 install the depand packages include linux-headers ....



              the depand  packages list:



                  build-essential linux-headers-$(uname -r) psmisc binutils make libgtk2.0-dev libproc-dev libdumbnet-dev xorg-dev libicu-dev



                 u can copy this command



                  aptitude install  build-essential linux-headers-$(uname -r) psmisc binutils make libgtk2.0-dev libproc-dev libdumbnet-dev xorg-dev libicu-dev



                 download and install following deb-packages









                 copy them to a tmp directory and install it with the command ' dpkg -i  filename'



              4  unpack the vmtools to ur tmp directory



                  click the vmware menu-select the install vmware-tools. cp it to /tmp




              1. cd /tmp




              1. tar xzfv vmware-tools-xxxxx



              5  download the open-vm-tools






                  copy it to a tmp directory and compile




              1. tar xzvf  name.gz




              1. cd open-vm-tools/




              1. ./configure && make



              6  if u passed all with no errors




              1. cd open-vm-tools-2008.11.18-130226/modules/linux/


                 #   for i in *; do sudo mv $ $-only; sudo tar -cf $.tar $-only; done


              *7 cp .tar to vmware-tools-distirb replace the same name file




              1. mv -f open-vm-tools-2008.11.18-130226/modules/linux/.tar  vmware-tools-distrib/lib/modules/source/



              8 install ur vmware-tools




              1. cd /tmp/vmware-tools/distirb/




              1. ./vmware-tools.pl









              it all my setps above . so hope can a little help for u . sorry for my english .i did my best. good luck!



              • 4. Re: vmware tools on debian LENNY -blocking file system module
                tim108 Enthusiast

                I choose the A way above but also made sure that gcc 4.1 was used


                after instaling vmware tools i get (lenny guest xp host)

                                                                                                mounting local file system error cannot mount filesystem protocol error(during boot)

                                                                                                under vmware services in guest machine



                swtching to guest configuration done



                guest file system driver done



                mounting HGFS shares failed



                guest memory manager done



                guest vmxnet fast network device done



                vm communication interface done



                blocking file system done



                guest operating system deamon done



                virtual printing deamon done

                                                                                                finally I noticed that under devices the cd/dvd rom drive this was pointing to c:\program files\vmware/vmwareworkstation\linux.iso (a file that is size 191mb)



                I have changed this to autodect will this be ok? and why is there a blocking file system module?