2 Replies Latest reply on Nov 14, 2017 11:42 AM by DaveNagy

    Linux Host: Kernel 4.14-rc1 Breaks vmmon..

    rgadsdon Novice

      Tried VMware 12.5.7 with Kernel 4.14-rc1, and 4.13-patched vmnet compiles/loads OK, but vmmon compile fails:

       

      /home/rgadsdon/kernel/vmmon-only/linux/hostif.c: In function ‘HostIF_EstimateLockedPageLimit’:

      /home/rgadsdon/kernel/vmmon-only/linux/hostif.c:1597:31: error: implicit declaration of function ‘global_page_state’; did you mean ‘global_numa_state’? [-Werror=implicit-function-declaration]

          unsigned int lockedPages = global_page_state(NR_PAGETABLE) +

                                     ^~~~~~~~~~~~~~~~~

                                     global_numa_state

      cc1: some warnings being treated as errors

      make[2]: *** [scripts/Makefile.build:312: /home/rgadsdon/kernel/vmmon-only/linux/hostif.o] Error 1

      make[1]: *** [Makefile:1498: _module_/home/rgadsdon/kernel/vmmon-only] Error 2

      make[1]: Leaving directory '/usr/src/linux-4.14-rc1'

      make: *** [Makefile:120: vmmon.ko] Error 2

       

      I did try replacing ‘global_page_state’ with ‘global_numa_state’, and vmmon compiled and loaded OK, but then had 'memory error' when attempting to start a (correctly-configured) VM:

       

      "Not enough physical memory is available to power on this virtual machine with its configured settings.."  etc..    So presumably this is not the correct solution!

       

      Robert Gadsdon.    September 16, 2017.

      rglinuxtech.com