红联Linux门户
Linux帮助

安装VMTOOL断网

发布时间:2009-04-25 14:35:30来源:红联作者:worden
下面是我为xp+vm6.0下的fedora 10安装tool过程,到红色的那部时就断网了(xp能上网),好长时间都不能解决,麻烦高手帮我看看怎么办?
[root@woo vmware-tools-distrib]# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] y

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] y

The installation of VMware Tools 6.0.3 build-80004 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] y


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [确定]
Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[yes] y

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.21-170.2.56.fc10.i686/build/include] /usr/src/kernels/2.6.27.21-170.2.56.fc10.i686/include

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmemctl-only'
make -C /usr/src/kernels/2.6.27.21-170.2.56.fc10.i686/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.i686'
CC [M] /tmp/vmware-config0/vmmemctl-only/os.o
/tmp/vmware-config0/vmmemctl-only/os.c: 在函数‘os_init’中:
/tmp/vmware-config0/vmmemctl-only/os.c:567: 错误:‘struct proc_dir_entry’没有名为‘get_info’的成员
make[2]: *** [/tmp/vmware-config0/vmmemctl-only/os.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config0/vmmemctl-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.i686'
make: *** [vmmemctl.ko] 错误 2
make: Leaving directory `/tmp/vmware-config0/vmmemctl-only'
Unable to build the vmmemctl module.

The memory manager driver (vmmemctl module) is used by VMware host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you want the memory management feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes] y

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmhgfs-only'
make -C /usr/src/kernels/2.6.27.21-170.2.56.fc10.i686/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.i686'
CC [M] /tmp/vmware-config1/vmhgfs-only/backdoor.o
CC [M] /tmp/vmware-config1/vmhgfs-only/backdoorGcc32.o
CC [M] /tmp/vmware-config1/vmhgfs-only/bdhandler.o
/tmp/vmware-config1/vmhgfs-only/bdhandler.c:15:27: 错误:asm/semaphore.h:没有那个文件或目录
make[2]: *** [/tmp/vmware-config1/vmhgfs-only/bdhandler.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config1/vmhgfs-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.i686'
make: *** [vmhgfs.ko] 错误 2
make: Leaving directory `/tmp/vmware-config1/vmhgfs-only'
Unable to build the vmhgfs module.

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]


pcnet32 31476 0
Unloading pcnet32 module

Trying to find a suitable vmxnet module for your running kernel.

None of the pre-built vmxnet modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmxnet module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmxnet-only'
make -C /usr/src/kernels/2.6.27.21-170.2.56.fc10.i686/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.i686'
CC [M] /tmp/vmware-config2/vmxnet-only/vmxnet.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /tmp/vmware-config2/vmxnet-only/vmxnet.o
see include/linux/module.h for more information
CC /tmp/vmware-config2/vmxnet-only/vmxnet.mod.o
LD [M] /tmp/vmware-config2/vmxnet-only/vmxnet.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.i686'
cp -f vmxnet.ko ./../vmxnet.o
make: Leaving directory `/tmp/vmware-config2/vmxnet-only'
The module loads perfectly in the running kernel.

Trying to find a suitable vmblock module for your running kernel.

None of the pre-built vmblock modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmblock module
for your system (you need to have a C compiler installed on your system)?
[yes]

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmblock-only'
make -C /usr/src/kernels/2.6.27.21-170.2.56.fc10.i686/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.i686'
CC [M] /tmp/vmware-config2/vmblock-only/linux/block.o
CC [M] /tmp/vmware-config2/vmblock-only/linux/control.o
/tmp/vmware-config2/vmblock-only/linux/control.c: 在函数‘SetupProcDevice’中:
/tmp/vmware-config2/vmblock-only/linux/control.c:139: 错误:‘proc_root_fs’未声明(在此函数内第一次使用)
/tmp/vmware-config2/vmblock-only/linux/control.c:139: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
/tmp/vmware-config2/vmblock-only/linux/control.c:139: 错误:所在的函数内也只报告一次。)
/tmp/vmware-config2/vmblock-only/linux/control.c: 在函数‘CleanupProcDevice’中:
/tmp/vmware-config2/vmblock-only/linux/control.c:199: 错误:‘proc_root_fs’未声明(在此函数内第一次使用)
make[2]: *** [/tmp/vmware-config2/vmblock-only/linux/control.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config2/vmblock-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.i686'
make: *** [vmblock.ko] 错误 2
make: Leaving directory `/tmp/vmware-config2/vmblock-only'
Unable to build the vmblock module.

The vmblock module enables dragging or copying files from within a host and
dropping or pasting them onto your guest (host to guest drag and drop and file
copy/paste). The rest of the software provided by VMware Tools is designed to
work independently of this feature (including guest to host drag and drop and
file copy/paste).

If you would like the host to guest drag and drop and file copy/paste features,
you can install the driver by running vmware-config-tools.pl again after making
sure that gcc, binutils, make and the kernel sources for your running kernel
are installed on your machine. These packages are available on your
distribution's installation CD.
[ Press Enter key to continue ]

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
provides a new communication capability with the Host, primarily for
development at the moment. Would you like to enable this feature? [no] no



Detected X.org version 0.0.0.



No drivers for X.org version: 0.0.0.



The configuration file /etc/X11/xorg.conf can not be found. Do you want to
create a new one? (yes/no) [yes] y


Please choose one of the following display sizes that X will start with (1 -
15):

[1] "640x480"
[2]< "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x900"
[10] "1400x1050"
[11] "1440x900"
[12] "1680x1050"
[13] "1600x1200"
[14] "1920x1200"
[15] "2364x1773"
Please enter a number between 1 and 15:

[2] 2

Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [确定]
Guest vmxnet fast network device: [确定]
DMA setup: [确定]
Guest operating system daemon: [确定]

The configuration of VMware Tools 6.0.3 build-80004 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start

To make use of the virtual printer, you will need to restart the CUPS service

Enjoy,

--the VMware team

[root@woo vmware-tools-distrib]#
文章评论

共有 1 条评论

  1. worden 于 2009-04-25 14:36:14发表:

    =============