L'installation en exécutant Sudo ./VMware-Workstation-6.5.5-328052.x86_64.bundle
se termine avec succès.
Toutefois, lors de la tentative d'exécution de vmware
, le message d'erreur suivant s'affiche:
En cliquant sur OK, une autre boîte de message d'erreur s'affiche:
Avec le journal suivant sur la console:
Logging to /tmp/vmware-root/setup-15921.log
modinfo: ERROR: Module vmmon not found.
modinfo: ERROR: Module vmnet not found.
modinfo: ERROR: Module vmblock not found.
modinfo: ERROR: Module vmci not found.
filename: /lib/modules/3.13.0-43-generic/kernel/net/vmw_vsock/vsock.ko
license: GPL v2
version: 1.0.1.0-k
description: VMware Virtual Socket Family
author: VMware, Inc.
srcversion: DEF0E4AC6D739CEE581C08F
depends:
intree: Y
vermagic: 3.13.0-43-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 55:AB:2F:E2:8E:D5:C6:0D:F9:58:71:50:D1:73:4C:92:0E:A7:B8:18
sig_hashalgo: sha512
modinfo: ERROR: Module vmmon not found.
modinfo: ERROR: Module vmnet not found.
modinfo: ERROR: Module vmblock not found.
modinfo: ERROR: Module vmci not found.
filename: /lib/modules/3.13.0-43-generic/kernel/net/vmw_vsock/vsock.ko
license: GPL v2
version: 1.0.1.0-k
description: VMware Virtual Socket Family
author: VMware, Inc.
srcversion: DEF0E4AC6D739CEE581C08F
depends:
intree: Y
vermagic: 3.13.0-43-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 55:AB:2F:E2:8E:D5:C6:0D:F9:58:71:50:D1:73:4C:92:0E:A7:B8:18
sig_hashalgo: sha512
modinfo: ERROR: Module vmmon not found.
modinfo: ERROR: Module vmnet not found.
modinfo: ERROR: Module vmblock not found.
modinfo: ERROR: Module vmci not found.
filename: /lib/modules/3.13.0-43-generic/kernel/net/vmw_vsock/vsock.ko
license: GPL v2
version: 1.0.1.0-k
description: VMware Virtual Socket Family
author: VMware, Inc.
srcversion: DEF0E4AC6D739CEE581C08F
depends:
intree: Y
vermagic: 3.13.0-43-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 55:AB:2F:E2:8E:D5:C6:0D:F9:58:71:50:D1:73:4C:92:0E:A7:B8:18
sig_hashalgo: sha512
(vmware-modconfig:15921): IBUS-WARNING **: The owner of /home/bta/.config/ibus/bus is not root!
modinfo: ERROR: Module vmmon not found.
modinfo: ERROR: Module vmnet not found.
modinfo: ERROR: Module vmblock not found.
modinfo: ERROR: Module vmci not found.
filename: /lib/modules/3.13.0-43-generic/kernel/net/vmw_vsock/vsock.ko
license: GPL v2
version: 1.0.1.0-k
description: VMware Virtual Socket Family
author: VMware, Inc.
srcversion: DEF0E4AC6D739CEE581C08F
depends:
intree: Y
vermagic: 3.13.0-43-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 55:AB:2F:E2:8E:D5:C6:0D:F9:58:71:50:D1:73:4C:92:0E:A7:B8:18
sig_hashalgo: sha512
Il a essayé cette solution de contournement:
Sudo -s
cd /lib/modules/$(uname -r)/build/include/linux
ln -s ../generated/utsrelease.h
ln -s ../generated/autoconf.h
Mais cela n'a pas changé le comportement susmentionné.
Avez-vous une idée de la façon dont vmware peut rechercher les en-têtes du noyau et poursuivre son exécution?
UPDATE: Merci aux astuces fournies ci-dessous et au présent article Impossible d'exécuter VMware - Echec de la création de vmnet , j'ai procédé comme suit :
Sudo -s
cd /lib/modules/$(uname -r)/build/include/linux
ln -s ../generated/utsrelease.h
ln -s ../generated/autoconf.h
ln -s ../generated/uapi/linux/version.h
Ce dernier ln -s
(pour version.h) m'a en effet dépassé le message d'erreur "En-têtes du noyau non trouvés". Mais maintenant je devenais:
Avant de pouvoir exécuter VMware, plusieurs modules doivent être compilés et chargés dans le noyau CANCEL/INSTALL
Alors, j'ai fait cette étape:
Sudo apt-get install open-vm-tools open-vm-tools-dev open-vm-dkms open-vm-toolbox open-vm-tools-dev
et maintenant j'obtiens ceci:
Suivi (dans les 1-2 secondes) par ceci:
J'ai ensuite suivi par (comme décrit dans cette solution )
cd /usr/lib/vmware/modules/source
tar -xvf vmnet.tar
patch vmnet-only/filter.c < ~/vmnet313.patch
tar -uvf vmnet.tar vmnet-only
rm -r vmnet-only
/usr/bin/vmware
Mais j'obtiens le même résultat (message d'erreur "Impossible de construire le module du noyau").
Si j'essaie (comme dans la solution d'origine):
Sudo vmware-modconfig --console --install-all
Alors j'obtiens:
Stopping VMware services:
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/3.13.0-43-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-43-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:40:28: fatal error: linux/smp_lock.h: No such file or directory
#include <linux/smp_lock.h>
^
compilation terminated.
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-43-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
Unable to install vmmon
J'ai alors essayé:
Sudo apt-get install build-essential linux-headers-$(uname -r)
ce qui m'a valu beaucoup de paquets supplémentaires, mais je reçois toujours le dernier échec avec "linux/smp_lock.h: Aucun fichier ou répertoire de ce type" , etc.
Alors j'ai fait:
Sudo ln -s /usr/src/linux-headers-3.13.0-43-generic/include/linux/smp.h /usr/src/linux-headers-3.13.0-43-generic/include/linux/smp_lock.h
et cela a fait quelques progrès car je ne parviens pas à construire/installer avec:
Stopping VMware services:
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/3.13.0-43-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-43-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vmware.h:38:0,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:100:
/tmp/vmware-root/modules/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined [-Wundef]
#Elif __FreeBSD__
^
In file included from /tmp/vmware-root/modules/vmmon-only/./common/vmx86.h:32:0,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.h:29,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:102:
/tmp/vmware-root/modules/vmmon-only/./include/x86msr.h:164:0: warning: "MSR_THERM2_CTL" redefined [enabled by default]
#define MSR_THERM2_CTL 0x0000019D // Thermal Monitor 2 Control (ro)
^
In file included from /usr/src/linux-headers-3.13.0-43-generic/Arch/x86/include/uapi/asm/msr.h:4:0,
from /usr/src/linux-headers-3.13.0-43-generic/Arch/x86/include/asm/msr.h:4,
from /usr/src/linux-headers-3.13.0-43-generic/Arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.13.0-43-generic/Arch/x86/include/asm/thread_info.h:22,
from include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.13.0-43-generic/Arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:18,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /tmp/vmware-root/modules/vmmon-only/./include/compat_module.h:27,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-3.13.0-43-generic/Arch/x86/include/uapi/asm/msr-index.h:334:0: note: this is the location of the previous definition
#define MSR_THERM2_CTL 0x0000019d
^
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vcpuset.h:103:0,
from /tmp/vmware-root/modules/vmmon-only/./include/modulecall.h:37,
from /tmp/vmware-root/modules/vmmon-only/./common/vmx86.h:33,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.h:29,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:102:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER >= 1310
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER >= 1310
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:407:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_ReadIfEqualWrite64’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:460:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_And’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:506:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_And64’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:551:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Or’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:595:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Or64’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:640:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Xor’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:684:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Xor64’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:729:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Add’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:773:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER >= 1310
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:775:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Add64’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:816:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Sub’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:860:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER >= 1310
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:862:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Sub64’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:903:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Inc’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:945:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER >= 1310
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:947:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Inc64’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:986:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Dec’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1028:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER >= 1310
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1030:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_Dec64’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1069:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: At top level:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1223:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER >= 1310
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1227:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_ReadAdd64’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1313:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: At top level:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER /* MSC (assume on x86 for now) */
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h: In function ‘Atomic_ReadWrite64’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1796:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vmware.h:40:0,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:100:
/tmp/vmware-root/modules/vmmon-only/./include/busmem_def.h: In function ‘BUSMEMDEFS’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_assert.h:249:20: warning: typedef ‘AssertOnCompileType’ locally defined but not used [-Wunused-local-typedefs]
typedef char AssertOnCompileType[(e) ? 1 : -1]; \
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_assert.h:271:7: note: in definition of macro ‘MY_ASSERTS’
assertions \
^
/tmp/vmware-root/modules/vmmon-only/./include/busmem_def.h:69:12: note: in expansion of macro ‘ASSERT_ON_COMPILE’
ASSERT_ON_COMPILE(sizeof(BusMemDef_BatchPageList) <= PAGE_SIZE);)
^
/tmp/vmware-root/modules/vmmon-only/./include/pshare_ext.h: In function ‘PSHARE_EXT’:
/tmp/vmware-root/modules/vmmon-only/./include/vm_assert.h:249:20: warning: typedef ‘AssertOnCompileType’ locally defined but not used [-Wunused-local-typedefs]
typedef char AssertOnCompileType[(e) ? 1 : -1]; \
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_assert.h:271:7: note: in definition of macro ‘MY_ASSERTS’
assertions \
^
/tmp/vmware-root/modules/vmmon-only/./include/pshare_ext.h:67:12: note: in expansion of macro ‘ASSERT_ON_COMPILE’
ASSERT_ON_COMPILE((PSHARE_HINT_UPDATES_MAX <=
^
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:39:0,
from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:41,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:104:
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h: At top level:
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:486:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER /* !__GNUC__ */
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:779:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:820:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:922:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER
^
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:41:0,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:104:
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:56:7: warning: "_MSC_VER" is not defined [-Wundef]
#Elif _MSC_VER /* !__GNUC__ */
^
In file included from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:120:0:
/tmp/vmware-root/modules/vmmon-only/./common/hostif.h:53:7: warning: "WINNT_DDK" is not defined [-Wundef]
#Elif WINNT_DDK
^
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘init_module’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:427:15: error: ‘struct file_operations’ has no member named ‘ioctl’
vmuser_fops.ioctl = LinuxDriver_Ioctl;
^
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: At top level:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:771:59: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
static spinlock_t pollQueueLock __attribute__((unused)) = SPIN_LOCK_UNLOCKED;
^
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1744:7: error: implicit declaration of function ‘unlock_kernel’ [-Werror=implicit-function-declaration]
unlock_kernel();
^
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1751:7: error: implicit declaration of function ‘lock_kernel’ [-Werror=implicit-function-declaration]
lock_kernel();
^
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988:26: error: invalid operands to binary == (have ‘kuid_t’ and ‘kuid_t’)
if (current_euid() == current_uid() &&
^
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989:20: error: invalid operands to binary == (have ‘kuid_t’ and ‘kuid_t’)
current_fsuid() == current_uid() &&
^
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990:26: error: invalid operands to binary == (have ‘kgid_t’ and ‘kgid_t’)
current_egid() == current_gid() &&
^
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1991:20: error: invalid operands to binary == (have ‘kgid_t’ and ‘kgid_t’)
current_fsgid() == current_gid()) {
^
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-43-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
Unable to install vmmon
On dirait que je devrais abandonner ...
Sauf si vous avez des idées supplémentaires?
Essayez Oracle VirtualBox. Il devrait également ouvrir les images VMDK. Sinon, essayez de convertir vos disques avec qemu-img:
qemu-img convert -f vmdk -O vdi "%F" "%F.vdi"
Veuillez utiliser: Sudo ln -s/usr/src/linux-headers - $ (uname -r) /include/generated/uapi/linux/version.h/usr/src/linux-headers - $ (uname -r)/include/linux/version.h
comme indiqué dans: VMWare ne peut pas trouver le chemin des en-têtes linux
travaille pour moi!