vmware-config.pl problems on FC6

On some systems, Anaconda will install a i586 kernel on an i686 system, causing problems when running vmware-config.pl after installing VMplayer on Fedora Core 6. This bug has more information.

# rpm -Uvh http://download3.vmware.com/software/vmplayer/VMware-player-1.0.2-29634.i386.rpm
# yum -y install gcc gcc-c++ kernel-devel
# /usr/bin/vmware-config.pl


What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.18-1.2849.fc6-i686/include/


Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config12/vmmon.o': -1 Invalid module format
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.

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

Execution aborted.

# dmesg | tail -n1
vmmon: version magic '2.6.18-1.2849.fc6 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1' should be '2.6.18-1.2849.fc6 SMP mod_unload 586 REGPARM 4KSTACKS gcc-4.1'

The architecture of the kernel on my Fedora Core 6 system was i586, while the architecture of the kernel-devel RPM was i686, causing the above problem.

$ rpm -q --queryformat "%{name}-%{version}-%{release}-%{arch}\n" kernel

This message contains more information.

To fix the problem, download and install the i686 kernel, reboot the system, and re-run vmware-config.pl.

# yum install yum-utils
$ yumdownloader --enablerepo=updates kernel
# rpm -ivh kernel-2.6.18-1.2849.fc6.i686.rpm

Note: You may have to run rpm -e kernel or rpm -e --nodeps kernel (if you only have one kernel installed) prior to installing the i686 kernel.

# reboot
# vmware-config.pl

Back to brandonhutchinson.com.
Last modified: 2006/11/15