RE: Fedora Core 10: Invalid module format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



root@prescott(~) 787# cat /proc/version
Linux version 2.6.27.5-117.fc10.i686 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) ) #1 SMP Tue Nov 18 12:19:59 EST 2008
root@prescott(~) 788# gcc -dumpversion
4.3.2

-----Original Message-----
From: Marvin Stodolsky [mailto:marvin.stodolsky@xxxxxxxxx] 
Sent: Sunday, February 01, 2009 11:18 PM
To: John Roberts
Cc: discuss@xxxxxxxxxxxxx; Robert Thornburrow
Subject: Re: Fedora Core 10: Invalid module format

John

Check for identity of gcc version displayed in:
$ cat /proc/version
and
$ gcc -dumpversion

MarvS

On Sun, Feb 1, 2009 at 10:15 PM, John Roberts <jsrober@xxxxxxxxxxx> wrote:
> Hi,
>
> Long time PCTel driver user here. Thanks to all for your hard work!
>
> I just upgraded my Core 6 machine to Fedora 10. I'm having trouble loading
> the kernel module. Any idea what I'm doing wrong?
>
> Thanks,
> John
>
> root@prescott(~/pctel-0.9.7-9-rht-10/src) 752# cat make.log
>   CC    vuart.o
>   LD    binary.a
> make -C /usr/src/kernels/2.6.27.12-170.2.5.fc10.i686
> M=/root/pctel-0.9.7-9-rht-10/src
> make[1]: Entering directory `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
>   LD      /root/pctel-0.9.7-9-rht-10/src/built-in.o
> make[2]: Warning: File `/root/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c' has
> modification time 1e+06 s in the future
>   CC [M]  /root/pctel-0.9.7-9-rht-10/src/linmodem-2.6.o
>   CC [M]  /root/pctel-0.9.7-9-rht-10/src/ptserial-2.6.o
>   CC [M]  /root/pctel-0.9.7-9-rht-10/src/ptserial_pci-2.6.o
>   CC [M]  /root/pctel-0.9.7-9-rht-10/src/ptserial_hw-2.6.o
>   LD [M]  /root/pctel-0.9.7-9-rht-10/src/linmodem.o
>   LD [M]  /root/pctel-0.9.7-9-rht-10/src/pctel.o
>   LD [M]  /root/pctel-0.9.7-9-rht-10/src/pctel_hw.o
> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
>   Building modules, stage 2.
>   MODPOST 3 modules
> WARNING: could not find /root/pctel-0.9.7-9-rht-10/src/.binary.a.cmd for
> /root/pctel-0.9.7-9-rht-10/src/binary.a
>   CC      /root/pctel-0.9.7-9-rht-10/src/linmodem.mod.o
>   LD [M]  /root/pctel-0.9.7-9-rht-10/src/linmodem.ko
>   CC      /root/pctel-0.9.7-9-rht-10/src/pctel.mod.o
>   LD [M]  /root/pctel-0.9.7-9-rht-10/src/pctel.ko
>   CC      /root/pctel-0.9.7-9-rht-10/src/pctel_hw.mod.o
>   LD [M]  /root/pctel-0.9.7-9-rht-10/src/pctel_hw.ko
> make[1]: Leaving directory `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
> rm -f /dev/ttyS_PCTEL0
> echo "KERNEL==\"ttyS_PCTEL0\", SYMLINK=\"modem\"" >
> /etc/udev/rules.d/70-pctel.rules
> install -D -m 644 linmodem.ko
> /lib/modules/2.6.27.12-170.2.5.fc10.i686/misc/linmodem.ko
> install -D -m 644 pctel.ko
> /lib/modules/2.6.27.12-170.2.5.fc10.i686/misc/pctel.ko
> install -D -m 644 pctel_hw.ko
> /lib/modules/2.6.27.12-170.2.5.fc10.i686/misc/pctel_hw.ko
> /sbin/depmod -a
> /sbin/insmod linmodem.ko
> insmod: error inserting 'linmodem.ko': -1 Invalid module format
> make: *** [insmod] Error 1
> root@prescott(~/pctel-0.9.7-9-rht-10/src) 753#
>
>



[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux