Robert, Thank you for your reply. I fixed it after taking your advice to review 'dmesg' output. I'm embarrassed. I installed 'kernel-devel' with yum. It grabbed the latest version, but I wasn't running the latest kernel. So my kernel-devel and kernel packages were out of sync. It's working now. Thank you so much for all your great help supporting this driver and us bone-head users! :-) John root@prescott(~) 929# rm -rf pctel-0.9.7-9-rht-10 root@prescott(~) 930# tar xvfz pctel-0.9.7-9-rht-10.tar.gz pctel-0.9.7-9-rht-10/ pctel-0.9.7-9-rht-10/README tar: pctel-0.9.7-9-rht-10/README: time stamp 2009-02-13 18:05:19 is 596787.405713465 s in the future pctel-0.9.7-9-rht-10/ChangeLog tar: pctel-0.9.7-9-rht-10/ChangeLog: time stamp 2009-02-13 18:03:56 is 596704.405290334 s in the future pctel-0.9.7-9-rht-10/driver/ pctel-0.9.7-9-rht-10/driver/empty pctel-0.9.7-9-rht-10/setup pctel-0.9.7-9-rht-10/src/ pctel-0.9.7-9-rht-10/src/lib/ pctel-0.9.7-9-rht-10/src/lib/amr/ pctel-0.9.7-9-rht-10/src/lib/amr/dsp.a pctel-0.9.7-9-rht-10/src/lib/sis/ pctel-0.9.7-9-rht-10/src/lib/sis/dsp.a pctel-0.9.7-9-rht-10/src/lib/sis/sishal.a pctel-0.9.7-9-rht-10/src/lib/via/ pctel-0.9.7-9-rht-10/src/lib/via/dsp.a pctel-0.9.7-9-rht-10/src/lib/via/via686ahal.a pctel-0.9.7-9-rht-10/src/lib/control.a pctel-0.9.7-9-rht-10/src/lib/cm8738/ pctel-0.9.7-9-rht-10/src/lib/cm8738/pctel-cm8738.o pctel-0.9.7-9-rht-10/src/lib/pct789/ pctel-0.9.7-9-rht-10/src/lib/pct789/dsp.a pctel-0.9.7-9-rht-10/src/lib/pct789/pcthal.a pctel-0.9.7-9-rht-10/src/inst pctel-0.9.7-9-rht-10/src/Makefile-2.6.in pctel-0.9.7-9-rht-10/src/i8xxhal.s pctel-0.9.7-9-rht-10/src/configure pctel-0.9.7-9-rht-10/src/ptmodule.c pctel-0.9.7-9-rht-10/src/ptserial-2.6.h pctel-0.9.7-9-rht-10/src/ptserial-2.4.7.c pctel-0.9.7-9-rht-10/src/vuart.s pctel-0.9.7-9-rht-10/src/include/ pctel-0.9.7-9-rht-10/src/include/halwraps.h pctel-0.9.7-9-rht-10/src/include/pctel.h pctel-0.9.7-9-rht-10/src/include/vuart.h pctel-0.9.7-9-rht-10/src/linmodem-2.6.c tar: pctel-0.9.7-9-rht-10/src/linmodem-2.6.c: time stamp 2009-02-13 17:02:26 is 593014.325978867 s in the future pctel-0.9.7-9-rht-10/src/ptserial-2.6.c tar: pctel-0.9.7-9-rht-10/src/ptserial-2.6.c: time stamp 2009-02-13 17:57:24 is 596312.32564924 s in the future pctel-0.9.7-9-rht-10/src/Makefile-2.4.in pctel-0.9.7-9-rht-10/src/ptserial-2.4.6.c pctel-0.9.7-9-rht-10/src/ptserial_hw-2.6.c pctel-0.9.7-9-rht-10/src/ptserial_pci-2.6.c pctel-0.9.7-9-rht-10/src/linmodem-2.6.h pctel-0.9.7-9-rht-10/src/modules.order tar: pctel-0.9.7-9-rht-10/src/modules.order: time stamp 2009-02-13 17:57:29 is 596317.321121486 s in the future pctel-0.9.7-9-rht-10/FAQ tar: pctel-0.9.7-9-rht-10/src: time stamp 2009-02-13 17:57:47 is 596335.320841318 s in the future tar: pctel-0.9.7-9-rht-10: time stamp 2009-02-13 18:04:54 is 596762.320359748 s in the future root@prescott(~) 931# cd pc pctel-0.9.7-9-rht-10/ pctel-0.9.7-9-rht-10.tar.gz root@prescott(~) 931# cd pctel-0.9.7-9-rht-10 root@prescott(~/pctel-0.9.7-9-rht-10) 932# d total 56K -rw-rw-r-- 1 1000 users 9.9K 2009-02-13 18:03 ChangeLog drwxr-xr-x 2 1000 users 4.0K 2007-03-10 12:03 driver/ -rw-r--r-- 1 1000 users 18K 2007-09-26 05:43 FAQ -rw-r--r-- 1 1000 users 12K 2009-02-13 18:05 README -rwxr-xr-x 1 1000 users 1.4K 2006-04-04 10:45 setup* drwxr-xr-x 4 1000 users 4.0K 2009-02-13 17:57 src/ root@prescott(~/pctel-0.9.7-9-rht-10) 933# ./setup checking for running kernel version...2.6.27 checking for ptserial...ptserial-2.6.c checking for gcc...4.3.2 checking for kernel gcc version...4.3.2 searching for kernel includes...found at /usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/include/ checking for autoconf.h.../usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/include//linux/aut oconf.h checking for asm/mach-default...yes checking for kernel version in utsrelease.h...UTS_RELEASE is 2.6.27.12-170.2.5.fc10.i686 checking type of tty_struct.count...int checking for presence of udev...present (kernel version 2.6.13 or later) detecting your modem...found. Your modem is a pct789 type modem. compilation done installation done ** error activating modem driver via insmod please read the FAQ about reporting problems and report this problem. A transcript of the attempted activation has been saved in src/make.log. When reporting problems to the development team, please send us this file. root@prescott(~/pctel-0.9.7-9-rht-10) 934# dmesg | tail [...] linmodem: version magic '2.6.27.12-170.2.5.fc10.i686 SMP mod_unload 686 4KSTACKS ' should be '2.6.27.5-117.fc10.i686 SMP mod_unload 686 4KSTACKS ' root@prescott(~/pctel-0.9.7-9-rht-10) 935# I installed the correct kernel and kernel-devel root@prescott(~/pctel-0.9.7-9-rht-10) 976# ./setup checking for running kernel version...2.6.27 checking for ptserial...ptserial-2.6.c checking for gcc...4.3.2 checking for kernel gcc version...4.3.2 searching for kernel includes...found at /lib/modules/2.6.27.12-170.2.5.fc10.i686/build/include checking for autoconf.h.../lib/modules/2.6.27.12-170.2.5.fc10.i686/build/include/linux/au toconf.h checking for asm/mach-default...yes checking for kernel version in utsrelease.h...UTS_RELEASE is 2.6.27.12-170.2.5.fc10.i686 checking type of tty_struct.count...int checking for presence of udev...present (kernel version 2.6.13 or later) detecting your modem...found. Your modem is a pct789 type modem. compilation done installation done modem activated root@prescott(~/pctel-0.9.7-9-rht-10) 977# root@prescott(~/pctel-0.9.7-9-rht-10) 935# rpm -qa | grep kernel kernel-devel-2.6.27.12-170.2.5.fc10.i686 kernel-firmware-2.6.27.12-170.2.5.fc10.noarch kernel-2.6.27.5-117.fc10.i686 kernel-headers-2.6.27.12-170.2.5.fc10.i386 kerneloops-0.12-1.fc10.i386 root@prescott(~/pctel-0.9.7-9-rht-10) 936# -----Original Message----- From: Robert Thornburrow [mailto:robert.thornburrow@xxxxxxxxxxxxxxxx] Sent: Friday, February 06, 2009 6:55 PM To: discuss@xxxxxxxxxxxxx Cc: John Roberts Subject: Re: Fedora Core 10: Invalid module format 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# >>> >>> >> > > >