VMWare player - compilando módulos do servidor - Ubuntu 13.10

1

Enquanto rodava o Ubuntu 13.04 sempre que o kernel Linux era atualizado, isso costumava deixar o player do vmware feliz:

sudo apt-get install linux-headers-$(uname -r)
sudo vmware-modconfig --console --install-all

Ontem atualizei para o Ubuntu 13.10 e eis que a solução acima não funciona mais:

Unable to install all modules.  See log for details.

Eu assumo por "Ver log" significa os arquivos em / tmp / vmware-root / * log

root@hugin:/tmp/vmware-root# ls -ltr /tmp/vmware-root/
totalt 16
-rw-r--r-- 1 root root 3815 nov  6 13:54 vmware-apploader-17267.log
-rw-r--r-- 1 root root    0 nov  6 13:54 vmware-vmis-17693.log
-rw-r--r-- 1 root root    0 nov  6 13:54 vmware-vmis-17742.log
-rw-r--r-- 1 root root    0 nov  6 13:54 vmware-vmis-18701.log
-rw-r--r-- 1 root root    0 nov  6 13:54 vmware-vmis-18750.log
-rw-r--r-- 1 root root    0 nov  6 13:54 vmware-vmis-19100.log
-rw-r--r-- 1 root root    0 nov  6 13:54 vmware-vmis-19149.log
-rw-r--r-- 1 root root 9250 nov  6 13:54 vmware-modconfig-17267.log

root@hugin:/tmp/vmware-root# tail /tmp/vmware-root/vmware-modconfig-17267.log
2013-11-06T13:54:28.950+01:00| modconfig| I120: Copied Module.symvers from "/tmp/modconfig-wpDrtf/vmci-only/Module.symvers" to "/tmp/modconfig-wpDrtf/vsock-only/Module.symvers".
2013-11-06T13:54:28.950+01:00| modconfig| I120: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-wpDrtf/vsock-only auto-build HEADER_DIR=/lib/modules/3.11.0-12-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2013-11-06T13:54:31.048+01:00| modconfig| I120: Successfully built vsock.  Module is currently at "/tmp/modconfig-wpDrtf/vsock.o".
2013-11-06T13:54:31.048+01:00| modconfig| I120: Found the vsock symvers file at "/tmp/modconfig-wpDrtf/vsock-only/Module.symvers".
2013-11-06T13:54:31.048+01:00| modconfig| I120: Installing vsock from /tmp/modconfig-wpDrtf/vsock.o to /lib/modules/3.11.0-12-generic/misc/vsock.ko.
2013-11-06T13:54:31.048+01:00| modconfig| I120: Registering file "/lib/modules/3.11.0-12-generic/misc/vsock.ko".
2013-11-06T13:54:31.400+01:00| modconfig| I120: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.
2013-11-06T13:54:31.400+01:00| modconfig| I120: Registering file "/usr/lib/vmware/symvers/vsock-3.11.0-12-generic".
2013-11-06T13:54:31.764+01:00| modconfig| I120: "/usr/lib/vmware-installer/2.1.0vmware-installer" exited with status 0.
2013-11-06T13:54:31.786+01:00| modconfig| I120: We are now shutdown.  Ready to die!


root@hugin:/tmp/vmware-root# tail /tmp/vmware-root/vmware-apploader-17267.log 
2013-11-06T13:54:20.911+01:00| appLoader| I120: libglib-2.0.so.0 <SYSTEM>
2013-11-06T13:54:20.911+01:00| appLoader| I120: libz.so.1 <SYSTEM>
2013-11-06T13:54:20.911+01:00| appLoader| I120: libvmware-modconfig-console.so <SHIPPED>
2013-11-06T13:54:20.912+01:00| appLoader| I120: Shipped glib version is 2.24
2013-11-06T13:54:20.912+01:00| appLoader| I120: System glib version is 2.38
2013-11-06T13:54:20.912+01:00| appLoader| I120: Using system version of glib.
2013-11-06T13:54:20.912+01:00| appLoader| I120: Loading system version of libgcc_s.so.1.
2013-11-06T13:54:20.912+01:00| appLoader| I120: Loading system version of libglib-2.0.so.0.
2013-11-06T13:54:20.912+01:00| appLoader| I120: Loading system version of libz.so.1.
2013-11-06T13:54:20.912+01:00| appLoader| I120: Loading shipped version of libxml2.so.2.
    
por user211976 06.11.2013 / 14:00

1 resposta

2

Veja esta resposta nos fóruns da vmware: link

Estou citando a resposta de Rainmaker52 aqui (Rainmaker52, espero que você esteja bem com isso):

  

Os patches para a estação de trabalho 9.0.2 também parecem se aplicar de forma limpa a 2013.   Somente a "interface de comunicação da máquina virtual" parece falhar na inicialização, mas a estação de trabalho do VMWare abre em OK e as VMs são executadas corretamente.

     

Iniciando os serviços do VMware:

     

Monitor de máquina virtual concluído
  Interface de comunicação da máquina virtual falhou
  Família de Soquetes da Interface de Comunicação da VM Concluída
  Bloqueando o sistema de arquivos concluído
  Virtual ethernet feito
  VMware Authentication Daemon concluído

     

# uname -a   Computador portátil Linux 3.11.0-rc6-minbcache-00008-gbe5d42a # 1 SMP PREÇO Sun 25 de agosto 14:47:02 CEST 2013 x86_64 x86_64 x86_64 GNU / Linux

     

Patches a serem aplicados:   Ao executar o kernel 3.10:

     

Para vmnet.tar: [Veja o tópico do fórum vinculado acima. Eu não tenho reputação suficiente para colocar mais links aqui]

     

Para vmblock.tar: [Veja o tópico do fórum vinculado acima. Eu não tenho reputação suficiente para colocar mais links aqui]

     

Ao executar o 3.11, aplique este patch extra: [Veja o tópico do fórum linkado acima. Eu não tenho reputação suficiente para colocar mais links aqui]

     

Para aplicar:

cd /usr/lib/vmware/modules/source
tar -xf vmnet.tar
tar -xf vmblock.tar
cd vmnet-only
patch -p1 < ~/Downloads/procfs.patch
cd ../vmblock-only
patch -p1 < ~/Downloads/vmblock.3.10.patch
patch -p1 < ~/Downloads/vmblock.3.11.patch
cd ..
tar -cf vmblock.tar vmblock-only
tar -cf vmnet.tar vmnet-only
vmware-modconfig --console --install-all
  

Boa sorte.

Acabei de testar isso na minha máquina e funcionou.

    
por jonas arnfred 12.11.2013 / 11:15