Search

unable to launch vmplayer 14

After installing vmplayer 14 in ubuntu 18.04 player might fail to launch with vmmon modules failing to compile with errors



and



To get around these errors we will need to modify the code of vmmon as given in https://github.com/mkubecek/vmware-host-modules/commit/562121d7bc06 and https://github.com/mkubecek/vmware-host-modules/commit/770c7ffe611520ac96490d235399554c64e87d9f To do the above mentioend changes, you can follow the following steps. Go to the folder

Untar the folder vmmon.tar



This will create a folder vmmon-only which will contain the code for the module vmmon.Now we can follow the changes mentioned in the above two links in the respective files.

After doing the changes recreate the vmmon.tar using the following command



Now we should be able to launch vmplayer and the modules should get compiled successfully.

Basic Char driver for kernel version 4.15.0

In the post, Example Char driver, the code for a basic charchater driver is given along with the steps to insert it into the kernel and create a char device. The following is the updated code for the same driver tested for the kernel version 4.15.0.To test the working of the driver please use the code given in post User access for example driver

tar Cannot stat: No such file or directory

tar is a command used to create an archive for the folder to combine the contents of a folder into one archive. If we want to create an archive for the folder named xyz, as xyz.tar , running the command as shown below will throw an error





The problem is because of the wrong sequence of options being passed to the tar command. To get around the error the sequence of options to be passed is as below.



The above command will run with out errors and it should be able to create xyz.tar.