mkubecek / vmware-host-modules

Patches needed to build VMware (Player and Workstation) host modules against recent kernels
GNU General Public License v2.0
2.31k stars 374 forks source link

debian 5.7.0-1-amd64 kernel causes vmmon and vmnet to fail #64

Closed blastwave closed 4 years ago

blastwave commented 4 years ago

Same problems as usual and this is nothing new. Seems to happen about once a year.

root@nix:~# cat /tmp/vmware-root/vmware-690.log                                                                                     
2020-06-26T04:22:40.051Z| modconfig| I005: Log for VMware Workstation pid=690 version=15.5.6 build=build-16341506 optio             n=Release                                                                                                                           
2020-06-26T04:22:40.051Z| modconfig| I005: The process is 64-bit.                                                                   
2020-06-26T04:22:40.051Z| modconfig| I005: Host codepage=UTF-8 encoding=UTF-8                                                       
2020-06-26T04:22:40.051Z| modconfig| I005: Host is Linux 5.7.0-1-amd64 Debian GNU/Linux bullseye/sid                                
2020-06-26T04:22:40.050Z| modconfig| I005: Could not expand environment variable HOME.                                              
2020-06-26T04:22:40.050Z| modconfig| I005: Could not expand environment variable HOME.                                              
2020-06-26T04:22:40.050Z| modconfig| I005: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or              directory.                                                                                                                         
2020-06-26T04:22:40.051Z| modconfig| I005: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings"             : No such file or directory.                                                                                                        
2020-06-26T04:22:40.051Z| modconfig| I005: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using              default values.                                                                                                                     
2020-06-26T04:22:40.051Z| modconfig| I005: DictionaryLoad: Cannot open file "~/.vmware/config": No such file or directo             ry.                                                                                                                                 
2020-06-26T04:22:40.051Z| modconfig| I005: [msg.dictionary.load.openFailed] Cannot open file "~/.vmware/config": No suc             h file or directory.                                                                                                                
2020-06-26T04:22:40.051Z| modconfig| I005: PREF Optional preferences file not found at ~/.vmware/config. Using default              values.                                                                                                                             
2020-06-26T04:22:40.051Z| modconfig| I005: DictionaryLoad: Cannot open file "~/.vmware/preferences": No such file or di             rectory.                                                                                                                            
2020-06-26T04:22:40.051Z| modconfig| I005: [msg.dictionary.load.openFailed] Cannot open file "~/.vmware/preferences": N             o such file or directory.                                                                                                           
2020-06-26T04:22:40.051Z| modconfig| I005: PREF Optional preferences file not found at ~/.vmware/preferences. Using def             ault values.                                                                                                                        
2020-06-26T04:22:40.256Z| modconfig| I005: Initialized!  Lets do this thing...                                                      
2020-06-26T04:22:40.256Z| modconfig| I005: Obtaining info using the running kernel.                                                 
2020-06-26T04:22:40.256Z| modconfig| I005: Created new pathsHash.                                                                   
2020-06-26T04:22:40.256Z| modconfig| I005: Setting header path for 5.7.0-1-amd64 to "/lib/modules/5.7.0-1-amd64/build/i             nclude".                                                                                                                            
2020-06-26T04:22:40.256Z| modconfig| I005: Validating path "/lib/modules/5.7.0-1-amd64/build/include" for kernel releas             e "5.7.0-1-amd64".                                                                                                                  
2020-06-26T04:22:40.256Z| modconfig| I005: Failed to find /lib/modules/5.7.0-1-amd64/build/include/linux/version.h                  
2020-06-26T04:22:40.256Z| modconfig| I005: /lib/modules/5.7.0-1-amd64/build/include/linux/version.h not found, looking              for generated/uapi/linux/version.h instead.                                                                                         
2020-06-26T04:22:40.259Z| modconfig| I005: using /usr/bin/gcc-9 for preprocess check
2020-06-26T04:22:40.293Z| modconfig| I005: Preprocessed UTS_RELEASE, got value "5.7.0-1-amd64".
2020-06-26T04:22:40.293Z| modconfig| I005: The header path "/lib/modules/5.7.0-1-amd64/build/include" for the kernel "5.7.0-1-amd64" is valid.  Whoohoo!
2020-06-26T04:22:40.434Z| modconfig| I005: found symbol version file /lib/modules/5.7.0-1-amd64/build/Module.symvers
2020-06-26T04:22:40.434Z| modconfig| I005: Reading symbol versions from /lib/modules/5.7.0-1-amd64/build/Module.symvers.
2020-06-26T04:22:40.450Z| modconfig| I005: Read 21407 symbol versions
2020-06-26T04:22:40.452Z| modconfig| I005: Reading in info for the vmmon module.
2020-06-26T04:22:40.452Z| modconfig| I005: Reading in info for the vmnet module.
2020-06-26T04:22:40.452Z| modconfig| I005: Reading in info for the vmci module.
2020-06-26T04:22:40.452Z| modconfig| I005: Reading in info for the vsock module.
2020-06-26T04:22:40.452Z| modconfig| I005: Setting vsock to depend on vmci.
2020-06-26T04:22:40.461Z| modconfig| I005: Trying to find a suitable PBM set for kernel "5.7.0-1-amd64".
2020-06-26T04:22:40.461Z| modconfig| I005: No matching PBM set was found for kernel "5.7.0-1-amd64".
2020-06-26T04:22:40.462Z| modconfig| I005: Found compiler at "/usr/bin/gcc"
2020-06-26T04:22:40.463Z| modconfig| I005: Got gcc version "9".
2020-06-26T04:22:40.463Z| modconfig| I005: The GCC version matches the kernel GCC minor version like a glove.
2020-06-26T04:22:40.463Z| modconfig| I005: Using temp dir "/tmp".
2020-06-26T04:22:40.844Z| modconfig| I005: Setting destination path for vmmon to "/lib/modules/5.7.0-1-amd64/misc/vmmon.ko".
2020-06-26T04:22:40.844Z| modconfig| I005: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2020-06-26T04:22:40.851Z| modconfig| I005: Successfully extracted the vmmon source.
2020-06-26T04:22:40.851Z| modconfig| I005: Building module with command "/usr/bin/make -j2 -C /tmp/modconfig-gV7l4n/vmmon-only auto-build HEADER_DIR=/lib/modules/5.7.0-1-amd64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2020-06-26T04:22:42.238Z| modconfig| W003: Failed to build vmmon.  
2020-06-26T04:22:42.238Z| modconfig| W003: Failed to execute the build command.
2020-06-26T04:22:42.238Z| modconfig| I005: Setting destination path for vmnet to "/lib/modules/5.7.0-1-amd64/misc/vmnet.ko".
2020-06-26T04:22:42.238Z| modconfig| I005: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2020-06-26T04:22:42.256Z| modconfig| I005: Successfully extracted the vmnet source.
2020-06-26T04:22:42.256Z| modconfig| I005: Building module with command "/usr/bin/make -j2 -C /tmp/modconfig-gV7l4n/vmnet-only auto-build HEADER_DIR=/lib/modules/5.7.0-1-amd64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2020-06-26T04:22:43.451Z| modconfig| W003: Failed to build vmnet.  
2020-06-26T04:22:43.451Z| modconfig| W003: Failed to execute the build command.
2020-06-26T04:22:43.455Z| modconfig| I005: We are now shutdown.  Ready to die!
root@nix:~# 

Not very helpful. Failed to build? Gee you think?

Would be great if the compile process for these troublesome modules was a tad more verbose.

-- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional

blastwave commented 4 years ago

Follow up. Revert back to 5.6.0-2-amd64 solves the issue. Thus we now know that the jump to 5.7.x will break vmmon and vmnet compile.

mkubecek commented 4 years ago

If you run the build manually, you will see what exactly failed. Actually, even running vmware-modconfig --console --install-all from a terminal would show you build errors.

blastwave commented 4 years ago

If you run the build manually, you will see what exactly failed. Actually, even running vmware-modconfig --console --install-all from a terminal would show you build errors.

Yes, I did try that. I'll did out the log file but I also extracted the sources into a separate build directory and tried a trivial build with the existing Makefile. I do have that whole log which is a bit more detailed. Please note that if I revert back to 5.6.x then there are no issues with install so I think that confirms that something changed, again, in the Linux interfaces.

Here is what I see :

root@nix:~# cat /tmp/vmware-root/vmware-3130.log
2020-06-26T05:03:45.627Z| host-3130| I005: Log for VMware Workstation pid=3130 version=15.5.6 build=build-16341506 option=Release
2020-06-26T05:03:45.627Z| host-3130| I005: The process is 64-bit.
2020-06-26T05:03:45.627Z| host-3130| I005: Host codepage=UTF-8 encoding=UTF-8
2020-06-26T05:03:45.627Z| host-3130| I005: Host is Linux 5.7.0-1-amd64 Debian GNU/Linux bullseye/sid
2020-06-26T05:03:45.626Z| host-3130| I005: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2020-06-26T05:03:45.626Z| host-3130| I005: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2020-06-26T05:03:45.626Z| host-3130| I005: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2020-06-26T05:03:45.627Z| host-3130| I005: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
2020-06-26T05:03:45.627Z| host-3130| I005: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2020-06-26T05:03:45.627Z| host-3130| I005: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2020-06-26T05:03:45.857Z| host-3130| W003: Logging to /tmp/vmware-root/vmware-3130.log
2020-06-26T05:03:45.930Z| host-3130| I005: Obtaining info using the running kernel.
2020-06-26T05:03:45.930Z| host-3130| I005: Created new pathsHash.
2020-06-26T05:03:45.931Z| host-3130| I005: Setting header path for 5.7.0-1-amd64 to "/lib/modules/5.7.0-1-amd64/build/include".
2020-06-26T05:03:45.931Z| host-3130| I005: Validating path "/lib/modules/5.7.0-1-amd64/build/include" for kernel release "5.7.0-1-amd64".
2020-06-26T05:03:45.931Z| host-3130| I005: Failed to find /lib/modules/5.7.0-1-amd64/build/include/linux/version.h
2020-06-26T05:03:45.931Z| host-3130| I005: /lib/modules/5.7.0-1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-06-26T05:03:45.931Z| host-3130| I005: using /usr/bin/gcc-9 for preprocess check
2020-06-26T05:03:45.936Z| host-3130| I005: Preprocessed UTS_RELEASE, got value "5.7.0-1-amd64".
2020-06-26T05:03:45.936Z| host-3130| I005: The header path "/lib/modules/5.7.0-1-amd64/build/include" for the kernel "5.7.0-1-amd64" is valid.  Whoohoo!
2020-06-26T05:03:46.078Z| host-3130| I005: found symbol version file /lib/modules/5.7.0-1-amd64/build/Module.symvers
2020-06-26T05:03:46.078Z| host-3130| I005: Reading symbol versions from /lib/modules/5.7.0-1-amd64/build/Module.symvers.
2020-06-26T05:03:46.093Z| host-3130| I005: Read 21407 symbol versions
2020-06-26T05:03:46.093Z| host-3130| I005: Reading in info for the vmmon module.
2020-06-26T05:03:46.093Z| host-3130| I005: Reading in info for the vmnet module.
2020-06-26T05:03:46.093Z| host-3130| I005: Reading in info for the vmci module.
2020-06-26T05:03:46.093Z| host-3130| I005: Reading in info for the vsock module.
2020-06-26T05:03:46.093Z| host-3130| I005: Setting vsock to depend on vmci.
2020-06-26T05:03:46.093Z| host-3130| I005: Invoking modinfo on "vmmon".
2020-06-26T05:03:46.095Z| host-3130| I005: "/sbin/modinfo" exited with status 256.
2020-06-26T05:03:46.095Z| host-3130| I005: Invoking modinfo on "vmnet".
2020-06-26T05:03:46.097Z| host-3130| I005: "/sbin/modinfo" exited with status 256.
2020-06-26T05:03:46.097Z| host-3130| I005: Invoking modinfo on "vmci".
2020-06-26T05:03:46.098Z| host-3130| I005: "/sbin/modinfo" exited with status 256.
2020-06-26T05:03:46.098Z| host-3130| I005: Invoking modinfo on "vsock".
2020-06-26T05:03:46.101Z| host-3130| I005: "/sbin/modinfo" exited with status 0.
2020-06-26T05:03:46.109Z| host-3130| I005: to be installed: vmmon status: 0
2020-06-26T05:03:46.109Z| host-3130| I005: to be installed: vmnet status: 0
2020-06-26T05:03:46.123Z| host-3130| I005: Obtaining info using the running kernel.
2020-06-26T05:03:46.123Z| host-3130| I005: Setting header path for 5.7.0-1-amd64 to "/lib/modules/5.7.0-1-amd64/build/include".
2020-06-26T05:03:46.123Z| host-3130| I005: Validating path "/lib/modules/5.7.0-1-amd64/build/include" for kernel release "5.7.0-1-amd64".
2020-06-26T05:03:46.123Z| host-3130| I005: Failed to find /lib/modules/5.7.0-1-amd64/build/include/linux/version.h
2020-06-26T05:03:46.123Z| host-3130| I005: /lib/modules/5.7.0-1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-06-26T05:03:46.123Z| host-3130| I005: using /usr/bin/gcc-9 for preprocess check
2020-06-26T05:03:46.126Z| host-3130| I005: Preprocessed UTS_RELEASE, got value "5.7.0-1-amd64".
2020-06-26T05:03:46.126Z| host-3130| I005: The header path "/lib/modules/5.7.0-1-amd64/build/include" for the kernel "5.7.0-1-amd64" is valid.  Whoohoo!
2020-06-26T05:03:46.258Z| host-3130| I005: found symbol version file /lib/modules/5.7.0-1-amd64/build/Module.symvers
2020-06-26T05:03:46.258Z| host-3130| I005: Reading symbol versions from /lib/modules/5.7.0-1-amd64/build/Module.symvers.
2020-06-26T05:03:46.272Z| host-3130| I005: Read 21407 symbol versions
2020-06-26T05:03:46.280Z| host-3130| I005: Kernel header path retrieved from FileEntry: /lib/modules/5.7.0-1-amd64/build/include
2020-06-26T05:03:46.280Z| host-3130| I005: Update kernel header path to /lib/modules/5.7.0-1-amd64/build/include
2020-06-26T05:03:46.280Z| host-3130| I005: Validating path "/lib/modules/5.7.0-1-amd64/build/include" for kernel release "5.7.0-1-amd64".
2020-06-26T05:03:46.280Z| host-3130| I005: Failed to find /lib/modules/5.7.0-1-amd64/build/include/linux/version.h
2020-06-26T05:03:46.280Z| host-3130| I005: /lib/modules/5.7.0-1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-06-26T05:03:46.280Z| host-3130| I005: using /usr/bin/gcc-9 for preprocess check
2020-06-26T05:03:46.284Z| host-3130| I005: Preprocessed UTS_RELEASE, got value "5.7.0-1-amd64".
2020-06-26T05:03:46.284Z| host-3130| I005: The header path "/lib/modules/5.7.0-1-amd64/build/include" for the kernel "5.7.0-1-amd64" is valid.  Whoohoo!
2020-06-26T05:03:46.284Z| host-3130| I005: Found compiler at "/usr/bin/gcc"
2020-06-26T05:03:46.285Z| host-3130| I005: Got gcc version "9".
2020-06-26T05:03:46.285Z| host-3130| I005: The GCC version matches the kernel GCC minor version like a glove.
2020-06-26T05:03:46.287Z| host-3130| I005: Got gcc version "9".
2020-06-26T05:03:46.287Z| host-3130| I005: The GCC version matches the kernel GCC minor version like a glove.
2020-06-26T05:03:46.288Z| host-3130| I005: Trying to find a suitable PBM set for kernel "5.7.0-1-amd64".
2020-06-26T05:03:46.288Z| host-3130| I005: No matching PBM set was found for kernel "5.7.0-1-amd64".
2020-06-26T05:03:46.288Z| host-3130| I005: The GCC version matches the kernel GCC minor version like a glove.
2020-06-26T05:03:46.288Z| host-3130| I005: Validating path "/lib/modules/5.7.0-1-amd64/build/include" for kernel release "5.7.0-1-amd64".
2020-06-26T05:03:46.288Z| host-3130| I005: Failed to find /lib/modules/5.7.0-1-amd64/build/include/linux/version.h
2020-06-26T05:03:46.288Z| host-3130| I005: /lib/modules/5.7.0-1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-06-26T05:03:46.288Z| host-3130| I005: using /usr/bin/gcc-9 for preprocess check
2020-06-26T05:03:46.291Z| host-3130| I005: Preprocessed UTS_RELEASE, got value "5.7.0-1-amd64".
2020-06-26T05:03:46.291Z| host-3130| I005: The header path "/lib/modules/5.7.0-1-amd64/build/include" for the kernel "5.7.0-1-amd64" is valid.  Whoohoo!
2020-06-26T05:03:49.132Z| host-3130| I005: The GCC version matches the kernel GCC minor version like a glove.
2020-06-26T05:03:49.132Z| host-3130| I005: Validating path "/lib/modules/5.7.0-1-amd64/build/include" for kernel release "5.7.0-1-amd64".
2020-06-26T05:03:49.132Z| host-3130| I005: Failed to find /lib/modules/5.7.0-1-amd64/build/include/linux/version.h
2020-06-26T05:03:49.132Z| host-3130| I005: /lib/modules/5.7.0-1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-06-26T05:03:49.133Z| host-3130| I005: using /usr/bin/gcc-9 for preprocess check
2020-06-26T05:03:49.142Z| host-3130| I005: Preprocessed UTS_RELEASE, got value "5.7.0-1-amd64".
2020-06-26T05:03:49.142Z| host-3130| I005: The header path "/lib/modules/5.7.0-1-amd64/build/include" for the kernel "5.7.0-1-amd64" is valid.  Whoohoo!
2020-06-26T05:03:49.142Z| host-3130| I005: Using temp dir "/tmp".
2020-06-26T05:03:52.422Z| host-3130| I005: Stopping VMware services:
2020-06-26T05:03:52.422Z| host-3130| I005:    VMware Authentication Da done
2020-06-26T05:03:52.422Z| host-3130| I005:    VM communication interfa donecket family
2020-06-26T05:03:52.422Z| host-3130| I005:    Virtual machine communic done interface
2020-06-26T05:03:52.422Z| host-3130| I005:    Virtual machine monitor  done
2020-06-26T05:03:52.422Z| host-3130| I005:    Blocking file system     done
2020-06-26T05:03:52.422Z| host-3130| I005: make: Entering directory '/tmp/modconfig-bL7ixP/vmmon-only'
2020-06-26T05:03:52.422Z| host-3130| I005: /usr/bin/make -C /lib/modules/5.7.0-1-amd64/build/include/.. M=$PWD SRCROOT=$PWD/. \
2020-06-26T05:03:52.422Z| host-3130| I005:   MODULEBUILDDIR= modules
2020-06-26T05:03:52.422Z| host-3130| I005: make[1]: Entering directory '/usr/src/linux-headers-5.7.0-1-amd64'
2020-06-26T05:03:52.422Z| host-3130| I005:   CC [M]  /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.o
2020-06-26T05:03:52.422Z| host-3130| I005:   CC [M]  /tmp/modconfig-bL7ixP/vmmon-only/linux/driverLog.o
2020-06-26T05:03:52.422Z| host-3130| I005:   CC [M]  /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.o
2020-06-26T05:03:52.422Z| host-3130| I005: make[1]: Leaving directory '/usr/src/linux-headers-5.7.0-1-amd64'
2020-06-26T05:03:52.422Z| host-3130| I005: make: Leaving directory '/tmp/modconfig-bL7ixP/vmmon-only'
2020-06-26T05:03:52.422Z| host-3130| I005: make: Entering directory '/tmp/modconfig-bL7ixP/vmnet-only'
2020-06-26T05:03:52.422Z| host-3130| I005: /usr/bin/make -C /lib/modules/5.7.0-1-amd64/build/include/.. M=$PWD SRCROOT=$PWD/. \
2020-06-26T05:03:52.422Z| host-3130| I005:   MODULEBUILDDIR= modules
2020-06-26T05:03:52.422Z| host-3130| I005: make[1]: Entering directory '/usr/src/linux-headers-5.7.0-1-amd64'
2020-06-26T05:03:52.422Z| host-3130| I005:   CC [M]  /tmp/modconfig-bL7ixP/vmnet-only/driver.o
2020-06-26T05:03:52.422Z| host-3130| I005:   CC [M]  /tmp/modconfig-bL7ixP/vmnet-only/hub.o
2020-06-26T05:03:52.422Z| host-3130| I005: make[1]: Leaving directory '/usr/src/linux-headers-5.7.0-1-amd64'
2020-06-26T05:03:52.422Z| host-3130| I005: make: Leaving directory '/tmp/modconfig-bL7ixP/vmnet-only'
2020-06-26T05:03:52.422Z| host-3130| I005: [AppLoader] GLib does not have GSettings support.
2020-06-26T05:03:52.422Z| host-3130| I005: Using kernel build system.
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /tmp/modconfig-bL7ixP/vmmon-only/./common/vmx86.h:32,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.h:33,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c:47:
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/./include/x86msr.h:140: warning: "MSR_MISC_FEATURES_ENABLES" redefined
2020-06-26T05:03:52.422Z| host-3130| I005:   140 | #define MSR_MISC_FEATURES_ENABLES            0x140
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/nospec-branch.h:11,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/paravirt_types.h:46,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/ptrace.h:94,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/math_emu.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/processor.h:13,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/cpufeature.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/thread_info.h:53,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/thread_info.h:38,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/preempt.h:7,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/preempt.h:78,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/spinlock.h:51,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/wait.h:9,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/wait_bit.h:8,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/fs.h:6,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/highmem.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c:25:
2020-06-26T05:03:52.422Z| host-3130| I005: /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/msr-index.h:719: note: this is the location of the previous definition
2020-06-26T05:03:52.422Z| host-3130| I005:   719 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /tmp/modconfig-bL7ixP/vmmon-only/./common/vmx86.h:32,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.h:33,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c:47:
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/./include/x86msr.h:475: warning: "MSR_K7_HWCR_SMMLOCK" redefined
2020-06-26T05:03:52.422Z| host-3130| I005:   475 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/nospec-branch.h:11,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/paravirt_types.h:46,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/ptrace.h:94,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/math_emu.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/processor.h:13,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/cpufeature.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/thread_info.h:53,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/thread_info.h:38,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/preempt.h:7,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/preempt.h:78,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/spinlock.h:51,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/wait.h:9,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/wait_bit.h:8,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/fs.h:6,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/highmem.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c:25:
2020-06-26T05:03:52.422Z| host-3130| I005: /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/msr-index.h:527: note: this is the location of the previous definition
2020-06-26T05:03:52.422Z| host-3130| I005:   527 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /tmp/modconfig-bL7ixP/vmmon-only/./common/vmx86.h:32,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.h:33,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c:47:
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/./include/x86msr.h:636: warning: "MSR_TSX_FORCE_ABORT" redefined
2020-06-26T05:03:52.422Z| host-3130| I005:   636 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/nospec-branch.h:11,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/paravirt_types.h:46,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/ptrace.h:94,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/math_emu.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/processor.h:13,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/cpufeature.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/thread_info.h:53,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/thread_info.h:38,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/preempt.h:7,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/preempt.h:78,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/spinlock.h:51,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/wait.h:9,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/wait_bit.h:8,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/fs.h:6,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/highmem.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c:25:
2020-06-26T05:03:52.422Z| host-3130| I005: /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/msr-index.h:728: note: this is the location of the previous definition
2020-06-26T05:03:52.422Z| host-3130| I005:   728 | #define MSR_TSX_FORCE_ABORT  0x0000010F
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /tmp/modconfig-bL7ixP/vmmon-only/./include/vm_asm_x86.h:41,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/./include/vm_asm.h:44,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c:49:
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
2020-06-26T05:03:52.422Z| host-3130| I005:    78 | #define CR3_PCID_MASK  0xFFF
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/processor.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/cpufeature.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/thread_info.h:53,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/thread_info.h:38,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/preempt.h:7,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/preempt.h:78,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/spinlock.h:51,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/wait.h:9,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/wait_bit.h:8,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/fs.h:6,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/highmem.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c:25:
2020-06-26T05:03:52.422Z| host-3130| I005: /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
2020-06-26T05:03:52.422Z| host-3130| I005:    39 | #define CR3_PCID_MASK 0xFFFull
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c:1230:5: warning: "VMX86_DEVEL" is not defined, evaluates to 0 [-Wundef]
2020-06-26T05:03:52.422Z| host-3130| I005:  1230 | #if VMX86_DEVEL
2020-06-26T05:03:52.422Z| host-3130| I005:       |     ^~~~~~~~~~~
2020-06-26T05:03:52.422Z| host-3130| I005: At top level:
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.c:668:1: warning: always_inline function might not be inlinable [-Wattributes]
2020-06-26T05:03:52.422Z| host-3130| I005:   668 | LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
2020-06-26T05:03:52.422Z| host-3130| I005:       | ^~~~~~~~~~~~~~~~~~~~~~~
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /tmp/modconfig-bL7ixP/vmmon-only/./include/vm_asm.h:43,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.c:60:
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/./include/x86msr.h:140: warning: "MSR_MISC_FEATURES_ENABLES" redefined
2020-06-26T05:03:52.422Z| host-3130| I005:   140 | #define MSR_MISC_FEATURES_ENABLES            0x140
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/nospec-branch.h:11,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/irqflags.h:9,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/irqflags.h:16,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/rcupdate.h:26,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/rculist.h:11,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/pid.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/sched.h:14,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/binfmts.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.c:32:
2020-06-26T05:03:52.422Z| host-3130| I005: /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/msr-index.h:719: note: this is the location of the previous definition
2020-06-26T05:03:52.422Z| host-3130| I005:   719 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /tmp/modconfig-bL7ixP/vmmon-only/./include/vm_asm.h:43,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.c:60:
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/./include/x86msr.h:475: warning: "MSR_K7_HWCR_SMMLOCK" redefined
2020-06-26T05:03:52.422Z| host-3130| I005:   475 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/nospec-branch.h:11,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/irqflags.h:9,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/irqflags.h:16,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/rcupdate.h:26,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/rculist.h:11,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/pid.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/sched.h:14,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/binfmts.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.c:32:
2020-06-26T05:03:52.422Z| host-3130| I005: /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/msr-index.h:527: note: this is the location of the previous definition
2020-06-26T05:03:52.422Z| host-3130| I005:   527 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /tmp/modconfig-bL7ixP/vmmon-only/./include/vm_asm.h:43,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.c:60:
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/./include/x86msr.h:636: warning: "MSR_TSX_FORCE_ABORT" redefined
2020-06-26T05:03:52.422Z| host-3130| I005:   636 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/nospec-branch.h:11,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/irqflags.h:9,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/irqflags.h:16,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/rcupdate.h:26,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/rculist.h:11,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/pid.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/sched.h:14,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/binfmts.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.c:32:
2020-06-26T05:03:52.422Z| host-3130| I005: /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/msr-index.h:728: note: this is the location of the previous definition
2020-06-26T05:03:52.422Z| host-3130| I005:   728 | #define MSR_TSX_FORCE_ABORT  0x0000010F
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /tmp/modconfig-bL7ixP/vmmon-only/./include/vm_asm_x86.h:41,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/./include/vm_asm.h:44,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.c:60:
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
2020-06-26T05:03:52.422Z| host-3130| I005:    78 | #define CR3_PCID_MASK  0xFFF
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: In file included from /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/irqflags.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/irqflags.h:16,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/rcupdate.h:26,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/rculist.h:11,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/pid.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/sched.h:14,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /usr/src/linux-headers-5.7.0-1-common/include/linux/binfmts.h:5,
2020-06-26T05:03:52.422Z| host-3130| I005:                  from /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.c:32:
2020-06-26T05:03:52.422Z| host-3130| I005: /usr/src/linux-headers-5.7.0-1-common/arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
2020-06-26T05:03:52.422Z| host-3130| I005:    39 | #define CR3_PCID_MASK 0xFFFull
2020-06-26T05:03:52.422Z| host-3130| I005:       | 
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
2020-06-26T05:03:52.422Z| host-3130| I005: make[3]: *** [/usr/src/linux-headers-5.7.0-1-common/scripts/Makefile.build:272: /tmp/modconfig-bL7ixP/vmmon-only/linux/driver.o] Error 255
2020-06-26T05:03:52.422Z| host-3130| I005: make[3]: *** Deleting file '/tmp/modconfig-bL7ixP/vmmon-only/linux/driver.o'
2020-06-26T05:03:52.422Z| host-3130| I005: make[3]: *** Waiting for unfinished jobs....
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
2020-06-26T05:03:52.422Z| host-3130| I005: make[3]: *** [/usr/src/linux-headers-5.7.0-1-common/scripts/Makefile.build:272: /tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.o] Error 255
2020-06-26T05:03:52.422Z| host-3130| I005: make[3]: *** Deleting file '/tmp/modconfig-bL7ixP/vmmon-only/linux/hostif.o'
2020-06-26T05:03:52.422Z| host-3130| I005: make[2]: *** [/usr/src/linux-headers-5.7.0-1-common/Makefile:1745: /tmp/modconfig-bL7ixP/vmmon-only] Error 2
2020-06-26T05:03:52.422Z| host-3130| I005: make[1]: *** [/usr/src/linux-headers-5.7.0-1-common/Makefile:180: sub-make] Error 2
2020-06-26T05:03:52.422Z| host-3130| I005: make: *** [Makefile:117: vmmon.ko] Error 2
2020-06-26T05:03:52.422Z| host-3130| I005: Using kernel build system.
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmnet-only/hub.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmnet-only/hub.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
2020-06-26T05:03:52.422Z| host-3130| I005: make[3]: *** [/usr/src/linux-headers-5.7.0-1-common/scripts/Makefile.build:272: /tmp/modconfig-bL7ixP/vmnet-only/hub.o] Error 255
2020-06-26T05:03:52.422Z| host-3130| I005: make[3]: *** Deleting file '/tmp/modconfig-bL7ixP/vmnet-only/hub.o'
2020-06-26T05:03:52.422Z| host-3130| I005: make[3]: *** Waiting for unfinished jobs....
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmnet-only/driver.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
2020-06-26T05:03:52.422Z| host-3130| I005: /tmp/modconfig-bL7ixP/vmnet-only/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
2020-06-26T05:03:52.422Z| host-3130| I005: make[3]: *** [/usr/src/linux-headers-5.7.0-1-common/scripts/Makefile.build:272: /tmp/modconfig-bL7ixP/vmnet-only/driver.o] Error 255
2020-06-26T05:03:52.422Z| host-3130| I005: make[3]: *** Deleting file '/tmp/modconfig-bL7ixP/vmnet-only/driver.o'
2020-06-26T05:03:52.422Z| host-3130| I005: make[2]: *** [/usr/src/linux-headers-5.7.0-1-common/Makefile:1745: /tmp/modconfig-bL7ixP/vmnet-only] Error 2
2020-06-26T05:03:52.422Z| host-3130| I005: make[1]: *** [/usr/src/linux-headers-5.7.0-1-common/Makefile:180: sub-make] Error 2
2020-06-26T05:03:52.422Z| host-3130| I005: make: *** [Makefile:117: vmnet.ko] Error 2
2020-06-26T05:03:52.422Z| host-3130| I005: Unable to install all modules.  See log for details.
2020-06-26T05:03:52.422Z| host-3130| I005: 
root@nix:~# 

Clearly something went bork again.

yank555-lu commented 4 years ago

Since this was triggered by my post on the vmware community, I just wanted to let you know, that by running the command indicated above by @mkubecek the modules installed fine, there was no trial to compile vmci ... don't ask me whyever the workstation GUI was trying to do that...

In essence, the issue for me has been solved this way, I'm running workstation fine on the latest kernel for Ubuntu 18.04LTS (4.15.0-108).

`# vmware-modconfig --console --install-all [AppLoader] GLib does not have GSettings support. 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-kgdV6B/vmmon-only' Using kernel build system. /usr/bin/make -C /lib/modules/4.15.0-108-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-108-generic' CC [M] /tmp/modconfig-kgdV6B/vmmon-only/linux/driverLog.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/linux/hostif.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/common/memtrack.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/common/apic.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/common/sharedAreaVmmon.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/common/statVarsVmmon.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/common/cpuid.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/common/task.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/common/comport.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/common/phystrack.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/vmcore/moduleloop.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/bootstrap/monLoaderVmmon.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/bootstrap/vmmblob.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/bootstrap/monLoader.o CC [M] /tmp/modconfig-kgdV6B/vmmon-only/bootstrap/bootstrap.o In file included from ./arch/x86/include/asm/processor.h:5:0, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from /tmp/modconfig-kgdV6B/vmmon-only/common/task.c:71: ./arch/x86/include/asm/processor-flags.h:39:0: warning: "CR3_PCID_MASK" redefined

define CR3_PCID_MASK 0xFFFull

In file included from /tmp/modconfig-kgdV6B/vmmon-only/./include/vm_asm_x86.h:41:0, from /tmp/modconfig-kgdV6B/vmmon-only/./include/vm_asm.h:44, from /tmp/modconfig-kgdV6B/vmmon-only/common/task.c:53: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86_basic_defs.h:78:0: note: this is the location of the previous definition

define CR3_PCID_MASK 0xFFF

In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:92, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from /tmp/modconfig-kgdV6B/vmmon-only/common/task.c:71: ./arch/x86/include/asm/msr-index.h:638:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.h:32:0, from /tmp/modconfig-kgdV6B/vmmon-only/common/task.c:51: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86msr.h:140:0: note: this is the location of the previous definition

define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:92, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from /tmp/modconfig-kgdV6B/vmmon-only/common/task.c:71: ./arch/x86/include/asm/msr-index.h:647:0: warning: "MSR_TSX_FORCE_ABORT" redefined

define MSR_TSX_FORCE_ABORT 0x0000010F

In file included from /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.h:32:0, from /tmp/modconfig-kgdV6B/vmmon-only/common/task.c:51: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86msr.h:636:0: note: this is the location of the previous definition

define MSR_TSX_FORCE_ABORT 0x0000010f

In file included from /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.h:32:0, from /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.c:43: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86msr.h:140:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.c:31: ./arch/x86/include/asm/msr-index.h:638:0: note: this is the location of the previous definition

define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.h:32:0, from /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.c:43: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86msr.h:636:0: warning: "MSR_TSX_FORCE_ABORT" redefined

define MSR_TSX_FORCE_ABORT 0x0000010f

In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.c:31: ./arch/x86/include/asm/msr-index.h:647:0: note: this is the location of the previous definition

define MSR_TSX_FORCE_ABORT 0x0000010F

In file included from /tmp/modconfig-kgdV6B/vmmon-only/./common/vmx86.h:32:0, from /tmp/modconfig-kgdV6B/vmmon-only/vmcore/moduleloop.c:35: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86msr.h:140:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-kgdV6B/vmmon-only/vmcore/moduleloop.c:31: ./arch/x86/include/asm/msr-index.h:638:0: note: this is the location of the previous definition

define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-kgdV6B/vmmon-only/./common/vmx86.h:32:0, from /tmp/modconfig-kgdV6B/vmmon-only/vmcore/moduleloop.c:35: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86msr.h:636:0: warning: "MSR_TSX_FORCE_ABORT" redefined

define MSR_TSX_FORCE_ABORT 0x0000010f

In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-kgdV6B/vmmon-only/vmcore/moduleloop.c:31: ./arch/x86/include/asm/msr-index.h:647:0: note: this is the location of the previous definition

define MSR_TSX_FORCE_ABORT 0x0000010F

In file included from /tmp/modconfig-kgdV6B/vmmon-only/./include/vm_asm_x86.h:41:0, from /tmp/modconfig-kgdV6B/vmmon-only/./include/vm_asm.h:44, from /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.c:45: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined

define CR3_PCID_MASK 0xFFF

In file included from ./arch/x86/include/asm/irqflags.h:5:0, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-kgdV6B/vmmon-only/common/vmx86.c:31: ./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition

define CR3_PCID_MASK 0xFFFull

In file included from /tmp/modconfig-kgdV6B/vmmon-only/./include/vm_asm.h:43:0, from /tmp/modconfig-kgdV6B/vmmon-only/linux/hostif.c:60: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86msr.h:140:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/binfmts.h:5, from /tmp/modconfig-kgdV6B/vmmon-only/linux/hostif.c:32: ./arch/x86/include/asm/msr-index.h:638:0: note: this is the location of the previous definition

define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-kgdV6B/vmmon-only/./include/vm_asm.h:43:0, from /tmp/modconfig-kgdV6B/vmmon-only/linux/hostif.c:60: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86msr.h:636:0: warning: "MSR_TSX_FORCE_ABORT" redefined

define MSR_TSX_FORCE_ABORT 0x0000010f

In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/binfmts.h:5, from /tmp/modconfig-kgdV6B/vmmon-only/linux/hostif.c:32: ./arch/x86/include/asm/msr-index.h:647:0: note: this is the location of the previous definition

define MSR_TSX_FORCE_ABORT 0x0000010F

In file included from /tmp/modconfig-kgdV6B/vmmon-only/./include/vm_asm_x86.h:41:0, from /tmp/modconfig-kgdV6B/vmmon-only/./include/vm_asm.h:44, from /tmp/modconfig-kgdV6B/vmmon-only/linux/hostif.c:60: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined

define CR3_PCID_MASK 0xFFF

In file included from ./arch/x86/include/asm/irqflags.h:5:0, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/binfmts.h:5, from /tmp/modconfig-kgdV6B/vmmon-only/linux/hostif.c:32: ./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition

define CR3_PCID_MASK 0xFFFull

In file included from /tmp/modconfig-kgdV6B/vmmon-only/./common/vmx86.h:32:0, from /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.h:33, from /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.c:47: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86msr.h:140:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:92, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/highmem.h:5, from /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.c:25: ./arch/x86/include/asm/msr-index.h:638:0: note: this is the location of the previous definition

define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-kgdV6B/vmmon-only/./common/vmx86.h:32:0, from /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.h:33, from /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.c:47: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86msr.h:636:0: warning: "MSR_TSX_FORCE_ABORT" redefined

define MSR_TSX_FORCE_ABORT 0x0000010f

In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:92, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/highmem.h:5, from /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.c:25: ./arch/x86/include/asm/msr-index.h:647:0: note: this is the location of the previous definition

define MSR_TSX_FORCE_ABORT 0x0000010F

In file included from /tmp/modconfig-kgdV6B/vmmon-only/./include/vm_asm_x86.h:41:0, from /tmp/modconfig-kgdV6B/vmmon-only/./include/vm_asm.h:44, from /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.c:49: /tmp/modconfig-kgdV6B/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined

define CR3_PCID_MASK 0xFFF

In file included from ./arch/x86/include/asm/processor.h:5:0, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/highmem.h:5, from /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.c:25: ./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition

define CR3_PCID_MASK 0xFFFull

/tmp/modconfig-kgdV6B/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’: /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.c:1230:5: warning: "VMX86_DEVEL" is not defined, evaluates to 0 [-Wundef]

if VMX86_DEVEL

 ^~~~~~~~~~~

At top level: /tmp/modconfig-kgdV6B/vmmon-only/linux/driver.c:668:1: warning: always_inline function might not be inlinable [-Wattributes] LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min ^~~~~~~ LD [M] /tmp/modconfig-kgdV6B/vmmon-only/vmmon.o Building modules, stage 2. MODPOST 1 modules CC /tmp/modconfig-kgdV6B/vmmon-only/vmmon.mod.o LD [M] /tmp/modconfig-kgdV6B/vmmon-only/vmmon.ko make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-108-generic' /usr/bin/make -C $PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= postbuild make[1]: Entering directory '/tmp/modconfig-kgdV6B/vmmon-only' make[1]: 'postbuild' is up to date. make[1]: Leaving directory '/tmp/modconfig-kgdV6B/vmmon-only' cp -f vmmon.ko ./../vmmon.o make: Leaving directory '/tmp/modconfig-kgdV6B/vmmon-only' make: Entering directory '/tmp/modconfig-kgdV6B/vmnet-only' Using kernel build system. /usr/bin/make -C /lib/modules/4.15.0-108-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-108-generic' CC [M] /tmp/modconfig-kgdV6B/vmnet-only/driver.o CC [M] /tmp/modconfig-kgdV6B/vmnet-only/hub.o CC [M] /tmp/modconfig-kgdV6B/vmnet-only/userif.o CC [M] /tmp/modconfig-kgdV6B/vmnet-only/netif.o CC [M] /tmp/modconfig-kgdV6B/vmnet-only/procfs.o CC [M] /tmp/modconfig-kgdV6B/vmnet-only/bridge.o CC [M] /tmp/modconfig-kgdV6B/vmnet-only/smac_compat.o CC [M] /tmp/modconfig-kgdV6B/vmnet-only/vnetUserListener.o CC [M] /tmp/modconfig-kgdV6B/vmnet-only/smac.o CC [M] /tmp/modconfig-kgdV6B/vmnet-only/vnetEvent.o In file included from ./include/linux/pci.h:37:0, from /tmp/modconfig-kgdV6B/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-kgdV6B/vmnet-only/netif.c:44: ./include/linux/pci_ids.h:2265:0: warning: "PCI_VENDOR_ID_VMWARE" redefined

define PCI_VENDOR_ID_VMWARE 0x15ad

In file included from /tmp/modconfig-kgdV6B/vmnet-only/net.h:38:0, from /tmp/modconfig-kgdV6B/vmnet-only/vnetInt.h:26, from /tmp/modconfig-kgdV6B/vmnet-only/netif.c:43: /tmp/modconfig-kgdV6B/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:37:0, from /tmp/modconfig-kgdV6B/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-kgdV6B/vmnet-only/netif.c:44: ./include/linux/pci_ids.h:2266:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined

define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

In file included from /tmp/modconfig-kgdV6B/vmnet-only/net.h:38:0, from /tmp/modconfig-kgdV6B/vmnet-only/vnetInt.h:26, from /tmp/modconfig-kgdV6B/vmnet-only/netif.c:43: /tmp/modconfig-kgdV6B/vmnet-only/vm_device_version.h:74:0: note: this is the location of the previous definition

define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0

In file included from /tmp/modconfig-kgdV6B/vmnet-only/net.h:38:0, from /tmp/modconfig-kgdV6B/vmnet-only/vnetInt.h:26, from /tmp/modconfig-kgdV6B/vmnet-only/bridge.c:53: /tmp/modconfig-kgdV6B/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:37:0, from /tmp/modconfig-kgdV6B/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-kgdV6B/vmnet-only/bridge.c:52: ./include/linux/pci_ids.h:2265:0: note: this is the location of the previous definition

define PCI_VENDOR_ID_VMWARE 0x15ad

In file included from /tmp/modconfig-kgdV6B/vmnet-only/net.h:38:0, from /tmp/modconfig-kgdV6B/vmnet-only/vnetInt.h:26, from /tmp/modconfig-kgdV6B/vmnet-only/bridge.c:53: /tmp/modconfig-kgdV6B/vmnet-only/vm_device_version.h:74:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined

define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0

In file included from ./include/linux/pci.h:37:0, from /tmp/modconfig-kgdV6B/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-kgdV6B/vmnet-only/bridge.c:52: ./include/linux/pci_ids.h:2266:0: note: this is the location of the previous definition

define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

LD [M] /tmp/modconfig-kgdV6B/vmnet-only/vmnet.o Building modules, stage 2. MODPOST 1 modules CC /tmp/modconfig-kgdV6B/vmnet-only/vmnet.mod.o LD [M] /tmp/modconfig-kgdV6B/vmnet-only/vmnet.ko make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-108-generic' /usr/bin/make -C $PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= postbuild make[1]: Entering directory '/tmp/modconfig-kgdV6B/vmnet-only' make[1]: 'postbuild' is up to date. make[1]: Leaving directory '/tmp/modconfig-kgdV6B/vmnet-only' cp -f vmnet.ko ./../vmnet.o make: Leaving directory '/tmp/modconfig-kgdV6B/vmnet-only' Starting VMware services: Virtual machine monitor done Virtual machine communication interface done VM communication interface socket family done Blocking file system done Virtual ethernet done VMware Authentication Daemon done Shared Memory Available done`

mkubecek commented 4 years ago

Here is what I see :

[...]

Clearly something went bork again.

You are building unpatched module sources from VMware, not the sources from this repository.

blastwave commented 4 years ago

Yes I am using the product vmmon and vmnet. Are you saying they are different ?

mkubecek commented 4 years ago

Of course they are. The purpose of this repository is to provide patches needed to build VMware host modules against recent upstream kernels.

blastwave commented 4 years ago

Some better documentation may be required here. I went through the process, carefully, slowly, taking my time to capture the steps. I am sure there are many people that could benefit from some better docs. I went through your INSTALL file and simply followed the dots to get to "git checkout workstation-15.5.6" and then everything magically "just works"(tm). Lovely.

mkubecek commented 4 years ago

I'm not sure I understand. You say yourself that when you followed the instructions in INSTALL (i.e. the documentation), things worked. How does it indicate that "better documentation may be required here"?

blastwave commented 4 years ago

Well here we are in mid August 2020 and I am still hearing from people that run into this exact same problem over and over and over. The docs are not clear. I shall write up my own version. Stay tuned.