VMware Workstation 8.0.2/player 4.0.2 solution in kernel 3.2 and 3.3

Source: Internet
Author: User

The VMware Workstation 8.0.2 is unavailable after the fedora upgrade 3.2.9-1 today.

[Luozhuang @ luozhuangn53 vmware802fixlinux320] $ uname-

Linux luozhuangn53 3.2.9-1. fc16.x86 _ 64 #1 SMP Thu Mar 1 01:41:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Run VMware:

Cannot Execute Command ''' \ ''/usr/bin/vmware-modconfig '\'' -- icon =' \ ''vmware-workstation '\ ''-- appname = '\ ''vmware '\ ''-- GCC =' \''/usr/lib64/ccache/GCC '\ ''-- headers =' \''/lib/modules/3.2.9- 1. fc16.x86 _ 64/build/include '\''''.

Run the following commands after upgrading based on previous experience:

Sudo vmware-modconfig -- console -- install-all

Result

[Luozhuang @ luozhuangn53 ~] $ Sudo vmware-modconfig -- console -- install-all
[Sudo] password for luozhuang:
Stopping VMware (via systemctl): [OK]
Using 2.6.x kernel build system.
Make: Enter the directory "/tmp/vmware-root/modules/vmmon-only"
Make-C/lib/modules/3.2.9-1. fc16.x86 _ 64/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Enter the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
CC [m]/tmp/vmware-root/modules/vmmon-only/Linux/driverlog. o
CC [m]/tmp/vmware-root/modules/vmmon-only/Linux/driver. o
CC [m]/tmp/vmware-root/modules/vmmon-only/Linux/hostif. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/APIC. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/memtrack. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/cpuid. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/task. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/vmx86.o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/hashfunc. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/comport. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/phystrack. o
CC [m]/tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop. o
LD [m]/tmp/vmware-root/modules/vmmon-only/vmmon. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/vmmon-only/vmmon. Mod. o
LD [m]/tmp/vmware-root/modules/vmmon-only/vmmon. Ko
Make [1]: Leave the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Enter the directory "/tmp/vmware-root/modules/vmmon-only"
Make [1]: "postbuild" is the latest.
Make [1]: Leave the directory "/tmp/vmware-root/modules/vmmon-only"
CP-F vmmon. ko ../vmmon. o
Make: Leave the directory "/tmp/vmware-root/modules/vmmon-only"
Built vmmon Module
Using 2.6.x kernel build system.
Make: Enter the directory "/tmp/vmware-root/modules/vmnet-only"
Make-C/lib/modules/3.2.9-1. fc16.x86 _ 64/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Enter the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
CC [m]/tmp/vmware-root/modules/vmnet-only/driver. o
CC [m]/tmp/vmware-root/modules/vmnet-only/hub. o
CC [m]/tmp/vmware-root/modules/vmnet-only/userif. o
CC [m]/tmp/vmware-root/modules/vmnet-only/netif. o
CC [m]/tmp/vmware-root/modules/vmnet-only/Bridge. o
CC [m]/tmp/vmware-root/modules/vmnet-only/filter. o
CC [m]/tmp/vmware-root/modules/vmnet-only/procfs. o
CC [m]/tmp/vmware-root/modules/vmnet-only/smac_compat.o
CC [m]/tmp/vmware-root/modules/vmnet-only/SMAC. o
CC [m]/tmp/vmware-root/modules/vmnet-only/vnetevent. o
CC [m]/tmp/vmware-root/modules/vmnet-only/vnetuserlistener. o
/Tmp/vmware-root/modules/vmnet-only/filter. C: 60: 16: Error: 'This _ module' not declared (not in the function)
/Tmp/vmware-root/modules/vmnet-only/userif. C: In the 'vnetcsumcopydatance' function:
/Tmp/vmware-root/modules/vmnet-only/userif. C: 520: 3: error: the 1st real parameter types of 'kmap' are incompatible.
Include/Linux/highmem. h: 48: 21: Note: The 'struct page * 'type is required, but the actual parameter type is 'const struct <anonymous>'
/Tmp/vmware-root/modules/vmnet-only/userif. C: 523: 3: Error: incompatible with the 1st real parameter types of 'kunmap'
Include/Linux/highmem. h: 54: 20: Note: The 'struct page * 'type is required, but the actual parameter type is 'const struct <anonymous>'
Make [2]: *** [/tmp/vmware-root/modules/vmnet-only/filter. O] Error 1
Make [2]: *** waiting for unfinished task ....
Make [2]: *** [/tmp/vmware-root/modules/vmnet-only/userif. O] Error 1
/Tmp/vmware-root/modules/vmnet-only/netif. C: In the 'vnetnetifsetup' function:
/Tmp/vmware-root/modules/vmnet-only/netif. C: 134: 7: Error: Unknown field 'ndo _ set_multicast_list 'exists in the Initial Value Setting'
/Tmp/vmware-root/modules/vmnet-only/netif. C: 134: 7: Warning: incompatible pointer type initialization [enabled by default]
/Tmp/vmware-root/modules/vmnet-only/netif. C: 134: 7: Warning :( near initialization of 'vnetnetifops. ndo_validate_addr ') [enabled by default]
Make [2]: *** [/tmp/vmware-root/modules/vmnet-only/netif. O] Error 1
Make [1]: *** [_ module _/tmp/vmware-root/modules/vmnet-only] Error 2
Make [1]: Leave the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
Make: *** [vmnet. Ko] Error 2
Make: Leave the directory "/tmp/vmware-root/modules/vmnet-only"
Unable to install vmnet

Download the official patch:

Http://communities.vmware.com/servlet/JiveServlet/download/2346-344213-1902218-80055/vmware802fixlinux320.tar.gz

Run sh: (don't tell me you don't know how to use it)

[Luozhuang @ luozhuangn53 vmware802fixlinux320] $ sh patch-modules_3.2.0.sh
You must be root to run this script. exiting
[Luozhuang @ luozhuangn53 vmware802fixlinux320] $ sudo sh patch-modules_3.2.0.sh
[Sudo] password for luozhuang:
Patching file vmnet-only/filter. c
Patching file vmnet-only/netif. c
Patching file vmnet-only/userif. c
Stopping VMware (via systemctl): [OK]
Using 2.6.x kernel build system.
Make: Enter the directory "/tmp/vmware-root/modules/vmmon-only"
Make-C/lib/modules/3.2.9-1. fc16.x86 _ 64/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Enter the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
CC [m]/tmp/vmware-root/modules/vmmon-only/Linux/driverlog. o
CC [m]/tmp/vmware-root/modules/vmmon-only/Linux/driver. o
CC [m]/tmp/vmware-root/modules/vmmon-only/Linux/hostif. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/APIC. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/memtrack. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/vmx86.o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/cpuid. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/task. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/hashfunc. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/comport. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/phystrack. o
CC [m]/tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop. o
LD [m]/tmp/vmware-root/modules/vmmon-only/vmmon. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/vmmon-only/vmmon. Mod. o
LD [m]/tmp/vmware-root/modules/vmmon-only/vmmon. Ko
Make [1]: Leave the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Enter the directory "/tmp/vmware-root/modules/vmmon-only"
Make [1]: "postbuild" is the latest.
Make [1]: Leave the directory "/tmp/vmware-root/modules/vmmon-only"
CP-F vmmon. ko ../vmmon. o
Make: Leave the directory "/tmp/vmware-root/modules/vmmon-only"
Built vmmon Module
Using 2.6.x kernel build system.
Make: Enter the directory "/tmp/vmware-root/modules/vmnet-only"
Make-C/lib/modules/3.2.9-1. fc16.x86 _ 64/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Enter the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
CC [m]/tmp/vmware-root/modules/vmnet-only/driver. o
CC [m]/tmp/vmware-root/modules/vmnet-only/hub. o
CC [m]/tmp/vmware-root/modules/vmnet-only/userif. o
CC [m]/tmp/vmware-root/modules/vmnet-only/netif. o
CC [m]/tmp/vmware-root/modules/vmnet-only/Bridge. o
CC [m]/tmp/vmware-root/modules/vmnet-only/filter. o
CC [m]/tmp/vmware-root/modules/vmnet-only/procfs. o
CC [m]/tmp/vmware-root/modules/vmnet-only/smac_compat.o
CC [m]/tmp/vmware-root/modules/vmnet-only/SMAC. o
CC [m]/tmp/vmware-root/modules/vmnet-only/vnetevent. o
CC [m]/tmp/vmware-root/modules/vmnet-only/vnetuserlistener. o
LD [m]/tmp/vmware-root/modules/vmnet-only/vmnet. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/vmnet-only/vmnet. Mod. o
LD [m]/tmp/vmware-root/modules/vmnet-only/vmnet. Ko
Make [1]: Leave the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Enter the directory "/tmp/vmware-root/modules/vmnet-only"
Make [1]: "postbuild" is the latest.
Make [1]: Leave the directory "/tmp/vmware-root/modules/vmnet-only"
CP-F vmnet. KO./../vmnet. o
Make: Leave the directory "/tmp/vmware-root/modules/vmnet-only"
Built vmnet Module
Using 2.6.x kernel build system.
Make: Enter the directory "/tmp/vmware-root/modules/vmblock-only"
Make-C/lib/modules/3.2.9-1. fc16.x86 _ 64/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Enter the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/filesystem. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/dentry. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/dbllnklst. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/file. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/block. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/module. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/super. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/stubs. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/inode. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/control. o
LD [m]/tmp/vmware-root/modules/vmblock-only/vmblock. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/vmblock-only/vmblock. Mod. o
LD [m]/tmp/vmware-root/modules/vmblock-only/vmblock. Ko
Make [1]: Leave the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Enter the directory "/tmp/vmware-root/modules/vmblock-only"
Make [1]: "postbuild" is the latest.
Make [1]: Leave the directory "/tmp/vmware-root/modules/vmblock-only"
CP-F vmblock. ko ../vmblock. o
Make: Leave the directory "/tmp/vmware-root/modules/vmblock-only"
Built vmblock Module
Using 2.6.x kernel build system.
Make: Enter the directory "/tmp/vmware-root/modules/VMCI-only"
Make-C/lib/modules/3.2.9-1. fc16.x86 _ 64/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Enter the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
CC [m]/tmp/vmware-root/modules/VMCI-only/Linux/driver. o
CC [m]/tmp/vmware-root/modules/VMCI-only/Linux/vmcikernelif. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcidriver. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmciresource. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcicontext. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcidat.pdf. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcihashtable. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcievent. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmciqueuepair. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcidoorbell. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmciqpair. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmciroute. o
CC [m]/tmp/vmware-root/modules/VMCI-only/driverlog. o
LD [m]/tmp/vmware-root/modules/VMCI-only/VMCI. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/VMCI-only/VMCI. Mod. o
LD [m]/tmp/vmware-root/modules/VMCI-only/VMCI. Ko
Make [1]: Leave the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Enter the directory "/tmp/vmware-root/modules/VMCI-only"
Make [1]: "postbuild" is the latest.
Make [1]: Leave the directory "/tmp/vmware-root/modules/VMCI-only"
CP-f vmci. ko ../VMCI. o
Make: Leave the directory "/tmp/vmware-root/modules/VMCI-only"
Built VMCI Module
Using 2.6.x kernel build system.
Make: Enter the directory "/tmp/vmware-root/modules/vsock-only"
Make-C/lib/modules/3.2.9-1. fc16.x86 _ 64/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Enter the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/af_vsock.o
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/vsockaddr. o
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/notifyqstate. o
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/util. o
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/stats. o
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/notify. o
CC [m]/tmp/vmware-root/modules/vsock-only/driverlog. o
LD [m]/tmp/vmware-root/modules/vsock-only/vsock. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/vsock-only/vsock. Mod. o
LD [m]/tmp/vmware-root/modules/vsock-only/vsock. Ko
Make [1]: Leave the directory "/usr/src/kernels/3.2.9-1. fc16.x86 _ 64"
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Enter the directory "/tmp/vmware-root/modules/vsock-only"
Make [1]: "postbuild" is the latest.
Make [1]: Leave the directory "/tmp/vmware-root/modules/vsock-only"
CP-F vsock. ko ../vsock. o
Make: Leave the directory "/tmp/vmware-root/modules/vsock-only"
Built vsock Module
Starting VMware (via systemctl): [OK]

All done, you can now run vmware workstation.
Modules sources backup can be found in the '/usr/lib/vmware/modules/source-workstation8.0.2-2012-03-10-23: 42: 09-Backup' directory

OK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.