View previous topic :: View next topic |
Author |
Message |
flocchini Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/2121369000436c9f643de7a.gif)
Joined: 17 May 2003 Posts: 1124 Location: Milano, Italy
|
Posted: Fri Apr 02, 2004 4:29 pm Post subject: Problematico aggiornamento di vmware [risolto] |
|
|
Ho aggiornato vmware e lanciato vmware-config.pl ma spunta questo errore
Code: | LD [M] /tmp/vmware-config3/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.1-gentoo'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config3/vmnet-only'
Unable to make a vmnet module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config3/vmnet.o': -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory. |
Sinceramente questo messaggio d'errore mi e' abbastanza oscuro, il mio kernel e' il 2.6.1gentoo (il 2.6.3 mi dava strani conflitti con arts e ho lasciato perdere) _________________ ~~ Per amore della rosa si sopportano le spine... ~~
Last edited by flocchini on Sat Apr 03, 2004 2:53 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31470 Location: here
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flocchini Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/2121369000436c9f643de7a.gif)
Joined: 17 May 2003 Posts: 1124 Location: Milano, Italy
|
Posted: Fri Apr 02, 2004 5:08 pm Post subject: |
|
|
Avevo gia' trovato quel topic, ma non e' il mio caso (il titolo del mio in effetti non e' corretto)
vmware funzionava. Poi oggi puff... nn partiva. Allora ho rifatto la config ed e' spuntato fuori l'errore. Allora ho aggiornato pensando sparisse e invece nada. Quindi se l'ho compilato una volta dubito di aver bisogno di patch o robe strane, deve essere successo qualcosa, ma che cosa? O_o _________________ ~~ Per amore della rosa si sopportano le spine... ~~ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flocchini Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/2121369000436c9f643de7a.gif)
Joined: 17 May 2003 Posts: 1124 Location: Milano, Italy
|
Posted: Fri Apr 02, 2004 5:20 pm Post subject: |
|
|
Uhm... leggendo piu' attentamente in effetti potrebbe c'entrare, grazie per avermelo riproposto (ma allora non uso vmware da quando ho il 2.6? mah ) L'unica remora e' patchare il gcc per far funzionare vmware... Non e' che poi corrompo gcc e resto a piedi? Non ho idea di cosa comporti la patch proposta come soluzione
MrCoffee wrote: | 1. emerge the latest vmware-workstation like gonzalo said.
2. reverse the gcc-3.5-exit-fix.patch:
Code: | include/asm/unistd.h:397: warning: conflicting types for built-in function '_exit'
Just remove the dang thing - nobody uses _exit().
---
include/asm-i386/unistd.h | 1 -
1 files changed, 1 deletion(-)
diff -puN include/asm-i386/unistd.h~gcc-35-exit-fix include/asm-i386/unistd.h
--- 25/include/asm-i386/unistd.h~gcc-35-exit-fix 2004-01-19 23:00:21.000000000 -0800
+++ 25-akpm/include/asm-i386/unistd.h 2004-01-19 23:01:14.000000000 -0800
@@ -394,7 +394,6 @@ static inline _syscall1(int,dup,int,fd)
static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp)
static inline _syscall3(int,open,const char *,file,int,flag,int,mode)
static inline _syscall1(int,close,int,fd)
-static inline _syscall1(void,_exit,int,exitcode)
static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
#endif
|
I put the file in my /usr/src dir, then from inside linux-2.6.1-mm5:
Code: | patch -p1 -R < ../gcc-3.5-exit-fix.patch |
3. I recompiled the kernel to be safe.
4. Edit /usr/src/linux/include/asm-i386/unistd.h and add:
Code: |
#define __NR__exit __NR_exit
|
right after Code: | #define __NR_exit 1 |
5. Run runme.pl from the any any patches.
VMWare should now run on your 2.6 kernel. |
c'e' da fidarsi secondo voi? _________________ ~~ Per amore della rosa si sopportano le spine... ~~ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31470 Location: here
|
Posted: Fri Apr 02, 2004 5:21 pm Post subject: |
|
|
Non hai fatto niente da quando funzionava ad adesso? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31470 Location: here
|
Posted: Fri Apr 02, 2004 5:22 pm Post subject: |
|
|
flocchini wrote: | (ma allora non uso vmware da quando ho il 2.6? mah ) |
Appunto a questo che volevo arrivare per il kernel 2.6 c'e' una patch. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flocchini Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/2121369000436c9f643de7a.gif)
Joined: 17 May 2003 Posts: 1124 Location: Milano, Italy
|
Posted: Fri Apr 02, 2004 5:59 pm Post subject: |
|
|
Evidentemente con il 2.6 non l'avevo mai usata... Ma mi sembra stranissimo
Vorra' dire che prendero' il coraggio a 2 mani e provero' sta patch ![Wink :wink:](images/smiles/icon_wink.gif) _________________ ~~ Per amore della rosa si sopportano le spine... ~~ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
motaboy Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/146642313240262a7185133.png)
Joined: 15 Dec 2003 Posts: 1483
|
Posted: Fri Apr 02, 2004 6:15 pm Post subject: |
|
|
Io l'ho installato con kernel 2.6.4-gentoo e 2.6.5-rc1 senza problemi.
Per caso passi la directory degli include o tieni quella scelta da lui? (io mantango le sue scelte).
Bye! _________________ ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flocchini Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/2121369000436c9f643de7a.gif)
Joined: 17 May 2003 Posts: 1124 Location: Milano, Italy
|
Posted: Fri Apr 02, 2004 6:51 pm Post subject: |
|
|
io tenevo quelle di default... proviamo ad aggiornare il kernel, mi sembra piu' sicuro piuttosto che toccare gcc _________________ ~~ Per amore della rosa si sopportano le spine... ~~ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flocchini Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/2121369000436c9f643de7a.gif)
Joined: 17 May 2003 Posts: 1124 Location: Milano, Italy
|
Posted: Sat Apr 03, 2004 11:40 am Post subject: |
|
|
Con il 2.6.4 funziona a meraviglia ![Wink :wink:](images/smiles/icon_wink.gif) _________________ ~~ Per amore della rosa si sopportano le spine... ~~ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
motaboy Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/146642313240262a7185133.png)
Joined: 15 Dec 2003 Posts: 1483
|
Posted: Sat Apr 03, 2004 1:09 pm Post subject: |
|
|
Bene molto.
Vai di [risolto] nel titolo.
Bye! _________________ ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|