#1 Le 31/10/2009, à 22:01
- Maneithel
[abandonné] VMware Incapable de compiler les modules du kernel ...
Bonjour tous !
Ceci est mon premier message sur ce forum, j'espère être assez clair et précis. Merci d'avance pour vos pistes.
VMware n'arrive pas à compiler des modules.
J'ai installé un windows xp sous VMware Workstation 6.5 cette semaine. Tout fonctionnait comme un charme avant la mise à niveau vers Karmic Koala. Si j'en crois le site de VMware, le kernel 2.6.31 n'est pas encore supporté (ce serait le problème).
Plus précisément, à l'ouverture de VMware (player ou workstation, peu importe), le bug survient lors de la compilation de "Virtual machine monitor" avec comme message
"Unable to build kernel module.
See log file /tmp/vmware-root/setup-32405.log for details.
qui contient:
oct 31 16:46:51.194: app| Log for VMware Workstation pid=6272 version=6.5.1 build=build-126130 option=Release oct 31 16:46:51.194: app| Host codepage=UTF-8 encoding=UTF-8
oct 31 16:46:51.194: app| Logging to /tmp/vmware-root/setup-6272.log oct 31 16:46:51.803: app| Extracting the sources of the vmmon module.
oct 31 16:46:51.812: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/module /vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.31-14-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.1
Il recherche d'abord les modules dans le dossier de USER, ne les trouve pas et regarde ensuite dans le dossier de ROOT (c'est pourquoi il log dans /tmp/vmware-root/... et non pas dans /tmp/vmware-USER/... je suppose).
Je joints ici tout se qui suit la commande "vmware" :
USER@CPU_ID:~$ vmware
Logging to /tmp/vmware-charles/setup-7569.log
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
Logging to /tmp/vmware-root/setup-8171.logERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
Stopping VMware services:
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make: entrant dans le répertoire « /tmp/vmware-root/modules/vmmon-only »
make -C /lib/modules/2.6.31-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.31-14-generic »
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
In file included from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:31:
/tmp/vmware-root/modules/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:70: note: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vmware.h:38,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:99:
/tmp/vmware-root/modules/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/./common/vmx86.h:31,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.h:29,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:101:
/tmp/vmware-root/modules/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/apic.h:11,
from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/smp.h:13,
from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/mmzone_64.h:12,
from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/mmzone.h:4,
from include/linux/mmzone.h:773,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
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-2.6.31-14-generic/arch/x86/include/asm/apicdef.h:133:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vcpuset.h:103,
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:101:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:407:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:460:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:506:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:551:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:595:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:640:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:684:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:729:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:773:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:775:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:816:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:860:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:862:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:903:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:945:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:947:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:986:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1028:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1030:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1069:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1223:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1227:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1313:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1796:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:39,
from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:41,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:103:
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:486:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:779:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:820:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:922:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:41,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:103:
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:56:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:119:
/tmp/vmware-root/modules/vmmon-only/./common/hostif.h:53:7: warning: "WINNT_DDK" is not defined
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Erreur 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.31-14-generic »
make: quittant le répertoire « /tmp/vmware-root/modules/vmmon-only »
make: *** [vmmon.ko] Erreur 2
Merci pour le coup de main !
Dernière modification par Maneithel (Le 14/11/2009, à 21:58)
Hors ligne
#2 Le 05/11/2009, à 18:23
- fab86700
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
J'ai pas de réponse mais le même problème, as-tu trouvé une piste ?
Hors ligne
#3 Le 06/11/2009, à 00:15
- Remynix
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
Simple en fait :
Désinstaller VMWare 2.X (http://doc.ubuntu-fr.org/vmplayer)
Télécharger le player V3 (http://www.vmware.com/download/player/)
Voilà.
Hors ligne
#4 Le 06/11/2009, à 09:01
- fab86700
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
Simple en fait :
Désinstaller VMWare 2.X (http://doc.ubuntu-fr.org/vmplayer)
Télécharger le player V3 (http://www.vmware.com/download/player/)
Voilà.
J'avais essayé avant de poster, l'installation de vmware-player se passe bien, mais impossible de lancer une machine virtuelle, j'ai un message du style "The virtual machine is busy".
Hors ligne
#5 Le 06/11/2009, à 09:39
- fab86700
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
J'ai trouvé cette solution qui fonctionne pour moi :
http://blog.mymediasystem.net/uncategor … la-x86_64/
Il y a aussi ça :
http://radu.cotescu.com/2009/10/30/how- … mic-koala/
Hors ligne
#6 Le 06/11/2009, à 09:58
- fab86700
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
Pour vmware-player, il y a ça qui a fonctionné pour moi :
I have managed to get VM Player 3.0 working. I'm not 100% sure which of the following actually made the difference, but here's what I did (as root):
apt-get install linux-backports-modules-karmic-generic
apt-get install build-essential
apt-get remove vmware
chmod a+x ~paul/downloads/VMware-Player-3.0.0-203739.i386.bundle
~paul/downloads/VMware-Player-3.0.0-203739.i386.bundle
trouvé ici :
http://communities.vmware.com/thread/23 … 0?tstart=0
Hors ligne
#7 Le 06/11/2009, à 17:10
- Maneithel
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
Merci à tous, je fais des tests et je vous reviens avec les résultats d'ici les 14 prochaines heures.
Hors ligne
#8 Le 10/11/2009, à 22:44
- Maneithel
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
Bon, désolé pour le retard...
J'ai bien essayé ces guides, et bien d'autres d'ailleurs. Les différentes patches proposées me donnent comme réponse (par exemple):
USER@ID:~/DIRECTORY$ sudo sh ./vmware-6.5.2-modules-2.6.31-fix.sh
Found tar file for vmnet module
Found tar file for vsock module
Found tar file for vmppuser module
Found tar file for vsock-temp module
Found tar file for vmci module
Found tar file for vmmon-temp module
Found tar file for vmblock-temp module
Found tar file for vmnet-temp module
Found tar file for vmblock module
Found tar file for vmci-temp module
Found tar file for vmppuser-temp module
Found tar file for vmmon module
Using patch file: /home/charles/Bureau/vmware-6.5.2-modules-2.6.31-fix.patch
Using module directory: /usr/lib/vmware/modules/source
Using backup directory: /usr/lib/vmware/modules/source-backup
Untarring vmnet.tar
Untarring vsock.tar
Untarring vmppuser.tar
Untarring vsock-temp.tar
Sorry, vsock-temp.tar tarball failed to extract the directory vsock-temp-only
J'ai aussi vu différents post sur le forum de VMware proposant de passer à VMware Workstation 7, ce qui n'est pas une option puisque ce logiciel m'est fourni par l'université où j'étudie.
Je pense à laisser tomber et lire des tutoriels sur Qemu et VirtualBox pour subvenir à mes besoins de virtualisation .
Information complémentaires:
vmware -v
VMware Workstation 6.5.1 build-126130
uname -a
Linux ID 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
Je suis encore bien ouvert à des suggestions, et merci !
Dernière modification par Maneithel (Le 10/11/2009, à 22:45)
Hors ligne
#9 Le 12/11/2009, à 00:42
- Elefen
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
J'ai exactement le meme probleme. La solution que je compte essayer est de downgrader le kernel, c'est un peu radical (pas tant que ca en fait) mais c'est quasiment sur de marcher. Je vais reinstaller le kernel de Jaunty et tout devrait aller pour le mieux, je testerais demain.
EDIT : et au pire, n'hesite pas a utiliser virtualbox : il est gratuit et je le trouve plus agreable sur bien des points. De plus il a a peu pres les memes capacites de virtualisation que vmware (qemu est cense etre plus lent que ces deux la, mais permet de virtualiser des architectures processeur non x86)
Dernière modification par Elefen (Le 12/11/2009, à 00:52)
Hors ligne
#10 Le 14/11/2009, à 21:57
- Maneithel
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
Parfait, je vais essayer mais plus tard, université exige
Merci à tous !
Sujet marqué.
Hors ligne
#11 Le 14/11/2009, à 22:03
- KnarNantais
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
Bonjour,
Si vous n'avez pas l'obligation d'utiliser VMWare, essayez virtualbox en version complète. J'ai téléchargé à partir du site virtualbox le paquet :
virtualbox-3.0_3.0.6-52128_Ubuntu_jaunty_amd64 parce que la version des dépôts ne permet pas de gérer L'USB.
J'ai installé un XP et un Windows 7 qui fonctionnent très bien.
Je pense tester KVM d'ici quelque temps.
Dernière modification par KnarNantais (Le 14/11/2009, à 22:04)
------------------------------------------------------------------
Kubuntu 11.10 64 bits - KDE 4.7.1 - Fixe Montage perso - Core2 Duo E8400 - P5Q Deluxe + 4Go - Nvidia Gforce 8400 GS - 2x500 Go
"" 11.10 64 bits - Portable : ASUS K72JT-TY185V core i3 380M + 4 Go - AMD Radeon HD 6370M - 500 Go
Hors ligne
#12 Le 11/12/2009, à 17:23
- BMF
Re : [abandonné] VMware Incapable de compiler les modules du kernel ...
Simple en fait :
Désinstaller VMWare 2.X (http://doc.ubuntu-fr.org/vmplayer)
Télécharger le player V3 (http://www.vmware.com/download/player/)
Voilà.
Ca a fonctionné pour moi.
L'installeur du player V3 a même désinstallé la V2.x puis a installé la V3.
Mes machines virtuelles ont pu être lancées ensuite.
Ubuntu 18.04 sur Thinkpad T430 et X230
Hors ligne