PROBLEM SOLVING MODULE IN VMWARE

VMWARE

Did you have the problem that you did not initiate the VMWare by upgrade to the latest kernel? Here I leave you the solution for this problem. Surely we got a sign saying that it cannot find a compatible version of GCC in order to compile the modules you need to dock to the kernel to work, for which we will need to install a more recent version for which I leave you the steps to follow:

VMWARE

If in the attempt to install it you saw that it did not work for you and you uninstalled it, I leave the link for you to enter the official page and download it. You have to enter you here and download VMware Player for Linux Workstation. Which will provide us a file VMware-Player-15.5.1-15018445.x86_64.bundle depending on the version of the program currently.

GCC

For this practical example we will use version 9.2 obtained from GitHubWe advise you to check this link to see if there is no newer version to install. If we find a more recent one, we must change that value in the commands so that they work correctly.

sudo apt update

sudo apt upgrade

sudo apt install build-essential

sudo apt install flex

wget https://github.com/gcc-mirror/gcc/archive/releases/gcc-9.2.0.tar.gz

tar -xzvf gcc-9.2.0.tar.gz

cd gcc-releases-gcc-9.2.0

contrib/download_prerequisites

./configure -v -build=x86_64-linux-gnu -host=x86_64-linux-gnu -target=x86_64-linux-gnu -enable-checking=release -enable-languages=c,c++ -disable-multilib

make -j 4 (este proceso demora 1hs aprox)

sudo make install

CONFIGURATION

For this case we will occupy version 15.5.1 so the modules that we will obtain correspond to that version of the program, so in the first command we must replace the numbers in workstation-15.5.1 the version we install in the system.

git clone -b workstation-15.5.1 https://github.com/mkubecek/vmware-host-modules.git 

cd vmware-host-modules 

sudo tar -cf vmmon.tar vmmon-only 

sudo tar -cf vmnet.tar vmnet-only 

sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/

sudo vmware-modconfig --console --install-all

Observation: We must carry out the configuration process every time we update to a new version of the kernel, if we do not delete the folder created with the download in the personal folder of the team we only have to perform the last 2 steps again. If you had an error in the configuration process after a kernel update, here are the steps to solve it.

git clone -b workstation-15.5.1 https://github.com/mkubecek/vmware-host-modules.git 

cd vmware-host-modules

sudo make

sudo make install

These would be the steps to be enjoying the latest version of the kernel with VMWare installed in its latest version working correctly. Do not forget to leave us your comment to know your experience. Regards!

4.9 25 votes
Rate the Article
 
Subscribe
Report of
16 Reacciones
More popular
Newer Older
Opinion from the article
See all comments
Ramon Milian
Ramon Milian (@ramonmilian)
1 año atrás

Tuto excellent, thank you.

Luis Serrano
Luis Serrano (@luis-serrano)
1 año atrás

Today I had that problem myself, I'm going to try to do it again.

Justo Moreno
Justo Moreno (@justo-moreno776)
1 año atrás

I came as ring finger, thanks.

Luis Sosa
Luis Sosa (@luissosa987)
1 año atrás

I did not work.

Peligroso Mario
Peligroso Mario (@peligrosomario)
Respondiendo a  Luis Sosa
1 año atrás

My Yeah, well, thanks Tomás Warynyca !

Isaías Gätjens M
Isaías Gätjens M (@igatjens)
Admin
Respondiendo a  Luis Sosa
1 año atrás

Luis Sosa

Hello, please send the screenshots (Ctrl + Alt + A) of the error messages to determine the cause of it not working for you.

Luis Sosa
Luis Sosa (@luissosa987)
Respondiendo a  Isaías Gätjens M
1 año atrás

And 5 attempt, then worked, thanks.

Omar Yesid
Omar Yesid (@omar-yesid)
Respondiendo a  Isaías Gätjens M
1 año atrás

stand there
please help

DeepinScreenshot_Seleccionar área_20200128073753.png
Isaías Gätjens M
Isaías Gätjens M (@igatjens)
Admin
Respondiendo a  Omar Yesid
1 año atrás

Hi, there what it says is that you could not download the file, please try again or make sure the correct URL is used. You can also try the following URL.

https://github.com/gcc-mirror/gcc/archive/releases/gcc-9.2.0.tar.gz

Isaías Gätjens M
Isaías Gätjens M (@igatjens)
Admin
Respondiendo a  Omar Yesid
1 año atrás

When you unzip it with the tar command, also make sure to use the correct file name.

Michael Alberto Carrillo Rodriguez
Michael Alberto Carrillo Rodriguez (@michaelalbertocarrillorodriguez)
1 año atrás

Hello, good morning, sorry but I don't know how to solve what you are telling me, I don't know what I'm doing wrong, thank you

DeepinScreenshot_20191228171027.jpg
Alfredo doria delbarre
Alfredo doria delbarre (@alfredodoriadelbarre)
1 año atrás

When I run the command get this error
./configure -v -build = x86_64-linux-gnu -host = x86_64-linux-gnu -target = x86_64-linux-gnu -enable-checking = release -enable-languages ​​= c, c ++ -disable-multilib

your help please

Isaías Gätjens M
Isaías Gätjens M (@igatjens)
Admin
Respondiendo a  Alfredo doria delbarre
1 año atrás

Alfredo doria delbarre

Let's hope that Tomás Warynyca is available, I noticed that the gcc download link is broken. But I don't use vmware so it's not my strong suit.

 

16
0
We would like to know what you think, join the discussion.x
()
x