|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Feb 2005
Città: Roma
Messaggi: 4418
|
Problemissimo con Vmware Workstation e Kernel
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: Codice:
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] ![]() Scusate dove sbaglio?? datemi una mano!! vi posto lo screen: ![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Feb 2005
Città: Roma
Messaggi: 4418
|
ragazzi andiamo...nessuno mi sa dare una mano?
![]() |
![]() |
![]() |
![]() |
#3 | |
Senior Member
Iscritto dal: Apr 2003
Messaggi: 333
|
Allora
Quote:
Ciao Ciao Ultima modifica di stefanognogno : 11-05-2006 alle 15:57. |
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
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?
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Mar 2006
Città: Bottegone (PT)
Messaggi: 978
|
Prova a fare cosi:
aprire il file /usr/bin/vmware-config.pl e trovare il codice che inizia con la seguente la riga: Codice:
if (defined($gSystem{'page_offset'}) and Codice:
# 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 ‘’; #} Ciao
__________________
TC FUCKKKKKKKKKKKKKKKKKKKKKK | Pronto per il prossimo raduno, Oh YEAHHHH
|
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Sep 2001
Città: Roma
Messaggi: 1944
|
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.
__________________
"Oggi è una di quelle giornate in cui il sole sorge veramente per umiliarti" Chuck Palahniuk Io c'ero |
![]() |
![]() |
![]() |
#7 | |
Senior Member
Iscritto dal: Feb 2005
Città: Roma
Messaggi: 4418
|
Quote:
ora provo come dice scorpion appena finisco di compilare il 2.6.16.16! grazie x ora a tutti! |
|
![]() |
![]() |
![]() |
#8 | |
Senior Member
Iscritto dal: Feb 2005
Città: Roma
Messaggi: 4418
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#9 | |
Senior Member
Iscritto dal: Feb 2005
Città: Roma
Messaggi: 4418
|
Quote:
se commento questo mi viene fuori: Codice:
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# ![]() |
|
![]() |
![]() |
![]() |
#10 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#11 | |
Senior Member
Iscritto dal: Feb 2005
Città: Roma
Messaggi: 4418
|
Quote:
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! ![]() |
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 04:36.