Guest Operating Systems

 View Only
  • 1.  Unable to start Network service

    Posted Jan 14, 2018 01:01 PM

    Hi my vmware player is unable to start because of kernel module updater. When I do "install updates" , it just stops services, doing something at background and stops immediately telling that "Unable to start services" . Probably problem stems from vmware network adapter. Here is my environment infos:

    OS: Ubuntu 16.04.3 LTS

    Arch: x64

    Kernel: Linux my-pc 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

    Soft: Vmware player 12.5.9

    Log file:

    Log data

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: Log for VMware Workstation pid=13022 version=12.5.9 build=build-7535481 option=Release

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: The process is 64-bit.

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: Host is Linux 4.13.0-26-generic Ubuntu 16.04.3 LTS

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: PREF Unable to check permissions for preferences file.

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.

    2018-01-14T16:55:06.962+04:00| vthread-4| I125: PREF Failed to load user preferences.

    2018-01-14T16:55:07.009+04:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-13022.log

    2018-01-14T16:55:07.021+04:00| vthread-4| I125: Obtaining info using the running kernel.

    2018-01-14T16:55:07.021+04:00| vthread-4| I125: Created new pathsHash.

    2018-01-14T16:55:07.021+04:00| vthread-4| I125: Setting header path for 4.13.0-26-generic to "/lib/modules/4.13.0-26-generic/build/include".

    2018-01-14T16:55:07.021+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

    2018-01-14T16:55:07.021+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

    2018-01-14T16:55:07.021+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

    2018-01-14T16:55:07.021+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

    2018-01-14T16:55:07.028+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

    2018-01-14T16:55:07.028+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

    2018-01-14T16:55:07.168+04:00| vthread-4| I125: found symbol version file /lib/modules/4.13.0-26-generic/build/Module.symvers

    2018-01-14T16:55:07.168+04:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.0-26-generic/build/Module.symvers.

    2018-01-14T16:55:07.190+04:00| vthread-4| I125: Read 22181 symbol versions

    2018-01-14T16:55:07.190+04:00| vthread-4| I125: Reading in info for the vmmon module.

    2018-01-14T16:55:07.190+04:00| vthread-4| I125: Reading in info for the vmnet module.

    2018-01-14T16:55:07.190+04:00| vthread-4| I125: Reading in info for the vmblock module.

    2018-01-14T16:55:07.190+04:00| vthread-4| I125: Reading in info for the vmci module.

    2018-01-14T16:55:07.190+04:00| vthread-4| I125: Reading in info for the vsock module.

    2018-01-14T16:55:07.190+04:00| vthread-4| I125: Setting vsock to depend on vmci.

    2018-01-14T16:55:07.190+04:00| vthread-4| I125: Invoking modinfo on "vmmon".

    2018-01-14T16:55:07.192+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

    2018-01-14T16:55:07.192+04:00| vthread-4| I125: Invoking modinfo on "vmnet".

    2018-01-14T16:55:07.193+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

    2018-01-14T16:55:07.194+04:00| vthread-4| I125: Invoking modinfo on "vmblock".

    2018-01-14T16:55:07.195+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

    2018-01-14T16:55:07.195+04:00| vthread-4| I125: Invoking modinfo on "vmci".

    2018-01-14T16:55:07.197+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

    2018-01-14T16:55:07.197+04:00| vthread-4| I125: Invoking modinfo on "vsock".

    2018-01-14T16:55:07.199+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

    2018-01-14T16:55:07.216+04:00| vthread-4| I125: to be installed: vmnet status: 0

    2018-01-14T16:55:07.236+04:00| vthread-4| I125: Obtaining info using the running kernel.

    2018-01-14T16:55:07.236+04:00| vthread-4| I125: Setting header path for 4.13.0-26-generic to "/lib/modules/4.13.0-26-generic/build/include".

    2018-01-14T16:55:07.236+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

    2018-01-14T16:55:07.236+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

    2018-01-14T16:55:07.236+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

    2018-01-14T16:55:07.236+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

    2018-01-14T16:55:07.243+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

    2018-01-14T16:55:07.243+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

    2018-01-14T16:55:07.372+04:00| vthread-4| I125: found symbol version file /lib/modules/4.13.0-26-generic/build/Module.symvers

    2018-01-14T16:55:07.372+04:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.0-26-generic/build/Module.symvers.

    2018-01-14T16:55:07.394+04:00| vthread-4| I125: Read 22181 symbol versions

    2018-01-14T16:55:07.394+04:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.13.0-26-generic/build/include

    2018-01-14T16:55:07.396+04:00| vthread-4| I125: Update kernel header path to /lib/modules/4.13.0-26-generic/build/include

    2018-01-14T16:55:07.396+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

    2018-01-14T16:55:07.396+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

    2018-01-14T16:55:07.396+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

    2018-01-14T16:55:07.396+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

    2018-01-14T16:55:07.402+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

    2018-01-14T16:55:07.402+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

    2018-01-14T16:55:07.403+04:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"

    2018-01-14T16:55:07.406+04:00| vthread-4| I125: Got gcc version "5.4.0".

    2018-01-14T16:55:07.406+04:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

    2018-01-14T16:55:07.406+04:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".

    2018-01-14T16:55:07.409+04:00| vthread-4| I125: Got gcc version "5.4.0".

    2018-01-14T16:55:07.409+04:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

    2018-01-14T16:55:07.410+04:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "4.13.0-26-generic".

    2018-01-14T16:55:07.410+04:00| vthread-4| I125: No matching PBM set was found for kernel "4.13.0-26-generic".

    2018-01-14T16:55:07.410+04:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

    2018-01-14T16:55:07.410+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

    2018-01-14T16:55:07.410+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

    2018-01-14T16:55:07.410+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

    2018-01-14T16:55:07.410+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

    2018-01-14T16:55:07.418+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

    2018-01-14T16:55:07.418+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

    2018-01-14T16:55:07.419+04:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

    2018-01-14T16:55:07.419+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

    2018-01-14T16:55:07.419+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

    2018-01-14T16:55:07.419+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

    2018-01-14T16:55:07.419+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

    2018-01-14T16:55:07.427+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

    2018-01-14T16:55:07.427+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

    2018-01-14T16:55:07.427+04:00| vthread-4| I125: Using temp dir "/tmp".

    2018-01-14T16:55:07.429+04:00| vthread-4| I125: Obtaining info using the running kernel.

    2018-01-14T16:55:07.429+04:00| vthread-4| I125: Setting header path for 4.13.0-26-generic to "/lib/modules/4.13.0-26-generic/build/include".

    2018-01-14T16:55:07.429+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

    2018-01-14T16:55:07.429+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

    2018-01-14T16:55:07.429+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

    2018-01-14T16:55:07.429+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

    2018-01-14T16:55:07.438+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

    2018-01-14T16:55:07.438+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

    2018-01-14T16:55:07.570+04:00| vthread-4| I125: found symbol version file /lib/modules/4.13.0-26-generic/build/Module.symvers

    2018-01-14T16:55:07.570+04:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.0-26-generic/build/Module.symvers.

    2018-01-14T16:55:07.591+04:00| vthread-4| I125: Read 22181 symbol versions

    2018-01-14T16:55:07.591+04:00| vthread-4| I125: Invoking modinfo on "vmnet".

    2018-01-14T16:55:07.593+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

    2018-01-14T16:55:08.491+04:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.13.0-26-generic/misc/vmnet.ko".

    2018-01-14T16:55:08.491+04:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

    2018-01-14T16:55:08.499+04:00| vthread-4| I125: Successfully extracted the vmnet source.

    2018-01-14T16:55:08.499+04:00| vthread-4| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-lAVtko/vmnet-only auto-build HEADER_DIR=/lib/modules/4.13.0-26-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"

    2018-01-14T16:55:10.691+04:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.



  • 2.  RE: Unable to start Network service

    Posted Jan 19, 2018 06:59 PM

    From https://bbs.archlinux.org/viewtopic.php?id=233704

    The following worked for me:

    # cd /usr/lib/vmware/modules/source
    # tar xf vmnet.tar
    # mv vmnet.tar vmnet.old.tar
    # sed -i 's/atomic_inc(&clone->users);/clone = skb_get(clone);/g' vmnet-only/bridge.c
    # tar cf vmnet.tar vmnet-only
    # rm -r vmnet-only

    After that everything is up and running - woohoo!



  • 3.  RE: Unable to start Network service

    Posted Jan 24, 2018 08:46 AM

    Unfortunately, that didn't solve my issue. I have this kind of output while compiling it:

    Stopping VMware services:

       VMware Authentication Daemon                                        done

       VM communication interface socket family                            done

       Virtual machine communication interface                             done

       Virtual machine monitor                                             done

       Blocking file system                                                done

    make: Entering directory '/tmp/modconfig-EFdwmI/vmmon-only'

    Using kernel build system.

    /usr/bin/make -C /lib/modules/4.13.0-26-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

      MODULEBUILDDIR= modules

    make[1]: Entering directory '/usr/src/linux-headers-4.13.0-26-generic'

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/linux/driverLog.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/common/memtrack.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/common/apic.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/common/vmx86.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/common/task.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/common/cpuid.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/common/hashFunc.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/common/comport.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/common/phystrack.o

      CC [M]  /tmp/modconfig-EFdwmI/vmmon-only/vmcore/moduleloop.o

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/common/vmx86.h:32:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/common/vmx86.c:43:

    /tmp/modconfig-EFdwmI/vmmon-only/./include/x86msr.h:111:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

    #define MSR_MISC_FEATURES_ENABLES            0x140

    ^

    In file included from ./arch/x86/include/asm/msr.h:4:0,

                     from ./arch/x86/include/asm/processor.h:20,

                     from ./arch/x86/include/asm/cpufeature.h:4,

                     from ./arch/x86/include/asm/thread_info.h:63,

                     from ./include/linux/thread_info.h:37,

                     from ./arch/x86/include/asm/preempt.h:6,

                     from ./include/linux/preempt.h:80,

                     from ./include/linux/rcupdate.h:40,

                     from ./include/linux/rculist.h:10,

                     from ./include/linux/pid.h:4,

                     from ./include/linux/sched.h:13,

                     from /tmp/modconfig-EFdwmI/vmmon-only/common/vmx86.c:31:

    ./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition

    #define MSR_MISC_FEATURES_ENABLES 0x00000140

    ^

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/./include/vm_asm_x86.h:41:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/vm_asm_x86_64.h:39,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/vm_asm.h:46,

                     from /tmp/modconfig-EFdwmI/vmmon-only/common/vmx86.c:46:

    /tmp/modconfig-EFdwmI/vmmon-only/./include/x86_basic_defs.h:65:0: warning: "CR3_PCID_MASK" redefined

    #define CR3_PCID_MASK  0xFFF

    ^

    In file included from ./arch/x86/include/asm/irqflags.h:4:0,

                     from ./include/linux/irqflags.h:15,

                     from ./include/linux/rcupdate.h:39,

                     from ./include/linux/rculist.h:10,

                     from ./include/linux/pid.h:4,

                     from ./include/linux/sched.h:13,

                     from /tmp/modconfig-EFdwmI/vmmon-only/common/vmx86.c:31:

    ./arch/x86/include/asm/processor-flags.h:37:0: note: this is the location of the previous definition

    #define CR3_PCID_MASK 0xFFFull

    ^

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/./include/vm_asm.h:43:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:83:

    /tmp/modconfig-EFdwmI/vmmon-only/./include/x86msr.h:111:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

    #define MSR_MISC_FEATURES_ENABLES            0x140

    ^

    In file included from ./arch/x86/include/asm/msr.h:4:0,

                     from ./arch/x86/include/asm/processor.h:20,

                     from ./arch/x86/include/asm/cpufeature.h:4,

                     from ./arch/x86/include/asm/thread_info.h:63,

                     from ./include/linux/thread_info.h:37,

                     from ./arch/x86/include/asm/preempt.h:6,

                     from ./include/linux/preempt.h:80,

                     from ./include/linux/spinlock.h:50,

                     from ./include/linux/mmzone.h:7,

                     from ./include/linux/gfp.h:5,

                     from ./include/linux/mm.h:9,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/compat_page.h:23,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:32:

    ./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition

    #define MSR_MISC_FEATURES_ENABLES 0x00000140

    ^

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/./include/vm_asm_x86.h:41:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/vm_asm_x86_64.h:39,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/vm_asm.h:46,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:83:

    /tmp/modconfig-EFdwmI/vmmon-only/./include/x86_basic_defs.h:65:0: warning: "CR3_PCID_MASK" redefined

    #define CR3_PCID_MASK  0xFFF

    ^

    In file included from ./arch/x86/include/asm/processor.h:4:0,

                     from ./arch/x86/include/asm/cpufeature.h:4,

                     from ./arch/x86/include/asm/thread_info.h:63,

                     from ./include/linux/thread_info.h:37,

                     from ./arch/x86/include/asm/preempt.h:6,

                     from ./include/linux/preempt.h:80,

                     from ./include/linux/spinlock.h:50,

                     from ./include/linux/mmzone.h:7,

                     from ./include/linux/gfp.h:5,

                     from ./include/linux/mm.h:9,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/compat_page.h:23,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:32:

    ./arch/x86/include/asm/processor-flags.h:37:0: note: this is the location of the previous definition

    #define CR3_PCID_MASK 0xFFFull

    ^

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:98:0:

    /tmp/modconfig-EFdwmI/vmmon-only/./include/pgtbl.h: In function ‘PgtblVa2MPNLocked’:

    /tmp/modconfig-EFdwmI/vmmon-only/./include/pgtbl.h:76:24: error: passing argument 1 of ‘pud_offset’ from incompatible pointer type [-Werror=incompatible-pointer-types]

           pud = pud_offset(p4d, addr);

                            ^

    In file included from ./include/linux/mm.h:70:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/compat_page.h:23,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:32:

    ./arch/x86/include/asm/pgtable.h:828:22: note: expected ‘p4d_t * {aka struct <anonymous> *}’ but argument is of type ‘compat_p4d_t * {aka struct <anonymous> *}’

    static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address)

                          ^

    In file included from ./include/linux/thread_info.h:20:0,

                     from ./arch/x86/include/asm/preempt.h:6,

                     from ./include/linux/preempt.h:80,

                     from ./include/linux/spinlock.h:50,

                     from ./include/linux/mmzone.h:7,

                     from ./include/linux/gfp.h:5,

                     from ./include/linux/mm.h:9,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/compat_page.h:23,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:32:

    /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c: In function ‘HostIFGetUserPages’:

    ./arch/x86/include/asm/current.h:17:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]

    #define current get_current()

                     ^

    /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:1173:28: note: in expansion of macro ‘current’

        retval = get_user_pages(current, current->mm, (unsigned long)uvAddr,

                                ^

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/./include/compat_page.h:23:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:32:

    ./include/linux/mm.h:1343:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’

    long get_user_pages(unsigned long start, unsigned long nr_pages,

          ^

    In file included from ./include/linux/thread_info.h:20:0,

                     from ./arch/x86/include/asm/preempt.h:6,

                     from ./include/linux/preempt.h:80,

                     from ./include/linux/spinlock.h:50,

                     from ./include/linux/mmzone.h:7,

                     from ./include/linux/gfp.h:5,

                     from ./include/linux/mm.h:9,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/compat_page.h:23,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:32:

    ./arch/x86/include/asm/current.h:17:17: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]

    #define current get_current()

                     ^

    /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:1173:37: note: in expansion of macro ‘current’

        retval = get_user_pages(current, current->mm, (unsigned long)uvAddr,

                                         ^

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/./include/compat_page.h:23:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:32:

    ./include/linux/mm.h:1343:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’

    long get_user_pages(unsigned long start, unsigned long nr_pages,

          ^

    /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:1174:28: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]

                                numPages, 0, 0, ppages, NULL);

                                ^

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/./include/compat_page.h:23:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:32:

    ./include/linux/mm.h:1343:6: note: expected ‘struct page **’ but argument is of type ‘unsigned int’

    long get_user_pages(unsigned long start, unsigned long nr_pages,

          ^

    /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:1173:13: error: too many arguments to function ‘get_user_pages’

        retval = get_user_pages(current, current->mm, (unsigned long)uvAddr,

                 ^

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/./include/compat_page.h:23:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:32:

    ./include/linux/mm.h:1343:6: note: declared here

    long get_user_pages(unsigned long start, unsigned long nr_pages,

          ^

    /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c: In function ‘HostIF_EstimateLockedPageLimit’:

    /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:1605:25: error: ‘NR_ANON_PAGES’ undeclared (first use in this function)

           global_page_state(NR_ANON_PAGES);

                             ^

    /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:1605:25: note: each undeclared identifier is reported only once for each function it appears in

    /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c: In function ‘HostIF_SetFastClockRate’:

    /tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.c:3527:10: error: implicit declaration of function ‘force_sig’ [-Werror=implicit-function-declaration]

              force_sig(SIGKILL, linuxState.fastClockThread);

              ^

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/./common/vmx86.h:32:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.h:31,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.c:48:

    /tmp/modconfig-EFdwmI/vmmon-only/./include/x86msr.h:111:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

    #define MSR_MISC_FEATURES_ENABLES            0x140

    ^

    In file included from ./arch/x86/include/asm/msr.h:4:0,

                     from ./arch/x86/include/asm/processor.h:20,

                     from ./arch/x86/include/asm/cpufeature.h:4,

                     from ./arch/x86/include/asm/thread_info.h:63,

                     from ./include/linux/thread_info.h:37,

                     from ./arch/x86/include/asm/preempt.h:6,

                     from ./include/linux/preempt.h:80,

                     from ./include/linux/spinlock.h:50,

                     from ./include/linux/wait.h:8,

                     from ./include/linux/wait_bit.h:7,

                     from ./include/linux/fs.h:5,

                     from ./include/linux/highmem.h:4,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.c:25:

    ./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition

    #define MSR_MISC_FEATURES_ENABLES 0x00000140

    ^

    cc1: some warnings being treated as errors

    scripts/Makefile.build:308: recipe for target '/tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.o' failed

    make[2]: *** [/tmp/modconfig-EFdwmI/vmmon-only/linux/hostif.o] Error 1

    make[2]: *** Waiting for unfinished jobs....

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/./include/vm_asm_x86.h:41:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/vm_asm_x86_64.h:39,

                     from /tmp/modconfig-EFdwmI/vmmon-only/./include/vm_asm.h:46,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.c:50:

    /tmp/modconfig-EFdwmI/vmmon-only/./include/x86_basic_defs.h:65:0: warning: "CR3_PCID_MASK" redefined

    #define CR3_PCID_MASK  0xFFF

    ^

    In file included from ./arch/x86/include/asm/processor.h:4:0,

                     from ./arch/x86/include/asm/cpufeature.h:4,

                     from ./arch/x86/include/asm/thread_info.h:63,

                     from ./include/linux/thread_info.h:37,

                     from ./arch/x86/include/asm/preempt.h:6,

                     from ./include/linux/preempt.h:80,

                     from ./include/linux/spinlock.h:50,

                     from ./include/linux/wait.h:8,

                     from ./include/linux/wait_bit.h:7,

                     from ./include/linux/fs.h:5,

                     from ./include/linux/highmem.h:4,

                     from /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.c:25:

    ./arch/x86/include/asm/processor-flags.h:37:0: note: this is the location of the previous definition

    #define CR3_PCID_MASK 0xFFFull

    ^

    In file included from /tmp/modconfig-EFdwmI/vmmon-only/./common/vmx86.h:32:0,

                     from /tmp/modconfig-EFdwmI/vmmon-only/vmcore/moduleloop.c:35:

    /tmp/modconfig-EFdwmI/vmmon-only/./include/x86msr.h:111:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

    #define MSR_MISC_FEATURES_ENABLES            0x140

    ^

    In file included from ./arch/x86/include/asm/msr.h:4:0,

                     from ./arch/x86/include/asm/processor.h:20,

                     from ./arch/x86/include/asm/cpufeature.h:4,

                     from ./arch/x86/include/asm/thread_info.h:63,

                     from ./include/linux/thread_info.h:37,

                     from ./arch/x86/include/asm/preempt.h:6,

                     from ./include/linux/preempt.h:80,

                     from ./include/linux/rcupdate.h:40,

                     from ./include/linux/rculist.h:10,

                     from ./include/linux/pid.h:4,

                     from ./include/linux/sched.h:13,

                     from /tmp/modconfig-EFdwmI/vmmon-only/vmcore/moduleloop.c:31:

    ./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition

    #define MSR_MISC_FEATURES_ENABLES 0x00000140

    ^

    /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.c:123:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]

             .fault  = LinuxDriverFault

                       ^

    /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.c:123:19: note: (near initialization for ‘vmuser_mops.fault’)

    /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.c:1291:1: warning: always_inline function might not be inlinable [-Wattributes]

    LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min

    ^

    /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:

    /tmp/modconfig-EFdwmI/vmmon-only/linux/driver.c:1986:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=]

    }

    ^

    cc1: some warnings being treated as errors

    scripts/Makefile.build:308: recipe for target '/tmp/modconfig-EFdwmI/vmmon-only/linux/driver.o' failed

    make[2]: *** [/tmp/modconfig-EFdwmI/vmmon-only/linux/driver.o] Error 1

    Makefile:1550: recipe for target '_module_/tmp/modconfig-EFdwmI/vmmon-only' failed

    make[1]: *** [_module_/tmp/modconfig-EFdwmI/vmmon-only] Error 2

    make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-26-generic'

    Makefile:120: recipe for target 'vmmon.ko' failed

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

    make: Leaving directory '/tmp/modconfig-EFdwmI/vmmon-only'

    make: Entering directory '/tmp/modconfig-EFdwmI/vmnet-only'

    Using kernel build system.

    /usr/bin/make -C /lib/modules/4.13.0-26-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

      MODULEBUILDDIR= modules

    make[1]: Entering directory '/usr/src/linux-headers-4.13.0-26-generic'

      CC [M]  /tmp/modconfig-EFdwmI/vmnet-only/driver.o

      CC [M]  /tmp/modconfig-EFdwmI/vmnet-only/hub.o

      CC [M]  /tmp/modconfig-EFdwmI/vmnet-only/userif.o

      CC [M]  /tmp/modconfig-EFdwmI/vmnet-only/netif.o

      CC [M]  /tmp/modconfig-EFdwmI/vmnet-only/bridge.o

      CC [M]  /tmp/modconfig-EFdwmI/vmnet-only/procfs.o

      CC [M]  /tmp/modconfig-EFdwmI/vmnet-only/smac_compat.o

      CC [M]  /tmp/modconfig-EFdwmI/vmnet-only/smac.o

      CC [M]  /tmp/modconfig-EFdwmI/vmnet-only/vnetEvent.o

      CC [M]  /tmp/modconfig-EFdwmI/vmnet-only/vnetUserListener.o

    In file included from ./include/linux/thread_info.h:20:0,

                     from ./arch/x86/include/asm/preempt.h:6,

                     from ./include/linux/preempt.h:80,

                     from ./include/linux/spinlock.h:50,

                     from ./include/linux/wait.h:8,

                     from ./include/linux/wait_bit.h:7,

                     from ./include/linux/fs.h:5,

                     from ./include/linux/highmem.h:4,

                     from /tmp/modconfig-EFdwmI/vmnet-only/userif.c:26:

    /tmp/modconfig-EFdwmI/vmnet-only/userif.c: In function ‘UserifLockPage’:

    ./arch/x86/include/asm/current.h:17:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]

    #define current get_current()

                     ^

    /tmp/modconfig-EFdwmI/vmnet-only/userif.c:124:28: note: in expansion of macro ‘current’

        retval = get_user_pages(current, current->mm, addr,

                                ^

    In file included from ./include/linux/pci.h:36:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/compat_netdevice.h:27,

                     from /tmp/modconfig-EFdwmI/vmnet-only/netif.c:43:

    ./include/linux/pci_ids.h:2260:0: warning: "PCI_VENDOR_ID_VMWARE" redefined

    #define PCI_VENDOR_ID_VMWARE  0x15ad

    ^

    In file included from ./include/linux/highmem.h:7:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/userif.c:26:

    ./include/linux/mm.h:1343:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’

    long get_user_pages(unsigned long start, unsigned long nr_pages,

          ^

    In file included from ./include/linux/thread_info.h:20:0,

                     from ./arch/x86/include/asm/preempt.h:6,

                     from ./include/linux/preempt.h:80,

                     from ./include/linux/spinlock.h:50,

                     from ./include/linux/wait.h:8,

                     from ./include/linux/wait_bit.h:7,

                     from ./include/linux/fs.h:5,

                     from ./include/linux/highmem.h:4,

                     from /tmp/modconfig-EFdwmI/vmnet-only/userif.c:26:

    ./arch/x86/include/asm/current.h:17:17: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]

    #define current get_current()

                     ^

    /tmp/modconfig-EFdwmI/vmnet-only/userif.c:124:37: note: in expansion of macro ‘current’

        retval = get_user_pages(current, current->mm, addr,

                                         ^

    In file included from ./include/linux/highmem.h:7:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/userif.c:26:

    ./include/linux/mm.h:1343:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’

    long get_user_pages(unsigned long start, unsigned long nr_pages,

          ^

    /tmp/modconfig-EFdwmI/vmnet-only/userif.c:125:28: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]

                                1, 1, 0, &page, NULL);

                                ^

    In file included from ./include/linux/highmem.h:7:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/userif.c:26:

    ./include/linux/mm.h:1343:6: note: expected ‘struct page **’ but argument is of type ‘int’

    long get_user_pages(unsigned long start, unsigned long nr_pages,

          ^

    /tmp/modconfig-EFdwmI/vmnet-only/userif.c:125:31: warning: passing argument 5 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]

                                1, 1, 0, &page, NULL);

                                   ^

    In file included from ./include/linux/highmem.h:7:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/userif.c:26:

    ./include/linux/mm.h:1343:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘int’

    long get_user_pages(unsigned long start, unsigned long nr_pages,

          ^

    /tmp/modconfig-EFdwmI/vmnet-only/userif.c:124:13: error: too many arguments to function ‘get_user_pages’

        retval = get_user_pages(current, current->mm, addr,

                 ^

    In file included from ./include/linux/highmem.h:7:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/userif.c:26:

    ./include/linux/mm.h:1343:6: note: declared here

    long get_user_pages(unsigned long start, unsigned long nr_pages,

          ^

    In file included from /tmp/modconfig-EFdwmI/vmnet-only/net.h:38:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/vnetInt.h:26,

                     from /tmp/modconfig-EFdwmI/vmnet-only/netif.c:42:

    /tmp/modconfig-EFdwmI/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition

    #define PCI_VENDOR_ID_VMWARE                    0x15AD

    ^

    In file included from ./include/linux/pci.h:36:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/compat_netdevice.h:27,

                     from /tmp/modconfig-EFdwmI/vmnet-only/netif.c:43:

    ./include/linux/pci_ids.h:2261:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined

    #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

    ^

    In file included from /tmp/modconfig-EFdwmI/vmnet-only/net.h:38:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/vnetInt.h:26,

                     from /tmp/modconfig-EFdwmI/vmnet-only/netif.c:42:

    /tmp/modconfig-EFdwmI/vmnet-only/vm_device_version.h:73:0: note: this is the location of the previous definition

    #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0

    ^

    /tmp/modconfig-EFdwmI/vmnet-only/userif.c: In function ‘VNetUserIfRead’:

    /tmp/modconfig-EFdwmI/vmnet-only/userif.c:749:11: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]

           if (signal_pending(current)) {

               ^

    In file included from /tmp/modconfig-EFdwmI/vmnet-only/netif.c:43:0:

    /tmp/modconfig-EFdwmI/vmnet-only/netif.c: In function ‘VNetNetifStartXmit’:

    /tmp/modconfig-EFdwmI/vmnet-only/compat_netdevice.h:344:46: error: ‘struct net_device’ has no member named ‘trans_start’

    #define compat_netif_trans_update(d) do { (d)->trans_start = jiffies; } while (0)

                                                  ^

    /tmp/modconfig-EFdwmI/vmnet-only/netif.c:468:4: note: in expansion of macro ‘compat_netif_trans_update’

        compat_netif_trans_update(dev);

        ^

    cc1: some warnings being treated as errors

    scripts/Makefile.build:308: recipe for target '/tmp/modconfig-EFdwmI/vmnet-only/userif.o' failed

    make[2]: *** [/tmp/modconfig-EFdwmI/vmnet-only/userif.o] Error 1

    make[2]: *** Waiting for unfinished jobs....

    scripts/Makefile.build:308: recipe for target '/tmp/modconfig-EFdwmI/vmnet-only/netif.o' failed

    make[2]: *** [/tmp/modconfig-EFdwmI/vmnet-only/netif.o] Error 1

    In file included from /tmp/modconfig-EFdwmI/vmnet-only/net.h:38:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/vnetInt.h:26,

                     from /tmp/modconfig-EFdwmI/vmnet-only/bridge.c:52:

    /tmp/modconfig-EFdwmI/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined

    #define PCI_VENDOR_ID_VMWARE                    0x15AD

    ^

    In file included from ./include/linux/pci.h:36:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/compat_netdevice.h:27,

                     from /tmp/modconfig-EFdwmI/vmnet-only/bridge.c:51:

    ./include/linux/pci_ids.h:2260:0: note: this is the location of the previous definition

    #define PCI_VENDOR_ID_VMWARE  0x15ad

    ^

    In file included from /tmp/modconfig-EFdwmI/vmnet-only/net.h:38:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/vnetInt.h:26,

                     from /tmp/modconfig-EFdwmI/vmnet-only/bridge.c:52:

    /tmp/modconfig-EFdwmI/vmnet-only/vm_device_version.h:73:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined

    #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0

    ^

    In file included from ./include/linux/pci.h:36:0,

                     from /tmp/modconfig-EFdwmI/vmnet-only/compat_netdevice.h:27,

                     from /tmp/modconfig-EFdwmI/vmnet-only/bridge.c:51:

    ./include/linux/pci_ids.h:2261:0: note: this is the location of the previous definition

    #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

    ^

    Makefile:1550: recipe for target '_module_/tmp/modconfig-EFdwmI/vmnet-only' failed

    make[1]: *** [_module_/tmp/modconfig-EFdwmI/vmnet-only] Error 2

    make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-26-generic'

    Makefile:120: recipe for target 'vmnet.ko' failed

    make: *** [vmnet.ko] Error 2

    make: Leaving directory '/tmp/modconfig-EFdwmI/vmnet-only'

    Unable to install all modules.  See log for details.