Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Invalid module format: 586/686 problem

2007-05-28
2013-06-03
  • Alex Neilson
    Alex Neilson
    2007-05-28

    On my fedora 6 box with an Athlon processor,
    I'm getting some 586/686 module problem (see '^^^'):

    insmod: error inserting './quickcam.ko': -1 Invalid module format
    === Leaving root mode ===
    quickcam: 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'
                                      ^^^
                                      ^^^
                                      ^^^
    in /lib/modules/2.6.18-1.2798.fc6 was this broken link:
        build -> ../../../usr/src/kernels/2.6.18-1.2798.fc6-i586
                                                                 ^^^
                                                                 ^^^
                                                                 ^^^

    Why the heck it says i586 I don't know; made a new link with i686,
    but not surprisingly got the same problem.

    Other stuff:
    fedora 6
    CPU0: AMD Athlon(tm)  stepping 00
    uname -a
        Linux gigabyte.zarcomm.com 2.6.18-1.2798.fc6 #1 SMP
        Mon Oct 16 14:54:20 EDT 2006 i686 athlon i386 GNU/Linux
    rpm -qa | egrep kern
        kernel-headers-2.6.18-1.2798.fc6
        kernel-devel-2.6.18-1.2798.fc6
        kernel-2.6.18-1.2798.fc6
        kernel-doc-2.6.18-1.2798.fc6

    Did run 'make oldconfig && make prepare'

    Hope it's not some dumb fedora problem.
    Any help would be appreciated.

    Thanks,

    Alex

     
    • Alex Neilson
      Alex Neilson
      2007-05-30

      Well, figured it out (well, after some searches):
      turns out, fedora 6 will occasionally install a 586
      kernel into a 686 system, or in my case, a K5 kernel
      into a K7 system.  Anyways, needed to upgrade the kernel
      anyways, so that took care of that.