HowTo: Fix VMware on Ubuntu Feisty
April 22nd 2007
The upgrade from Edgy to Feisty worked pretty good for me. A few things broke though. I don’t have the shutdown/restart options anymore on the KDE menu. My VMware server stopped working for me. That one I can fix. Well this guy can. The info I’m posting here is basically straight from here:
Install VMware Server To Ubuntu Feisty
I’m just posting the no-nonsense copy-past solution. Anyway. On to the fun.
VMware doesn’t compile for Feisty. Here you can fix it
cd /usr/lib/vmware/modules/sourcesudo tar xf vmmon.tarcd vmmon-only/include- Open compat_kernel.h in a text editor as root (
sudo vi compat_kernel.hfor example) - Find this section of code:
/* * compat_exit() provides an access to the exit() function. It must * be named compat_exit(), as exit() (with different signature) is * provided by x86-64, arm and other (but not by i386). <strong>/ #define __NR_compat_exit __NR_exit static inline _syscall1(int, compat_exit, int, exit_code); - Comment out the 2 lines of actually code so it looks like this:
/</strong> * compat_exit() provides an access to the exit() function. It must * be named compat_exit(), as exit() (with different signature) is * provided by x86-64, arm and other (but not by i386). <strong>/ /</strong> #define __NR_compat_exit __NR_exit static inline _syscall1(int, compat_exit, int, exit_code); */ - Save the file
cd ../../sudo tar cf vmmon.tar vmmon-only- Now you can run
vmware-config.pland it should finish successfully
The link I posted above lists some changes to make to some code in vmnet.tar which I didn’t do. Honestly I don’t know if it makes any difference…my VM’s run fine doing just the vmmon hack. If you have problems, try the hack they suggest.
Happy VM’ing!


