Bug 162763 - i586 kernel modules show wrong arch in vermagic
i586 kernel modules show wrong arch in vermagic
Status: CLOSED DUPLICATE of bug 165603
Product: Fedora
Classification: Fedora
Component: cman-kernel (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Feist
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-08 09:36 EDT by Chris Evich
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-09-29 17:03:47 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chris Evich 2005-07-08 09:36:43 EDT
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?
Comment 1 Chris Evich 2005-07-19 07:52:21 EDT
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.
Comment 2 Chris Feist 2005-07-19 15:44:23 EDT
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.
Comment 3 Chris Feist 2006-09-29 17:03:47 EDT

*** This bug has been marked as a duplicate of 165603 ***

Note You need to log in before you can comment on or make changes to this bug.