[Solved] Vmware workstation kernel module dopo upgrade a 5.1.5

Problemi e suggerimenti legati al software e ai pacchetti problematici.
Rispondi
DrRek
Newbie
Messaggi: 9
Iscritto il: 31 marzo 2019, 18:19
Architettura: x86_64 (64bit)

[Solved] Vmware workstation kernel module dopo upgrade a 5.1.5

Messaggio da DrRek » 29 maggio 2019, 19:47

Salve,
sto avendo problemi con vmware dopo aver aggiornato il sistema alla versione 5.1.5

Dall'interfaccia grafica vmware mi chiede di installre i moduli kernel ma durante il processo automatico da errore nell'esecuzione di "Virtual Machine Monitor", questo è il log completo:

Codice: Seleziona tutto

2019-05-29T19:43:25.088+02:00| host-4417| I125: Log for VMware Workstation pid=4417 version=15.1.0 build=build-13591040 option=Release
2019-05-29T19:43:25.088+02:00| host-4417| I125: The process is 64-bit.
2019-05-29T19:43:25.088+02:00| host-4417| I125: Host codepage=UTF-8 encoding=UTF-8
2019-05-29T19:43:25.088+02:00| host-4417| I125: Host is Linux 5.1.5-arch1-2-ARCH Arch Linux 
2019-05-29T19:43:25.088+02:00| host-4417| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": File o directory non esistente.
2019-05-29T19:43:25.088+02:00| host-4417| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": File o directory non esistente.
2019-05-29T19:43:25.088+02:00| host-4417| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2019-05-29T19:43:25.088+02:00| host-4417| I125: DictionaryLoad: Cannot open file "/home/luca/.vmware/config": File o directory non esistente.
2019-05-29T19:43:25.088+02:00| host-4417| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/luca/.vmware/config": File o directory non esistente.
2019-05-29T19:43:25.088+02:00| host-4417| I125: PREF Optional preferences file not found at /home/luca/.vmware/config. Using default values.
2019-05-29T19:43:25.092+02:00| host-4417| W115: HostinfoReadDistroFile: Cannot work with empty file.
2019-05-29T19:43:25.092+02:00| host-4417| I125: HostinfoLsb: Error: no distro file found
2019-05-29T19:43:25.092+02:00| host-4417| W115: Logging to /tmp/vmware-root/vmware-4417.log
2019-05-29T19:43:25.100+02:00| host-4417| I125: Obtaining info using the running kernel.
2019-05-29T19:43:25.100+02:00| host-4417| I125: Created new pathsHash.
2019-05-29T19:43:25.100+02:00| host-4417| I125: Setting header path for 5.1.5-arch1-2-ARCH to "/lib/modules/5.1.5-arch1-2-ARCH/build/include".
2019-05-29T19:43:25.100+02:00| host-4417| I125: Validating path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for kernel release "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.100+02:00| host-4417| I125: Failed to find /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h
2019-05-29T19:43:25.100+02:00| host-4417| I125: /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-05-29T19:43:25.100+02:00| host-4417| I125: using /sbin/gcc for preprocess check
2019-05-29T19:43:25.108+02:00| host-4417| I125: Preprocessed UTS_RELEASE, got value "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.108+02:00| host-4417| I125: The header path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for the kernel "5.1.5-arch1-2-ARCH" is valid.  Whoohoo!
2019-05-29T19:43:25.233+02:00| host-4417| I125: found symbol version file /lib/modules/5.1.5-arch1-2-ARCH/build/Module.symvers
2019-05-29T19:43:25.233+02:00| host-4417| I125: Reading symbol versions from /lib/modules/5.1.5-arch1-2-ARCH/build/Module.symvers.
2019-05-29T19:43:25.253+02:00| host-4417| I125: Read 23107 symbol versions
2019-05-29T19:43:25.253+02:00| host-4417| I125: Reading in info for the vmmon module.
2019-05-29T19:43:25.253+02:00| host-4417| I125: Reading in info for the vmnet module.
2019-05-29T19:43:25.253+02:00| host-4417| I125: Reading in info for the vmci module.
2019-05-29T19:43:25.253+02:00| host-4417| I125: Reading in info for the vsock module.
2019-05-29T19:43:25.253+02:00| host-4417| I125: Setting vsock to depend on vmci.
2019-05-29T19:43:25.254+02:00| host-4417| I125: Invoking modinfo on "vmmon".
2019-05-29T19:43:25.256+02:00| host-4417| I125: "/sbin/modinfo" exited with status 256.
2019-05-29T19:43:25.256+02:00| host-4417| I125: Invoking modinfo on "vmnet".
2019-05-29T19:43:25.258+02:00| host-4417| I125: "/sbin/modinfo" exited with status 0.
2019-05-29T19:43:25.258+02:00| host-4417| I125: Invoking modinfo on "vmci".
2019-05-29T19:43:25.260+02:00| host-4417| I125: "/sbin/modinfo" exited with status 256.
2019-05-29T19:43:25.260+02:00| host-4417| I125: Invoking modinfo on "vsock".
2019-05-29T19:43:25.264+02:00| host-4417| I125: "/sbin/modinfo" exited with status 0.
2019-05-29T19:43:25.281+02:00| host-4417| I125: to be installed: vmmon status: 0
2019-05-29T19:43:25.307+02:00| host-4417| I125: Obtaining info using the running kernel.
2019-05-29T19:43:25.308+02:00| host-4417| I125: Setting header path for 5.1.5-arch1-2-ARCH to "/lib/modules/5.1.5-arch1-2-ARCH/build/include".
2019-05-29T19:43:25.308+02:00| host-4417| I125: Validating path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for kernel release "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.308+02:00| host-4417| I125: Failed to find /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h
2019-05-29T19:43:25.308+02:00| host-4417| I125: /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-05-29T19:43:25.308+02:00| host-4417| I125: using /sbin/gcc for preprocess check
2019-05-29T19:43:25.315+02:00| host-4417| I125: Preprocessed UTS_RELEASE, got value "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.315+02:00| host-4417| I125: The header path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for the kernel "5.1.5-arch1-2-ARCH" is valid.  Whoohoo!
2019-05-29T19:43:25.441+02:00| host-4417| I125: found symbol version file /lib/modules/5.1.5-arch1-2-ARCH/build/Module.symvers
2019-05-29T19:43:25.441+02:00| host-4417| I125: Reading symbol versions from /lib/modules/5.1.5-arch1-2-ARCH/build/Module.symvers.
2019-05-29T19:43:25.461+02:00| host-4417| I125: Read 23107 symbol versions
2019-05-29T19:43:25.462+02:00| host-4417| I125: Kernel header path retrieved from FileEntry: /lib/modules/5.1.5-arch1-2-ARCH/build/include
2019-05-29T19:43:25.462+02:00| host-4417| I125: Update kernel header path to /lib/modules/5.1.5-arch1-2-ARCH/build/include
2019-05-29T19:43:25.462+02:00| host-4417| I125: Validating path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for kernel release "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.462+02:00| host-4417| I125: Failed to find /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h
2019-05-29T19:43:25.462+02:00| host-4417| I125: /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-05-29T19:43:25.462+02:00| host-4417| I125: using /sbin/gcc for preprocess check
2019-05-29T19:43:25.471+02:00| host-4417| I125: Preprocessed UTS_RELEASE, got value "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.471+02:00| host-4417| I125: The header path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for the kernel "5.1.5-arch1-2-ARCH" is valid.  Whoohoo!
2019-05-29T19:43:25.472+02:00| host-4417| I125: Found compiler at "/sbin/gcc"
2019-05-29T19:43:25.476+02:00| host-4417| I125: Got gcc version "8.3.0".
2019-05-29T19:43:25.476+02:00| host-4417| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-05-29T19:43:25.481+02:00| host-4417| I125: Got gcc version "8.3.0".
2019-05-29T19:43:25.481+02:00| host-4417| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-05-29T19:43:25.483+02:00| host-4417| I125: Trying to find a suitable PBM set for kernel "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.483+02:00| host-4417| I125: No matching PBM set was found for kernel "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.483+02:00| host-4417| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-05-29T19:43:25.483+02:00| host-4417| I125: Validating path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for kernel release "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.483+02:00| host-4417| I125: Failed to find /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h
2019-05-29T19:43:25.483+02:00| host-4417| I125: /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-05-29T19:43:25.483+02:00| host-4417| I125: using /sbin/gcc for preprocess check
2019-05-29T19:43:25.494+02:00| host-4417| I125: Preprocessed UTS_RELEASE, got value "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.494+02:00| host-4417| I125: The header path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for the kernel "5.1.5-arch1-2-ARCH" is valid.  Whoohoo!
2019-05-29T19:43:25.494+02:00| host-4417| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-05-29T19:43:25.494+02:00| host-4417| I125: Validating path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for kernel release "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.494+02:00| host-4417| I125: Failed to find /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h
2019-05-29T19:43:25.494+02:00| host-4417| I125: /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-05-29T19:43:25.494+02:00| host-4417| I125: using /sbin/gcc for preprocess check
2019-05-29T19:43:25.502+02:00| host-4417| I125: Preprocessed UTS_RELEASE, got value "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.502+02:00| host-4417| I125: The header path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for the kernel "5.1.5-arch1-2-ARCH" is valid.  Whoohoo!
2019-05-29T19:43:25.502+02:00| host-4417| I125: Using temp dir "/tmp".
2019-05-29T19:43:25.504+02:00| host-4417| I125: Obtaining info using the running kernel.
2019-05-29T19:43:25.504+02:00| host-4417| I125: Setting header path for 5.1.5-arch1-2-ARCH to "/lib/modules/5.1.5-arch1-2-ARCH/build/include".
2019-05-29T19:43:25.504+02:00| host-4417| I125: Validating path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for kernel release "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.504+02:00| host-4417| I125: Failed to find /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h
2019-05-29T19:43:25.504+02:00| host-4417| I125: /lib/modules/5.1.5-arch1-2-ARCH/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-05-29T19:43:25.504+02:00| host-4417| I125: using /sbin/gcc for preprocess check
2019-05-29T19:43:25.516+02:00| host-4417| I125: Preprocessed UTS_RELEASE, got value "5.1.5-arch1-2-ARCH".
2019-05-29T19:43:25.516+02:00| host-4417| I125: The header path "/lib/modules/5.1.5-arch1-2-ARCH/build/include" for the kernel "5.1.5-arch1-2-ARCH" is valid.  Whoohoo!
2019-05-29T19:43:25.641+02:00| host-4417| I125: found symbol version file /lib/modules/5.1.5-arch1-2-ARCH/build/Module.symvers
2019-05-29T19:43:25.641+02:00| host-4417| I125: Reading symbol versions from /lib/modules/5.1.5-arch1-2-ARCH/build/Module.symvers.
2019-05-29T19:43:25.661+02:00| host-4417| I125: Read 23107 symbol versions
2019-05-29T19:43:25.661+02:00| host-4417| I125: Invoking modinfo on "vmmon".
2019-05-29T19:43:25.663+02:00| host-4417| I125: "/sbin/modinfo" exited with status 256.
2019-05-29T19:43:25.894+02:00| host-4417| I125: Setting destination path for vmmon to "/lib/modules/5.1.5-arch1-2-ARCH/misc/vmmon.ko".
2019-05-29T19:43:25.895+02:00| host-4417| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2019-05-29T19:43:25.899+02:00| host-4417| I125: Successfully extracted the vmmon source.
2019-05-29T19:43:25.899+02:00| host-4417| I125: Building module with command "/sbin/make -j4 -C /tmp/modconfig-cQ82R7/vmmon-only auto-build HEADER_DIR=/lib/modules/5.1.5-arch1-2-ARCH/build/include CC=/sbin/gcc IS_GCC_3=no"
2019-05-29T19:43:27.457+02:00| host-4417| W115: Failed to build vmmon.  Failed to execute the build command.
Normalmente quando avevo questo tipo di esseri eseguivo

Codice: Seleziona tutto

sudo vmware-modconfig --console --install-all
ma anche questo ora restituisce errore:

Codice: Seleziona tutto

[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: ingresso nella directory "/tmp/modconfig-a7JUyK/vmmon-only"
Using kernel build system.
/sbin/make -C /lib/modules/5.1.5-arch1-2-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: ingresso nella directory "/lib/modules/5.1.5-arch1-2-ARCH/build"
Makefile:205: ================= WARNING ================
Makefile:206: 'SUBDIRS' will be removed after Linux 5.3
Makefile:207: Please use 'M=' or 'KBUILD_EXTMOD' instead
Makefile:208: ==========================================
  CC [M]  /tmp/modconfig-a7JUyK/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-a7JUyK/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-a7JUyK/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-a7JUyK/vmmon-only/common/apic.o
In file included from /tmp/modconfig-a7JUyK/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/driver.h:32,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/driver.c:47:
/tmp/modconfig-a7JUyK/vmmon-only/./include/x86msr.h:132: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140
 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/paravirt_types.h:46,
                 from ./arch/x86/include/asm/ptrace.h:94,
                 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:78,
                 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-a7JUyK/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:668: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140
 
In file included from /tmp/modconfig-a7JUyK/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/driver.h:32,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/driver.c:47:
/tmp/modconfig-a7JUyK/vmmon-only/./include/x86msr.h:468: warning: "MSR_K7_HWCR_SMMLOCK" redefined
 #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/paravirt_types.h:46,
                 from ./arch/x86/include/asm/ptrace.h:94,
                 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:78,
                 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-a7JUyK/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:477: note: this is the location of the previous definition
 #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
 
In file included from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/driver.c:49:
/tmp/modconfig-a7JUyK/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
 #define CR3_PCID_MASK  0xFFF
 
In file included from ./arch/x86/include/asm/processor.h:5,
                 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:78,
                 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-a7JUyK/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
 #define CR3_PCID_MASK 0xFFFull
 
In file included from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm.h:43,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-a7JUyK/vmmon-only/./include/x86msr.h:132: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140
 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-a7JUyK/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:668: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140
 
In file included from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm.h:43,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-a7JUyK/vmmon-only/./include/x86msr.h:468: warning: "MSR_K7_HWCR_SMMLOCK" redefined
 #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-a7JUyK/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:477: note: this is the location of the previous definition
 #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
 
In file included from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-a7JUyK/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
 #define CR3_PCID_MASK  0xFFF
 
In file included from ./arch/x86/include/asm/irqflags.h:5,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-a7JUyK/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
 #define CR3_PCID_MASK 0xFFFull
 
/tmp/modconfig-a7JUyK/vmmon-only/linux/driver.c:109:19: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_fault *)’ [-Werror=incompatible-pointer-types]
         .fault  = LinuxDriverFault
                   ^~~~~~~~~~~~~~~~
