View Full Version : Problemissimo con Vmware Workstation e Kernel
manowar84
10-05-2006, 17:50
Salve ragazzi ho un problema con vmware workstation, spero mi possiate aiutare perchè è molto importante.
Sto rinstallando vmware dopo la formattazione. Durante la configurazione mi chiede questo:
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux/include/linux
The path "/usr/src/linux/include/linux" is an existing directory, but it does
not contain a "linux" subdirectory as expected.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/
The path "/usr/src" is a kernel header file directory, but it does not contain
the file "linux/version.h" as expected. This can happen if the kernel has never
been built, or if you have invoked the "make mrproper" command in your kernel
directory. In any case, you may want to rebuild your kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
mi chiede come vedete la dir degli header dei file c. Il kernel l'ho compilato io. La directory la trova ed è giusta ma non gli va bene non capisco!! Il kernel è quello li, mi dice che non trova alla fine quel file ma il file ci sta :mbe:
Scusate dove sbaglio?? datemi una mano!!
vi posto lo screen:
http://img52.imageshack.us/img52/8564/vmware3ex.png (http://imageshack.us)
manowar84
11-05-2006, 14:29
ragazzi andiamo...nessuno mi sa dare una mano? :(
stefanognogno
11-05-2006, 15:51
ragazzi andiamo...nessuno mi sa dare una mano? :(
Ho avuto anche io lo stesso problema su mandriva2006 a 64 bit... ti può sembrare strano ma devi installare i sorgenti del kernel. Tu stai usando la Debian quindio non dovresti avere problemi ad installarli con synaptic...
Ciao Ciao
Psycotic
11-05-2006, 15:54
sembrerebbe ke il kernel che stai utilizzando nn e' quello che trova sui sorgenti..
Sicuro che e' lo stesso kernel?
Qualche tempo fa con vmware giravano patch per farlo funzionare con kernel nuovi..
Hai l'ultima versione? Hai guardato se la versione che hai funziona bene con il kernel che hai installato?
scorpion89
11-05-2006, 16:00
Prova a fare cosi:
aprire il file /usr/bin/vmware-config.pl e trovare il codice che inizia con la seguente la riga:
if (defined($gSystem{'page_offset'}) and
e commentare quello che segue così come indicato:
# if (defined($gSystem{'page_offset'}) and
# not (lc($header_page_offset) eq lc($gSystem{’page_offset’}))) {
# if ($source eq ‘user’) {
# print wrap(’The kernel defined by this directory of header files does ‘
# . ‘not have the same address space size as your running ‘
# . ‘kernel.’ . “\n\n”, 0);
# }
# return ‘’;
#}
A questo punto il modulo per il kernel dovrebbe compilarsi senza ricevere più il fastidioso errore!
Ciao
Scoperchiatore
11-05-2006, 16:09
the file "linux/version.h" as expected
Chiede il path in cui risiede quel file.
Un bel
find /usr | grep version.h
ti dovrebbe dire il path giusto.
manowar84
11-05-2006, 16:13
sembrerebbe ke il kernel che stai utilizzando nn e' quello che trova sui sorgenti..
Sicuro che e' lo stesso kernel?
Qualche tempo fa con vmware giravano patch per farlo funzionare con kernel nuovi..
Hai l'ultima versione? Hai guardato se la versione che hai funziona bene con il kernel che hai installato?
si ahimè ho l'ultimissima versione! infatti è stranissimo, il kernel è giusto! voglio dire, l'ho compilato ieri con quei sorgenti non ho sbagliato sono sicuro!
ora provo come dice scorpion appena finisco di compilare il 2.6.16.16! grazie x ora a tutti!
manowar84
11-05-2006, 16:13
the file "linux/version.h" as expected
Chiede il path in cui risiede quel file.
Un bel
find /usr | grep version.h
ti dovrebbe dire il path giusto.
già fatto, il path è giusto! :muro:
manowar84
11-05-2006, 17:10
Prova a fare cosi:
aprire il file /usr/bin/vmware-config.pl e trovare il codice che inizia con la seguente la riga:
if (defined($gSystem{'page_offset'}) and
e commentare quello che segue così come indicato:
# if (defined($gSystem{'page_offset'}) and
# not (lc($header_page_offset) eq lc($gSystem{’page_offset’}))) {
# if ($source eq ‘user’) {
# print wrap(’The kernel defined by this directory of header files does ‘
# . ‘not have the same address space size as your running ‘
# . ‘kernel.’ . “\n\n”, 0);
# }
# return ‘’;
#}
A questo punto il modulo per il kernel dovrebbe compilarsi senza ricevere più il fastidioso errore!
Ciao
oddio santo sto smadonnando!! allora...
se commento questo mi viene fuori:
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.16.12/build/include] /usr/src/linux-2.6.16.12/include
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /usr/src/linux-2.6.16.12/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.16.12'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:60: error: conflicting types for 'poll_initwait'
include/linux/poll.h:45: error: previous declaration of 'poll_initwait' was here
/tmp/vmware-config2/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.12'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
debian:/usr/bin#
insomma, ma perchè diavolo fa così, ho compilato il kernel nuovo, ho fatto il boot con quello e... il kernel è sbagliato e non compila... no dai, ma mi sta prendendo in giro?? :muro:
Psycotic
11-05-2006, 17:21
http://ftp.cvut.cz/vmware/
vmware-any-any-109
Qui ce una patch nn so se fa a caso tuo..
manowar84
13-05-2006, 09:55
http://ftp.cvut.cz/vmware/
vmware-any-any-109
Qui ce una patch nn so se fa a caso tuo..
ti ringrazio ma mi chiedeva la stessa cosa!
In ogni caso ho risolto. Sulla vecchia debian avevo il 2.6.15.1 come kernel e ho pensato: "mi riscarico quel kernel, me lo ricompilo e voglio proprio vedere se rifunziona. Beh risultato, il config finalmente va e sono riuscito a completare l'installazione! Insomma, non era un problema mio ma di vmware che non riconosce gli ultimi kernel. Mi terrò il 2.6.15 finche non uscirà una nuova versione! Grazie a tutti per l'aiuto! ;)
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.