VMware Server 1.06 mit Kernel 2.6.26
Man kennt es ja mittlerweile. VMware Server 1.x wird von der Firma VMware sträflich vernachlässigt. Zwar wird fleißig an Version 2 gearbeitet, doch für meinen VIA C3 bietet die neue Version einfach zu viel Overhead. Außerdem gefällt mir die Web-GUI nicht. Ganz davon abgesehen, dass ich mit der aktuellen Version 2.0 RC1 virtuelle Maschinen nicht mehr starten kann.
Mit dem originalen Patch von rsbac.org gibt es folgende Kompilierungsfehler:
Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config2/vmmon-only' make -C /lib/modules/2.6.26/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.26' CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o /tmp/vmware-config2/vmmon-only/linux/driver.c:171: error: unknown field 'nopage' specified in initializer /tmp/vmware-config2/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type /tmp/vmware-config2/vmmon-only/linux/driver.c:175: error: unknown field 'nopage' specified in initializer /tmp/vmware-config2/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1 make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.26' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config2/vmmon-only' Unable to build the vmmon module.
Aus diesem Grund musste der aktuelle VMware-any-any-update117 Patch an den neuen Kernel 2.6.26 angepasst werden. Dank den fleißigen Asiaten entstand nun der IT-Psycho Patch: vmware-any-any-update117-itpsycho.tar.bz2 (403,15 KB)
Artikel

Moin!
Der Patch funktioniert übrigens auch mit VMWare Workstation 6.0.4, dort tritt sonst der gleiche Fehler auf.
PS: Ich mag den Server v2 auch nicht… Die WebGUI ist einfach zu lahm und installiert viel zu viel Müll
Mahlzeit,
für VMware Workstation 6.0.x gibt es auch noch einen dedizierten Patch mit den richtigen Modulversionen; diese unterscheiden sich von VMware Server 1.x:
http://groups.google.com/group/vmkernelnewbies/web/how-to-install-vmware-in-2-6-26-linux-kernel
Gruß
Der Patch funktioniert auch mit VMware Workstation 5.5.7
Danke!
Hello, I have succesfully used your patch with a 2.6.26-1 debian testing kernel. You should submit your patch to vmware as it is greatly needed by alot of people!
Thanks alot!
Hi peterrus,
thanks for your comment. Sadly, VMware is not interested in using externally provided patchsets. Thats why the “vmware-any-any” patches still exist and being maintained by third parties.
Regards
bei mir auf debian lenny mit einem 2.6.26-1-amd64 kernel gibts mit dem patch beim starten von VMs einen hard-reset…
unter Fedora 9 (Kernel: 2.6.26.5-45.fc9.x86_64) tritt auch ein hard-reset auf…
lars & matze: Lief denn eigentlich schonmal der VMware Server 1.x unter euren 64-Bit Kerneln?
Ja, das lief bei mir schon. Mittlerweile hab ich die 1.07er Version zum laufen gebracht, dazu folgende Links:
http://communities.vmware.com/message/1066485#1066485
http://lenrek.wordpress.com/2008/08/09/vmware-server-106-for-linux-kernel-2626x/
http://lenrek.wordpress.com/2008/04/24/vmware-105-and-kernel-2625/
[...] http://www.it-psycho.de/2008/07/27/vmware-server-106-mit-kernel-2626/ [...]
Hmmm… Server 1.0.9 mit vmware-any-any-update117-itpsycho.tar.bz2 sagt:
[quote]
VMware 2 or VMware Express detected, building for VMware 2, VMware Express and VMware Workstation 4.0.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config6/vmmon-only’
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686′
CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o
/tmp/vmware-config6/vmmon-only/linux/driver.c:1159: warning: âLinuxDriverNoPageâ defined but not used
/tmp/vmware-config6/vmmon-only/linux/driver_compat.h:284: warning: âLinuxDriverLockedNoPageâ defined but not used
CC [M] /tmp/vmware-config6/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config6/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config6/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config6/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config6/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config6/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config6/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config6/vmmon-only/common/task.o
cc1plus: warning: command line option “-Werror-implicit-function-declaration” is valid for C/ObjC but not for C
cc1plus: warning: command line option “-Wdeclaration-after-statement” is valid for C/ObjC but not for C
cc1plus: warning: command line option “-Wno-pointer-sign” is valid for C/ObjC but not for C
cc1plus: warning: command line option “-Wstrict-prototypes” is valid for Ada/C/ObjC but not for C
cc1plus: warning: command line option “-ffreestanding” is valid for C/ObjC but not for C
/tmp/vmware-config6/vmmon-only/common/task_compat.h: In function âint Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV321]â:
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2491: warning: âsysenterState.SysenterStateV45::rspâ is used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2492: warning: âsysenterState.SysenterStateV45::ripâ is used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::validEIPâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::csâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h: In function âint Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV3]â:
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2491: warning: âsysenterState.SysenterStateV45::rspâ is used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2492: warning: âsysenterState.SysenterStateV45::ripâ is used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::validEIPâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::csâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h: In function âint Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageGSX1]â:
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2491: warning: âsysenterState.SysenterStateV45::rspâ is used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2492: warning: âsysenterState.SysenterStateV45::ripâ is used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::validEIPâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::csâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h: In function âint Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV2]â:
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2491: warning: âsysenterState.SysenterStateV45::rspâ is used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2492: warning: âsysenterState.SysenterStateV45::ripâ is used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::validEIPâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::csâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h: In function âint Vmx86_RunVM_V4(VMDriver*, Vcpuid) [with VMCrossPage = VMCrossPageV4]â:
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::validEIPâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::csâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::rspâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::ripâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h: In function âint Vmx86_RunVM(VMDriver*, Vcpuid)â:
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2491: warning: âsysenterState.SysenterStateV45::rspâ is used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2492: warning: âsysenterState.SysenterStateV45::ripâ is used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::validEIPâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::csâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::validEIPâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::csâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::rspâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::ripâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::validEIPâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::csâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::rspâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:3028: warning: âsysenterState.SysenterStateV45::ripâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h: In function âvoid Task_Switch_V45(VMDriver*, Vcpuid)â:
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2666: warning: âsysenterState.SysenterStateV45::validEIPâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2666: warning: âsysenterState.SysenterStateV45::csâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2666: warning: âsysenterState.SysenterStateV45::rspâ may be used uninitialized in this function
/tmp/vmware-config6/vmmon-only/common/task_compat.h:2666: warning: âsysenterState.SysenterStateV45::ripâ may be used uninitialized in this function
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciContext.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciDatagram.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciDriver.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciDs.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciGroup.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciHashtable.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciProcess.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciResource.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciSharedMem.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config6/vmmon-only/vmcore/compat.o
CC [M] /tmp/vmware-config6/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config6/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /tmp/vmware-config6/vmmon-only/vmmon.o
see include/linux/module.h for more information
WARNING: modpost: module vmmon.ko uses symbol ‘init_mm’ marked UNUSED
CC /tmp/vmware-config6/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config6/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686′
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config6/vmmon-only’
The module loads perfectly in the running kernel.
[...]
The module loads perfectly in the running kernel.
[/quote]
Naja ich hab ihn noch nit gestartet weil ich hab das hier nur in ner VM probiert ;)
Merci!
Der obige Patch arbeitet hier unter Debian mit 2.26.2 und VMWare Server 1.0.10!
Danke an dich und die Asiaten
Hi!!
This patch worked for me on Debian Lenny 2.26.2-686 THANKYOU VERY MUCH!!!!
Bei der neusten VMware Workstation funktioniert der Patch sogar auch, Danke!
Hallo,
nach Installation des Securityupdates (http://www.debian.org/security/2011/dsa-2310) wird zwar das vmnet Modul gebaut, allerdings funktioniert es nicht :(
Linux 2.6.26-2-amd64 #1 SMP Mon Sep 19 06:13:12 UTC 2011 x86_64 GNU/Linux
VMware Server 1.0.10 build-203137
Schade
Wenn ich was dazu beitragen kann um den Patch anzupassen mache ich das gerne.