Bug 211790 - Problem with kernel modules
Summary: Problem with kernel modules
Keywords:
Status: CLOSED DUPLICATE of bug 211941
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 6
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-22 21:26 UTC by Łukasz Trąbiński
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-10-24 18:26:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Łukasz Trąbiński 2006-10-22 21:26:59 UTC
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
kernel-devel-2.6.18-1.2798.fc6
[lukasz@evil ~]$ rpm -ql kernel-devel |grep "linux/config\.h" |wc -l
0
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
kernel-2.6.18-1.2798.fc6
[root@evil ~]# rpm -q gcc
gcc-4.1.1-30
[root@evil ~]# rpm -q glibc
glibc-2.5-3
[root@evil ~]# rpm -q kernel-devel
kernel-devel-2.6.18-1.2798.fc6



How reproducible:


Steps to Reproduce:
1.
2.
3.
  
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 16:45:50 UTC
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 18:26:03 UTC
(In reply to comment #1)
> What do you get when you run:
> 
> rpm -q --queryformat "%{name}-%{version}-%{release}.%{arch}\n" kernel
> 
> ?

OK, it was
kernel-2.6.18-1.2798.fc6.i586
shuld be
kernel-2.6.18-1.2798.fc6.i686

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 18:29:46 UTC
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 18:36:13 UTC

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


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