Results 1 to 13 of 13

Thread: Vmware Kernel Module Updater Issues with latest Kernel version - 4.6.0-kali1-amd64

  1. #1

    Vmware Kernel Module Updater Issues with latest Kernel version - 4.6.0-kali1-amd64

    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.?

  2. #2
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    hi :-) if this can be a help:
    https://postimg.org/image/4m7vn1bdj/
    I'm a g0at

  3. #3
    I am using 64 bit version of Kali, still stuck with the same kernel version even after trying dist-upgrade. :-(

  4. #4
    Join Date
    2016-Jul
    Posts
    1
    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.

  5. #5
    Join Date
    2016-Jul
    Posts
    1
    Quote Originally Posted by sysadminshowto View Post
    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.
    This solution worked for me, thanks!

  6. #6
    thanks a lot...this worked perfectly for me..

  7. #7
    Join Date
    2016-Jul
    Posts
    5
    what if after "apt dist-upgrade" no /usr/lib/vmware folder exists...what can be the reason

  8. #8
    Join Date
    2016-Aug
    Posts
    2
    i was desperately looking for the solution since last 3-4 days and i got the solution here thanks buddy.

  9. #9
    Join Date
    2013-Oct
    Posts
    6
    sysadminshowto, you nailed this. thanks

  10. #10
    Join Date
    2015-Aug
    Posts
    9

    Thanks!!!!!!!!

    Quote Originally Posted by sysadminshowto View Post
    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.
    Thank you!!!

  11. #11
    Join Date
    2015-Aug
    Posts
    9

    Unhappy

    Quote Originally Posted by jauharvp View Post
    Thank you!!!
    Not working with kernel 4.9.

  12. #12
    Quote Originally Posted by sysadminshowto View Post
    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.
    I am facing the same issue for kernel version 4.9.0. Unfortunately, this solution is not working for me. I have reinstalled the fresh copy VMware 12.5.2. Please share if you have any idea?

  13. #13
    Join Date
    2016-Nov
    Posts
    1

    This worked for me

    Quote Originally Posted by jauharvp View Post
    Not working with kernel 4.9.
    Hi man try this one, worked for me http://rglinuxtech.com/?p=1838

Similar Threads

  1. 2020.4 5.7.0-kali1-amd64 kernel header missing
    By OwnerKL in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-10-28, 13:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •