web-dev-qa-db-fra.com

Chargement de l'application VMWare Player 7.1.0 sur Ubuntu 15.04 (noyau: 3.19.0-10-generic)

J'ai téléchargé la dernière version du lecteur VMWare (v 7.1.0) de ici . Installé le paquet, et l'installation s'est bien déroulée.

Post-installation, lorsque j'ai essayé de lancer VMWare Player, mais j'ai reçu l'invite suivante: enter image description here

La procédure mène à ces écrans d'erreur:
enter image description hereenter image description here

Je suis conscient que c'est un vieux problème, mentionné, par exemple, ici , ici et ici . Ils semblent tous pointer vers la même solution ici , qui a fonctionné pour certains dans le passé.

J'ai essayé de suivre les instructions là-bas, mais tout d'abord, le correctif du fichier vmnet-only/filter.c n'a pas pris, j'ai donc mis à jour manuellement le fichier pour qu'il contienne:

#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
 transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
#else
 transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);
#endif

J'ai ensuite reconditionné et essayé de démarrer VMWare Player, mais il ne voulait toujours pas démarrer, avec la même erreur qu'avant. Voici le contenu du fichier journal sur lequel il me dirige.

2015-04-05T13:39:03.888+05:30| vthread-4| I120: Log for VMware Workstation pid=7861 version=11.1.0 build=build-2496824 option=Release
2015-04-05T13:39:03.888+05:30| vthread-4| I120: The process is 64-bit.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: Host codepage=UTF-8 encoding=UTF-8
2015-04-05T13:39:03.888+05:30| vthread-4| I120: Host is Linux 3.19.0-10-generic Ubuntu Vivid Vervet (development branch)
2015-04-05T13:39:03.888+05:30| vthread-4| I120: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: Msg_Reset:
2015-04-05T13:39:03.888+05:30| vthread-4| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: ----------------------------------------
2015-04-05T13:39:03.888+05:30| vthread-4| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: Msg_Reset:
2015-04-05T13:39:03.888+05:30| vthread-4| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: ----------------------------------------
2015-04-05T13:39:03.888+05:30| vthread-4| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: PREF Unable to check permissions for preferences file.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: Msg_Reset:
2015-04-05T13:39:03.888+05:30| vthread-4| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: ----------------------------------------
2015-04-05T13:39:03.888+05:30| vthread-4| I120: PREF Failed to load user preferences.
2015-04-05T13:39:03.921+05:30| vthread-4| W110: Logging to /tmp/vmware-root/vmware-7861.log
2015-04-05T13:39:03.929+05:30| vthread-4| I120: Obtaining info using the running kernel.
2015-04-05T13:39:03.930+05:30| vthread-4| I120: Created new pathsHash.
2015-04-05T13:39:03.930+05:30| vthread-4| I120: Setting header path for 3.19.0-10-generic to "/lib/modules/3.19.0-10-generic/build/include".
2015-04-05T13:39:03.930+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:03.930+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:03.930+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:03.930+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:03.934+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:03.934+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.037+05:30| vthread-4| I120: found symbol version file /lib/modules/3.19.0-10-generic/build/Module.symvers
2015-04-05T13:39:04.037+05:30| vthread-4| I120: Reading symbol versions from /lib/modules/3.19.0-10-generic/build/Module.symvers.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Read 18765 symbol versions
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Reading in info for the vmmon module.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Reading in info for the vmnet module.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Reading in info for the vmblock module.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Reading in info for the vmci module.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Reading in info for the vsock module.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Setting vsock to depend on vmci.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Invoking modinfo on "vmmon".
2015-04-05T13:39:04.054+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 0.
2015-04-05T13:39:04.054+05:30| vthread-4| I120: Invoking modinfo on "vmnet".
2015-04-05T13:39:04.055+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 256.
2015-04-05T13:39:04.055+05:30| vthread-4| I120: Invoking modinfo on "vmblock".
2015-04-05T13:39:04.056+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 256.
2015-04-05T13:39:04.056+05:30| vthread-4| I120: Invoking modinfo on "vmci".
2015-04-05T13:39:04.057+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 256.
2015-04-05T13:39:04.057+05:30| vthread-4| I120: Invoking modinfo on "vsock".
2015-04-05T13:39:04.058+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 0.
2015-04-05T13:39:04.067+05:30| vthread-4| I120: to be installed: vmnet status: 0
2015-04-05T13:39:04.078+05:30| vthread-4| I120: Obtaining info using the running kernel.
2015-04-05T13:39:04.078+05:30| vthread-4| I120: Setting header path for 3.19.0-10-generic to "/lib/modules/3.19.0-10-generic/build/include".
2015-04-05T13:39:04.078+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:04.078+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:04.078+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:04.078+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:04.082+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:04.082+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.185+05:30| vthread-4| I120: found symbol version file /lib/modules/3.19.0-10-generic/build/Module.symvers
2015-04-05T13:39:04.185+05:30| vthread-4| I120: Reading symbol versions from /lib/modules/3.19.0-10-generic/build/Module.symvers.
2015-04-05T13:39:04.200+05:30| vthread-4| I120: Read 18765 symbol versions
2015-04-05T13:39:04.201+05:30| vthread-4| I120: Kernel header path retrieved from FileEntry: /lib/modules/3.19.0-10-generic/build/include
2015-04-05T13:39:04.201+05:30| vthread-4| I120: Update kernel header path to /lib/modules/3.19.0-10-generic/build/include
2015-04-05T13:39:04.201+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:04.201+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:04.201+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:04.201+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:04.205+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:04.205+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.206+05:30| vthread-4| I120: Found compiler at "/usr/bin/gcc"
2015-04-05T13:39:04.208+05:30| vthread-4| I120: Got gcc version "4.9.2".
2015-04-05T13:39:04.208+05:30| vthread-4| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-05T13:39:04.208+05:30| vthread-4| I120: Using user supplied compiler "/usr/bin/gcc".
2015-04-05T13:39:04.210+05:30| vthread-4| I120: Got gcc version "4.9.2".
2015-04-05T13:39:04.210+05:30| vthread-4| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-05T13:39:04.212+05:30| vthread-4| I120: Trying to find a suitable PBM set for kernel "3.19.0-10-generic".
2015-04-05T13:39:04.212+05:30| vthread-4| I120: No matching PBM set was found for kernel "3.19.0-10-generic".
2015-04-05T13:39:04.212+05:30| vthread-4| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-05T13:39:04.212+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:04.212+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:04.212+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:04.212+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:04.216+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:04.216+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.224+05:30| vthread-4| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-05T13:39:04.224+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:04.224+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:04.224+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:04.224+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:04.228+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:04.228+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.228+05:30| vthread-4| I120: Using temp dir "/tmp".
2015-04-05T13:39:04.229+05:30| vthread-4| I120: Obtaining info using the running kernel.
2015-04-05T13:39:04.229+05:30| vthread-4| I120: Setting header path for 3.19.0-10-generic to "/lib/modules/3.19.0-10-generic/build/include".
2015-04-05T13:39:04.229+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:04.229+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:04.229+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:04.229+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:04.233+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:04.233+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.336+05:30| vthread-4| I120: found symbol version file /lib/modules/3.19.0-10-generic/build/Module.symvers
2015-04-05T13:39:04.336+05:30| vthread-4| I120: Reading symbol versions from /lib/modules/3.19.0-10-generic/build/Module.symvers.
2015-04-05T13:39:04.352+05:30| vthread-4| I120: Read 18765 symbol versions
2015-04-05T13:39:04.352+05:30| vthread-4| I120: Invoking modinfo on "vmnet".
2015-04-05T13:39:04.354+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 256.
2015-04-05T13:39:04.667+05:30| vthread-4| I120: Setting destination path for vmnet to "/lib/modules/3.19.0-10-generic/misc/vmnet.ko".
2015-04-05T13:39:04.667+05:30| vthread-4| I120: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2015-04-05T13:39:04.671+05:30| vthread-4| I120: Successfully extracted the vmnet source.
2015-04-05T13:39:04.671+05:30| vthread-4| I120: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-r28NAC/vmnet-only auto-build HEADER_DIR=/lib/modules/3.19.0-10-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2015-04-05T13:39:05.864+05:30| vthread-4| W110: Failed to build vmnet.  Failed to execute the build command.
2015-04-05T13:40:27.615+05:30| vthread-4| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-05T13:40:27.615+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:40:27.615+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:40:27.615+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:40:27.615+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:40:27.620+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Using temp dir "/tmp".
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Obtaining info using the running kernel.
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Setting header path for 3.19.0-10-generic to "/lib/modules/3.19.0-10-generic/build/include".
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:40:27.620+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:40:27.620+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:40:27.625+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:40:27.625+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:40:27.725+05:30| vthread-4| I120: found symbol version file /lib/modules/3.19.0-10-generic/build/Module.symvers
2015-04-05T13:40:27.725+05:30| vthread-4| I120: Reading symbol versions from /lib/modules/3.19.0-10-generic/build/Module.symvers.
2015-04-05T13:40:27.741+05:30| vthread-4| I120: Read 18765 symbol versions
2015-04-05T13:40:27.741+05:30| vthread-4| I120: Invoking modinfo on "vmnet".
2015-04-05T13:40:27.743+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 256.
2015-04-05T13:40:28.060+05:30| vthread-4| I120: Setting destination path for vmnet to "/lib/modules/3.19.0-10-generic/misc/vmnet.ko".
2015-04-05T13:40:28.060+05:30| vthread-4| I120: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2015-04-05T13:40:28.064+05:30| vthread-4| I120: Successfully extracted the vmnet source.
2015-04-05T13:40:28.064+05:30| vthread-4| I120: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-miev7l/vmnet-only auto-build HEADER_DIR=/lib/modules/3.19.0-10-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2015-04-05T13:40:29.359+05:30| vthread-4| W110: Failed to build vmnet.  Failed to execute the build command.

L'avant-dernière ligne indique qu'il décompresse le répertoire vmnet-only où réside le fichier filter.c modifié, mais il semble que le fichier modifié ne soit d'aucun secours. Toute aide serait appréciée.

7
tchakravarty

Je suis sur 14.10 64 bits. Noyau 3.19. Les étapes suivantes ont fonctionné pour moi sous VMware Worstation 11 et VMware Player 7.1.0: https://wiki.archlinux.org/index.php/VMware#3.19_kernels

7
ATX_PR

J'ai résolu le problème en procédant comme suit:

curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch

cd /usr/lib/vmware/modules/source
tar -xf vmnet.tar
patch -p0 -i /tmp/vmnet-3.19.patch
tar -cf vmnet.tar vmnet-only
rm -r *-only
vmware-modconfig --console --install-all
3
fabio79

J'ai eu le même problème, les correctifs, etc. ne fonctionnaient pas. Ran Sudo apt-get update & Sudo apt-get upgrade. Ne fonctionne toujours pas et ne peut pas accéder à ma VM pendant quelques mois. Aujourd'hui, j'ai complètement supprimé le lecteur VMWare

Sudo vmware-installer -u vmware-player

et téléchargé le dernier ensemble 7.1.2 depuis https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/7_ en sélectionnant la version mineure 7.1.2 (la plus récente)

sh VMware-Player-7.1.2-2780323.x86_64.bundle

Installé et fonctionnant correctement, je peux maintenant accéder au VM sur lequel je travaillais avant de mettre à jour ubuntu vers 15.04.

1
Dom Page

http://rglinuxtech.com/?p=1281 Ceci est l'information source dont provient le correctif archlinux. Il y a aussi un problème avec netif.c maintenant qui provoque un échec et nécessite une édition séparée pour être corrigé avant de relancer le fichier vmnet.tar.

J'espère/suppose que vmware publiera juste une version corrigeant les bugs dans les prochains jours afin que les utilisateurs n'aient pas à sauter à travers ces étapes.

0
Hickeroar