Description of problem: Have a somewhat FC4 box that I'm trying to setup as a gnbd server. All the cluster stuff installed fine and without error (after manually finding and resolving upgrade dependencies). When trying to load any of the cluster modules I get a "Invalid module format" error. Looking in messages it indicates the vermagic is wrong for the module. Further investigation shows: # QF='%{name}-%{version}-%{release}.%{arch}\n' # rpm -q --qf "$QF" cman-kernel cman-kernel-2.6.11.5-20050601.152643.FC4.2.i586 # modinfo -F vermagic cman 2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0 # rpm -q --qf "$QF" dlm-kernel dlm-kernel-2.6.11.5-20050601.152643.FC4.2.i586 # modinfo -F vermagic dlm 2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0 # rpm -q --qf "$QF" gnbd-kernel gnbd-kernel-2.6.11.2-20050420.133124.FC4.35.i586 # modinfo -F vermagic gnbd 2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0 # uname -vrpimo 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:53:35 EDT 2005 i586 i586 i386 GNU/Linux # rpm -q --qf "$QF" gcc gcc-4.0.0-0.40.i386 # rpm -q --qf "$QF" glibc glibc-kernheaders glibc-2.3.5-0.fc3.1.i386 glibc-kernheaders-2.4-9.1.87.i386 # As you can see, the i586 packages are installed but the actual modules are tagged i686, perhaps there was a mistake building from the SRPM?
Found the same to be true for the GFS modules as well. Also checked the later 2.6.12-1398 kernel, it has the same problem.
The problem is caused by looking for kernel devel information in /lib/modules/`uname -r`/build we need to be looking for that information in /usr/src/kernels/`unamr -r`-i586. I'll work on getting this fixed.
*** This bug has been marked as a duplicate of 165603 ***