LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Vmware Workstation unable to start services (https://www.linuxquestions.org/questions/slackware-14/vmware-workstation-unable-to-start-services-4175547448/)

Broker824 07-07-2015 12:33 PM

Vmware Workstation unable to start services
 
2 Attachment(s)
I install Vmware Workstation 10.0 (10.0.1-1379776.i386.bundle) to Slackware Current 32bit, with command
Code:

bash-4.3# chmod +x VMware-Workstation-Full-10.0.1-1379776.i386.bundle
bash-4.3# ./VMware-Workstation-Full-10.0.1-1379776.i386.bundle --ignore-errors

Unfortunately, unable to start services on VMware Workstation, Virtual Network Device and Starting VMware Services.

Code:

bash-4.3# /etc/init.d/vmware start
Starting VMware services:
  Virtual machine monitor                                [  OK  ]
  Virtual machine communication interface                [  OK  ]
  VM communication interface socket family                [  OK  ]
  Blocking file system                                    [  OK  ]
  Virtual ethernet                                        [FAILED]
  VMware Authentication Daemon                            [  OK  ]
bash-4.3#

I can not find patch for kernel 3.18.11
Code:

bash-4.3$ uname -a
Linux brok 3.18.11-smp #2 SMP Tue Apr 7 14:36:46 CDT 2015 i686 Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz GenuineIntel GNU/Linux

Please Help.

mralk3 07-07-2015 02:37 PM

I don't use VMWare products. I have no idea how to fix this. I will say that you should attach the log file that your screenshot talks about so that others can have more information to troubleshoot.

http://www.linuxquestions.org/questi...1&d=1436289942

Broker824 07-07-2015 04:12 PM

dmesg log:

Code:

[ 9783.077606] /dev/vmmon[26748]: Module vmmon: initialized
[ 9783.097190] Guest personality initialized and is inactive
[ 9783.097253] VMCI host device registered (name=vmci, major=10, minor=55)
[ 9783.097255] Initialized host personality
[ 9783.138123] NET: Registered protocol family 40
[14814.273715] NET: Unregistered protocol family 40
[14814.330671] /dev/vmmon[3269]: Module vmmon: unloaded
[14818.339584] /dev/vmmon[3639]: Module vmmon: registered with major=10 minor=165
[14818.339590] /dev/vmmon[3639]: Module vmmon: initialized
[14818.351557] Guest personality initialized and is inactive
[14818.351612] VMCI host device registered (name=vmci, major=10, minor=55)
[14818.351613] Initialized host personality
[14818.383928] NET: Registered protocol family 40
[14970.519665] NET: Unregistered protocol family 40
[14970.554365] /dev/vmmon[4164]: Module vmmon: unloaded
[14973.107531] /dev/vmmon[4514]: Module vmmon: registered with major=10 minor=165
[14973.107536] /dev/vmmon[4514]: Module vmmon: initialized
[14973.120150] Guest personality initialized and is inactive
[14973.120206] VMCI host device registered (name=vmci, major=10, minor=55)
[14973.120209] Initialized host personality
[14973.149444] NET: Registered protocol family 40

Code:

bash-4.3# modprobe vmmon
bash-4.3#

Code:

bash-4.3# vmware-modconfig --console --install-all
Stopping VMware services:
  VMware Authentication Daemon                            [  OK  ]
  VM communication interface socket family                [  OK  ]
  Virtual machine communication interface                [  OK  ]
  Virtual machine monitor                                [  OK  ]
  Blocking file system                                    [  OK  ]
Using 2.6.x kernel build system.
make: Entering directory `/tmp/modconfig-mSD8pC/vmmon-only'
/usr/bin/make -C /lib/modules/3.18.11-smp/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.18.11'
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/common/apic.o
In file included from /tmp/modconfig-mSD8pC/vmmon-only/linux/driverLog.h:33:0,
                from /tmp/modconfig-mSD8pC/vmmon-only/linux/driverLog.c:31:
/tmp/modconfig-mSD8pC/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from /tmp/modconfig-mSD8pC/vmmon-only/./include/compat_kernel.h:23,
                from /tmp/modconfig-mSD8pC/vmmon-only/linux/driverLog.c:27:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/common/hashFunc.o
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/common/vmx86.o
In file included from /tmp/modconfig-mSD8pC/vmmon-only/./include/vmware.h:39:0,
                from /tmp/modconfig-mSD8pC/vmmon-only/linux/hostif.c:82:
/tmp/modconfig-mSD8pC/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from include/linux/list.h:8,
                from include/linux/preempt.h:10,
                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-mSD8pC/vmmon-only/./include/compat_page.h:23,
                from /tmp/modconfig-mSD8pC/vmmon-only/linux/hostif.c:32:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-mSD8pC/vmmon-only/./include/vmware.h:39:0,
                from /tmp/modconfig-mSD8pC/vmmon-only/linux/driver.c:46:
/tmp/modconfig-mSD8pC/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from include/linux/list.h:8,
                from include/linux/wait.h:6,
                from include/linux/fs.h:6,
                from include/linux/highmem.h:4,
                from /tmp/modconfig-mSD8pC/vmmon-only/linux/driver.c:25:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/common/cpuid.o
/tmp/modconfig-mSD8pC/vmmon-only/linux/driver.c:1342:1: warning: always_inline function might not be inlinable [-Wattributes]
 LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
 ^
In file included from /tmp/modconfig-mSD8pC/vmmon-only/./include/vmware.h:39:0,
                from /tmp/modconfig-mSD8pC/vmmon-only/common/vmx86.c:40:
/tmp/modconfig-mSD8pC/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from include/linux/sched.h:17,
                from /tmp/modconfig-mSD8pC/vmmon-only/common/vmx86.c:31:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/common/task.o
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/common/phystrack.o
  CC [M]  /tmp/modconfig-mSD8pC/vmmon-only/vmcore/moduleloop.o
In file included from /tmp/modconfig-mSD8pC/vmmon-only/./include/vmware.h:39:0,
                from /tmp/modconfig-mSD8pC/vmmon-only/vmcore/moduleloop.c:33:
/tmp/modconfig-mSD8pC/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from /tmp/modconfig-mSD8pC/vmmon-only/vmcore/moduleloop.c:30:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  LD [M]  /tmp/modconfig-mSD8pC/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-mSD8pC/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/modconfig-mSD8pC/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-3.18.11'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-mSD8pC/vmmon-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-mSD8pC/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/modconfig-mSD8pC/vmmon-only'
Using 2.6.x kernel build system.
make: Entering directory `/tmp/modconfig-mSD8pC/vmnet-only'
/usr/bin/make -C /lib/modules/3.18.11-smp/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.18.11'
  CC [M]  /tmp/modconfig-mSD8pC/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-mSD8pC/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-mSD8pC/vmnet-only/netif.o
  CC [M]  /tmp/modconfig-mSD8pC/vmnet-only/userif.o
In file included from /tmp/modconfig-mSD8pC/vmnet-only/monitorAction_exported.h:31:0,
                from /tmp/modconfig-mSD8pC/vmnet-only/vnet.h:29,
                from /tmp/modconfig-mSD8pC/vmnet-only/vnetInt.h:24,
                from /tmp/modconfig-mSD8pC/vmnet-only/netif.c:42:
/tmp/modconfig-mSD8pC/vmnet-only/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from /tmp/modconfig-mSD8pC/vmnet-only/netif.c:23:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-mSD8pC/vmnet-only/monitorAction_exported.h:31:0,
                from /tmp/modconfig-mSD8pC/vmnet-only/vnet.h:29,
                from /tmp/modconfig-mSD8pC/vmnet-only/vnetInt.h:24,
                from /tmp/modconfig-mSD8pC/vmnet-only/driver.c:51:
/tmp/modconfig-mSD8pC/vmnet-only/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from /tmp/modconfig-mSD8pC/vmnet-only/driver.c:23:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from include/linux/pci.h:34:0,
                from /tmp/modconfig-mSD8pC/vmnet-only/compat_netdevice.h:27,
                from /tmp/modconfig-mSD8pC/vmnet-only/netif.c:43:
include/linux/pci_ids.h:2248:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
 #define PCI_VENDOR_ID_VMWARE  0x15ad
 ^
In file included from /tmp/modconfig-mSD8pC/vmnet-only/net.h:38:0,
                from /tmp/modconfig-mSD8pC/vmnet-only/vnetInt.h:26,
                from /tmp/modconfig-mSD8pC/vmnet-only/netif.c:42:
/tmp/modconfig-mSD8pC/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
 #define PCI_VENDOR_ID_VMWARE                    0x15AD
 ^
/tmp/modconfig-mSD8pC/vmnet-only/netif.c: In function ‘VNetNetIf_Create’:
/tmp/modconfig-mSD8pC/vmnet-only/netif.c:152:67: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
    dev = alloc_netdev(sizeof *netIf, NET_NAME_USER, VNetNetIfSetup);
                                                                  ^
/tmp/modconfig-mSD8pC/vmnet-only/netif.c:152:10: error: ‘alloc_netdev’ undeclared (first use in this function)
    dev = alloc_netdev(sizeof *netIf, NET_NAME_USER, VNetNetIfSetup);
          ^
/tmp/modconfig-mSD8pC/vmnet-only/netif.c:152:10: note: each undeclared identifier is reported only once for each function it appears in
/tmp/modconfig-mSD8pC/vmnet-only/netif.c: At top level:
/tmp/modconfig-mSD8pC/vmnet-only/netif.c:85:1: warning: ‘VNetNetIfSetup’ defined but not used [-Wunused-function]
 VNetNetIfSetup(struct net_device *dev)  // IN:
 ^
make[2]: *** [/tmp/modconfig-mSD8pC/vmnet-only/netif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/modconfig-mSD8pC/vmnet-only/monitorAction_exported.h:31:0,
                from /tmp/modconfig-mSD8pC/vmnet-only/vnet.h:29,
                from /tmp/modconfig-mSD8pC/vmnet-only/vnetInt.h:24,
                from /tmp/modconfig-mSD8pC/vmnet-only/userif.c:45:
/tmp/modconfig-mSD8pC/vmnet-only/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from include/linux/list.h:8,
                from include/linux/wait.h:6,
                from include/linux/fs.h:6,
                from include/linux/highmem.h:4,
                from /tmp/modconfig-mSD8pC/vmnet-only/userif.c:26:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-mSD8pC/vmnet-only/monitorAction_exported.h:31:0,
                from /tmp/modconfig-mSD8pC/vmnet-only/vnet.h:29,
                from /tmp/modconfig-mSD8pC/vmnet-only/vnetInt.h:24,
                from /tmp/modconfig-mSD8pC/vmnet-only/hub.c:43:
/tmp/modconfig-mSD8pC/vmnet-only/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from /tmp/modconfig-mSD8pC/vmnet-only/hub.c:23:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
/tmp/modconfig-mSD8pC/vmnet-only/hub.c: In function ‘VNetHubFindHubByID’:
/tmp/modconfig-mSD8pC/vmnet-only/hub.c:132:49: warning: argument to ‘sizeof’ in ‘__builtin_memcmp’ call is the same expression as the first source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
        memcmp(idNum, currHub->id.pvnID, sizeof idNum))) {
                                                ^
In file included from ./arch/x86/include/asm/string.h:2:0,
                from include/linux/string.h:17,
                from include/linux/dynamic_debug.h:111,
                from include/linux/printk.h:260,
                from include/linux/kernel.h:13,
                from /tmp/modconfig-mSD8pC/vmnet-only/hub.c:23:
/tmp/modconfig-mSD8pC/vmnet-only/hub.c: In function ‘VNetHubAlloc’:
/tmp/modconfig-mSD8pC/vmnet-only/hub.c:315:36: warning: argument to ‘sizeof’ in ‘__builtin_memcpy’ call is the same pointer type ‘uint8 *’ as the destination; expected ‘uint8’ or an explicit length [-Wsizeof-pointer-memaccess]
  memcpy(hub->id.pvnID, id, sizeof id);
                                    ^
./arch/x86/include/asm/string_32.h:182:48: note: in definition of macro ‘memcpy’
 #define memcpy(t, f, n) __builtin_memcpy(t, f, n)
                                                ^
make[1]: *** [_module_/tmp/modconfig-mSD8pC/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-3.18.11'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/modconfig-mSD8pC/vmnet-only'
Unable to install all modules.  See log for details.


Gerard Lally 07-07-2015 05:38 PM

Quote:

Originally Posted by Broker824 (Post 5388455)
I install Vmware Workstation 10.0 (10.0.1-1379776.i386.bundle) to Slackware Current 32bit, with command
Code:

bash-4.3# chmod +x VMware-Workstation-Full-10.0.1-1379776.i386.bundle
bash-4.3# ./VMware-Workstation-Full-10.0.1-1379776.i386.bundle --ignore-errors

Unfortunately, unable to start services on VMware Workstation, Virtual Network Device and Starting VMware Services.

Code:

bash-4.3# /etc/init.d/vmware start
Starting VMware services:
  Virtual machine monitor                                [  OK  ]
  Virtual machine communication interface                [  OK  ]
  VM communication interface socket family                [  OK  ]
  Blocking file system                                    [  OK  ]
  Virtual ethernet                                        [FAILED]
  VMware Authentication Daemon                            [  OK  ]
bash-4.3#


Does VMWare install scripts to /etc/init.d on Slackware?

Broker824 07-07-2015 06:13 PM

Yes
Code:

bash-4.3# ls /etc/init.d
README.functions  vmamqpd  vmware-USBArbitrator
functions          vmware  vmware-workstation-server


willysr 07-07-2015 07:07 PM

See my solution here: http://slackblogs.blogspot.com/2015/...ux-kernel.html

Broker824 07-08-2015 05:07 AM

I tried before starting topic, unfortunately without success.

Code:

bash-4.3# vmware-modconfig --console --install-all
Stopping VMware services:
  VMware Authentication Daemon                            [  OK  ]
  VM communication interface socket family                [  OK  ]
  Virtual machine communication interface                [  OK  ]
  Virtual machine monitor                                [  OK  ]
  Blocking file system                                    [  OK  ]
Using 2.6.x kernel build system.
make: Entering directory `/tmp/modconfig-5hxONK/vmmon-only'
/usr/bin/make -C /lib/modules/3.18.11-smp/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.18.11'
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/common/apic.o
In file included from /tmp/modconfig-5hxONK/vmmon-only/linux/driverLog.h:33:0,
                from /tmp/modconfig-5hxONK/vmmon-only/linux/driverLog.c:31:
/tmp/modconfig-5hxONK/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from /tmp/modconfig-5hxONK/vmmon-only/./include/compat_kernel.h:23,
                from /tmp/modconfig-5hxONK/vmmon-only/linux/driverLog.c:27:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/common/hashFunc.o
In file included from /tmp/modconfig-5hxONK/vmmon-only/./include/vmware.h:39:0,
                from /tmp/modconfig-5hxONK/vmmon-only/linux/driver.c:46:
/tmp/modconfig-5hxONK/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from include/linux/list.h:8,
                from include/linux/wait.h:6,
                from include/linux/fs.h:6,
                from include/linux/highmem.h:4,
                from /tmp/modconfig-5hxONK/vmmon-only/linux/driver.c:25:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/common/vmx86.o
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/common/cpuid.o
In file included from /tmp/modconfig-5hxONK/vmmon-only/./include/vmware.h:39:0,
                from /tmp/modconfig-5hxONK/vmmon-only/linux/hostif.c:82:
/tmp/modconfig-5hxONK/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from include/linux/list.h:8,
                from include/linux/preempt.h:10,
                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-5hxONK/vmmon-only/./include/compat_page.h:23,
                from /tmp/modconfig-5hxONK/vmmon-only/linux/hostif.c:32:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
/tmp/modconfig-5hxONK/vmmon-only/linux/driver.c:1342:1: warning: always_inline function might not be inlinable [-Wattributes]
 LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
 ^
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/common/task.o
In file included from /tmp/modconfig-5hxONK/vmmon-only/./include/vmware.h:39:0,
                from /tmp/modconfig-5hxONK/vmmon-only/common/vmx86.c:40:
/tmp/modconfig-5hxONK/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from include/linux/sched.h:17,
                from /tmp/modconfig-5hxONK/vmmon-only/common/vmx86.c:31:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/common/phystrack.o
  CC [M]  /tmp/modconfig-5hxONK/vmmon-only/vmcore/moduleloop.o
In file included from /tmp/modconfig-5hxONK/vmmon-only/./include/vmware.h:39:0,
                from /tmp/modconfig-5hxONK/vmmon-only/vmcore/moduleloop.c:33:
/tmp/modconfig-5hxONK/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                from /tmp/modconfig-5hxONK/vmmon-only/vmcore/moduleloop.c:30:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  LD [M]  /tmp/modconfig-5hxONK/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-5hxONK/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/modconfig-5hxONK/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-3.18.11'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-5hxONK/vmmon-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-5hxONK/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/modconfig-5hxONK/vmmon-only'
Using 2.6.x kernel build system.
make: Entering directory `/tmp/modconfig-5hxONK/vmnet-only'
make -C /lib/modules/3.18.11-smp/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.18.11'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /tmp/modconfig-5hxONK/vmnet-only/driver.o
In file included from /tmp/modconfig-5hxONK/vmnet-only/vnet.h:28:0,
                from /tmp/modconfig-5hxONK/vmnet-only/vnetInt.h:24,
                from /tmp/modconfig-5hxONK/vmnet-only/driver.c:51:
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h:2241:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
      typedef char AssertOnCompileFailed[AssertOnCompileMisused];            \
                    ^
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h:2404:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 32, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h:2241:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
      typedef char AssertOnCompileFailed[AssertOnCompileMisused];            \
                    ^
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h:2406:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
In file included from /tmp/modconfig-5hxONK/vmnet-only/monitorAction_exported.h:31:0,
                from /tmp/modconfig-5hxONK/vmnet-only/vnet.h:29,
                from /tmp/modconfig-5hxONK/vmnet-only/vnetInt.h:24,
                from /tmp/modconfig-5hxONK/vmnet-only/driver.c:51:
/tmp/modconfig-5hxONK/vmnet-only/monitorAction_exported.h: In function ‘MonitorActionSet_AtomicInclude’:
/tmp/modconfig-5hxONK/vmnet-only/vm_assert.h:274:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
      typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-5hxONK/vmnet-only/monitorAction_exported.h:91:4: note: in expansion of macro ‘ASSERT_ON_COMPILE’
    ASSERT_ON_COMPILE((ACTION_WORD_SIZE & (ACTION_WORD_SIZE - 1)) == 0);
    ^
  CC [M]  /tmp/modconfig-5hxONK/vmnet-only/hub.o
In file included from /tmp/modconfig-5hxONK/vmnet-only/vnet.h:28:0,
                from /tmp/modconfig-5hxONK/vmnet-only/vnetInt.h:24,
                from /tmp/modconfig-5hxONK/vmnet-only/hub.c:43:
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h:2241:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
      typedef char AssertOnCompileFailed[AssertOnCompileMisused];            \
                    ^
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h:2404:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 32, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h:2241:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
      typedef char AssertOnCompileFailed[AssertOnCompileMisused];            \
                    ^
/tmp/modconfig-5hxONK/vmnet-only/vm_atomic.h:2406:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
In file included from /tmp/modconfig-5hxONK/vmnet-only/monitorAction_exported.h:31:0,
                from /tmp/modconfig-5hxONK/vmnet-only/vnet.h:29,
                from /tmp/modconfig-5hxONK/vmnet-only/vnetInt.h:24,
                from /tmp/modconfig-5hxONK/vmnet-only/hub.c:43:
/tmp/modconfig-5hxONK/vmnet-only/monitorAction_exported.h: In function ‘MonitorActionSet_AtomicInclude’:
/tmp/modconfig-5hxONK/vmnet-only/vm_assert.h:274:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
      typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-5hxONK/vmnet-only/monitorAction_exported.h:91:4: note: in expansion of macro ‘ASSERT_ON_COMPILE’
    ASSERT_ON_COMPILE((ACTION_WORD_SIZE & (ACTION_WORD_SIZE - 1)) == 0);
    ^
/tmp/modconfig-5hxONK/vmnet-only/hub.c: In function ‘VNetHubFindHubByID’:
/tmp/modconfig-5hxONK/vmnet-only/hub.c:132:49: warning: argument to ‘sizeof’ in ‘__builtin_memcmp’ call is the same expression as the first source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
        memcmp(idNum, currHub->id.pvnID, sizeof idNum))) {
                                                ^
In file included from ./arch/x86/include/asm/string.h:2:0,
                from include/linux/string.h:17,
                from include/linux/dynamic_debug.h:111,
                from include/linux/printk.h:260,
                from include/linux/kernel.h:13,
                from /tmp/modconfig-5hxONK/vmnet-only/hub.c:23:
/tmp/modconfig-5hxONK/vmnet-only/hub.c: In function ‘VNetHubAlloc’:
/tmp/modconfig-5hxONK/vmnet-only/hub.c:315:36: warning: argument to ‘sizeof’ in ‘__builtin_memcpy’ call is the same pointer type ‘uint8 *’ as the destination; expected ‘uint8’ or an explicit length [-Wsizeof-pointer-memaccess]
  memcpy(hub->id.pvnID, id, sizeof id);
                                    ^
./arch/x86/include/asm/string_32.h:182:48: note: in definition of macro ‘memcpy’
 #define memcpy(t, f, n) __builtin_memcpy(t, f, n)
                                                ^
/tmp/modconfig-5hxONK/vmnet-only/hub.c:366:28: error: dereferencing pointer to incomplete type
            jack->procEntry->read_proc = VNetHubProcRead;
                            ^
/tmp/modconfig-5hxONK/vmnet-only/hub.c:367:28: error: dereferencing pointer to incomplete type
            jack->procEntry->data = jack;
                            ^
make[2]: *** [/tmp/modconfig-5hxONK/vmnet-only/hub.o] Error 1
make[1]: *** [_module_/tmp/modconfig-5hxONK/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-3.18.11'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/modconfig-5hxONK/vmnet-only'
Unable to install all modules.  See log for details.

bash-4.3#


willysr 07-08-2015 06:02 AM

I tried in 3 machines and they all worked fine

ReaperX7 07-08-2015 06:43 AM

If VMware installs init files to /etc/rc.d/init.d via the /etc/init.d symlink, you may need to edit the scripts to properly look for the /etc/init.d/functions script.

If needed, also try to find which kernel modules may need to be loaded from adding modprobe entries to either /etc/rc.d/rc.modules or rc.local.

phenixia2003 07-08-2015 07:06 AM

Hello,

Have you tried this patch (require to proceed as stated here) ?

As stated here, it works with kernel 3.18.0.

--
SeB

Broker824 07-08-2015 09:24 AM

Unfortunately, again error a make vmnet-only
Code:

make[2]: *** [/tmp/modconfig-a120rc/vmnet-only/hub.o] Error 1
make[1]: *** [_module_/tmp/modconfig-a120rc/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-3.18.11'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/modconfig-a120rc/vmnet-only'
Unable to install all modules.  See log for details

I run two years Vmware Workstation 9 to Slackware 14.0 32bit and tested many distribution and graphical environments, without error.


Willysr, please sent to my your fix file vmnet.tar, here in attachment or to my e-mail broker@slackware-srbija.org

How to uninstall Vmware Workstation, because I will a new clean installation Vmware Workstation.
I have tried everything here and maybe is something damaged (such as, I first compiled with older patch...)

phenixia2003 07-08-2015 09:42 AM

Hello,


Instead of Vmware 10.0, you can try version 11.1 which, as stated here, supports kernel up to 3.18.

--
SeB

Broker824 07-08-2015 09:51 AM

Quote:

Originally Posted by phenixia2003 (Post 5388825)
Hello,


Instead of Vmware 10.0, you can try version 11.1 which, as stated here, supports kernel up to 3.18.

--
SeB

This is for 64bit operating systems, my is 32bit, Slackware Current.

willysr 07-08-2015 10:24 AM

sent

Broker824 07-09-2015 08:27 AM

1 Attachment(s)
Willysr, Thank You very much.:hattip:
Everything works :)


All times are GMT -5. The time now is 04:29 PM.