Open digininja opened 8 years ago
Same on Fedora 22, Kernel 4.2.3
Possible solution: https://communities.vmware.com/message/2546788
https://lwn.net/Articles/648995/
The prototypes for the follow_link() and put_link() methods in struct inode_operations have changed to:
const char *(*follow_link) (struct dentry *, void **);
void (*put_link) (struct dentry *, void *);
In-tree filesystems have been changed accordingly.
Patched version, which seems to work for me. Please test. If ok, I'll create a patch.
Args... does not work. Files are empty when written to a hgfs share, but not sure if this fix is really the cause, I doubt it.
Nevertheless, the patch https://github.com/liayn/vmware-tools-patches/commit/613992f3317b87f7c3c590f84efba8a8c6f8ebfb
I was getting almost exactly the same compile failure as seen in the first comment in this thread on KUbuntu v15.10. After the v8.0.2 tools were merged in (https://github.com/rasa/vmware-tools-patches/pull/77), I re-cloned the repo and it compiled fine for me.
Well, the latest vmware tools 10.0.1, shipped with vmware player 12.0.1, still cause the same compile error. The patch linked above fixes those errors and hgfs compiles again, still the bug remains that only empty files are written. This bug is not related to the compile error, since this is about symbolic links only.
tried the patched-open-vm-tools.sh on fusion 8.0.2 and its worked for me but ....
cat /etc/xdg/autostart/vmware-user.desktop
missing symlink /usr/lib/vmware-tools/bin32/vmware-user-suid-wrapper
and can't get full display resolution :(
Be VERY careful of the zero/empty files on write problem - I had symlinks to files that were in hgfs, and I didn't even think or notice that editing them effectively deleted the files! I don't remember what fixed the problem for me, I hit it about 12 months ago, I think getting updated patches (from this repo) might have fixed it.
If you hit the bug, do yourself a favor and unmount or don't use hgfs!
HGFS is working again with latest 10.0.5 vmware tools for VMware Player 12.1
@digininja Are you still hitting this issue? Would be great to close this out if its been resolved.
The VM I was trying it on is currently broken so can't retest it, close it as by the time I get the VM back up I imagine all the versions will have changed. On 27 Jan 2016 01:15, "dragon788" notifications@github.com wrote:
@digininja https://github.com/digininja Are you still hitting this issue? Would be great to close this out if its been resolved.
— Reply to this email directly or view it on GitHub https://github.com/rasa/vmware-tools-patches/issues/73#issuecomment-175325477 .
Fixed up my gcc symlink and now building fails.
Kernel is: Linux xxx 4.2.0-1-amd64 #1 SMP Debian 4.2.1-2 (2015-09-27) x86_64 GNU/Linux