Red Hat Bugzilla – Bug 165603
i586 gfs-related kernel module packages appear to be compiled for i686
Last modified: 2007-11-30 17:11:11 EST
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050720 Firefox/1.0.5 Description of problem: The GFS-related kernel module packages (GFS-kernel, dlm-kernel, cman-kernel, and gndb-kernel) that are marked for the i586 arch appear to be compiled for i686 instead. Version-Release number of selected component (if applicable): GFS-kernel-2.6.11.8-20050601.152643.FC4.9 How reproducible: Always Steps to Reproduce: 1. yum install gfs-kernel 2. modprobe gfs 3. Actual Results: lock_harness: version magic '2.6.12-1.1398_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.12-1.1398_FC4 586 REGPARM 4KSTACKS gcc-4.0' gfs: version magic '2.6.12-1.1398_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.12-1.1398_FC4 586 REGPARM 4KSTACKS gcc-4.0' Expected Results: The modules (compiled for 586) should have loaded. Additional info: Here are the kernel messages when trying to load any of these modules on a i586... gfs: version magic '2.6.12-1.1398_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.12-1.1398_FC4 586 REGPARM 4KSTACKS gcc-4.0' lock_harness: version magic '2.6.12-1.1398_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.12-1.1398_FC4 586 REGPARM 4KSTACKS gcc-4.0' cman: version magic '2.6.12-1.1398_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.12-1.1398_FC4 586 REGPARM 4KSTACKS gcc-4.0' dlm: version magic '2.6.12-1.1398_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.12-1.1398_FC4 586 REGPARM 4KSTACKS gcc-4.0' lock_dlm: version magic '2.6.12-1.1398_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.12-1.1398_FC4 586 REGPARM 4KSTACKS gcc-4.0' gnbd: version magic '2.6.12-1.1398_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.12-1.1398_FC4 586 REGPARM 4KSTACKS gcc-4.0' From an extracted GFS-kernel-2.6.11.8-20050601.152643.FC4.2.i586.rpm... khoff@ugy ~/Tmp/gfs $ strings ./lib/modules/2.6.11-1.1369_FC4/kernel/fs/gfs/gfs.ko|grep 686 vermagic=2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0 The same can be observed with all other GFS-related kernel modules listed above.
It looks like the specfile for these packages ignores the target architecture and builds the kernel modules against the sources in /lib/modules/`uname -r`/build/. If the build system is an i686, then you get i686 modules regardless of the --target argument passed to rpmbuild.
I've confirmed this issue and am working on a fix.
Due to issues in the build process we are unable to build i586 packages at this time.
*** Bug 162763 has been marked as a duplicate of this bug. ***