VMWare 播放器 - 编译服务器模块 - Ubuntu 13.10

VMWare 播放器 - 编译服务器模块 - Ubuntu 13.10

每当 Linux 内核更新时,运行 Ubuntu 13.04 时,这都会让 vmware player 感到高兴:

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

昨天我升级到了 Ubuntu 13.10,但上面的解决方法不再起作用了:

Unable to install all modules.  See log for details.

我假设“查看日志”是指 /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.

答案1

请参阅 vmware 论坛上的以下答案: https://communities.vmware.com/message/2282385

我在这里引用 Rainmaker52 的回答(Rainmaker52,我希望你同意这一点):

工作站 9.0.2 的补丁似乎也适用于 2013。只有“虚拟机通信接口”似乎无法启动,但 VMWare 工作站可以正常打开,虚拟机运行良好。

启动 VMware 服务:

虚拟机监视器 完毕
虚拟机通信接口 失败的
VM通信接口套接字系列 完毕
阻止文件系统 完毕
虚拟以太网 完毕
VMware 身份验证守护进程 完毕

# uname -a Linux 笔记本电脑 3.11.0-rc6-minbcache-00008-gbe5d42a #1 SMP PREEMPT 2013 年 8 月 25 日星期日 14:47:02 CEST x86_64 x86_64 x86_64 GNU/Linux

要应用的补丁:运行内核 3.10 时:

对于 vmnet.tar:[请参阅上面链接的论坛主题。我的声誉不够,无法在此处添加更多链接]

对于 vmblock.tar:[请参阅上面链接的论坛帖子。我的声誉不够,无法在此处添加更多链接]

运行 3.11 时,请应用此额外补丁:[请参阅上面链接的论坛帖子。我的声誉不够,无法在此处添加更多链接]

申请:

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

祝你好运。

我刚刚在我的计算机上测试过并且成功了。

相关内容