Bug 211790

Summary: Problem with kernel modules
Product: [Fedora] Fedora Reporter: Łukasz Trąbiński <lukasz>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: petrosyan, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-24 14:26:03 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Łukasz Trąbiński 2006-10-22 17:26:59 EDT
Description of problem:

I'm tring to compile some kernel modul (cisco vpn) on FC6.
First i can't find config.h header:

[lukasz@evil ~]$ rpm -q kernel-devel
[lukasz@evil ~]$ rpm -ql kernel-devel |grep "linux/config\.h" |wc -l
OK, i can copy config.h from different location/source. When compiling was
successful and when i tring insert module info system:

[root@evil ~]# modprobe cisco_ipsec
FATAL: Error inserting cisco_ipsec
(/lib/modules/2.6.18-1.2798.fc6/CiscoVPN/cisco_ipsec.ko): Invalid module format
in system logs i can find information like this:

cisco_ipsec: version magic '2.6.18-1.2798.fc6 SMP mod_unload 686 REGPARM
4KSTACKS gcc-4.1' should be '2.6.18-1.2798.fc6 SMP mod_unload 586 REGPARM
4KSTACKS gcc-4.1'

Version-Release number of selected component (if applicable):
FC6 upgraded from FC5

[root@evil ~]# rpm -q kernel
[root@evil ~]# rpm -q gcc
[root@evil ~]# rpm -q glibc
[root@evil ~]# rpm -q kernel-devel

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

I know that this example is not very good, i'm tring to compile strange module
from Cisco :) but it worked and compiled well on FC5
Comment 1 petrosyan 2006-10-24 12:45:50 EDT
What do you get when you run:

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

Comment 2 Łukasz Trąbiński 2006-10-24 14:26:03 EDT
(In reply to comment #1)
> What do you get when you run:
> rpm -q --queryformat "%{name}-%{version}-%{release}.%{arch}\n" kernel
> ?

OK, it was
shuld be

kernel-2.6.18-1.2798.fc6.i686 works OK. Thank You. It's not bug, it was my fault.

Comment 3 petrosyan 2006-10-24 14:29:46 EDT
Its not your fault. It was caused by anaconda incorrectly upgrading your kernel.
This has been filed as bug #211941
Please add your comments to that bug.
Comment 4 Łukasz Trąbiński 2006-10-24 14:36:13 EDT

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