Figured it out..
It was quite similar to the issue here.
Except that I had to edit /usr/lib/vmware/modules/source/vmmon.tar/vmmon-only/include/vmci_kernel_defs.h where the section
Code:
#include "vm_basic_types.h"
#ifdef linux
#include "compat_wait.h"
#include "compat_interrupt.h"
#include "compat_spinlock.h"
#include "compat_slab.h"
#endif // linux
became...
Code:
#include "vm_basic_types.h"
#ifdef linux
#include "compat_wait.h"
#include "compat_interrupt.h"
#include "compat_spinlock.h"
#include "compat_slab.h"
#include "compat_sched.h"
#endif // linux
NOTE 1: Of course you would have (assuming you're in the /usr/lib/vmware/modules/source/ folder)
1. Opened up the tar with: 2. Backed up the existing module:
Code:
mv vmmon.tar vmmon.tar.bak
3. Made the edit mentioned above.
4. Packaged it back up with
Code:
tar -cvf vmmon.tar vmmon-only/
NOTE 2: The update mentioned in my previous post can be obtained here..
Use like so:
Code:
wget -c http://www.insecure.ws/warehouse/vmware-update-2.6.31-5.5.9.tar.bz2
tar xvfj vmware-update*.tar.bz2
cd vmware-update-2.6.31-5.5.9
./runme.pl
That got the show on the road..
make: Leaving directory `/tmp/vmware-config5/vmnet-only'
The module loads perfectly in the running kernel.
.
.
.
Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done
The configuration of VMware Server 1.0.10 build-203137 for Linux for this
running kernel completed successfully.
NOTE 3: This is all assuming you've compiled your own kernel as explained here which puts init_mm back in.
Hope this helps someone.