Ich betreibe auf einem Windows XP Host einen VMware Server 1.0.4. Hierin habe ich erfolgreich ein openSuSE 10.3 von DVD als Gast installiert. Bei der Installation der VMwareTools gibt es jedoch Probleme. Das RPM läßt sich ohne Murren installieren, der Output vom vmware-config-tools.pl enthält jedoch einige Fehlermeldungen:
(GCC und kernel-headers sind installiert)
Code: Alles auswählen
linux-g69k:~ # vmware-config-tools.pl
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Shutting down network interfaces:
eth0 done
Shutting down service network . . . . . . . . . . . . . done
Guest vmxnet fast network device: done
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]
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.22.5-31-default/build/include]
Extracting the sources of the vmhgfs module.
Building the vmhgfs module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config9/vmhgfs-only'
make -C /lib/modules/2.6.22.5-31-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/i386/default modules
CC [M] /tmp/vmware-config9/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-config9/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/vmware-config9/vmhgfs-only/dev.o
CC [M] /tmp/vmware-config9/vmhgfs-only/driver.o
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsChangeFileAttributes’:
/tmp/vmware-config9/vmhgfs-only/driver.c:763: error: ‘struct inode’ has no member named ‘i_blksize’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsInitializeInode’:
/tmp/vmware-config9/vmhgfs-only/driver.c:835: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsIget’:
/tmp/vmware-config9/vmhgfs-only/driver.c:884: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsCreate’:
/tmp/vmware-config9/vmhgfs-only/driver.c:1535: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsLookup’:
/tmp/vmware-config9/vmhgfs-only/driver.c:1635: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsMkdir’:
/tmp/vmware-config9/vmhgfs-only/driver.c:1727: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsDelete’:
/tmp/vmware-config9/vmhgfs-only/driver.c:1854: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsRename’:
/tmp/vmware-config9/vmhgfs-only/driver.c:2046: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c:2048: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsRevalidate’:
/tmp/vmware-config9/vmhgfs-only/driver.c:2288: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsSetattr’:
/tmp/vmware-config9/vmhgfs-only/driver.c:2425: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsOpen’:
/tmp/vmware-config9/vmhgfs-only/driver.c:2801: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsDirOpen’:
/tmp/vmware-config9/vmhgfs-only/driver.c:3414: error: ‘struct inode’ has no member named ‘u’
/tmp/vmware-config9/vmhgfs-only/driver.c: In function ‘HgfsClearInode’:
/tmp/vmware-config9/vmhgfs-only/driver.c:4105: error: ‘struct inode’ has no member named ‘u’
make[4]: *** [/tmp/vmware-config9/vmhgfs-only/driver.o] Error 1
make[3]: *** [_module_/tmp/vmware-config9/vmhgfs-only] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-config9/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 35572 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-config10/vmxnet-only'
make -C /lib/modules/2.6.22.5-31-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/i386/default modules
CC [M] /tmp/vmware-config10/vmxnet-only/vmxnet.o
/tmp/vmware-config10/vmxnet-only/vmxnet.c: In function ‘vmxnet_open’:
/tmp/vmware-config10/vmxnet-only/vmxnet.c:671: warning: ‘deprecated_irq_flag’ is deprecated (declared at /usr/src/linux-2.6.22.5-31/include/linux/interrupt.h:66)
/tmp/vmware-config10/vmxnet-only/vmxnet.c:671: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config10/vmxnet-only/vmxnet.mod.o
LD [M] /tmp/vmware-config10/vmxnet-only/vmxnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
cp -f vmxnet.ko ./../vmxnet.o
make: Leaving directory `/tmp/vmware-config10/vmxnet-only'
The module loads perfectly in the running kernel.
Detected X.org version 7.2.
Do you want to change your guest X resolution? (yes/no) [no]
Can't exec "/usr/X11R6/bin/X": No such file or directory at /usr/bin/vmware-config-tools.pl line 5358.
X is running fine with the new config file.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest vmxnet fast network device: done
DMA setup: done
Guest operating system daemon: done
The configuration of VMware Tools 1.0.4 build-56528 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 session.
To make use of the vmxnet driver you will need to rebooot.
Enjoy,
--the VMware team
Hat jemand schon die Tools erfolgreich installiert? Wenn ja, wie genau?
MfG
Christoph[/code]