Tuesday, November 13, 2007

Fedora 8 screw big time

For those who got the "Invalid Module Format" trying to install/configure any module after installing Fedora 8 here is why. (It affects VMware (version Workstation 6.0.2 build-59824) and VirtualBox (version 1.5.2) BIG TIME!)

1. You have installed "kernel-devel" afterwards using yum (that is what I used);
2. Fedora 8 install kernel.i586 and yum (version 3.2.7) kernel-devel.i686 (notice the difference in the architecture?);
3. You can NOT upgrade your kernel to a i686 version.

How do I fixed the problem?

1. Install the "kernel-xen" and boot your box with it;
2. Remove ALL kernel instances (NOT kernel-xen, which your are using now);
2.1. You will need to remove 2 more packages too:
rpm -e xorg-x11-drv-nouveau xorg-x11-drivers
rpm -e kernel.i586 kernel-devel
3. Re-install the kernel:
yum -y install kernel.i686 kernel-devel.i686 xorg-x11-drv-nouveau xorg-x11-drivers
4. Reboot with the new kernel
5. Recompile the modules or, in case of vmware and virtual box, setup:
vmware-config.pl
/etc/init.d/vboxdrv setup
6. Enjoy!

No comments: