Recently, I updated my laptop to Linux Kernel 4.6. After doing so I opened VMware Workstation, a tool that I need for my daily work flow. It started up with a prompt to recompile Kernel modules. I expected this prompt it’s always required after a kernel update. Instead of compiling the necessary modules it fails. So I decided to run it from terminal to get a more verbose error. As it turns it out, it’s failing on compiling two specific modules. The VMware Monitoring service module and the VMware Networking module. After more analysis it turned out to be two specific files inside the modules. The first file located in the Monitoring Module is
hostif.c and the second file located in the Networking module is
userif.c. The root cause is a function name change.
get_user_pages() has been changed to
get_user_pages_remote(). How do we fix this?