Re: [Fedora-users-br] Instalação vmware fedora 6

Otto Fuchshuber Filho o2to2f em gmail.com
Qua Abr 4 11:09:58 UTC 2007


Recentemente postei a solução, segue:

-------- Mensagem original --------
Assunto: kernel 2.6.20 x vmplayer
Data: Sat, 17 Mar 2007 16:15:36 -0300
De: Otto Fuchshuber Filho <o2to2f em gmail.com>
Para: Lista de discussão voltada para os usuários brasileiros do
Fedora <fedora-users-br em redhat.com>


Para quem usa FC6 e vmplayer:

Fiz upgrade p/o kernel 2.6.20 e o vmplayer não compilou mais.

Segue abaixo a solução que funcionou:

# As root, cd to /usr/lib/vmware/modules/source
# untar vmmon.tar and then move vmmon.tar to vmmon.tar.orig (just
to be safe)
# edit ./vmmon-only/include/compat_kernel.h and comment out line
21 with 2 slashes: //static inline _syscall1(int, compat_exit,
int, exit_code);
# tar vmmon-only and rename resultant archive to vmmon.tar. (I
used nautilus "create archive")
# run vmplayer-config.pl

fonte:
http://forums.fedoraforum.org/showpost.php?p=761622&postcount=5

-- 
Saudações,
Otto Fuchshuber Filho
o2to2f em gmail.com


2007/4/3, PaTricK <patrick_rsl em yahoo.com.br>:
> Olá,
> Bom, eu tinha o vmware funcionando direitinho, depoix de atualizar o fc5
> pra o fc6 com o yum, dai somente fiz esse comando ali e volto a
> funciona, mas eu consegui o cd do fc 6 e botei pra atualiza pensando que
> poderia faze alguma diferença, e fez, desatualizo alguns pacotes e o
> kernel. Então atualizei tudo novamento com o yum e fui tenta faze
> funciona o vmware novamente e estou tento o seguinte erro:
>
> [root em localhost ~]# vmware-config.pl -d
> Making sure services for VMware Workstation are stopped.
>
> Stopping VMware services:
> Virtual machine monitor [ OK ]
>
> Configuring fallback GTK+ 2.4 libraries.
>
> In which directory do you want to install the mime type icons?
> [/usr/share/icons]
>
> What directory contains your desktop menu entry files? These files have a
> .desktop file extension. [/usr/share/applications]
>
> In which directory do you want to install the application's icon?
> [/usr/share/pixmaps]
>
> 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/kernels/2.6.20-1.2933.fc6-i686/include]
>
> Extracting the sources of the vmmon module.
>
> Building the vmmon module.
>
> Building for VMware Workstation 5.5.2 or 5.5.3.
> Using 2.6.x kernel build system.
> make: Entrando no diretório `/tmp/vmware-config13/vmmon-only'
> make -C /usr/src/kernels/2.6.20-1.2933.fc6-i686/include/.. SUBDIRS=$PWD
> SRCROOT=$PWD/. modules
> make[1]: Entrando no diretório `/usr/src/kernels/2.6.20-1.2933.fc6-i686'
> CC [M] /tmp/vmware-config13/vmmon-only/linux/driver.o
> CC [M] /tmp/vmware-config13/vmmon-only/linux/hostif.o
> CC [M] /tmp/vmware-config13/vmmon-only/common/cpuid.o
> CC [M] /tmp/vmware-config13/vmmon-only/common/hash.o
> CC [M] /tmp/vmware-config13/vmmon-only/common/memtrack.o
> CC [M] /tmp/vmware-config13/vmmon-only/common/phystrack.o
> CC [M] /tmp/vmware-config13/vmmon-only/common/task.o
> cc1plus: warning: command line option
> "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wdeclaration-after-statement" is
> valid for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wno-pointer-sign" is valid for
> C/ObjC but not for C++
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
> Ada/C/ObjC but not for C++
> cc1plus: warning: command line option "-ffreestanding" is valid for
> C/ObjC but not for C++
> /tmp/vmware-config13/vmmon-only/common/task_compat.h: In function 'int
> Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV321]':
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1522: warning:
> 'sysenterState.SysenterStateV45::rsp' is used uninitialized in this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1523: warning:
> 'sysenterState.SysenterStateV45::rip' is used uninitialized in this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in
> this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h: In function 'int
> Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV3]':
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1522: warning:
> 'sysenterState.SysenterStateV45::rsp' is used uninitialized in this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1523: warning:
> 'sysenterState.SysenterStateV45::rip' is used uninitialized in this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in
> this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h: In function 'int
> Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageGSX1]':
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1522: warning:
> 'sysenterState.SysenterStateV45::rsp' is used uninitialized in this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1523: warning:
> 'sysenterState.SysenterStateV45::rip' is used uninitialized in this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in
> this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h: In function 'int
> Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV2]':
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1522: warning:
> 'sysenterState.SysenterStateV45::rsp' is used uninitialized in this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1523: warning:
> 'sysenterState.SysenterStateV45::rip' is used uninitialized in this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in
> this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h: In function 'int
> Vmx86_RunVM_V4(VMDriver*, Vcpuid) [with VMCrossPage = VMCrossPageV4]':
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in
> this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h: In function 'int
> Vmx86_RunVM(VMDriver*, Vcpuid)':
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1522: warning:
> 'sysenterState.SysenterStateV45::rsp' is used uninitialized in this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1523: warning:
> 'sysenterState.SysenterStateV45::rip' is used uninitialized in this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in
> this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in
> this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in
> this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:2073: warning:
> 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h: In function 'void
> Task_Switch_V45(VMDriver*, Vcpuid)':
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1713: warning:
> 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in
> this function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1713: warning:
> 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1713: warning:
> 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this
> function
> /tmp/vmware-config13/vmmon-only/common/task_compat.h:1713: warning:
> 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this
> function
> CC [M] /tmp/vmware-config13/vmmon-only/common/vmx86.o
> CC [M] /tmp/vmware-config13/vmmon-only/vmcore/compat.o
> CC [M] /tmp/vmware-config13/vmmon-only/vmcore/moduleloop.o
> LD [M] /tmp/vmware-config13/vmmon-only/vmmon.o
> Building modules, stage 2.
> MODPOST 1 modules
> CC /tmp/vmware-config13/vmmon-only/vmmon.mod.o
> LD [M] /tmp/vmware-config13/vmmon-only/vmmon.ko
> make[1]: Saindo do diretório `/usr/src/kernels/2.6.20-1.2933.fc6-i686'
> cp -f vmmon.ko ./../vmmon.o
> make: Saindo do diretório `/tmp/vmware-config13/vmmon-only'
> Unable to make a vmmon module that can be loaded in the running kernel:
> insmod: error inserting '/tmp/vmware-config13/vmmon.o': -1 Invalid
> module format
> 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.
>
> 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.
> [root em localhost ~]#
>
> Eu já desintalei e instalei novamente mas continuo o mesmo problema!
>
> Alguém poderia me ajudar?
>
> PaTricK
>
>
> --
> Fedora-users-br mailing list
> Fedora-users-br em redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-users-br
>
>




Mais detalhes sobre a lista de discussão Fedora-users-br