/tmp/modconfig-a7JUyK/vmmon-only/linux/driver.c:109:19: note: (near initialization for ‘vmuser_mops.fault’)
  CC [M]  /tmp/modconfig-a7JUyK/vmmon-only/common/vmx86.o
/tmp/modconfig-a7JUyK/vmmon-only/linux/driver.c:986:1: warning: always_inline function might not be inlinable [-Wattributes]
 LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
 ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c: In function ‘isVAReadable’:
/tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c:2331:11: error: implicit declaration of function ‘get_ds’; did you mean ‘get_fs’? [-Werror=implicit-function-declaration]
    set_fs(get_ds());
           ^~~~~~
           get_fs
/tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c:2331:11: error: incompatible type for argument 1 of ‘set_fs’
    set_fs(get_ds());
           ^~~~~~~~
In file included from ./include/linux/uaccess.h:11,
                 from ./include/linux/poll.h:12,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c:41:
./arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
 static inline void set_fs(mm_segment_t fs)
                           ~~~~~~~~~~~~~^~
/tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c: In function ‘HostIF_SemaphoreWait’:
/tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c:2608:11: error: incompatible type for argument 1 of ‘set_fs’
    set_fs(get_ds());
           ^~~~~~~~
In file included from ./include/linux/uaccess.h:11,
                 from ./include/linux/poll.h:12,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c:41:
./arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
 static inline void set_fs(mm_segment_t fs)
                           ~~~~~~~~~~~~~^~
/tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c: In function ‘HostIF_SemaphoreSignal’:
/tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c:2737:11: error: incompatible type for argument 1 of ‘set_fs’
    set_fs(get_ds());
           ^~~~~~~~
In file included from ./include/linux/uaccess.h:11,
                 from ./include/linux/poll.h:12,
                 from /tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.c:41:
./arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
 static inline void set_fs(mm_segment_t fs)
                           ~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:276: /tmp/modconfig-a7JUyK/vmmon-only/linux/hostif.o] Error 1
make[2]: *** Attesa per i processi non terminati....
  CC [M]  /tmp/modconfig-a7JUyK/vmmon-only/common/cpuid.o
In file included from /tmp/modconfig-a7JUyK/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-a7JUyK/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-a7JUyK/vmmon-only/./include/x86msr.h:132: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140
 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-a7JUyK/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:668: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140
 
In file included from /tmp/modconfig-a7JUyK/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-a7JUyK/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-a7JUyK/vmmon-only/./include/x86msr.h:468: warning: "MSR_K7_HWCR_SMMLOCK" redefined
 #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-a7JUyK/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:477: note: this is the location of the previous definition
 #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
 
In file included from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-a7JUyK/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-a7JUyK/vmmon-only/common/vmx86.c:46:
/tmp/modconfig-a7JUyK/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
 #define CR3_PCID_MASK  0xFFF
 
In file included from ./arch/x86/include/asm/irqflags.h:5,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-a7JUyK/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
 #define CR3_PCID_MASK 0xFFFull
 
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:276: /tmp/modconfig-a7JUyK/vmmon-only/linux/driver.o] Error 1
make[1]: *** [Makefile:1571: _module_/tmp/modconfig-a7JUyK/vmmon-only] Error 2
make[1]: uscita dalla directory "/lib/modules/5.1.5-arch1-2-ARCH/build"
make: *** [Makefile:110: vmmon.ko] Error 2
make: uscita dalla directory "/tmp/modconfig-a7JUyK/vmmon-only"
make: ingresso nella directory "/tmp/modconfig-a7JUyK/vmnet-only"
Using kernel build system.
/sbin/make -C /lib/modules/5.1.5-arch1-2-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: ingresso nella directory "/lib/modules/5.1.5-arch1-2-ARCH/build"
Makefile:205: ================= WARNING ================
Makefile:206: 'SUBDIRS' will be removed after Linux 5.3
Makefile:207: Please use 'M=' or 'KBUILD_EXTMOD' instead
Makefile:208: ==========================================
  CC [M]  /tmp/modconfig-a7JUyK/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-a7JUyK/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-a7JUyK/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-a7JUyK/vmnet-only/netif.o
In file included from ./include/linux/pci.h:37,
                 from /tmp/modconfig-a7JUyK/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-a7JUyK/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2280: warning: "PCI_VENDOR_ID_VMWARE" redefined
 #define PCI_VENDOR_ID_VMWARE  0x15ad
 
In file included from /tmp/modconfig-a7JUyK/vmnet-only/net.h:38,
                 from /tmp/modconfig-a7JUyK/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-a7JUyK/vmnet-only/netif.c:42:
/tmp/modconfig-a7JUyK/vmnet-only/vm_device_version.h:56: note: this is the location of the previous definition
 #define PCI_VENDOR_ID_VMWARE                    0x15AD
 
In file included from ./include/linux/pci.h:37,
                 from /tmp/modconfig-a7JUyK/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-a7JUyK/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2281: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
 #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
 
In file included from /tmp/modconfig-a7JUyK/vmnet-only/net.h:38,
                 from /tmp/modconfig-a7JUyK/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-a7JUyK/vmnet-only/netif.c:42:
/tmp/modconfig-a7JUyK/vmnet-only/vm_device_version.h:73: note: this is the location of the previous definition
 #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
 
  CC [M]  /tmp/modconfig-a7JUyK/vmnet-only/bridge.o
  CC [M]  /tmp/modconfig-a7JUyK/vmnet-only/procfs.o
  CC [M]  /tmp/modconfig-a7JUyK/vmnet-only/smac_compat.o
  CC [M]  /tmp/modconfig-a7JUyK/vmnet-only/smac.o
In file included from /tmp/modconfig-a7JUyK/vmnet-only/net.h:38,
                 from /tmp/modconfig-a7JUyK/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-a7JUyK/vmnet-only/bridge.c:53:
/tmp/modconfig-a7JUyK/vmnet-only/vm_device_version.h:56: warning: "PCI_VENDOR_ID_VMWARE" redefined
 #define PCI_VENDOR_ID_VMWARE                    0x15AD
 
In file included from ./include/linux/pci.h:37,
                 from /tmp/modconfig-a7JUyK/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-a7JUyK/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2280: note: this is the location of the previous definition
 #define PCI_VENDOR_ID_VMWARE  0x15ad
 
In file included from /tmp/modconfig-a7JUyK/vmnet-only/net.h:38,
                 from /tmp/modconfig-a7JUyK/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-a7JUyK/vmnet-only/bridge.c:53:
/tmp/modconfig-a7JUyK/vmnet-only/vm_device_version.h:73: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
 #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
 
In file included from ./include/linux/pci.h:37,
                 from /tmp/modconfig-a7JUyK/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-a7JUyK/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2281: note: this is the location of the previous definition
 #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
 
  CC [M]  /tmp/modconfig-a7JUyK/vmnet-only/vnetEvent.o
  CC [M]  /tmp/modconfig-a7JUyK/vmnet-only/vnetUserListener.o
  LD [M]  /tmp/modconfig-a7JUyK/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-a7JUyK/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/modconfig-a7JUyK/vmnet-only/vmnet.ko
make[1]: uscita dalla directory "/lib/modules/5.1.5-arch1-2-ARCH/build"
/sbin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: ingresso nella directory "/tmp/modconfig-a7JUyK/vmnet-only"
make[1]: "postbuild" è aggiornato.
make[1]: uscita dalla directory "/tmp/modconfig-a7JUyK/vmnet-only"
cp -f vmnet.ko ./../vmnet.o
make: uscita dalla directory "/tmp/modconfig-a7JUyK/vmnet-only"
Unable to install all modules.  See log for details.
Ho anche provato a cancellare vmware con

Codice: Seleziona tutto

vmware-installer -u vmware-workstation
e resinstallandolo usando il bundle più recente ma nessuna differenza.

Output di uname -r

Codice: Seleziona tutto

5.1.5-arch1-2-ARCH
Ho installato linux-headers e non ho altri aggiornamenti mancanti
Ultima modifica di DrRek il 29 maggio 2019, 20:44, modificato 1 volta in totale.

DrRek
Newbie
Messaggi: 9
Iscritto il: 31 marzo 2019, 18:19
Architettura: x86_64 (64bit)

Re: Vmware workstation kernel module dopo upgrade a 5.1.5

Messaggio da DrRek » 29 maggio 2019, 20:44

Solved with:

Codice: Seleziona tutto

git clone -b workstation-15.1.0 https://github.com/mkubecek/vmware-host-modules.git
cd vmware-host-modules
tar -cf vmmon.tar vmmon-only
tar -cf vmnet.tar vmnet-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig –console –install-all 

Avatar utente
TheSaint
Robin Hood
Messaggi: 7951
Iscritto il: 8 settembre 2007, 7:43
Architettura: x86_64 (64bit)
Località: davanti al computer

Re: [Solved] Vmware workstation kernel module dopo upgrade a 5.1.5

Messaggio da TheSaint » 30 maggio 2019, 0:39

Ma non è più semplice usare il pacchetto da AUR ?
F the saint 13 anni da questo forum ;)
Gli uomini consumano il pianeta, almeno due di queste cose si possono ridurre.

Rispondi