Skip to content

vmWare Workstation Pro 12.x and linux kernel 4.4 et 4.6 - impossible de compiler

Software - ProgicielVmWare

Pour pouvoir compiler vmWare (vmmon et vmnet) il faut changer une variable dans les fichier hostif.c et userif.c pour ce faire procéder comme suis :

 

1°) Aller dans le répertoire : /usr/lib/vmware/modules/source

2°) vmmon

a°) faire une copie de vmmon.tar (cp vmmon.tar vmmon.tar.ori par example)

b°) détarer vmmon.tar avec la commande tar -xvf vmmon.tar

c°) liste des fichier de vmmon.tar :

.patched
vmmon-only/
vmmon-only/COPYING
vmmon-only/Makefile
vmmon-only/Makefile.kernel
vmmon-only/include/
vmmon-only/include/vcpuset_types.h
vmmon-only/include/cpu_defs.h
vmmon-only/include/compat_sched.h
vmmon-only/include/vm_basic_asm_x86_64.h
vmmon-only/include/vm_assert.h
vmmon-only/include/uccostTable.h
vmmon-only/include/pagelist.h
vmmon-only/include/memDefaults.h
vmmon-only/include/x86cpuid_asm.h
vmmon-only/include/monitorAction_exported.h
vmmon-only/include/pageLock_defs.h
vmmon-only/include/vcpuid.h
vmmon-only/include/community_source.h
vmmon-only/include/driver-config.h
vmmon-only/include/vmmem_shared.h
vmmon-only/include/vm_basic_asm_x86_common.h
vmmon-only/include/x86sel.h
vmmon-only/include/vmware_pack_init.h
vmmon-only/include/x86msr.h
vmmon-only/include/vmware_pack_begin.h
vmmon-only/include/modulecallstructs.h
vmmon-only/include/compat_highmem.h
vmmon-only/include/versioned_atomic.h
vmmon-only/include/compat_interrupt.h
vmmon-only/include/vm_basic_asm_x86.h
vmmon-only/include/compat_kernel.h
vmmon-only/include/vmware.h
vmmon-only/include/x86vt.h
vmmon-only/include/vmm_constants.h
vmmon-only/include/vm_asm.h
vmmon-only/include/compat_pci.h
vmmon-only/include/x86svm.h
vmmon-only/include/iocontrols.h
vmmon-only/include/basic_initblock.h
vmmon-only/include/initblock.h
vmmon-only/include/x86apic.h
vmmon-only/include/x86perfctr.h
vmmon-only/include/compat_autoconf.h
vmmon-only/include/compat_cred.h
vmmon-only/include/pgtbl.h
vmmon-only/include/vm_basic_math.h
vmmon-only/include/compat_spinlock.h
vmmon-only/include/vcpuset.h
vmmon-only/include/hashFunc.h
vmmon-only/include/contextinfo.h
vmmon-only/include/includeCheck.h
vmmon-only/include/perfctr_generic.h
vmmon-only/include/x86cpuid.h
vmmon-only/include/crossgdt.h
vmmon-only/include/compat_ioport.h
vmmon-only/include/mon_assert.h
vmmon-only/include/compat_module.h
vmmon-only/include/usercalldefs.h
vmmon-only/include/modulecall.h
vmmon-only/include/vm_time.h
vmmon-only/include/compat_pgtable.h
vmmon-only/include/address_defs.h
vmmon-only/include/vm_asm_x86.h
vmmon-only/include/vm_basic_types.h
vmmon-only/include/numa_defs.h
vmmon-only/include/compat_semaphore.h
vmmon-only/include/vm_basic_asm.h
vmmon-only/include/compat_page.h
vmmon-only/include/vm_basic_defs.h
vmmon-only/include/pshare_ext.h
vmmon-only/include/circList.h
vmmon-only/include/vm_asm_x86_64.h
vmmon-only/include/x86_basic_defs.h
vmmon-only/include/vmware_pack_end.h
vmmon-only/include/ptsc.h
vmmon-only/include/cpuid_info.h
vmmon-only/include/x86vt-vmcs-fields.h
vmmon-only/include/x86vtinstr.h
vmmon-only/include/x86segdescrs.h
vmmon-only/include/rateconv.h
vmmon-only/include/overheadmem_types.h
vmmon-only/include/vm_atomic.h
vmmon-only/include/compat_version.h
vmmon-only/include/pcip_defs.h
vmmon-only/include/x86vendor.h
vmmon-only/include/x86types.h
vmmon-only/include/x86desc.h
vmmon-only/vmcore/
vmmon-only/vmcore/driver_vmcore.h
vmmon-only/vmcore/moduleloop.c
vmmon-only/common/
vmmon-only/common/apic.h
vmmon-only/common/hashFunc.c
vmmon-only/common/vmx86.c
vmmon-only/common/hostKernel.h
vmmon-only/common/vmx86.h
vmmon-only/common/phystrack.h
vmmon-only/common/task.c
vmmon-only/common/apic.c
vmmon-only/common/hostif.h
vmmon-only/common/memtrack.h
vmmon-only/common/phystrack.c
vmmon-only/common/memtrack.c
vmmon-only/common/cpuid.c
vmmon-only/common/cpuid.h
vmmon-only/common/comport.c
vmmon-only/common/task.h
vmmon-only/common/hostifGlobalLock.h
vmmon-only/common/hostifMem.h
vmmon-only/common/comport.h
vmmon-only/linux/
vmmon-only/linux/driverLog.h
vmmon-only/linux/driver.c
vmmon-only/linux/vmmonInt.h
vmmon-only/linux/hostif.c
vmmon-only/linux/driver.h
vmmon-only/linux/hostif_priv.h
vmmon-only/linux/driverLog.c
vmmon-only/linux/vmhost.h
vmmon-only/Makefile.normal
vmmon-only/README
vmmon-only/autoconf/
vmmon-only/autoconf/tsc_khz.c
vmmon-only/autoconf/geninclude.c
vmmon-only/autoconf/smpcall.c

d°) effacer le ficher vmmon.tar avec la commande rm vmmon.tar

e°) éditer le fichier vmmon-only/linux/hostif.c

1. remplacer la variable : get_user_pages par la variable get_user_pages_remote

2. retarer avec la commande tar -cvf vmmon.tar .patched vmmon-only

3°) vmnet

a°) faire une copie de vmmon.tar (cp vmnet.tar vmnet.tar.ori par example)

b°) détarer vmmon.tar avec la commande tar -xvf vmnet.tar

c°) liste des fichier de vmnet.tar :

vmnet-only/
vmnet-only/compat_module.h
vmnet-only/vnetEvent.c
vmnet-only/vnet.h
vmnet-only/nfhook_uses_skb.c
vmnet-only/compat_sock.h
vmnet-only/vmware_pack_init.h
vmnet-only/vm_basic_asm.h
vmnet-only/netif.c
vmnet-only/compat_netdevice.h
vmnet-only/compat_autoconf.h
vmnet-only/vnetKernel.h
vmnet-only/vm_basic_defs.h
vmnet-only/skblin.c
vmnet-only/userif.c
vmnet-only/vnetEvent.h
vmnet-only/compat_version.h
vmnet-only/Makefile.kernel
vmnet-only/vm_oui.h
vmnet-only/smac.c
vmnet-only/driver-config.h
vmnet-only/net.h
vmnet-only/vnetInt.h
vmnet-only/vmware_pack_begin.h
vmnet-only/monitorAction_exported.h
vmnet-only/Makefile
vmnet-only/vm_device_version.h
vmnet-only/vnetFilter.h
vmnet-only/smac.h
vmnet-only/vm_basic_asm_x86_64.h
vmnet-only/includeCheck.h
vmnet-only/vm_assert.h
vmnet-only/smac_compat.h
vmnet-only/vnetFilterInt.h
vmnet-only/smac_compat.c
vmnet-only/netdev_has_dev_net.c
vmnet-only/hub.c
vmnet-only/vm_basic_types.h
vmnet-only/x86cpuid.h
vmnet-only/vm_atomic.h
vmnet-only/vnetUserListener.c
vmnet-only/vm_basic_asm_x86_common.h
vmnet-only/geninclude.c
vmnet-only/community_source.h
vmnet-only/vm_basic_asm_x86.h
vmnet-only/bridge.c
vmnet-only/compat_skbuff.h
vmnet-only/driver.c
vmnet-only/COPYING
vmnet-only/procfs.c
vmnet-only/Makefile.normal
vmnet-only/vmnetInt.h
vmnet-only/netdev_has_net.c
vmnet-only/vmware_pack_end.h

d°) effacer le ficher vmmon.tar avec la commande rm vmnet.tar

e°) éditer le fichier vmnet-only/userif.c

1. remplacer la variable : get_user_pages par la variable get_user_pages_remote

2. retarer avec la commande tar -cvf vmnet.tar vmmon-only

 

 

 

Rétroliens

Pas de rétroliens

Commentaires

Afficher les commentaires en Vue non groupée | Vue groupée

Pas de commentaires

Ajouter un commentaire

Marquer un texte en gras: *mot*, souligner un texte: _mot_.
Les smilies standard comme :-) et ;-) sont convertis en images.
Les adresses Email ne sont pas affichées, et sont seulement utilisées pour la communication.
Syntaxe BBCode autorisée
Form options