VMWARE dando erro de modulo, por conta da kernel 4.6.. alguém sabe como resolver?

1. VMWARE dando erro de modulo, por conta da kernel 4.6.. alguém sabe como resolver?

rpy
rpy

(usa Ubuntu)

Enviado em 28/05/2016 - 14:15h

Boa tarde galera, até um tempo estava usando a kernel 4.5 com o VMWARE 12, sem maiores problemas, contudo o ubuntu 16.04 ainda precisa corrigir poucos detalhes, principalmente a falta de suporte a GPU da AMD... Mas o novo kernel 4.6, permiti ter o suporte a algumas placas além de tornar as GPU's mais dinamicas e um melhor aproveitamento da bateria, para notebooks. O grande problema está, quando atualizei e fui o VMWARE ele não mais funcionava informando erro de modulo.
Tentei varias vezes fazer uso do acesso ao servidor sem acesso, e por fim como não conseguiu instalar ele referencia um log, para mostrar qual foi o erro.
Me ajudem galera, faço uso dele e preciso para um trabalho...
Segue a descrição do log.

2016-05-28T13:31:25.843-03:00| vthread-4| I125: Log for VMware Workstation pid=2267 version=12.1.1 build=build-3770994 option=Release
2016-05-28T13:31:25.843-03:00| vthread-4| I125: The process is 64-bit.
2016-05-28T13:31:25.843-03:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8
2016-05-28T13:31:25.843-03:00| vthread-4| I125: Host is Linux 4.6.0-040600-generic Ubuntu 16.04 LTS
2016-05-28T13:31:25.768-03:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": Arquivo ou diretório não encontrado.
2016-05-28T13:31:25.768-03:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2016-05-28T13:31:25.798-03:00| vthread-4| I125: DictionaryLoad: Cannot open file "/home/victorpenna/.vmware/config": Arquivo ou diretório não encontrado.
2016-05-28T13:31:25.798-03:00| vthread-4| I125: PREF Optional preferences file not found at /home/victorpenna/.vmware/config. Using default values.
2016-05-28T13:31:25.894-03:00| vthread-4| W115: Logging to /tmp/vmware-victorpenna/vmware-2267.log
2016-05-28T13:31:25.920-03:00| vthread-4| I125: Obtaining info using the running kernel.
2016-05-28T13:31:25.920-03:00| vthread-4| I125: Created new pathsHash.
2016-05-28T13:31:25.920-03:00| vthread-4| I125: Setting header path for 4.6.0-040600-generic to "/lib/modules/4.6.0-040600-generic/build/include".
2016-05-28T13:31:25.920-03:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-05-28T13:31:26.021-03:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-05-28T13:31:26.021-03:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-05-28T13:31:26.104-03:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T13:31:26.115-03:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-05-28T13:31:26.115-03:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-05-28T13:31:26.249-03:00| vthread-4| I125: found symbol version file /lib/modules/4.6.0-040600-generic/build/Module.symvers
2016-05-28T13:31:26.249-03:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.6.0-040600-generic/build/Module.symvers.
2016-05-28T13:31:26.268-03:00| vthread-4| I125: Read 19147 symbol versions
2016-05-28T13:31:26.274-03:00| vthread-4| I125: Reading in info for the vmmon module.
2016-05-28T13:31:26.274-03:00| vthread-4| I125: Reading in info for the vmnet module.
2016-05-28T13:31:26.274-03:00| vthread-4| I125: Reading in info for the vmblock module.
2016-05-28T13:31:26.274-03:00| vthread-4| I125: Reading in info for the vmci module.
2016-05-28T13:31:26.274-03:00| vthread-4| I125: Reading in info for the vsock module.
2016-05-28T13:31:26.274-03:00| vthread-4| I125: Setting vsock to depend on vmci.
2016-05-28T13:31:26.274-03:00| vthread-4| I125: Invoking modinfo on "vmmon".
2016-05-28T13:31:26.277-03:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-05-28T13:31:26.277-03:00| vthread-4| I125: Invoking modinfo on "vmnet".
2016-05-28T13:31:26.278-03:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-05-28T13:31:26.278-03:00| vthread-4| I125: Invoking modinfo on "vmblock".
2016-05-28T13:31:26.279-03:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-05-28T13:31:26.279-03:00| vthread-4| I125: Invoking modinfo on "vmci".
2016-05-28T13:31:26.280-03:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-05-28T13:31:26.280-03:00| vthread-4| I125: Invoking modinfo on "vsock".
2016-05-28T13:31:26.281-03:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.
2016-05-28T13:31:26.552-03:00| vthread-4| I125: to be installed: vmmon status: 0
2016-05-28T13:31:26.552-03:00| vthread-4| I125: to be installed: vmnet status: 0
2016-05-28T13:31:26.589-03:00| vthread-4| I125: Obtaining info using the running kernel.
2016-05-28T13:31:26.589-03:00| vthread-4| I125: Setting header path for 4.6.0-040600-generic to "/lib/modules/4.6.0-040600-generic/build/include".
2016-05-28T13:31:26.589-03:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-05-28T13:31:26.589-03:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-05-28T13:31:26.589-03:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-05-28T13:31:26.589-03:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T13:31:26.595-03:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-05-28T13:31:26.595-03:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-05-28T13:31:26.726-03:00| vthread-4| I125: found symbol version file /lib/modules/4.6.0-040600-generic/build/Module.symvers
2016-05-28T13:31:26.726-03:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.6.0-040600-generic/build/Module.symvers.
2016-05-28T13:31:26.744-03:00| vthread-4| I125: Read 19147 symbol versions
2016-05-28T13:31:26.745-03:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.6.0-040600-generic/build/include
2016-05-28T13:31:26.745-03:00| vthread-4| I125: Update kernel header path to /lib/modules/4.6.0-040600-generic/build/include
2016-05-28T13:31:26.745-03:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-05-28T13:31:26.745-03:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-05-28T13:31:26.745-03:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-05-28T13:31:26.745-03:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T13:31:26.749-03:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-05-28T13:31:26.749-03:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-05-28T13:31:26.750-03:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"
2016-05-28T13:31:26.752-03:00| vthread-4| I125: Got gcc version "5.3.1".
2016-05-28T13:31:26.752-03:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-05-28T13:31:26.752-03:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".
2016-05-28T13:31:26.754-03:00| vthread-4| I125: Got gcc version "5.3.1".
2016-05-28T13:31:26.754-03:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-05-28T13:31:26.755-03:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "4.6.0-040600-generic".
2016-05-28T13:31:26.755-03:00| vthread-4| I125: No matching PBM set was found for kernel "4.6.0-040600-generic".
2016-05-28T13:31:26.755-03:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-05-28T13:31:26.755-03:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-05-28T13:31:26.755-03:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-05-28T13:31:26.755-03:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-05-28T13:31:26.755-03:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T13:31:26.761-03:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-05-28T13:31:26.761-03:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-05-28T13:31:30.919-03:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-05-28T13:31:30.919-03:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-05-28T13:31:30.919-03:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-05-28T13:31:30.919-03:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-05-28T13:31:30.919-03:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-05-28T13:31:30.924-03:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-05-28T13:31:30.924-03:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-05-28T13:31:30.924-03:00| vthread-4| I125: Relaunching with /usr/bin/vmware-gksu '/usr/bin/vmware-modconfig' --icon='vmware-player' --appname='VMware'



Fico no aguardo galera.



  


2. Como instalou o kernel 4.6 ?

Perfil removido
removido

(usa Nenhuma)

Enviado em 30/05/2016 - 21:27h

Se pegou o kernel da próxima versão do Ubuntu, lembre-se de instalar o pacote com os headers do kernel.


*instale também o pacote dkms, para gerar os drivers quando trocar de kernel
------------------------------------------------------
KISS principle, RTFM and STFW = 42


3. Re: VMWARE dando erro de modulo, por conta da kernel 4.6.. alguém sabe como resolver?

Adriano Matos Meier
et3rn4l

(usa Debian)

Enviado em 29/07/2016 - 08:39h

Passos:

1) tar -xf /usr/lib/vmware/modules/source/vmmon.tar
2) vi vmmon-only/linux/hostif.c
3) Procurar e substituir a ocorrência de get_user_pages() para get_user_pages_remote()
4) tar -cf /usr/lib/vmware/modules/source/vmmon.tar /usr/lib/vmware/modules/source/vmmon-only/
5) tar -xf /usr/lib/vmware/modules/source/vmnet.tar
6) vi vmnet-only/userif.c
7) Procurar e substituir a ocorrência de get_user_pages() para get_user_pages_remote()
8) tar -cf /usr/lib/vmware/modules/source/vmnet.tar /usr/lib/vmware/modules/source/vmnet-only/

Fonte: https://communities.vmware.com/thread/537364?start=0&tstart=0






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts