继前几天搞定evaqq后,昨天又功夫不负有心人,解决了在f10下安装vmware server 1.0.8的难题。据说问题出在现在的内核用的API和vmware server 的vmmon模块用的不一致,所以才安装不上。还好有高人已针对2.6.27的内核做了一个补丁,链接是:http://www.insecure.ws/2008/10/20/vmware-specific-specific-55x-and-kernel-2627
安装方法:先解压vmware server 1.0.8,然后按正常的安装,到提示你是否用/etc/vmware-config.pl时,输入N,然后就会中止安装。这时解压补丁,进入所在文件夹,运行runme.pl按提示操作即可。在补丁作者的网页上,有人回复2.27.7-7 kernel with vmware 1.0.7 and this patch works fine! ,Ubuntu 8.10 Intrepid and VMWare WS 5.5 也ok。看来这个补丁着实不错,这里再拜一下补丁作者,也祝各位好运!
somethingels 于 2009-03-17 00:25:16发表:
楼上,你应该回复no,不应该回复yes啊。
北边的碗 于 2009-01-01 20:43:03发表:
7.1 Limited Warranty. VMware warrants that the
media, if any, on which the Software is
delivered will be free of defects and that
the Software will substantially conform to
the description contained in the
applicable end user documentation in each
case for a period of 90 days after the
date of shipment of the Software License
Key. EXCEPT FOR THE PRECEDING EXPRESS
LIMITED WARRANTY, TO THE MAXIMUM EXTENT
PERMITTED BY APPLICABLE LAW, VMWARE
PROVIDES THE SOFTWARE WITHOUT ANY
WARRANTIES OF ANY KIND, EXPRESS, IMPLIED,
STATUTORY, OR IN ANY OTHER PROVISION OF
THIS EULA OR COMMUNICATION WITH YOU, AND
VMWARE SPECIFICALLY DISCLAIMS ANY IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR
A PARTICULAR PURPOSE, AND NON-
INFRINGEMENT.
7.2 TO THE MAXIMUM EXTENT PERMITTED BY
APPLICABLE LAW, IN NO EVENT WILL VMWARE BE
LIABLE FOR ANY LOST PROFITS OR BUSINESS
OPPORTUNITIES, LOSS OF USE, BUSINESS
INTERRUPTION, LOSS OF DATA, OR ANY OTHER
INDIRECT, SPECIAL, INCIDENTAL, OR CONSE-
QUENTIAL DAMAGES UNDER ANY THEORY OF
LIABILITY, WHETHER BASED IN CONTRACT,
TORT, NEGLIGENCE, PRODUCT LIABILITY, OR
OTHERWISE. BECAUSE SOME JURISDICTIONS DO
NOT ALLOW THE EXCLUSION OR LIMITATION OF
LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL
DAMAGES, THE PRECEDING LIMITATION MAY NOT
APPLY TO YOU. VMWARE'S LIABILITY UNDER
THIS EULA WILL NOT, IN ANY EVENT, EXCEED
THE LICENSE FEES, IF ANY, PAID BY YOU FOR
THE SOFTWARE LICENSED TO YOU UNDER THIS
EULA. THE FOREGOING LIMITATIONS SHALL
APPLY TO THE MAXIMUM EXTENT PERMITTED BY
APPLICABLE LAW, REGARDLESS OF WHETHER
VMWARE HAS BEEN ADVISED OF THE POSSIBILITY
OF SUCH DAMAGES AND REGARDLESS OF WHETHER
ANY REMEDY FAILS OF ITS ESSENTIAL PURPOSE.
8. GENERAL
8.1 Entire Agreement. This Agreement sets
forth VMware's entire liability and your
exclusive remedy with respect to the
Software and supersedes the terms of any
purchase orders and any other
communications or advertising with respect
to the Software. You acknowledge that this
Agreement is a complete statement of the
agreement between you and VMware with
respect to the Software, and that there
are no other prior or contemporaneous
understandings, promises, representations,
or descriptions with respect to the
Software.
8.2 Headings. Headings under this EULA are
intended only for convenience and shall
not affect the interpretation of this
EULA.
8.3 Waiver and Modification. No failure of
either party to exercise or enforce any of
its rights under this EULA will act as a
waiver of those rights. This EULA may
only be modified, or any rights under it
waived, by a written document executed by
the party against which it is asserted.
8.4 Severability. If any provision of this
EULA is found illegal or unenforceable, it
will be enforced to the maximum extent
permissible, and the legality and
enforceability of the other provisions of
this EULA will not be affected.
8.5 Governing Law. This EULA will be governed
by California law and the United States of
America, without regard to its choice of
law principles. The United Nations
Convention for the International Sale of
Goods shall not apply.
8.6 Government Restrictions. You may not
export or re-export the Software except in
compliance with the United States Export
Administration Act and the related rules
and regulations and similar non-U.S.
government restrictions, if applicable.
The Software and accompanying
documentation are deemed to be "commercial
computer software" and "commercial
computer software documentation,"
respectively, pursuant to DFAR
Section 227.7202 and FAR
Section 12.212(b), as applicable. Any
use, modification, reproduction, release,
performing, displaying, or disclosing of
the Software by the U.S. Government shall
be governed solely by the terms of this
EULA.
8.7 Contact Information. If you have any
questions about this EULA, or if you want
to contact VMware for any reason, please
direct all correspondence to: VMware,
Inc., 3145 Porter Drive, Palo Alto, CA
94304, United States of America or email
info@vmware.com.
8.8 Other. VMware and VMTN are trademarks
and/or registered trademarks of VMware,
Inc. in the United States and/or various
jurisdictions.
9. SOFTWARE PRODUCT SPECIFIC TERMS AND
CONDITIONS
In addition to the above, the following
Software products shall also be subject to the
following terms and conditions set forth
below. In the event of any conflict between
the following product-specific terms and
conditions and the preceding sections, the
product-specific terms and conditions shall
control.
9.1 VMware Server:
(a) Additional Definitions:
"VMware Server Console" is a proprietary
console component included with the Software.
(b) Additional License Terms:
VMware grants you a nonexclusive,
nontransferable license, without rights to
sublicense, to (i) install or have installed a
single instance of the Software on a single
Server, unless permitted by VMware to have a
single instance of the Software on multiple
Servers; (ii) use the Software solely for your
own internal information processing services
and computing needs in connection with
permitted uses of the Software, including the
hosting of computer application-based services
from a Virtual Machine and provision of such
services via an internal or external network,
provided such services may not consist of
services to a third party that provide
primarily computing or processing power (such
as utility computing or grid computing) or any
computer application-based service that is
traded, rented, leased or sold on a Virtual
Machine basis; (iii) use and reproduce the
VMware Server Console for installation and
operation on an unlimited number of your own
internal computers or terminals solely for the
purpose of accessing the Server on which the
Software is installed; (iv) internally use and
reproduce the Redistributable Components to
create programs that interface with the
Redistributable Components to manage Virtual
Machines ("Your Management Programs"); and (v)
internally use Your Management Programs solely
for the purpose of managing Virtual Machines
operated on VMware software products installed
on your own internal Servers and computers.
Subject to the above, each copy of the
Software may not be used by any other person,
whether or not such person is employed by or
otherwise associated with your entity.
Distributing the Software. If you are
interested in distributing the Software
electronically or via internal Web site, CD or
other media, or are interested in placing a
VMware provided logo on your printed material,
please send a request to
VMware_server_distribution@vmware.com and we
will provide you with a copy of our
distribution agreement for your signature.
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Do you accept? (yes/no) yes
Thank you.
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
[/usr/share/icons]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
/usr/share/applications/vmware-server.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/vmware-console-uri-handler.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel?
[/lib/modules/2.6.27.9-159.fc10.i686/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.27.9-159.fc10.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.9-159.fc10.i686'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
在包含自 /tmp/vmware-config1/vmmon-only/./include/machine.h:24 的文件中,
从 /tmp/vmware-config1/vmmon-only/linux/driver.h:15,
从 /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/x86.h:830:1: 警告:“PTE_PFN_MASK”重定义
在包含自 include/asm/paravirt.h:7 的文件中,
从 include/asm/irqflags.h:55,
从 include/linux/irqflags.h:57,
从 include/asm/system.h:11,
从 include/asm/processor.h:17,
从 include/linux/prefetch.h:14,
从 include/linux/list.h:6,
从 include/linux/module.h:9,
从 /tmp/vmware-config1/vmmon-only/linux/driver.c:12:
include/asm/page.h:22:1: 警告:这是先前定义的位置
在包含自 /tmp/vmware-config1/vmmon-only/linux/vmhost.h:13 的文件中,
从 /tmp/vmware-config1/vmmon-only/linux/driver.c:71:
/tmp/vmware-config1/vmmon-only/./include/compat_semaphore.h:5:27: 错误:asm/semaphore.h:没有那个文件或目录
/tmp/vmware-config1/vmmon-only/linux/driver.c:146: 错误:初始值设定项里有未知的字段‘nopage’
/tmp/vmware-config1/vmmon-only/linux/driver.c:147: 警告:从不兼容的指针类型初始化
/tmp/vmware-config1/vmmon-only/linux/driver.c:150: 错误:初始值设定项里有未知的字段‘nopage’
/tmp/vmware-config1/vmmon-only/linux/driver.c:151: 警告:从不兼容的指针类型初始化
/tmp/vmware-config1/vmmon-only/linux/driver.c: 在函数‘LinuxDriver_Ioctl’中:
/tmp/vmware-config1/vmmon-only/linux/driver.c:1670: 错误:提供给函数‘smp_call_function’的实参太多
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.9-159.fc10.i686'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
[root@FC10 vmware-server-distrib]#
[root@FC10 vmware-server-distrib]# cd /home/brook/下载/vmware-update-2.6.27-5.5.7-2
[root@FC10 vmware-update-2.6.27-5.5.7-2]# ./runme.plUpdating /usr/bin/vmware-config.pl ... now patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes] yes
Making sure services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor [确定]
Bridged networking on /dev/vmnet0 [确定]
DHCP server on /dev/vmnet1 [确定]
Host-only networking on /dev/vmnet1 [确定]
Bridged networking on /dev/vmnet2 [确定]
DHCP server on /dev/vmnet8 [确定]
NAT service on /dev/vmnet8 [确定]
Host-only networking on /dev/vmnet8 [确定]
Virtual ethernet [确定]
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
[/usr/share/icons]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
/usr/share/applications/vmware-server.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/vmware-console-uri-handler.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] yes
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel?
[/lib/modules/2.6.27.9-159.fc10.i686/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.27.9-159.fc10.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.9-159.fc10.i686'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
/tmp/vmware-config2/vmmon-only/linux/hostif.c: 在函数‘HostIF_SetFastClockRate’中:
/tmp/vmware-config2/vmmon-only/linux/hostif.c:3441: 警告:传递‘send_sig’的第 2 个实参时丢弃了指针目标类型的限定
CC [M] /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config2/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config2/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config2/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config2/vmmon-only/common/task.o
cc1plus: 警告:命令行选项“-Werror-implicit-function-declaration”对 C/ObjC 是有效的,但对 C++ 无效
cc1plus: 警告:命令行选项“-Wdeclaration-after-statement”对 C/ObjC 是有效的,但对 C++ 无效
cc1plus: 警告:命令行选项“-Wno-pointer-sign”对 C/ObjC 是有效的,但对 C++ 无效
cc1plus: 警告:命令行选项“-Wstrict-prototypes”对 Ada/C/ObjC 是有效的,但对 C++ 无效
In file included from /tmp/vmware-config2/vmmon-only/common/task.c:1195:
/tmp/vmware-config2/vmmon-only/common/task_compat.h: In function ‘void Task_Switch_V45(VMDriver*, Vcpuid)’:
/tmp/vmware-config2/vmmon-only/common/task_compat.h:2667: 警告:此函数中的‘sysenterState.SysenterStateV45::validEIP’在使用前可能未初始化
/tmp/vmware-config2/vmmon-only/common/task_compat.h:2667: 警告:此函数中的‘sysenterState.SysenterStateV45::cs’在使用前可能未初始化
/tmp/vmware-config2/vmmon-only/common/task_compat.h:2667: 警告:此函数中的‘sysenterState.SysenterStateV45::rsp’在使用前可能未初始化
/tmp/vmware-config2/vmmon-only/common/task_compat.h:2667: 警告:此函数中的‘sysenterState.SysenterStateV45::rip’在使用前可能未初始化
CC [M] /tmp/vmware-config2/vmmon-only/common/vmciContext.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmciDatagram.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmciDriver.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmciDs.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmciGroup.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmciHashtable.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmciProcess.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmciResource.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmciSharedMem.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config2/vmmon-only/vmcore/compat.o
CC [M] /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config2/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: module vmmon.ko uses symbol 'init_mm' marked UNUSED
CC /tmp/vmware-config2/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config2/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.27.9-159.fc10.i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
The module loads perfectly in the running kernel.
You have already setup networking.
Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes] yes
Extracting the sources of the vmnet module.
Building the vmnet module.
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmnet-only'
make -C /lib/modules/2.6.27.9-159.fc10.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.9-159.fc10.i686'
CC [M] /tmp/vmware-config2/vmnet-only/driver.o
CC [M] /tmp/vmware-config2/vmnet-only/hub.o
CC [M] /tmp/vmware-config2/vmnet-only/userif.o
CC [M] /tmp/vmware-config2/vmnet-only/netif.o
CC [M] /tmp/vmware-config2/vmnet-only/bridge.o
CC [M] /tmp/vmware-config2/vmnet-only/filter.o
CC [M] /tmp/vmware-config2/vmnet-only/procfs.o
CC [M] /tmp/vmware-config2/vmnet-only/smac_compat.o
CC [M] /tmp/vmware-config2/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config2/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /tmp/vmware-config2/vmnet-only/vmnet.o
see include/linux/module.h for more information
CC /tmp/vmware-config2/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config2/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.27.9-159.fc10.i686'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config2/vmnet-only'
The module loads perfectly in the running kernel.
Please specify a port for remote console connections to use [904] 4546546546
The answer "4546546546" is invalid. Please enter a valid port number in the
range 1 to 65535.
Please specify a port for remote console connections to use [904]
WARNING: VMware Server has been configured to run on a port different from the
default port. Remember to use this port when connecting to this server.
Unable to find any instance of the super-server "inetd" or "xinetd". It is
possible that you do not have one of these packages installed on this machine.
Please install "inetd" or "xinetd".
If you do have "inetd" or "xinetd" installed, make sure that /etc/inetd.conf or
/etc/xinetd.d exists.
The configuration will continue, but you should re-run
/usr/bin/vmware-config.pl after you fix the super-server.
Hit enter to continue.
[root@FC10 vmware-update-2.6.27-5.5.7-2]#
还是不行啊(5ty( (5ty( (5ty(
waitter 于 2008-12-17 16:29:01发表:
羡慕啊,我在linux下安装VMware workstation,搞了好多天了,都没成功过
yanliae 于 2008-12-16 09:51:48发表:
恭喜楼主