Comments

VMware – Updated vmnet Patch for Kernel 4.9/4.10.. — 10 Comments

  1. You might try to trigger that by enabling USB tethering on a connected phone while VMs are running. Other scenarios I encountered involved Kubernetes cluster (non-tainted).

  2. @Plamen Dimitrov Thank you for your script! Made the process painless and easy! Also worked around a GCC issue I’ve been having. All the best!

  3. Hi, nice work, I’d just like to add the following change to vmmon as well:

    Change the following around line 1166 in linux/hostif.c:

    #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
    retval = get_user_pages((unsigned long)uvAddr, numPages, 0, ppages, NULL);
    #else
    #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0)
    retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);
    #else
    retval = get_user_pages(current, current->mm, (unsigned long)uvAddr,
    numPages, 0, 0, ppages, NULL);
    #endif
    #endif

    And it will also build against 4.10!

  4. I can confirm that enabling USB tethering on a connected phone while VMs are running crashes the kernel with a panic. VMWARE workstation 12.5.5 Kernel 4.10.8 🙁

  5. thanks @Plamen Dimitrov your script worked flawesly with:
    – VMware Workstation 12.5.2 build-4638234
    – linux-image-virtual-hwe-16.04 4.10.0.27.30 amd64
    – Ubuntu 16.04.2 LTS

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.