PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ubuntu 7.10 als VMWare Gast: kein vmhgfs


xzibitxx92
24.10.07, 17:33
ubuntu 7.10
unter
Vmware Server 6.01 (Vista)

ich brauch/will: amarok ("unter windows", winMediaPlayer oder winamp sind kein Vergleich)
->gibts noch nicht

Unter VMWare funktioniert(kompiliert) alles außer vmhgfs, also dem Modul für die Freigabe von Ordnern an den guest:
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)? [no] yes

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config0/vmhgfs-only'
make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /tmp/vmware-config0/vmhgfs-only/backdoor.o
CC [M] /tmp/vmware-config0/vmhgfs-only/backdoorGcc32.o
CC [M] /tmp/vmware-config0/vmhgfs-only/bdhandler.o
CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLite.o
CC [M] /tmp/vmware-config0/vmhgfs-only/dbllnklst.o
CC [M] /tmp/vmware-config0/vmhgfs-only/dentry.o
CC [M] /tmp/vmware-config0/vmhgfs-only/dir.o
CC [M] /tmp/vmware-config0/vmhgfs-only/eventManager.o
CC [M] /tmp/vmware-config0/vmhgfs-only/file.o
CC [M] /tmp/vmware-config0/vmhgfs-only/filesystem.o
/tmp/vmware-config0/vmhgfs-only/filesystem.c: In Funktion »HgfsInitFileSystem«:
/tmp/vmware-config0/vmhgfs-only/filesystem.c:582: Fehler: Zu wenige Argumente für Funktion »kmem_cache_create«
/tmp/vmware-config0/vmhgfs-only/filesystem.c:593: Fehler: Zu wenige Argumente für Funktion »kmem_cache_create«
make[2]: *** [/tmp/vmware-config0/vmhgfs-only/filesystem.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config0/vmhgfs-only] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.22-14-generic'
make: *** [vmhgfs.ko] Fehler 2
make: Verlasse Verzeichnis '/tmp/vmware-config0/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 ]

[...]

Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest memory manager: done
Guest vmxnet fast network device: done
Blocking file system: done
DMA setup: done
Guest operating system daemon: done

The configuration of VMware Tools 6.0.1 build-55017 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/networking stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/networking start

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

Enjoy,

--the VMware team


ich habe schon vom any-any patch gehört, aber der hilft ja nur wenn Linux Host ist.(korrigiert mich wenn ich falsch liege)

Ist vielleicht für diese Aufgabe VirtalBox eine bessere Idee?
(seamless funktionen etc. ? )

stefan.becker
24.10.07, 19:23
Du kannst auch Samba nutzen. Ist eh viel zuverlässiger als diese Shared Folders.

xzibitxx92
24.10.07, 19:53
Ich habs jetzt schon rausgefunden, aber das mit Samba würde mich dann trotzdem interessieren.


Lösung für vmhgfs und Mausrad-Problem:
http://communities.vmware.com/thread/107691

(sourcecode patch bzw. xorg.conf edit)