问题描述
- 使用vmware-package安装VMware服务器1.0.7
- Debian GNU / Linux测试(lenny)
- 内核2.6.26-1-686
- vmware-any-any-update117d
- 不得不更改
VMMON_VERSION
从168到138在vmmon-only / include / iocontrols.h
中使vmware-server识别vmmon
- VMware server 1.0.7 installed with vmware-package
- Debian GNU/Linux testing (lenny)
- Kernel 2.6.26-1-686
- vmware-any-any-update117d
- had to change
VMMON_VERSION
from 168 to 138 invmmon-only/include/iocontrols.h
to make vmware-server recognize vmmon
当尝试启动 VM
时, vmmon
抱怨 dmesg
:
Sep 21 03:20:04 pita kernel: [ 2701.109062] /dev/vmmon[7885]: Unknown ioctl 2062
Sep 21 03:20:04 pita kernel: [ 2701.109181] /dev/vmmon[7885]: Unknown ioctl 2062
Sep 21 03:20:04 pita kernel: [ 2701.109236] /dev/vmmon[7885]: Unknown ioctl 2062
Sep 21 03:20:04 pita kernel: [ 2701.109289] /dev/vmmon[7885]: Unknown ioctl 2062
Sep 21 03:20:04 pita kernel: [ 2701.109342] /dev/vmmon[7885]: Unknown ioctl 2062
Sep 21 03:20:04 pita kernel: [ 2701.237762] /dev/vmmon[7885]: Unknown ioctl 2066
Sep 21 03:20:04 pita kernel: [ 2701.239298] /dev/vmmon[7885]: VMCI: Ioctl 2046 only valid for context or process datagram handle.
Sep 21 03:20:04 pita kernel: [ 2701.239346] /dev/vmmon[7885]: Unknown ioctl 2066
Sep 21 03:20:04 pita kernel: [ 2701.240928] /dev/vmmon[7885]: Unknown ioctl 2065
Sep 21 03:20:04 pita kernel: [ 2701.241762] /dev/vmmon[7890]: VMCI: Ioctl 2047 only valid for handle
Sep 21 03:20:05 pita kernel: [ 2702.338170] /dev/vmmon[7885]: Unknown ioctl 2065
这也驱动vmware服务器疯狂从 /var/log/vmware/vmware-serverd.log
:
This also drives vmware-server crazy. From /var/log/vmware/vmware-serverd.log
:
Sep 21 03:20:04: app| New connection on socket server-vmxvmdb from host localhost (ip address: local) , user: family
Sep 21 03:20:04: app| Connection from : /var/lib/vmware/vm/waffle/waffle.vmx
Sep 21 03:20:04: app| VMServerdConnect: connecting to /var/lib/vmware/vm/waffle/waffle.vmx
Sep 21 03:20:05: app| vmserverd: Could not connect to virtual machine /var/lib/vmware/vm/waffle/waffle.vmx: Unexpected response from vmware-authd: Error connecting to /usr/lib/vmware-server/bin/vmware-vmx process.
Sep 21 03:20:05: app| Failed to connect to vm: /var/lib/vmware/vm/waffle/waffle.vmx
Sep 21 03:20:05: app| vmdbPipe_Streams Couldn't read: OVL_STATUS_EOF
Sep 21 03:20:05: app| VMHS: Connection to VM broken: cfg: /var/lib/vmware/vm/waffle/waffle.vmx; error: Pipe: Read failed; state: 3
Sep 21 03:20:05: app| VM suddenly changed state: poweredOff.
vmware-any-any的替代方法是使用VMware提供的原始内核模块,但是似乎没有使用2.6.26编译干净(请参阅)。因为我终于设法解决了这个问题(请看我对这个问题的回答),这个对我来说并不重要,但是让它保持开放,是为了别人的利益。
The alternative to vmware-any-any is to use the original kernel module provided by VMware, but that didn't seem to compile cleanly with 2.6.26 (see my other question). Because I finally managed to get that problem solved (see my answer to that question), this one is not important to me anymore, but let it remain open for the benefit of others.
推荐答案
这是一个旧的论坛,但您也可以查看这个线程,也许可以帮助...
This is an old forum, but you may as well check this thread, maybe it could help...
这篇关于启动虚拟机时,vmmon的未知ioctl 2062,2065,2066(适用于Linux的VMware服务器1.0.7)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!