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
What do you get when you run: rpm -q --queryformat "%{name}-%{version}-%{release}.%{arch}\n" kernel ?
(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.
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.
*** This bug has been marked as a duplicate of 211941 ***