Basically, if an error occurs when installing vmtools, first record the error information
For example, what I met this time is
/TMP/modconfig-8md7iy/vmhgfs only/page. C: 1625:23: error: supplied to function ‘wait’_on_Too many arguments for bit ‘
task_UNINTERRUPTIBLE);
This error report is different due to specific circumstances, and the handling method is basically the same
First run uname – A to see the kernel version of CentOS
Linux localhost.localdomain 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
You can see that my current is 3.10.0
Then go to the installation directory of vmtools and find the vmhgfs.tar compressed package
Decompress
In the extracted vmhgfs only folder, find the corresponding error file. In this case, it is line 1625 of page. C
Change its previous judgment from 3,17,0 to its own kernel. Here is 3,10,0
Then run the installation again
When other error reporting information is different, you should see the error reporting content clearly. Some of the error reporting contents have prompt error reporting reasons, which should be handled according to the error reporting reasons