免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7840 | 回复: 4
打印 上一主题 下一主题

ubuntu安装vmware的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-06-13 09:28 |只看该作者 |倒序浏览
Starting VMware services:
   VMware USB Arbitrator                                               done
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                   failed
安装好运行之后系统提醒这个,不知道哦是怎么回事?有过这经历或者知道的帮帮忙!!
谢谢!!

论坛徽章:
0
2 [报告]
发表于 2011-06-13 10:16 |只看该作者
怎么我的经历这么坎坷阿??悲剧哟!
6月 13 10:08:15.722: app-3078014656| Failed to compile module vmnet!
查看了文件有这个failed,大家知道的冒个吧!怎么半天没人来阿?

论坛徽章:
22
丑牛
日期:2014-08-15 14:32:0015-16赛季CBA联赛之同曦
日期:2017-12-14 15:28:14黑曼巴
日期:2017-08-10 08:14:342017金鸡报晓
日期:2017-02-08 10:39:42黑曼巴
日期:2016-11-15 15:48:38CU十四周年纪念徽章
日期:2016-11-09 13:19:1015-16赛季CBA联赛之同曦
日期:2016-04-08 18:00:03平安夜徽章
日期:2015-12-26 00:06:30程序设计版块每日发帖之星
日期:2015-12-03 06:20:002015七夕节徽章
日期:2015-08-21 11:06:17IT运维版块每日发帖之星
日期:2015-08-09 06:20:002015亚冠之吉达阿赫利
日期:2015-07-03 08:39:42
3 [报告]
发表于 2011-06-13 10:19 |只看该作者
ubuntu下用virtualbox挺好的

论坛徽章:
0
4 [报告]
发表于 2011-06-13 12:44 |只看该作者
楼主 ubuntu 那个 vmware工具 是正常装上去的吗?
安装时 要改src下的头文件的,这些是不是 改过了

论坛徽章:
0
5 [报告]
发表于 2011-06-13 22:00 |只看该作者
本帖最后由 VC雄关漫道 于 2011-06-13 23:12 编辑

vmware是正常安装上去的,在官方下的.bundle文件,然后用sudo su命令./*.bundle直接安装,安装过程没有什么问题,一直到安装结束。出现问题是在启动vmware的过程中出现的。
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
下面是出错代码部分(大家有时间帮忙找找是沙漠子问题!谢谢拉!):
  1. 6月 13 22:10:02.683: app-3077920448| Log for VMware Workstation pid=5267 version=7.0.0 build=build-203739 option=Release
  2. 6月 13 22:10:02.683: app-3077920448| The process is 32-bit.
  3. 6月 13 22:10:02.683: app-3077920448| Host codepage=UTF-8 encoding=UTF-8
  4. 6月 13 22:10:02.683: app-3077920448| Logging to /tmp/vmware-root/setup-5267.log
  5. 6月 13 22:10:02.798: app-3077920448| modconf query interface initialized
  6. 6月 13 22:10:02.798: app-3077920448| modconf library initialized
  7. 6月 13 22:10:02.824: app-3077920448| Your GCC version: 4.4
  8. 6月 13 22:10:02.829: app-3077920448| Your GCC version: 4.4
  9. 6月 13 22:10:02.836: app-3077920448| Your GCC version: 4.4
  10. 6月 13 22:10:02.848: app-3077920448| Your GCC version: 4.4
  11. 6月 13 22:10:02.856: app-3077920448| Your GCC version: 4.4
  12. 6月 13 22:10:02.883: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  13. 6月 13 22:10:02.886: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  14. 6月 13 22:10:02.889: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  15. 6月 13 22:10:02.893: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  16. 6月 13 22:10:02.896: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  17. 6月 13 22:10:02.911: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  18. 6月 13 22:10:02.914: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  19. 6月 13 22:10:02.918: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  20. 6月 13 22:10:02.921: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  21. 6月 13 22:10:02.925: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  22. 6月 13 22:10:02.928: app-3077920448| Your GCC version: 4.4
  23. 6月 13 22:10:02.936: app-3077920448| Your GCC version: 4.4
  24. 6月 13 22:10:02.971: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  25. 6月 13 22:10:02.974: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  26. 6月 13 22:10:02.978: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  27. 6月 13 22:10:02.981: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  28. 6月 13 22:10:02.984: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  29. 6月 13 22:10:02.988: app-3077920448| Your GCC version: 4.4
  30. 6月 13 22:10:02.995: app-3077920448| Your GCC version: 4.4
  31. 6月 13 22:10:03.033: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  32. 6月 13 22:10:03.036: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  33. 6月 13 22:10:03.040: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  34. 6月 13 22:10:03.043: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  35. 6月 13 22:10:03.046: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  36. 6月 13 22:10:03.694: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  37. 6月 13 22:10:03.695: app-3077920448| Building module vmmon.
  38. 6月 13 22:10:03.695: app-3077920448| Extracting the sources of the vmmon module.
  39. 6月 13 22:10:03.705: app-3077920448| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.32-21-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.3
  40. 6月 13 22:10:08.783: app-3077920448| Installing module vmmon from /tmp/vmware-root/modules/vmmon.o.
  41. 6月 13 22:10:08.784: app-3077920448| Registering file: /usr/lib/vmware-installer/1.1/vmware-installer --register-file vmware-player-app regular /lib/modules/2.6.32-21-generic/misc/vmmon.o
  42. 6月 13 22:10:09.292: app-3077920448| Registering file: /usr/lib/vmware-installer/1.1/vmware-installer --register-file vmware-player-app regular /lib/modules/2.6.32-21-generic/misc/vmmon.ko
  43. 6月 13 22:10:10.188: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  44. 6月 13 22:10:10.188: app-3077920448| Building module vmnet.
  45. 6月 13 22:10:10.188: app-3077920448| Extracting the sources of the vmnet module.
  46. [b]6月 13 22:10:10.197: app-3077920448| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmnet-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.32-21-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.3
  47. 6月 13 22:10:15.274: app-3077920448| Failed to compile module vmnet![/b]
  48. 6月 13 22:10:15.279: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  49. 6月 13 22:10:15.280: app-3077920448| Building module vmblock.
  50. 6月 13 22:10:15.280: app-3077920448| Extracting the sources of the vmblock module.
  51. 6月 13 22:10:15.289: app-3077920448| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmblock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.32-21-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.3
  52. 6月 13 22:10:18.934: app-3077920448| Installing module vmblock from /tmp/vmware-root/modules/vmblock.o.
  53. 6月 13 22:10:18.934: app-3077920448| Registering file: /usr/lib/vmware-installer/1.1/vmware-installer --register-file vmware-player-app regular /lib/modules/2.6.32-21-generic/misc/vmblock.o
  54. 6月 13 22:10:19.460: app-3077920448| Registering file: /usr/lib/vmware-installer/1.1/vmware-installer --register-file vmware-player-app regular /lib/modules/2.6.32-21-generic/misc/vmblock.ko
  55. 6月 13 22:10:20.352: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  56. 6月 13 22:10:20.353: app-3077920448| Building module vmci.
  57. 6月 13 22:10:20.353: app-3077920448| Extracting the sources of the vmci module.
  58. 6月 13 22:10:20.361: app-3077920448| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.32-21-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.3
  59. 6月 13 22:10:25.556: app-3077920448| Installing module vmci from /tmp/vmware-root/modules/vmci.o.
  60. 6月 13 22:10:25.557: app-3077920448| Registering file: /usr/lib/vmware-installer/1.1/vmware-installer --register-file vmware-player-app regular /lib/modules/2.6.32-21-generic/misc/vmci.o
  61. 6月 13 22:10:26.090: app-3077920448| Registering file: /usr/lib/vmware-installer/1.1/vmware-installer --register-file vmware-player-app regular /lib/modules/2.6.32-21-generic/misc/vmci.ko
  62. 6月 13 22:10:26.983: app-3077920448| Trying to find a suitable PBM set for kernel 2.6.32-21-generic.
  63. 6月 13 22:10:26.983: app-3077920448| Building module vmci.
  64. 6月 13 22:10:26.983: app-3077920448| Extracting the sources of the vmci module.
  65. 6月 13 22:10:26.993: app-3077920448| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.32-21-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.3
  66. 6月 13 22:10:27.657: app-3077920448| Building module vsock.
  67. 6月 13 22:10:27.657: app-3077920448| Extracting the sources of the vsock module.
  68. 6月 13 22:10:27.667: app-3077920448| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vsock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.32-21-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.3
  69. 6月 13 22:10:31.492: app-3077920448| Installing module vsock from /tmp/vmware-root/modules/vsock.o.
  70. 6月 13 22:10:31.492: app-3077920448| Registering file: /usr/lib/vmware-installer/1.1/vmware-installer --register-file vmware-player-app regular /lib/modules/2.6.32-21-generic/misc/vsock.o
  71. 6月 13 22:10:31.980: app-3077920448| Registering file: /usr/lib/vmware-installer/1.1/vmware-installer --register-file vmware-player-app regular /lib/modules/2.6.32-21-generic/misc/vsock.ko
复制代码
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6月 13 22:10:10.197: app-3077920448| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmnet-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.32-21-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.3
6月 13 22:10:15.274: app-3077920448| Failed to compile module vmnet!

我看这两行很重要吧,特别是上面那条command。我运行了结果如下:
Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmnet-only'
make -C /lib/modules/2.6.32-21-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
          MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
  CC [M]  /tmp/vmware-root/modules/vmnet-only/vnetUserListener.o
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c: In function ‘VNetUserListenerEventHandler’:
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: (Each undeclared identifier is reported only once
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: for each function it appears in.)
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c: In function ‘VNetUserListenerRead’:
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: implicit declaration of function ‘signal_pending’
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: implicit declaration of function ‘schedule’
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/vnetUserListener.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmnet-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
make: *** [vmnet.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmnet-only”
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
接下来我太兴奋了,一天的探索终于把事情解决了,我是在太兴奋了!是相当的兴奋!
下面说说我的过程:
到了上面可以看出少了两个东西了吧:vnetUserListener.o!!!我以这个为关键字在百度上搜索(由于听说百度只管八卦,技术的要靠谷歌),结果没有采用,谷歌上找到了一个网站,神帖呀真乃神帖!!
¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥
http://stulog.com/?post=242(下面摘自这个神帖)
最近刚升级系统到ubuntu 10.04,安装vmware workstation 7的时候竟然在编译vmnet模块的时候失败了。导致vmware无法启动,这是因为2.6.32版本的kernel的缘故。
解决方法如下:

$ cd /tmp
$ tar xf /usr/lib/vmware/modules/source/vmnet.tar
$ cd vmnet-only
$ vi vnetUserListener.c
go to line 37 (after the last include), add this line:  #include “compat_sched.h” then save and exit
$ cd /tmp
$ sudo tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only
$  vmware
¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥
自此问题解决!!欲哭无泪呀!!
感谢大家捧场!太感谢了!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP