Ask Your Question
1

Installing VMware 12.5.7 for Linux on Fedora 26

asked 2017-08-17 04:39:27 -0500

hhlp gravatar image

vmware doesn't star after installing giving an error messages

edit retag flag offensive close merge delete

Comments

vmware-player 14.0.0 was released

christianbueno gravatar imagechristianbueno ( 2017-10-22 23:08:41 -0500 )edit

9 Answers

Sort by » oldest newest most voted
3

answered 2017-08-17 04:47:39 -0500

hhlp gravatar image

updated 2017-08-25 04:12:14 -0500

Install the dependencies needed :

dnf install kernel-headers kernel kernel-devel gcc make

I think this step is not necesary :

sudo dnf groupinstall "Development tools"
sudo cp /usr/src/kernels/`uname -r`/include/generated/uapi/linux/version.h /lib/modules/`uname -r`/build/include/linux/

Let's got to hack :

sudo cp -r /usr/lib/vmware-installer/2.1.0/lib/lib/libexpat.so.0 /usr/lib/vmware/lib
cd /usr/lib/vmware/lib/libz.so.1
sudo mv -i libz.so.1 libz.so.1.old
sudo ln -s /usr/lib64/libz.so.1 .
sudo tar -xvf /usr/lib/vmware/modules/source/vmmon.tar --directory /usr/lib/vmware/modules/source
sudo tar -xvf /usr/lib/vmware/modules/source/vmnet.tar --directory /usr/lib/vmware/modules/source

I think this step has to be done with each change kernel :

cd /usr/lib/vmware/modules/source/vmmon-only ; sudo make
cd /usr/lib/vmware/modules/source/vmnet-only ; sudo make
sudo mkdir -p /lib/modules/`uname -r`/misc
sudo cp /usr/lib/vmware/modules/source/vmnet-only/vmnet.ko /lib/modules/`uname -r`/misc
sudo cp /usr/lib/vmware/modules/source/vmmon-only/vmmon.ko /lib/modules/`uname -r`/misc

check the modules are loaded :

sudo depmod -a

Restart the service again :

sudo systemctl restart vmware

Let's check the status :

sudo sytemctl status vmware

NOTE : Vmware error messages are stored in tmp directory under /tmp/vmware-$USERID

credit goes to this -> Fedora french site

Regards.,

edit flag offensive delete link more

Comments

yes, vmware doesn't run on fedora 26 , i will try this guide.

christianbueno gravatar imagechristianbueno ( 2017-08-17 13:12:20 -0500 )edit

working on workstation player 12 (12.5.7) on fedora 26 , thanks pals

christianbueno gravatar imagechristianbueno ( 2017-08-18 23:11:58 -0500 )edit

the step you suggest is not necesary , yes is not necesary.

christianbueno gravatar imagechristianbueno ( 2017-08-18 23:13:13 -0500 )edit

i have the same problem and do the same step but this command give an error ( sudo cp /usr/lib/vmware/modules/source/vmmon-only/vmmon.ko /lib/modules/uname -r/misc ) . . cp: cannot stat '/usr/lib/vmware/modules/source/vmmon-only/vmmon.ko': No such file or directory .. sudo systemctl restart vmware

Job for vmware.service failed because the control process exited with error code. See "systemctl status vmware.service" and "journalctl -xe" for details

Borair gravatar imageBorair ( 2017-12-17 01:33:06 -0500 )edit

Thanks hhlp! It worked for me on fedora 27!

brynhild gravatar imagebrynhild ( 2018-01-08 03:55:52 -0500 )edit
0

answered 2017-08-25 14:37:10 -0500

christianbueno gravatar image

updated 2017-08-25 14:38:55 -0500


 harvey  ~  journalctl -xe
-- Unit fprintd.service has begun starting up.
Aug 25 14:35:35 localhost.localdomain dbus-daemon[696]: [system] Successfully ac
Aug 25 14:35:35 localhost.localdomain systemd[1]: Started Fingerprint Authentica
-- Subject: Unit fprintd.service has finished start-up
-- Defined-By: systemd

-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit fprintd.service has finished starting up.

