Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After I install the VMware workstation 9.0, while when I want open the VM, there come the dialogue "Before you can run VMware, several modules must be complied and loaded into the running kernel CANCEL INSTALL",while I clicked the INSTALL button, nothing happened.

When:

sudo apt-get install linux-headers-3.11.0-12-generic
sudo /usr/bin/vmware-modconfig --icon=vmware-workstation --appname=VMware

come:

cc1: some warnings being treated as errors
make[2]: *** [/tmp/modconfig-T9k19t/vmci-only/linux/driver.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/tmp/modconfig-T9k19t/vmci-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [vmci.ko] Error 2
make: Leaving directory `/tmp/modconfig-T9k19t/vmci-only'
Failed to build vmci.  Failed to execute the build command.
Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                            failed
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                   failed
   VMware Authentication Daemon                                        done
share|improve this question

1 Answer 1

Follow these steps:

  1. Download the three files as mentioned in the bottom Ref:

  2. Thereafter, execute the code making necessary modifications:

    $ cd /usr/lib/vmware/modules/source
    $ sudo tar -xf vmnet.tar
    $ sudo tar -xf vmblock.tar
    $ cd vmnet-only
    $ sudo patch -p1 < <Patch path>/procfs.patch
    $ cd ../vmblock-only
    $ sudo patch -p1 < <Patch path>/vmblock.3.10.patch
    $ sudo patch -p1 < <Patch path>/vmblock.3.11.patch
    $ cd ..
    $ sudo tar -cf vmblock.tar vmblock-only
    $ sudo tar -cf vmnet.tar vmnet-only
    $ sudo vmware-modconfig --console --install-all
    

Ref: the solution by Rainmaker52.

share|improve this answer
    
@Aditya,Sorry, I am newer, have edited. Thanks for your kind mention. –  Shaowei Ling Dec 23 '13 at 10:24
    
@Aditya, Thanks, I download three files through clicking the attaching links(procfs.patch, vmblock.3.10.patch, vmblock.3.11.patch), not the links in the guide content from the referring solution by Rainmaker52. –  Shaowei Ling Dec 24 '13 at 14:29
    
@Aditya. Great, thanks for your patience and kindly help. –  Shaowei Ling Dec 24 '13 at 15:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.