You are not logged in.
Pages: 1
Using any of the recent kernels causes VMplayer to fail. Recompiling kernel modules fails on vmnet.
sudo vmware-modconfig --console --install-all
[sudo] password for user:
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-ur88Pn/vmmon-only'
Using kernel build system.
/sbin/make -C /lib/modules/4.13.5-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/4.13.5-1-ARCH/build'
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/common/cpuid.o
In file included from /tmp/modconfig-ur88Pn/vmmon-only/./common/vmx86.h:32:0,
from /tmp/modconfig-ur88Pn/vmmon-only/linux/driver.h:31,
from /tmp/modconfig-ur88Pn/vmmon-only/linux/driver.c:48:
/tmp/modconfig-ur88Pn/vmmon-only/./include/x86msr.h:109:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140
In file included from ./arch/x86/include/asm/msr.h:4:0,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./include/linux/wait.h:8,
from ./include/linux/wait_bit.h:7,
from ./include/linux/fs.h:5,
from ./include/linux/highmem.h:4,
from /tmp/modconfig-ur88Pn/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140
In file included from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm.h:43:0,
from /tmp/modconfig-ur88Pn/vmmon-only/linux/hostif.c:83:
/tmp/modconfig-ur88Pn/vmmon-only/./include/x86msr.h:109:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140
In file included from ./arch/x86/include/asm/msr.h:4:0,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./include/linux/mmzone.h:7,
from ./include/linux/gfp.h:5,
from ./include/linux/mm.h:9,
from /tmp/modconfig-ur88Pn/vmmon-only/./include/compat_page.h:23,
from /tmp/modconfig-ur88Pn/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140
In file included from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm_x86_64.h:39,
from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-ur88Pn/vmmon-only/linux/hostif.c:83:
/tmp/modconfig-ur88Pn/vmmon-only/./include/x86_basic_defs.h:65:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF
In file included from ./arch/x86/include/asm/processor.h:4:0,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./include/linux/mmzone.h:7,
from ./include/linux/gfp.h:5,
from ./include/linux/mm.h:9,
from /tmp/modconfig-ur88Pn/vmmon-only/./include/compat_page.h:23,
from /tmp/modconfig-ur88Pn/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/processor-flags.h:37:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull
In file included from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm_x86_64.h:39,
from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-ur88Pn/vmmon-only/linux/driver.c:50:
/tmp/modconfig-ur88Pn/vmmon-only/./include/x86_basic_defs.h:65:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF
In file included from ./arch/x86/include/asm/processor.h:4:0,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./include/linux/wait.h:8,
from ./include/linux/wait_bit.h:7,
from ./include/linux/fs.h:5,
from ./include/linux/highmem.h:4,
from /tmp/modconfig-ur88Pn/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/processor-flags.h:37:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull
/tmp/modconfig-ur88Pn/vmmon-only/linux/driver.c:1291:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/modconfig-ur88Pn/vmmon-only/common/vmx86.h:32:0,
from /tmp/modconfig-ur88Pn/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-ur88Pn/vmmon-only/./include/x86msr.h:109:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140
In file included from ./arch/x86/include/asm/msr.h:4:0,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/rcupdate.h:40,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from /tmp/modconfig-ur88Pn/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140
In file included from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm_x86_64.h:39,
from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-ur88Pn/vmmon-only/common/vmx86.c:46:
/tmp/modconfig-ur88Pn/vmmon-only/./include/x86_basic_defs.h:65:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF
In file included from ./arch/x86/include/asm/irqflags.h:4:0,
from ./include/linux/irqflags.h:15,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from /tmp/modconfig-ur88Pn/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/processor-flags.h:37:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/common/task.o
In file included from ./arch/x86/include/asm/processor.h:4:0,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./arch/x86/include/asm/mmu.h:4,
from ./arch/x86/include/asm/desc.h:6,
from /tmp/modconfig-ur88Pn/vmmon-only/common/task.c:67:
./arch/x86/include/asm/processor-flags.h:37:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFFull
In file included from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm_x86_64.h:39,
from /tmp/modconfig-ur88Pn/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-ur88Pn/vmmon-only/common/task.c:53:
/tmp/modconfig-ur88Pn/vmmon-only/./include/x86_basic_defs.h:65:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFF
In file included from ./arch/x86/include/asm/msr.h:4:0,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./arch/x86/include/asm/mmu.h:4,
from ./arch/x86/include/asm/desc.h:6,
from /tmp/modconfig-ur88Pn/vmmon-only/common/task.c:67:
./arch/x86/include/asm/msr-index.h:569:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x00000140
In file included from /tmp/modconfig-ur88Pn/vmmon-only/common/vmx86.h:32:0,
from /tmp/modconfig-ur88Pn/vmmon-only/common/task.c:51:
/tmp/modconfig-ur88Pn/vmmon-only/./include/x86msr.h:109:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x140
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/common/hashFunc.o
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-ur88Pn/vmmon-only/vmcore/moduleloop.o
/tmp/modconfig-ur88Pn/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove()+0x1a: unknown stack-related register move
/tmp/modconfig-ur88Pn/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove()+0x0: stack state mismatch: cfa1=6+16 cfa2=7+8
In file included from /tmp/modconfig-ur88Pn/vmmon-only/./common/vmx86.h:32:0,
from /tmp/modconfig-ur88Pn/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-ur88Pn/vmmon-only/./include/x86msr.h:109:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140
In file included from ./arch/x86/include/asm/msr.h:4:0,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/rcupdate.h:40,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from /tmp/modconfig-ur88Pn/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140
LD [M] /tmp/modconfig-ur88Pn/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-ur88Pn/vmmon-only/vmmon.mod.o
LD [M] /tmp/modconfig-ur88Pn/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/lib/modules/4.13.5-1-ARCH/build'
/sbin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-ur88Pn/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-ur88Pn/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-ur88Pn/vmmon-only'
make: Entering directory '/tmp/modconfig-ur88Pn/vmnet-only'
Using kernel build system.
/sbin/make -C /lib/modules/4.13.5-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/4.13.5-1-ARCH/build'
CC [M] /tmp/modconfig-ur88Pn/vmnet-only/driver.o
CC [M] /tmp/modconfig-ur88Pn/vmnet-only/hub.o
CC [M] /tmp/modconfig-ur88Pn/vmnet-only/userif.o
CC [M] /tmp/modconfig-ur88Pn/vmnet-only/netif.o
In file included from ./include/linux/pci.h:36:0,
from /tmp/modconfig-ur88Pn/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-ur88Pn/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2260:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-ur88Pn/vmnet-only/net.h:38:0,
from /tmp/modconfig-ur88Pn/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-ur88Pn/vmnet-only/netif.c:42:
/tmp/modconfig-ur88Pn/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:36:0,
from /tmp/modconfig-ur88Pn/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-ur88Pn/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2261:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
In file included from /tmp/modconfig-ur88Pn/vmnet-only/net.h:38:0,
from /tmp/modconfig-ur88Pn/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-ur88Pn/vmnet-only/netif.c:42:
/tmp/modconfig-ur88Pn/vmnet-only/vm_device_version.h:73:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
CC [M] /tmp/modconfig-ur88Pn/vmnet-only/bridge.o
CC [M] /tmp/modconfig-ur88Pn/vmnet-only/procfs.o
CC [M] /tmp/modconfig-ur88Pn/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-ur88Pn/vmnet-only/smac.o
CC [M] /tmp/modconfig-ur88Pn/vmnet-only/vnetEvent.o
In file included from /tmp/modconfig-ur88Pn/vmnet-only/net.h:38:0,
from /tmp/modconfig-ur88Pn/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-ur88Pn/vmnet-only/bridge.c:52:
/tmp/modconfig-ur88Pn/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:36:0,
from /tmp/modconfig-ur88Pn/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-ur88Pn/vmnet-only/bridge.c:51:
./include/linux/pci_ids.h:2260:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-ur88Pn/vmnet-only/net.h:38:0,
from /tmp/modconfig-ur88Pn/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-ur88Pn/vmnet-only/bridge.c:52:
/tmp/modconfig-ur88Pn/vmnet-only/vm_device_version.h:73:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
In file included from ./include/linux/pci.h:36:0,
from /tmp/modconfig-ur88Pn/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-ur88Pn/vmnet-only/bridge.c:51:
./include/linux/pci_ids.h:2261:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
/tmp/modconfig-ur88Pn/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’:
/tmp/modconfig-ur88Pn/vmnet-only/bridge.c:639:14: error: passing argument 1 of ‘atomic_inc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
atomic_inc(&clone->users);
^
In file included from ./include/linux/atomic.h:4:0,
from ./include/linux/rcupdate.h:38,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from /tmp/modconfig-ur88Pn/vmnet-only/bridge.c:25:
./arch/x86/include/asm/atomic.h:89:29: note: expected ‘atomic_t * {aka struct <anonymous> *}’ but argument is of type ‘refcount_t * {aka struct refcount_struct *}’
static __always_inline void atomic_inc(atomic_t *v)
^~~~~~~~~~
CC [M] /tmp/modconfig-ur88Pn/vmnet-only/vnetUserListener.o
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:302: /tmp/modconfig-ur88Pn/vmnet-only/bridge.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1512: _module_/tmp/modconfig-ur88Pn/vmnet-only] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.13.5-1-ARCH/build'
make: *** [Makefile:120: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-ur88Pn/vmnet-only'
Unable to install all modules. See log for details.
Output of failed logs:
00| modconfig| I125: Found compiler at "/sbin/gcc"
2017-10-20T12:46:43.819+07:00| modconfig| I125: Got gcc version "7.2.0".
2017-10-20T12:46:43.819+07:00| modconfig| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-10-20T12:46:43.819+07:00| modconfig| I125: Using temp dir "/tmp".
2017-10-20T12:46:43.903+07:00| modconfig| I125: Setting destination path for vmmon to "/lib/modules/4.13.5-1-ARCH/misc/vmmon.ko".
2017-10-20T12:46:43.903+07:00| modconfig| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2017-10-20T12:46:43.905+07:00| modconfig| I125: Successfully extracted the vmmon source.
2017-10-20T12:46:43.905+07:00| modconfig| I125: Building module with command "/sbin/make -j4 -C /tmp/modconfig-ur88Pn/vmmon-only auto-build HEADER_DIR=/lib/modules/4.13.5-1-ARCH/build/include CC=/sbin/gcc IS_GCC_3=no"
2017-10-20T12:46:46.436+07:00| modconfig| I125: Successfully built vmmon. Module is currently at "/tmp/modconfig-ur88Pn/vmmon.o".
2017-10-20T12:46:46.436+07:00| modconfig| I125: Found the vmmon symvers file at "/tmp/modconfig-ur88Pn/vmmon-only/Module.symvers".
2017-10-20T12:46:46.436+07:00| modconfig| I125: Installing vmmon from /tmp/modconfig-ur88Pn/vmmon.o to /lib/modules/4.13.5-1-ARCH/misc/vmmon.ko.
2017-10-20T12:46:46.436+07:00| modconfig| I125: Registering file "/lib/modules/4.13.5-1-ARCH/misc/vmmon.ko".
2017-10-20T12:46:46.581+07:00| modconfig| I125: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.
2017-10-20T12:46:46.582+07:00| modconfig| I125: Registering file "/usr/lib/vmware/symvers/vmmon-4.13.5-1-ARCH".
2017-10-20T12:46:46.722+07:00| modconfig| I125: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.
2017-10-20T12:46:46.722+07:00| modconfig| I125: Setting destination path for vmnet to "/lib/modules/4.13.5-1-ARCH/misc/vmnet.ko".
2017-10-20T12:46:46.722+07:00| modconfig| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2017-10-20T12:46:46.723+07:00| modconfig| I125: Successfully extracted the vmnet source.
2017-10-20T12:46:46.724+07:00| modconfig| I125: Building module with command "/sbin/make -j4 -C /tmp/modconfig-ur88Pn/vmnet-only auto-build HEADER_DIR=/lib/modules/4.13.5-1-ARCH/build/include CC=/sbin/gcc IS_GCC_3=no"
2017-10-20T12:46:49.027+07:00| modconfig| W115: Failed to build vmnet. Failed to execute the build command.
2017-10-20T12:46:49.031+07:00| modconfig| I125: We are now shutdown. Ready to die!
Offline
Looks like a known issue. See https://wiki.archlinux.org/index.php/VM … Linux_4.13
Offline
Pages: 1