-- The start-up result is done. Aug 25 14:35:35 localhost.localdomain audit[1]: SERVICESTART pid=1 uid=0 auid=4 Aug 25 14:35:39 localhost.localdomain audit[3413]: USERAUTH pid=3413 uid=1000 a Aug 25 14:35:39 localhost.localdomain audit[3413]: USERACCT pid=3413 uid=1000 a Aug 25 14:35:39 localhost.localdomain sudo[3413]: harvey : TTY=pts/0 ; PWD=/ho Aug 25 14:35:39 localhost.localdomain audit[3413]: USERCMD pid=3413 uid=1000 au Aug 25 14:35:39 localhost.localdomain audit[3413]: CREDREFR pid=3413 uid=0 auid Aug 25 14:35:39 localhost.localdomain sudo[3413]: pamsystemd(sudo:session): Can Aug 25 14:35:39 localhost.localdomain sudo[3413]: pamunix(sudo:session): sessio Aug 25 14:35:39 localhost.localdomain audit[3413]: USERSTART pid=3413 uid=0 aui Aug 25 14:35:42 localhost.localdomain sudo[3413]: pamunix(sudo:session): sessio Aug 25 14:35:42 localhost.localdomain audit[3413]: USEREND pid=3413 uid=0 auid= Aug 25 14:35:42 localhost.localdomain audit[3413]: CREDDISP pid=3413 uid=0 auid Aug 25 14:36:05 localhost.localdomain audit[1]: SERVICESTOP pid=1 uid=0 auid=42 lines 1371-1393/1393 (END) -- Unit fprintd.service has begun starting up. Aug 25 14:35:35 localhost.localdomain dbus-daemon[696]: [system] Successfully activated service 'net.reactivated.Fprint' Aug 25 14:35:35 localhost.localdomain systemd[1]: Started Fingerprint Authentication Daemon. -- Subject: Unit fprintd.service has finished start-up -- Defined-By: systemd

-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit fprintd.service has finished starting up.

-- The start-up result is done. Aug 25 14:35:35 localhost.localdomain audit[1]: SERVICESTART pid=1 uid=0 auid=4294967295 ses=4294967295 subj=systemu:systemr:initt:s0 msg='unit=fp Aug 25 14:35:39 localhost.localdomain audit[3413]: USERAUTH pid=3413 uid=1000 auid=1000 ses=4 subj=unconfinedu:unconfinedr:unconfinedt:s0-s0:c0.c1 Aug 25 14:35:39 localhost.localdomain audit[3413]: USERACCT pid=3413 uid=1000 auid=1000 ses=4 subj=unconfinedu:unconfinedr:unconfinedt:s0-s0:c0.c1 Aug 25 14:35:39 localhost.localdomain sudo[3413]: harvey : TTY=pts/0 ; PWD=/home/harvey ; USER=root ; COMMAND=/bin/systemctl status vmware.service Aug 25 14:35:39 localhost.localdomain audit[3413]: USERCMD pid=3413 uid=1000 auid=1000 ses=4 subj=unconfinedu:unconfinedr:unconfinedt:s0-s0:c0.c10 Aug 25 14:35:39 localhost.localdomain audit[3413]: CREDREFR pid=3413 uid=0 auid=1000 ses=4 subj=unconfinedu:unconfinedr ...

(more)
edit flag offensive delete link more
0

answered 2017-08-24 10:19:23 -0500

christianbueno gravatar image

updated 2017-08-24 11:29:16 -0500

VMware Player 12.5.7 build-5813279
Linux localhost.localdomain 4.12.8-300.fc26.x8664 #1 SMP Thu Aug 17 15:30:20 UTC 2017 x8664 x8664 x8664 GNU/Linux

Hello , I recently had kernel change 4.12.5 to 4.12.8
I ran from terminal

vmplayer

and this pop-ups is displayed image description
is possible use this gui utility instead your lines that you said

"I think this step has to be done with each change kernel : "

I think the path could be /user/bin/gcc am I wrong? , thanks in advance

update:
There is a problem because it say that require a gcc version 7.1.1 and
My gcc version is


 harvey  ~  gcc --version
gcc (GCC) 7.1.1 20170622 (Red Hat 7.1.1-3)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I selected location /usr/bin/gcc , but has a problem although the gcc version match the requireded image description

edit flag offensive delete link more

Comments

@christianbueno IHMO this happened to me today when I update the kernel, I've got that error when I run sudo vmware-modconfig --console --install-all and get Invalid gcc version but thinking about your problem and my of course I found a archlinux wiki where describe a solution modulesfailtobuildon_kernel and this too if you compile via GUI I think the step to copy vmnet.ko and vmmon.ko to kernel misc dir is necessary

hhlp gravatar imagehhlp ( 2017-08-24 12:40:17 -0500 )edit
0

answered 2017-09-15 11:06:43 -0500

christianbueno gravatar image

Greetings. I followed the guide for fix vmplayer , now all be ok, after I created a macos virtual machine there image description

image description

But when exist there kernel updatesimage description

and after update the system by

sudo dnf update

vmplayer doesn't run well image description

follow this step for fix vmplayer again and for can run your created virtual machines.
follow the hhlp user commands beginning from here to the finish:


sudo tar -xvf /usr/lib/vmware/modules/source/vmmon.tar --directory /usr/lib/vmware/modules/source
sudo tar -xvf /usr/lib/vmware/modules/source/vmnet.tar --directory /usr/lib/vmware/modules/source
.
.
.

edit flag offensive delete link more
0

answered 2018-03-03 02:59:14 -0500

Xoppop gravatar image

updated 2018-03-03 03:00:03 -0500

The kernel 4.14.16-200.fc26.x86_64 does not consist of modules. Try the solution for kernel 4.13, too, does not fit.

/usr/lib/vmware/modules/source/vmnet-only/bridge.c:639:14: error: passing argument 1 of 'atomicinc' from incompatible pointer type [-Werror = incompatible-pointer-types]    atomicinc (& clone-> users);               ^ In file included from ./include/linux/atomic.h:57                  from ./include/linux/rcupdate.h:38,                  from ./include/linux/rculist.h:11,                  from ./include/linux/pid.h:5                  from ./include/linux/sched.h:14,                  from /usr/lib/vmware/modules/source/vmnet-only/bridge.c:25: ./arch/x86/include/asm/atomic.h:90:29: note: expected 'atomict * {aka struct <anonymous *="" *}'="" but="" argument="" is="" of="" type="" 'refcount<="" em="">t * {aka struct refcountstruct *}'  static _alwaysinline void atomicinc (atomict * v)                              ^ ~~~~~~~~~ cc1: some warnings being treated as errors make [2]: * [scripts / Makefile.build: 321: /usr/lib/vmware/modules/source/vmnet-only/bridge.o] Error 1 Make [1]: * [Makefile: 1511: _module / usr / lib / vmware / modules / source / vmnet-only] Error 2

/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c: In function 'HostIFEstimateLockedPageLimit': /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:1597:31: error: implicit declaration of function 'globalpagestate'; did you mean 'globalnumastate'? [-Werror = implicit-function-declaration]     unsigned int lockedPages = globalpagestate (NRPAGETABLE) +                                ^ ~~~~~~~~~~~~~~~~                                globalnumastate cc1: some warnings being treated as errors make [2]: * [scripts / Makefile.build: 321: /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.o] Error 1 make [1]: * [Makefile: 1511: module / usr / lib / vmware / modules / source / vmmon-only] Error 2 make [1]: Leaving directory '/usr/src/kernels/4.14.16-200.fc26.x86_64'

edit flag offensive delete link more
0

answered 2017-10-30 06:45:48 -0500

Kernel modules fail to build on Linux 4.13

On VMware Workstation Pro 12.5.7, the module source needs to be modified to be successfully compiled under kernel 4.13

For the problem of build (vmnet.ko). Do before the process (guide). This command (root mode).

cd /usr/lib/vmware/modules/source

tar xf vmnet.tar

mv vmnet.tar vmnet.old.tar

sed -i 's/atomicinc(&clone->users);/clone = skbget(clone);/g' vmnet-only/bridge.c

tar cf vmnet.tar vmnet-only

rm -rf vmnet-only

Best regard

edit flag offensive delete link more
0

answered 2017-08-24 21:17:34 -0500

christianbueno gravatar image

updated 2017-08-24 22:07:50 -0500

well, I did that hhlp suggest when kernel updates


cd /usr/lib/vmware/modules/source/vmmon-only ; sudo make
cd /usr/lib/vmware/modules/source/vmnet-only ; sudo make
sudo mkdir -p /lib/modules/uname -r/misc
sudo cp /usr/lib/vmware/modules/source/vmnet-only/vmnet.ko /lib/modules/uname -r/misc
cp /usr/lib/vmware/modules/source/vmmon-only/vmmon.ko /lib/modules/uname -r/misc
and

sudo depmod -a
sudo systemctl restart vmware
then vmware begin to run again , only one and very important problem is that my "macos high sierra" virtual machine disappeared from the left list in the vmware home window.

update:
I had a problem when ran this command


 harvey  …  modules  source  vmnet-only  sudo systemctl restart vmware.service 
Job for vmware.service failed because the control process exited with error code.
See "systemctl  status vmware.service" and "journalctl  -xe" for details.
I had to add the virtual machine "macos" to vmware , but have problem

image description image description

here an output of this command


 harvey  …  modules  source  vmnet-only  sudo systemctl status vmware.service 
[sudo] password for harvey: 
● vmware.service - SYSV: This service starts and stops VMware services
   Loaded: loaded (/etc/rc.d/init.d/vmware; generated; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-08-24 21:26:53 -05; 8min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 10270 ExecStart=/etc/rc.d/init.d/vmware start (code=exited, status=1/FAILURE)
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/vmware.service
           ├─875 /usr/lib/vmware/bin/vmware-vmblock-fuse -o subtype=vmware-vmblock,default_permissions,a
           └─940 /usr/sbin/vmware-authdlauncher

Aug 24 21:26:53 localhost.localdomain vmware[10270]: Virtual machine monitor[FAILED] Aug 24 21:26:53 localhost.localdomain vmware[10270]: Virtual machine communication interface[ OK ] Aug 24 21:26:53 localhost.localdomain vmware[10270]: VM communication interface socket family[ OK ] Aug 24 21:26:53 localhost.localdomain vmware[10270]: Blocking file system[ OK ] Aug 24 21:26:53 localhost.localdomain vmware[10270]: Virtual ethernet[FAILED] Aug 24 21:26:53 localhost.localdomain vmware[10270]: VMware Authentication Daemon[ OK ] Aug 24 21:26:53 localhost.localdomain systemd[1]: vmware.service: Control process exited, code=exited st Aug 24 21:26:53 localhost.localdomain systemd[1]: Failed to start SYSV: This service starts and stops VM Aug 24 21:26:53 localhost.localdomain systemd[1]: vmware.service: Unit entered failed state. Aug 24 21:26:53 localhost.localdomain systemd[1]: vmware.service: Failed with result 'exit-code'.




Update 2:
I rebooted and selected kernel 4.12.5

 harvey  ~  uname -r
4.12.5-300.fc26.x8664
From here yet all be ok.

 harvey  ~  sudo systemctl status vmware.service 
● vmware.service - SYSV: This service starts and stops VMware services
   Loaded: loaded (/etc/rc.d/init.d/vmware; generated; vendor preset: disabled)
   Active: active (running) since Thu 2017-08-24 21:51:58 -05; 2min 25s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 740 ExecStart=/etc/rc.d/init.d/vmware start (code=exited, status=0/SUCCESS)
    Tasks: 10 (limit: 4915)
   CGroup: /system.slice/vmware.service
           ├─ 876 /usr/lib/vmware/bin/vmware-vmblock-fuse -o ...







(more)
edit flag offensive delete link more

Comments

@christianbueno please start VMware again and paste the output of this command journalctl -xe after execute it.

hhlp gravatar imagehhlp ( 2017-08-25 03:31:49 -0500 )edit

@christianbueno I made a mistake it seems you don't copy vmmon.ko to kernel misc directory I omit the sudo before the command please execute the copy again vmmon.ko to /lib/modules/uname -r/misc

hhlp gravatar imagehhlp ( 2017-08-25 04:11:51 -0500 )edit

i did realize that , I ran sudo bla bla

christianbueno gravatar imagechristianbueno ( 2017-08-25 14:35:06 -0500 )edit

@christianbueno check this -> "Could not open /dev/vmmon" on macOS 10.12 if you have instaled virtualbox they suggest to uninstall it -> now-gets-could-not-open-dev-vmmon

hhlp gravatar imagehhlp ( 2017-08-27 05:04:46 -0500 )edit

hello , I uninstalled vmplayer

vmware-installer -l #for list the product
vmware-installer -u vmware-player #for unistall vmplayer

After that Installed again vmplayer

sudo ./VMware-Player-12.5.7-5813279.x86_64.bundle

Now followed the guide above( let-s go to hack) All vmplayer finished working fine. The main problem is that macos high sierra virtual machine is in a reboot loop

christianbueno gravatar imagechristianbueno ( 2017-09-01 15:39:58 -0500 )edit
0

answered 2017-09-16 13:12:49 -0500

christianbueno gravatar image

hello , how delete vmmon and vmnet, because i have this error on

journalctl -xe


 harvey  …  modules  source  vmnet-only  journalctl -xe
Sep 16 13:06:05 localhost.localdomain audit[8196]: CREDDISP pid=8196 uid=0 auid=1000 ses=4 subj=unconfinedu:unconfinedr:unconfinedt:s0-s0:c0.c1023
Sep 16 13:06:25 localhost.localdomain sudo[8246]:   harvey : TTY=pts/0 ; PWD=/usr/lib/vmware/modules/source/vmnet-only ; USER=root ; COMMAND=/bin/syst
Sep 16 13:06:25 localhost.localdomain audit[8246]: USERCMD pid=8246 uid=1000 auid=1000 ses=4 subj=unconfinedu:unconfinedr:unconfinedt:s0-s0:c0.c10
Sep 16 13:06:25 localhost.localdomain audit[8246]: CREDREFR pid=8246 uid=0 auid=1000 ses=4 subj=unconfinedu:unconfinedr:unconfinedt:s0-s0:c0.c1023
Sep 16 13:06:25 localhost.localdomain sudo[8246]: pamsystemd(sudo:session): Cannot create session: Already occupied by a session
Sep 16 13:06:25 localhost.localdomain audit[8246]: USERSTART pid=8246 uid=0 auid=1000 ses=4 subj=unconfinedu:unconfinedr:unconfinedt:s0-s0:c0.c102
Sep 16 13:06:25 localhost.localdomain sudo[8246]: pamunix(sudo:session): session opened for user root by (uid=0)
Sep 16 13:06:25 localhost.localdomain systemd[1]: Starting SYSV: This service starts and stops VMware services...
-- Subject: Unit vmware.service has begun start-up
-- Defined-By: systemd

-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit vmware.service has begun starting up. Sep 16 13:06:25 localhost.localdomain vmware[8249]: Starting VMware services: Sep 16 13:06:25 localhost.localdomain kernel: vmmon: version magic '4.12.11-300.fc26.x8664 SMP modunload ' should be '4.12.12-300.fc26.x8664 SMP mo Sep 16 13:06:25 localhost.localdomain vmware[8249]: Virtual machine monitor[FAILED] Sep 16 13:06:25 localhost.localdomain vmware[8249]: Virtual machine communication interface[ OK ] Sep 16 13:06:25 localhost.localdomain vmware[8249]: VM communication interface socket family[ OK ] Sep 16 13:06:25 localhost.localdomain vmware[8249]: Blocking file system[ OK ] Sep 16 13:06:25 localhost.localdomain kernel: vmnet: version magic '4.12.11-300.fc26.x8664 SMP modunload ' should be '4.12.12-300.fc26.x8664 SMP mo Sep 16 13:06:25 localhost.localdomain vmware[8249]: Virtual ethernet[FAILED] Sep 16 13:06:26 localhost.localdomain vmware[8249]: VMware Authentication Daemon[ OK ] Sep 16 13:06:26 localhost.localdomain systemd[1]: vmware.service: Control process exited, code=exited status=1 Sep 16 13:06:26 localhost.localdomain systemd[1]: Failed to start SYSV: This service starts and stops VMware services. -- Subject: Unit vmware.service has failed -- Defined-By: systemd

image description

edit flag offensive delete link more

Comments

you must do

sudo rm -r /usr/lib/vmware/modules/source/vmmon-only
sudo rm -r /usr/lib/vmware/modules/source/vmnet-only
christianbueno gravatar imagechristianbueno ( 2017-09-16 17:50:53 -0500 )edit
0

answered 2017-10-22 22:24:27 -0500

christianbueno gravatar image

updated 2017-10-22 22:29:22 -0500

hello, there is a problem(vmnet.ko) now running the command


 harvey  …  modules  source  vmnet-only  sudo cp /usr/lib/vmware/modules/source/vmnet-only/vmnet.ko /lib/modules/uname -r/misc
[sudo] password for harvey: 
cp: cannot stat '/usr/lib/vmware/modules/source/vmnet-only/vmnet.ko': No such file or directory
 harvey  …  modules  source  vmnet-only  

Those files are in the directory


 harvey  …  modules  source  vmnet-only  ls /usr/lib/vmware/modules/source/vmnet-only/
bridge.c            driver.c         Makefile.normal           skblin.c       vmbasicasm.h             vmwarepackbegin.h  vnetKernel.h
communitysource.h  driver-config.h  monitorActionexported.h  smac.c         vmbasicasmx8664.h      vmwarepackend.h    vnetUserListener.c
compatautoconf.h   driver.o         netdevhasdevnet.c      smaccompat.c  vmbasicasmx86common.h  vmwarepackinit.h   x86cpuid.h
compatmodule.h     geninclude.c     netdevhasnet.c          smaccompat.h  vmbasicasmx86.h         vnetEvent.c
compatnetdevice.h  hub.c            net.h                     smac.h         vmbasicdefs.h            vnetEvent.h
compatskbuff.h     hub.o            netif.c                   userif.c       vmbasictypes.h           vnetFilter.h
compatsock.h       includeCheck.h   netif.o                   userif.o       vmdeviceversion.h        vnetFilterInt.h
compatversion.h    Makefile         nfhookusesskb.c         vmassert.h    vmnetInt.h                 vnet.h
COPYING             Makefile.kernel  procfs.c                  vmatomic.h    vm_oui.h                   vnetInt.h

image description

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-08-17 04:39:27 -0500

Seen: 10,977 times

Last updated: Mar 03 '18