vmware on fedora 24 with kernel 4.6

With the new kernel 4.6 found in fedrora 24, you will need to patch two modules for vmware to work again:

/usr/lib/vmware/modules/source/vmmon.tar → vmmon-only/linux/hostif.c
/usr/lib/vmware/modules/source/vmnet.tar → vmnet-only/userif.c

and replace any occurence of “get_user_pages” by “get_user_pages_remote” in these two files.

This comes particularly handy with vim where it’s only a matter of typing :%s/get_user_pages/get_user_pages_remote/g in hostif.c and userif.c . A nice feature of vim (that not everyone is aware of) is that it lets you browse zipped archives and edit the files it contains as if they were plain, uncompressed files.

Donate Dogecoins: DJi4fgSMxcq5vRjytvCEq9A1TVsDZevd7c Whats This?

Leave a Reply

Your email address will not be published. Required fields are marked *

Blue Captcha Image