[SOLVED] 3.9.2-200.fc18 kernel breaks VMWare Tools
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2013
    Location
    US
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    3.9.2-200.fc18 kernel breaks VMWare Tools

    I've got an F18 VM running on VMWare Fusion 5.0.3 and it has been fine until today. Today's update of the kernel to 3.9.2-200 kernel breaks the VMWare Tools. In particular, the host-guest-filesystem (vmhgfs) doesn't work.

    I reverted the VM, and then did a yum update on everything _except_ the kernel, and the vmware tools are still happy. So it's definitely related to the kernel.

    I notice that when trying to re-install vmware-tools it doesn't even try to build vmhgfs.

    Has anybody already figured this out?

  2. #2
    Join Date
    Oct 2012
    Location
    Earth
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 3.9.2-200.fc18 kernel breaks VMWare Tools

    The 3.9 kernel, ironically, has goodies that vmware has been pushing for a while like VMCI. It appears the vmware tools installer doesn't know what to make of these modules already existing in the kernel.

    I can confirm that vmhgfs doesn't build, but doesn't complain either.

  3. #3
    Join Date
    Apr 2013
    Location
    US
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 3.9.2-200.fc18 kernel breaks VMWare Tools

    Quote Originally Posted by gloomrider
    The 3.9 kernel, ironically, has goodies that vmware has been pushing for a while like VMCI. It appears the vmware tools installer doesn't know what to make of these modules already existing in the kernel.

    I can confirm that vmhgfs doesn't build, but doesn't complain either.
    Thanks, the hint about vmw_vmci in the 3.9 kernel allowed me to figure out this problem and hack around it to solve it. There are two things that need to be addressed:

    1) vmci vs vmw_vmci

    The vmw_vmci driver supplied in the 3.9 kernel causes the vmware-config-tools.pl script to decide not to install vmhgfs or vsock. To work around this, you need to install the tools with the option --clobber-kernel-modules=vmci. E.g.

    Code:
    sudo ./vmware-install.pl --clobber-kernel-modules=vmci
    Note that this means that you'll be replacing vmw_vmci with the vmci from vmware-tools. I don't know what kind of extra goodness is in vmw_vmci that isn't in the older vmci, so I don't know what (if anything) is being left out by this.

    2) vmhgfs needs to be patched to compile on 3.9 kernels

    The file "inode.c" uses the macro hlist_for_each_entry which has changed in 3.9. The solution to this is will known on the net. The patch file is attached, install as follows before running vmware-config-tools.pl

    Code:
    cd /usr/lib/vmware-tools/modules/source
    tar -xf vmhgfs.tar
    cd vmhgfs-only
    patch -p1 < vmware9.k3.9.vmhgfs.patch
    cd ..
    cp -p vmhgfs.tar vmhgfs.tar~
    tar -cf vmhgfs.tar vmhgfs-only/
    Note that patch should still work on 3.8 kernels, but I frankly haven't tried it.

    Reinstall as above with the patched code lets me have a 3.9 kernel with working hgfs.
    Attached Files Attached Files

Similar Threads

  1. VMWare Tools Installation - Kernel header files path not valid.
    By rhoaste in forum Installation, Upgrades and Live Media
    Replies: 20
    Last Post: 2nd July 2013, 01:32 PM
  2. Replies: 34
    Last Post: 20th June 2013, 08:09 PM
  3. Updating kernel to 3.8.2-206.fc18.i686.PAE breaks SSL forwarding
    By simonhp in forum Servers & Networking
    Replies: 0
    Last Post: 15th March 2013, 08:56 PM
  4. [SOLVED]
    VMware tools cannot find kernel headers
    By hunter067 in forum Using Fedora
    Replies: 8
    Last Post: 20th September 2010, 11:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •