Al Sutton
All site contents are (c)Copyright 1995-2008 Al Sutton, All Rights Reserved
VMWare Express on Linux Kernels > 2.4.8
I encountered some problems installing VMware Express (v2.0.4 build 1133) on SuSE Linux 8.0 and RedHat Linux 7.1 & 7.2. Below are the steps I used to resolve the problem. This fix may work with later kernels (2.4.10, 2.4.11, 2.4.12,..), but I have not tested it.
I have received a report from Peter Schwekendiek that this works with VMware GSX-Server 1.0.3 with Kernel 2.4.16, but it does NOT work with 2.4.17.
Prerequisites
You need to have VMware Express installed
Steps
- cd /usr/lib/vmware/modules/source
- tar xf vmmon.tar
- vi vmmon-only/linux/driver.c
- Insert #include "hostif.h" after the line #include "driver-config.h"
- Change #include <malloc.h> to #include <slab.h>
- Remove the line #include "hostif.h" located a few lines below the line inserted in step 5
- Replace the text current->dumpable with the text current->mm->dumpable
- Save the file & exit vi
- vi vmmon-only/linux/hostif.c
- Change #include <malloc.h> to #include <slab.h>
- rm vmmon.tar
- tar cf vmmon.tar vmmon-only
- rm -rf vmmon-only
- tar xf vmnet.tar
- cd vmnet-only
- grep "malloc.h" *
- For each file listed by the output of 16, edit the file, and perform step 10. upon it, and then save it
- cd ..
- rm vmnet.tar
- tar cf vmnet.tar vmnet-only
- rm -rf vmnet-only
You should now be able to run vmware-config.pl and the modules should compile without any problems.