vmhgfs

GuestOSのUpdateでLinux Kernelが新しくなり、VMWare player でHostの共有ができないのはvmhgfs の コンパイルエラーが原因。

sudo vmware-config-tools.pl

の実行結果をよく見ると

error: ‘struct dentry’ has no member named ‘d_alias’

とか怒られている(のにスクリプトは止まらずスルーするので見落とすわけだ)


https://communities.vmware.com/message/2475736
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1416003

vmhgfs-only/inode.c:1945 の怒られてるところ

dentry = list_entry(pos, struct dentry, d_alias);

をこうしろと

dentry = list_entry(pos, struct dentry, d_u.d_alias);

とりあえず、これで治るようです。

https://github.com/rasa/vmware-tools-patches

KernelのVersionとToolのVersionの不整合が原因で、Version地獄に陥っている? ということはそう簡単には解決しない。


Ubuntu 14.04、Kernel 3.13.0-54 では、 Toolの9.6.1 にはOKだけど、9.6.2はCompileエラーが色々出てNG。


Ubuntu 14.04、Kernel 3.16.0-41 では、 Toolの9.6.1 にはOK