Город МОСКОВСКИЙ
00:02:29

VMware Kernel Module Updater Solution

Аватар
Debian Dreamland
Просмотры:
45
Дата загрузки:
11.10.2024 09:37
Длительность:
00:02:29
Категория:
Лайфстайл

Описание

Quote Originally Posted by kshitij_tandel View Post
I have updated my Kali to the latest kernel version - 4.6.0-kali1-amd64
After doing so, my Vmware workstation has stopped working.
I tried running 'vmware-modconfig --console --install-all' after reading some posts online but of no use.
I think that vmware does not support this kernel version.
Is there any way to get this working.?
Solution or Workaround: Modify 2 files in /usr/lib/vmware/modules/source/vmmon.tar and /usr/lib/vmware/modules/source/vmnet.tar
Steps:
1- Extract /usr/lib/vmware/modules/source/vmmon.tar
2- Modify /vmmon-only/linux/hostif.c
3- Replace "get_user_pages" to "get_user_pages_remote"
4- tar and replace original
5- Extract /usr/lib/vmware/modules/source/vmnet.tar
6- Modify ./vmnet-only/userif.c
7- Replace "get_user_pages" to "get_user_pages_remote"
8- tar and replace original
Now you should be able to compile the modules successfully.
Tested on Kali Linux 2016 with kernel 4.6.

Рекомендуемые видео