Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problematico aggiornamento di vmware [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Fri Apr 02, 2004 4:29 pm    Post subject: Problematico aggiornamento di vmware [risolto] Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31470
Location: here

PostPosted: Fri Apr 02, 2004 4:36 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=127682&highlight=vmnet+o
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Fri Apr 02, 2004 5:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Fri Apr 02, 2004 5:20 pm    Post subject: Reply with quote

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 :roll: ) 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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31470
Location: here

PostPosted: Fri Apr 02, 2004 5:21 pm    Post subject: Reply with quote

Non hai fatto niente da quando funzionava ad adesso?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31470
Location: here

PostPosted: Fri Apr 02, 2004 5:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Fri Apr 02, 2004 5:59 pm    Post subject: Reply with quote

Evidentemente con il 2.6 non l'avevo mai usata... Ma mi sembra stranissimo :roll:

Vorra' dire che prendero' il coraggio a 2 mani e provero' sta patch :wink:
_________________
~~ Per amore della rosa si sopportano le spine... ~~
Back to top
View user's profile Send private message
motaboy
Retired Dev
Retired Dev


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Fri Apr 02, 2004 6:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Fri Apr 02, 2004 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Sat Apr 03, 2004 11:40 am    Post subject: Reply with quote

Con il 2.6.4 funziona a meraviglia :wink:
_________________
~~ Per amore della rosa si sopportano le spine... ~~
Back to top
View user's profile Send private message
motaboy
Retired Dev
Retired Dev


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sat Apr 03, 2004 1:09 pm    Post subject: Reply with quote

Bene molto.

Vai di [risolto] nel titolo.

Bye!
_________________
...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum