Re: Fedora Core 10: Invalid module format

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

 



Hi John,

I can't think of anything terribly obvious from your make.log output.
I'm not keen on the clock skew message - not sure why you are seeing
this, but might be worth checking the timestamps of the files versus
your system clock.

If you have done an upgrade, have you kept the same pctel-0.9.7-9-rht-10
folder?  If so, then can you issue a "make clean" in the src folder
before re-running "setup".

If you still get the "-1 Invalid module format" error, then can you take
a look at the output from dmesg (last 20 lines or so) and see if any
errors are produced.  I have seen this error message before on a number of
occasions, but it seems to be a generic error message when insmod bails
out, so not easy to see why it is failing.

Please let me know how you get on, and I will see if I can come up
with some other things to try.

Best regards,

     Robert

Marvin Stodolsky wrote:
> John
> 
> It is not apparent what your problem is. Hopefully maintainer Robert
> can help.  I don't have Pctel hardware, but was able to compile and
> load the drivers, per below.   Best report your HAL type
> 
> MarvS
> --------
> /usr/src/modules/pctel-0.9.7-9-rht-10$ lsmod
> Module                  Size  Used by
> pctel                  20132  0
> pctel_hw             1119332  1 pctel
> linmodem               22688  1 pctel
> 
> Using compile
> /usr/src/modules/pctel-0.9.7-9-rht-10$ sudo ./setup
> checking for running kernel version...2.6.27
> checking for ptserial...ptserial-2.6.c
> checking for gcc...4.3
> checking for kernel gcc version...4.3
> searching for kernel includes...found at
> /lib/modules/2.6.27-9-generic/build/include
> checking for autoconf.h.../lib/modules/2.6.27-9-generic/build/include/linux/autoconf.h
> checking for asm/mach-default...yes
> checking for kernel version in utsrelease.h...UTS_RELEASE is 2.6.27.2
> checking type of tty_struct.count...int
> checking for presence of udev...present (kernel version 2.6.13 or later)
> detecting your modem...** error
> autodetection failed, your modem is not in the database of
> known modems. Try to guess the hal and report success, if
> the modem worked. Please read the FAQ about autodetection
> failed.
> 
> please enter your hal type
> choose one of: pct789, cm8738, i8xx, sis, via686a
> hal type: pct789
> compilation done
> installation done
> modem activated
> 
> 
> On Sun, Feb 1, 2009 at 11:18 PM, John Roberts <jsrober@xxxxxxxxxxx> wrote:
>> 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