2 Replies Latest reply on Oct 9, 2017 3:01 AM by wila

    Unable to Restart Virtual Ethernet

    alvinoo Lurker

      Unable to Start Virtual Ethernet

      I am using VMWare Player 14.0.0 for Linux

      My Build: 4.12.0-kali2-amd64

      This is meant for my Linux Machine (Kali Machine), I have installed a VMWare Player. I was expecting it to have Internet on my VM when using bridge mode.

      However, it says something like Ethernet1 failed to connected to /dev/vmnet0.

       

      root@kali:/usr/lib/vmware/modules/source# sudo 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-2IdvrD/vmmon-only'

      Using kernel build system.

      /usr/bin/make -C /lib/modules/4.12.0-kali2-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

        MODULEBUILDDIR= modules

      make[1]: Entering directory '/usr/src/linux-headers-4.12.0-kali2-amd64'

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

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

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

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

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

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

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

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

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

      In file included from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr.h:4:0,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/processor.h:20,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/cpufeature.h:4,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/thread_info.h:52,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/thread_info.h:37,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/preempt.h:6,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/preempt.h:80,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/spinlock.h:50,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/mmu.h:4,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/desc.h:6,

                       from /tmp/modconfig-2IdvrD/vmmon-only/common/task.c:70:

      /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr-index.h:561:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

      #define MSR_MISC_FEATURES_ENABLES 0x00000140

       

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

                       from /tmp/modconfig-2IdvrD/vmmon-only/common/task.c:51:

      /tmp/modconfig-2IdvrD/vmmon-only/./include/x86msr.h:115:0: note: this is the location of the previous definition

      #define MSR_MISC_FEATURES_ENABLES            0x140

       

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

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

      /tmp/modconfig-2IdvrD/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

      #define MSR_MISC_FEATURES_ENABLES            0x140

       

      In file included from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr.h:4:0,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/processor.h:20,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/cpufeature.h:4,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/thread_info.h:52,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/thread_info.h:37,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/preempt.h:6,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/preempt.h:80,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/spinlock.h:50,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rcupdate.h:38,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rculist.h:10,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pid.h:4,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/sched.h:13,

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

      /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr-index.h:561:0: note: this is the location of the previous definition

      #define MSR_MISC_FEATURES_ENABLES 0x00000140

       

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

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

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

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

                       from /tmp/modconfig-2IdvrD/vmmon-only/linux/driver.h:32,

                       from /tmp/modconfig-2IdvrD/vmmon-only/linux/driver.c:47:

      /tmp/modconfig-2IdvrD/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

      #define MSR_MISC_FEATURES_ENABLES            0x140

       

      In file included from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr.h:4:0,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/processor.h:20,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/cpufeature.h:4,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/thread_info.h:52,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/thread_info.h:37,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/preempt.h:6,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/preempt.h:80,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/spinlock.h:50,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/wait.h:8,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/fs.h:5,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/highmem.h:4,

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

      /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr-index.h:561:0: note: this is the location of the previous definition

      #define MSR_MISC_FEATURES_ENABLES 0x00000140

       

        CC [M]  /tmp/modconfig-2IdvrD/vmmon-only/bootstrap/monLoaderVmmon.o

        CC [M]  /tmp/modconfig-2IdvrD/vmmon-only/bootstrap/monLoader.o

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

                       from /tmp/modconfig-2IdvrD/vmmon-only/linux/hostif.c:60:

      /tmp/modconfig-2IdvrD/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

      #define MSR_MISC_FEATURES_ENABLES            0x140

       

      In file included from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr.h:4:0,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/processor.h:20,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/cpufeature.h:4,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/thread_info.h:52,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/thread_info.h:37,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/preempt.h:6,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/preempt.h:80,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/spinlock.h:50,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rcupdate.h:38,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rculist.h:10,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pid.h:4,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/sched.h:13,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/binfmts.h:4,

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

      /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr-index.h:561:0: note: this is the location of the previous definition

      #define MSR_MISC_FEATURES_ENABLES 0x00000140

       

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

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

      ^~~~~~~~~~~~~~~~~~~~~~~

        CC [M]  /tmp/modconfig-2IdvrD/vmmon-only/bootstrap/bootstrap.o

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

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

      /tmp/modconfig-2IdvrD/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined

      #define MSR_MISC_FEATURES_ENABLES            0x140

       

      In file included from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr.h:4:0,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/processor.h:20,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/cpufeature.h:4,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/thread_info.h:52,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/thread_info.h:37,

                       from /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/preempt.h:6,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/preempt.h:80,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/spinlock.h:50,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rcupdate.h:38,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rculist.h:10,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pid.h:4,

                       from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/sched.h:13,

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

      /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr-index.h:561:0: note: this is the location of the previous definition

      #define MSR_MISC_FEATURES_ENABLES 0x00000140

       

        LD [M]  /tmp/modconfig-2IdvrD/vmmon-only/vmmon.o

        Building modules, stage 2.

        MODPOST 1 modules

        CC      /tmp/modconfig-2IdvrD/vmmon-only/vmmon.mod.o

        LD [M]  /tmp/modconfig-2IdvrD/vmmon-only/vmmon.ko

      make[1]: Leaving directory '/usr/src/linux-headers-4.12.0-kali2-amd64'

      /usr/bin/make -C $PWD SRCROOT=$PWD/. \

        MODULEBUILDDIR= postbuild

      make[1]: Entering directory '/tmp/modconfig-2IdvrD/vmmon-only'

      make[1]: 'postbuild' is up to date.

      make[1]: Leaving directory '/tmp/modconfig-2IdvrD/vmmon-only'

      cp -f vmmon.ko ./../vmmon.o

      make: Leaving directory '/tmp/modconfig-2IdvrD/vmmon-only'

      make: Entering directory '/tmp/modconfig-2IdvrD/vmnet-only'

      Using kernel build system.

      /usr/bin/make -C /lib/modules/4.12.0-kali2-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

        MODULEBUILDDIR= modules

      make[1]: Entering directory '/usr/src/linux-headers-4.12.0-kali2-amd64'

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

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

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

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

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

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

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

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

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

      In file included from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci.h:36:0,

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

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

      /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci_ids.h:2258:0: warning: "PCI_VENDOR_ID_VMWARE" redefined

      #define PCI_VENDOR_ID_VMWARE  0x15ad

       

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

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

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

      /tmp/modconfig-2IdvrD/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 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci.h:36:0,

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

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

      /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci_ids.h:2259:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined

      #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

       

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

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

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

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

      #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0

       

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

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

                       from /tmp/modconfig-2IdvrD/vmnet-only/bridge.c:53:

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

      #define PCI_VENDOR_ID_VMWARE                    0x15AD

       

      In file included from /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci.h:36:0,

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

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

      /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci_ids.h:2258:0: note: this is the location of the previous definition

      #define PCI_VENDOR_ID_VMWARE  0x15ad

       

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

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

                       from /tmp/modconfig-2IdvrD/vmnet-only/bridge.c:53:

      /tmp/modconfig-2IdvrD/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 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci.h:36:0,

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

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

      /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci_ids.h:2259:0: note: this is the location of the previous definition

      #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

       

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

        LD [M]  /tmp/modconfig-2IdvrD/vmnet-only/vmnet.o

        Building modules, stage 2.

        MODPOST 1 modules

        CC      /tmp/modconfig-2IdvrD/vmnet-only/vmnet.mod.o

        LD [M]  /tmp/modconfig-2IdvrD/vmnet-only/vmnet.ko

      make[1]: Leaving directory '/usr/src/linux-headers-4.12.0-kali2-amd64'

      /usr/bin/make -C $PWD SRCROOT=$PWD/. \

        MODULEBUILDDIR= postbuild

      make[1]: Entering directory '/tmp/modconfig-2IdvrD/vmnet-only'

      make[1]: 'postbuild' is up to date.

      make[1]: Leaving directory '/tmp/modconfig-2IdvrD/vmnet-only'

      cp -f vmnet.ko ./../vmnet.o

      make: Leaving directory '/tmp/modconfig-2IdvrD/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                                                   failed

         VMware Authentication Daemon                                        done

      Unable to start services

       

        • 1. Re: Unable to Restart Virtual Ethernet
          alvinoo Lurker

          When will a patch be ready?

          This is quite urgent

          • 2. Re: Unable to Restart Virtual Ethernet
            wila Guru
            vExpertUser ModeratorsCommunity Warriors

            Hi Alvinoo,

             

            Your host OS is not on the list of supported host OS's.

             

            So I do not think that VMware will quickly come up with a patch for an issue with Kali linux.

             

            Also note that they never answer "when" questions.

             

            Perhaps somebody else in the forum has a patch for you, my suggestion is to try and search the forum. There certainly have been patches been shared for fixing issues with Kali down here before, just can't remember if it had to do with a network issue.

             

            --

            Wil

            | Author of Vimalin. The VMware Fusion Backup app |
            | More info at http://www.vimalin.com |
            | Twitter @wilva |
            | Wiki at http://www.vi-toolkit.com |
            | http://www.vimalin.com/why-is-time-machine-not-a-good-backup-for-virtual-machines/ |