You are not logged in.
Hi there,
today the updates for gcc and the kernel came across and since then the VMWare Player stopped working because the modules could not be recompiled.
If I try to do it manually, it complains as follows:
vmware-modconfig --console --install-all
Failed to get gcc information.
Any ideas?
Thanks in advance,
Nightwulf
Offline
Try to manually compile the modules.
# create a temp folder and copy the module files to the folder.
mkdir ~/vmmodules
cp /usr/lib/vmware/modules/source/vmnet.tar /usr/lib/vmware/modules/source/vmmon.tar ~/vmmodules/
# make the modules manually
tar -xvf vmmon.tar
cd vmmon-only
make
cd ..
sudo cp vmmon.o /lib/modules/`uname -r`/kernel/drivers/misc/vmmon.ko.gz
tar -xvf vmnet.tar
cd vmnet-only
make
cd ..
sudo cp vmnet.o /lib/modules/`uname -r`/kernel/drivers/misc/vmnet.ko.gz
#Then reload the modules and restart vmware service, vmplayer should works now.
sudo depmod -a
sudo systemctl restart vmware
Offline
Partly solved.
hence the vmware-modconfig tool doesn't work, I tried to build the modules by hand. This works for the vmmon and vmnet modules:
cd /usr/lib/vmware/modules/source
tar xvf vmmon.tar
cd vmmon-only
make
gzip vmmon.ko
cp vmmon.ko.gz /lib/modules/4.5.2-1-ARCH/kernel/drivers/misc/
cd ..
rm vmmon.o
rm -Rf vmmon-only
Same procedure for vmnet.tar.
The other modules fail with some errors. The vmware-player starts now but has no networking :-(
I'll report if I succeed building the rest of the modules.
Offline
Have you tried compiling with the switch to ignore minor errors?
vmware-modconfig --gcc-ignore-minor
If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr
Offline
I need to set the GTK-2.0 path manually, otherwise it will complain about libcanberra-gtk-module.so not found. It then runs without complaining but doesn't build the modules...it returns in one second without building anything.
[root@nightwulf source]# GTK_PATH=:/usr/lib/gtk-2.0 vmware-modconfig --gcc-ignore-minor
[root@nightwulf source]#
Offline
Have you tried compiling with the switch to ignore minor errors?
vmware-modconfig --gcc-ignore-minor
I get stuck too with vmplayer 12
With this switch i get:
$ vmware-modconfig --gcc-ignore-minor --console --install-all
[...]
/usr/lib/vmware/bin/vmware-modconfig-console: unrecognized option '--gcc-ignore-minor'
[...]
Offline
There's been one signifcant change in gcc behavior in gcc-6.1.0, namely it doesn't check if "this" pointer is null by default. This shouldn't prevent compiling, but be cautious when using gcc-6.1. Or one could reenable those check and forget about them.
If I were using gcc-6 I'd check the exact parameter to reenable the checks.
Offline
I was facing the same issues. The quickest fix I could think of was downgrading gcc and gcc-libs. You can use the downgrade package from AUR or you can directly download gcc and gcc-libs 5.3.0-5 from some arch package mirror and use pacman -U to install them. Then vmware works like a charm.
Last edited by Ambyjkl (2016-05-08 20:12:49)
Offline
Has anyone reported the regression upstream?
Offline
Has anyone reported the regression upstream?
I'm not quiet sure whom to report. VMWare isn't an official arch package. So report to the kernel guys or the gcc guys?
Offline
Ok, Downgrade of gcc and gcc-libs did the job. But the problem itself isn't solved, so I don't mark the thread as "solved".
Offline
bstaletic wrote:Has anyone reported the regression upstream?
I'm not quiet sure whom to report. VMWare isn't an official arch package. So report to the kernel guys or the gcc guys?
It would need to be reported to the VMWare guys.
If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr
Offline
btw, I reinstalled VMWare Player 12.1.1 before I manually compiled vmmon and vmnet, I did not compiled other modules, and now It works good with network.
Maybe the VMWare installer did something.
Offline
btw, I reinstalled VMWare Player 12.1.1 before I manually compiled vmmon and vmnet, I did not compiled other modules, and now It works good with network.
Maybe the VMWare installer did something.
I'll try that. Also encountering this problem...
Offline
By the way, this vmware forum entry about "gcc 5.1: Failed to get gcc information." would also help.
Offline
btw, I reinstalled VMWare Player 12.1.1 before I manually compiled vmmon and vmnet, I did not compiled other modules, and now It works good with network.
Maybe the VMWare installer did something.
Reinstalling VMware Player worked for me too, ofcourse had to manually compile vmmon and vmnet. Now all modules are starting and working properly.
Cheers
Speak your mind even if your voice shakes.
Offline
I'd bet it would work fine with kernel 4.5.3 in testing
Offline
I'd bet it would work fine with kernel 4.5.3 in testing
I'm sorry but could you explain this? Why would the kernel upgrade cause VM Workstation to compile differently?
If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr
Offline
Scimmia wrote:I'd bet it would work fine with kernel 4.5.3 in testing
I'm sorry but could you explain this? Why would the kernel upgrade cause VM Workstation to compile differently?
Because 4.5.2 was built with gcc 5.3. 4.5.3 was built with gcc 6.1. This matters when building modules for the kernel.
Offline
I manually built "vmmon" and "vmnet" with the installed gcc 6.1 and it works now.
But, now it's Thunderbird that doesnt buid... :-( (yet another topic, off here)
Offline
TheChickenMan wrote:Scimmia wrote:I'd bet it would work fine with kernel 4.5.3 in testing
I'm sorry but could you explain this? Why would the kernel upgrade cause VM Workstation to compile differently?
Because 4.5.2 was built with gcc 5.3. 4.5.3 was built with gcc 6.1. This matters when building modules for the kernel.
Thank you.
If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr
Offline
This was fixed for me today with taking kernel and headers 4.5.3-1. After taking the upgrade and then allowing PACMAN to install GCC 6.1.1-1 VMWARE started fine.
Offline
This was fixed for me today with taking kernel and headers 4.5.3-1. After taking the upgrade and then allowing PACMAN to install GCC 6.1.1-1 VMWARE started fine.
i can confirm that vmware player is also working for me now without a problem.
Offline