Glad you could stop by the Linux Basement site. Linux Basement is an informational Podcast about Linux, open source software and lots of other wonderful technology. If you want to find out more about open source technologies, subscribe and have a listen!

#linuxbasement is up at irc.freenode.net

MP3 Feed
Ogg Vorbis Feed
MP3 Feed (all episodes)
Ogg Feed (all episodes)

 

Hardy broke my VMWare Player

Article Type: 
Tip

So far I like hardy well enough. I have had a few problem with the upgrade. Only on program I have installed. One of those is VMWare Player. My company has a windows only app that the business runs on. My boss doesn't care what my primary OS is as long as I can access our app. So when VMWare Player didn't run I was in trouble.
 
When I would run vmwareplayer I get this error
 
 
workstation:/usr/lib/vmware/lib$ /usr/bin/vmplayer
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.
 
When I tried to reconfigure it I got a compiling error.
 
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config1/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config1/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config1/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config1/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h:9:2: error: #error only can be included directly
make[2]: *** [/tmp/vmware-config1/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.
 
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
 
Execution aborted.
 
I found the answer at this site
 
http://czarism.com/easy-peasy-vmwareplayer-vmplayer-ubuntu-hardy-804
 
I have to combined some of the ideas on this page.
 
> cd /usr/lib/vmware/modules/source
> tar xvf vmmon.tar
> Open ./vmmon-only/include/vcpuset.h in a text editor, change the offending line (#include "asm/bitops.h" -> #include "linux/bitops.h"), and save
> mv vmmon.tar vmmon-BACKUP.tar
> tar cf vmmon.tar vmmon-only
> sudo /usr/bin/vmware-config.pl
 
I used all the defaults for the install and every thing worked.
 
This really help me and I hope this will help someone else.
 
Bryan

Nice man, good find, thanks

Nice man, good find, thanks so much for the info Bryan. I'll be sure to include it in Ep 21.
Chad