VMWare 워크스테이션 15 Pro pn Ubuntu 18.4.03 LTS - /dev/vmmon을 열 수 없습니다. 해당 파일이나 디렉터리가 없습니다.

VMWare 워크스테이션 15 Pro pn Ubuntu 18.4.03 LTS - /dev/vmmon을 열 수 없습니다. 해당 파일이나 디렉터리가 없습니다.

Ubuntu 18.4.03 LTS의 VWMware Workstation 15 Pro에서 인스턴스를 실행하는 데 실패했습니다.

나는 이전을 따라 갔다.Ubuntu 18.4의 VMWare 15 오류 - /dev/vmmon을 열 수 없습니다: 해당 파일이나 디렉터리가 없습니다단계별로. 하지만 여전히 아래 나열된 것과 동일한 오류가 발생합니다.

올바르게 설치된 드라이버/모듈을 테스트할 때:

$ mokutil --test-key VMWARE15.der

넌 받아야 하는데 VMWARE15.der is already enrolled난 받았어VMWARE15.der is not enrolled

sudo vmware-modconfig --console --install-all
[sudo] password for user:
[AppLoader] Use shipped Linux kernel AIO access library.
An up-to-date "libaio" or "libaio1" package from your system is preferred.
[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-FZko6r/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.15.0-70-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-70-generic'
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/common/apic.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/common/statVarsVmmon.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/common/sharedAreaVmmon.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/common/vmx86.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/common/cpuid.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/common/task.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/common/phystrack.o
In file included from /tmp/modconfig-FZko6r/vmmon-only/common/vmx86.h:32:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-FZko6r/vmmon-only/./include/x86msr.h:134: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-FZko6r/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:632:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-FZko6r/vmmon-only/common/vmx86.h:32:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-FZko6r/vmmon-only/./include/x86msr.h:633: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-FZko6r/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:641:0: note: this is the location of the previous definition
 #define MSR_TSX_FORCE_ABORT  0x0000010F

In file included from /tmp/modconfig-FZko6r/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-FZko6r/vmmon-only/common/vmx86.c:45:
/tmp/modconfig-FZko6r/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-FZko6r/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 ./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-FZko6r/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-FZko6r/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-FZko6r/vmmon-only/common/task.c:53:
/tmp/modconfig-FZko6r/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-FZko6r/vmmon-only/common/task.c:71:
./arch/x86/include/asm/msr-index.h:632:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-FZko6r/vmmon-only/common/vmx86.h:32:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/common/task.c:51:
/tmp/modconfig-FZko6r/vmmon-only/./include/x86msr.h:134: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-FZko6r/vmmon-only/common/task.c:71:
./arch/x86/include/asm/msr-index.h:641:0: warning: "MSR_TSX_FORCE_ABORT" redefined
 #define MSR_TSX_FORCE_ABORT  0x0000010F

In file included from /tmp/modconfig-FZko6r/vmmon-only/common/vmx86.h:32:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/common/task.c:51:
/tmp/modconfig-FZko6r/vmmon-only/./include/x86msr.h:633:0: note: this is the location of the previous definition
 #define MSR_TSX_FORCE_ABORT                      0x0000010f

  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/vmcore/moduleloop.o
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/bootstrap/monLoaderVmmon.o
In file included from /tmp/modconfig-FZko6r/vmmon-only/./common/vmx86.h:32:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/linux/driver.h:33,
                 from /tmp/modconfig-FZko6r/vmmon-only/linux/driver.c:47:
/tmp/modconfig-FZko6r/vmmon-only/./include/x86msr.h:134: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-FZko6r/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:632:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-FZko6r/vmmon-only/./common/vmx86.h:32:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/linux/driver.h:33,
                 from /tmp/modconfig-FZko6r/vmmon-only/linux/driver.c:47:
/tmp/modconfig-FZko6r/vmmon-only/./include/x86msr.h:633: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-FZko6r/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:641:0: note: this is the location of the previous definition
 #define MSR_TSX_FORCE_ABORT  0x0000010F

In file included from /tmp/modconfig-FZko6r/vmmon-only/./include/vm_asm.h:43:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-FZko6r/vmmon-only/./include/x86msr.h:134: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-FZko6r/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:632:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-FZko6r/vmmon-only/./include/vm_asm.h:43:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-FZko6r/vmmon-only/./include/x86msr.h:633: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-FZko6r/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:641:0: note: this is the location of the previous definition
 #define MSR_TSX_FORCE_ABORT  0x0000010F

In file included from /tmp/modconfig-FZko6r/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-FZko6r/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-FZko6r/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-FZko6r/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-FZko6r/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-FZko6r/vmmon-only/linux/driver.c:49:
/tmp/modconfig-FZko6r/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-FZko6r/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

  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/bootstrap/monLoader.o
/tmp/modconfig-FZko6r/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/modconfig-FZko6r/vmmon-only/linux/driver.c:1536:5: warning: "VMX86_DEVEL" is not defined, evaluates to 0 [-Wundef]
 #if VMX86_DEVEL
     ^~~~~~~~~~~
At top level:
/tmp/modconfig-FZko6r/vmmon-only/linux/driver.c:961:1: warning: always_inline function might not be inlinable [-Wattributes]
 LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
 ^~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/bootstrap/vmmblob.o
In file included from /tmp/modconfig-FZko6r/vmmon-only/./common/vmx86.h:32:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-FZko6r/vmmon-only/./include/x86msr.h:134: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-FZko6r/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:632:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-FZko6r/vmmon-only/./common/vmx86.h:32:0,
                 from /tmp/modconfig-FZko6r/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-FZko6r/vmmon-only/./include/x86msr.h:633: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-FZko6r/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:641:0: note: this is the location of the previous definition
 #define MSR_TSX_FORCE_ABORT  0x0000010F

  CC [M]  /tmp/modconfig-FZko6r/vmmon-only/bootstrap/bootstrap.o
  LD [M]  /tmp/modconfig-FZko6r/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-FZko6r/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/modconfig-FZko6r/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-70-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-FZko6r/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-FZko6r/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-FZko6r/vmmon-only'
make: Entering directory '/tmp/modconfig-FZko6r/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.15.0-70-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-70-generic'
  CC [M]  /tmp/modconfig-FZko6r/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-FZko6r/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-FZko6r/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-FZko6r/vmnet-only/netif.o
  CC [M]  /tmp/modconfig-FZko6r/vmnet-only/bridge.o
  CC [M]  /tmp/modconfig-FZko6r/vmnet-only/procfs.o
  CC [M]  /tmp/modconfig-FZko6r/vmnet-only/smac_compat.o
  CC [M]  /tmp/modconfig-FZko6r/vmnet-only/smac.o
  CC [M]  /tmp/modconfig-FZko6r/vmnet-only/vnetEvent.o
In file included from ./include/linux/pci.h:37:0,
                 from /tmp/modconfig-FZko6r/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-FZko6r/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-FZko6r/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-FZko6r/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-FZko6r/vmnet-only/netif.c:43:
/tmp/modconfig-FZko6r/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-FZko6r/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-FZko6r/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-FZko6r/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-FZko6r/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-FZko6r/vmnet-only/netif.c:43:
/tmp/modconfig-FZko6r/vmnet-only/vm_device_version.h:74:0: note: this is the location of the previous definition
 #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0

  CC [M]  /tmp/modconfig-FZko6r/vmnet-only/vnetUserListener.o
In file included from /tmp/modconfig-FZko6r/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-FZko6r/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-FZko6r/vmnet-only/bridge.c:53:
/tmp/modconfig-FZko6r/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-FZko6r/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-FZko6r/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-FZko6r/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-FZko6r/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-FZko6r/vmnet-only/bridge.c:53:
/tmp/modconfig-FZko6r/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-FZko6r/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-FZko6r/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-FZko6r/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-FZko6r/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/modconfig-FZko6r/vmnet-only/vmnet.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-70-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-FZko6r/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-FZko6r/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-FZko6r/vmnet-only'
Starting VMware services:
   Virtual machine monitor                                            failed
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                   failed
   VMware Authentication Daemon                                        done
Unable to start services

VMWare를 시작한 후 나타나는 오류는 다음과 같습니다.

오류 1

오류 2

오류 3

답변1

해결책을 찾았습니다!

우분투-vmmon-vmware-bash

우분투-vmmon-vmware-bash

Ubuntu(및 기타 Debian 기반 배포판)에서 VMWare용 MOK 키를 업데이트하기 위한 간단한 bash 스크립트: VMWare에서 가상 머신을 부팅하려고 할 때 "/dev/vmmon을 열 수 없습니다: 해당 파일 또는 디렉터리가 없습니다"라는 일반적인 오류가 발생합니다.

이 프로세스를 자동화하는 이유는 무엇입니까? 당신은 물어볼 수 있습니다. 내 경우에는 완전히 다시 설치하고 싶지 않으며 제대로 작동할지조차 확신할 수 없습니다. 그리고 데비안 기반 시스템을 패치할 때마다 MOK 키가 권한을 잃는 것 같습니다.

이 설정 후 VMWare가 "vmmon"에 대해 불평할 때 터미널을 열고 터미널에서 다음 명령(./wm_autoupdate_key.sh)을 실행합니다.

  1. 터미널을 열고 다음 명령을 붙여넣으세요(현재 디렉토리에 bash 스크립트가 표시됩니다).

    wget https://raw.githubusercontent.com/rune1979/ubuntu-vmmon-vmware-bash/master/wm_autoupdate_key.sh
    
  2. 파일을 실행 가능하게 만들기

    sudo chmod +x wm_autoupdate_key.sh
    
  3. 스크립트 실행

    ./wm_autoupdate_key.sh
    

모든 것이 성공적으로 해결되는 것 같으면. 이제 컴퓨터를 $ 재부팅하고 파란색 메뉴에서 "MOK 등록"을 선택한 다음 지침을 따르고 재부팅해야 합니다. 그 후에는 VMWare가 다시 시작되어 실행되어야 합니다.

다음번에는 OS를 패치한 후 터미널의 스크립트 폴더로 이동하여 스크립트를 실행하세요.

    ./wm_autoupdate_key.sh

관련 정보