VMware-server-1.0.4 with kernel 2.6.24 recompiling cleanly using vmware-config.pl

By thomas, 18 March, 2008
vmware-config.pl doesn't compile cleanly after a kernel upgrade, here's how you can make it recompile cleanly for you. Find the vmmon.tar and vmnet.tar files on your system. [root@burnaby ~]# rpm -ql VMware-server |grep tar$ /usr/lib/vmware/modules/source/vmmon.tar /usr/lib/vmware/modules/source/vmnet.tar /usr/lib/vmware/modules/source/vmppuser.tar /usr/lib/vmware/perl/control.tar [root@burnaby ~]# Now, unpack these, then move them aside, vmware-config will use these tar files, so we'll replace them with patched ones. [root@burnaby ~]# cd /usr/lib/vmware/modules/source [root@burnaby source]# tar xf vmmon.tar [root@burnaby source]# tar xf vmnet.tar [root@burnaby source]# cp vmmon.tar vmmon.tar.orig [root@burnaby source]# cp vmnet.tar vmnet.tar.orig Now patch them with the patches I found here: plus one more patch for good measure from me (a one liner).

vmmon-2.6.24.patch vmnet-2.6.24.patch vmmon-asm.patch

[root@burnaby source]# patch -p0 Now, make new tar files for the vmware-config script to pick up. [root@burnaby source]# tar cf vmmon.tar vmmon-only [root@burnaby source]# tar cf vmnet.tar vmnet-only [root@burnaby source]# And you are done, now when you run vmware-config.pl, it will pickup the new tar files and compile cleanly.