rasa / vmware-tools-patches

Patch and build VMware tools automatically
https://github.com/rasa/vmware-tools-patches/wiki
MIT License
1.19k stars 198 forks source link

vmhgfs not working with 3.13 kernel - Not a directory #4

Closed gavinhungry closed 10 years ago

gavinhungry commented 10 years ago

Running Arch Linux. The module seems to build fine.

$ uname -srm
Linux 3.13.4-1-ARCH x86_64
# mount -t vmhgfs .host:/ /mnt/hgfs/
# cd /mnt/hgfs
bash: cd: /mnt/hgfs/: Not a directory

From dmesg, but I'm not sure how much of this is relevant:

[  102.398202] Guest personality initialized and is active
[  102.398365] VMCI host device registered (name=vmci, major=10, minor=58)
[  102.398367] Initialized host personality
[  235.844531] [4160]: VMCI: shared components initialized.
[  235.844671] Probing for vmci/PCI.
[  235.845706] Found vmci/PCI at 0x2100, irq 16.
[  235.845754] VMCI: using capabilities 0xc.
[  235.845876] [4160]: VMCI: Host capability check passed.
[  235.846173] vmci 0000:00:07.7: irq 72 for MSI/MSI-X
[  235.846244] vmci 0000:00:07.7: irq 73 for MSI/MSI-X
[  235.846683] Registered vmci device.
[  235.846828] [4160]: VMCI: Using guest personality
[  235.846846] [4160]: VMCI: host components initialized.
[  235.847249] [4160]: VMCI: Module registered (name=vmci, major=10, minor=58).
[  235.847254] [4160]: VMCI: Using host personality
[  235.847256] [4160]: VMCI: Module (name=vmci) is initialized
[  504.395874] fuse init (API version 7.22)
liayn commented 10 years ago

Can confirm that for Fedora as well.

$ uname -srm
Linux 3.13.5-101.fc19.x86_64 x86_64

dmesg:

[    4.849015] vmhgfs: module verification failed: signature and/or  required key missing - tainting kernel

(This was present in 3.12 kernel too as I just saw.)

rasa commented 10 years ago

I'm not sure a patch will be possible to fix this, given that https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1272196/comments/5 states:

The vmhgfs (VMWare Host<->Guest File System) module is no longer be supported by VMWare and it does not build on recent kernels

dbehnke commented 10 years ago

Hmm.. does anyone know what this means? Is Vmware developing some new shared folder method, or just not supporting 3.13. Seems kind of odd they won't support an LTS release of Ubuntu which is also using 3.13. Your patches work fine for everything else btw.. Thanks!

gavinhungry commented 10 years ago

The vmhgfs (VMWare Host<->Guest File System) module is no longer be supported by VMWare and it does not build on recent kernels

Annoying, but not entirely unexpected. VMware has historically been slow to update their modules for Linux guests. I for one have long been frustrated with patching every time a kernel update rolls out.

It doesn't look like there is anything to be done here, so I'm happy to close this issue as-is and just start using NFS or CIFS to share files with my host OS.

myitcv commented 10 years ago

This thread is I think related.

Quoting Steve Goddard's answer (Steve, I assume, is part of the VMWare team):

There has been a bug filed to track this issue and it will be addressed shortly. Existing shipping versions with these new releases may or may not work depending on the Linux kernel modifications that have been made. We continually strive to address these as they come up but there is a lag between the fixes to HGFS Linux client and when these new Linux kernels are available.

rasa commented 10 years ago

@myitcy: good catch. I opened a thread here https://communities.vmware.com/thread/474260 about this, but have closed it, given Steve's response. Thanks for posting.

myitcv commented 10 years ago

FYI - things appear to be working again (for me at least) with Fusion v6.0.3 which was released over the weekend.

liayn commented 10 years ago

I can confirm this is working again for latest Fedora 20 (kernel 3.13.10) with unmodified 9.6.2 vmware tools on vmware player 6.0.2