pctel modem not installing
Hi, cheers to all mepis users. Please be patient to read this, sorry its kinda long...
I have a pctel (chipset pct688t) modem which works fine in xp and 98se.
I booted from the simplymepis 3.3 test 01 and it does recognize the modem(irq 11 as per info center) but i guess the drivers have to be loaded manually, cos when i do lsmod no ptserial or pctel is listed.
In Kppp, when modem is set at /dev/modem, its says make sure modem is setup correctly and when i set it to ttys0 it gets stuck on initializing modem, choosing ttys1/2/3/4 results in modem not responding or modem is busy.
Query modem is all blank.
I tried booting with promepis bs04 and knoppix 3.7 and both give me the same results.
After searching for a while i landed up in
http://www.peacefulaction.org/sayamindu/pctel.txt
following the instructions it says:
"The first requisite for installation is that you have a kernel source in /usr/src/linux/"
there was no linux directory in /usr/src, so i created a linux folder.
Then i downloaded the full 34.8mb kernel source for kernel 2.4.29 from www.kernel.org
untared it to the linux folder i created(was in bzip format so i unzipped that first-got a tar file-which i untared to the linux folder i created in /usr/src)
Then i did
make xconfig
-no errors.
then after that
make
then
make install
-no errors
then i did make modules_install
which gave,
-------------------------------------------------
make modules_install
make -C?? kernel modules_install
make[1]: Entering directory `/usr/src/linux/kernel'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/usr/src/linux/kernel'
make -C?? drivers modules_install
make[1]: Entering directory `/usr/src/linux/drivers'
make -C acpi modules_install
make[2]: Entering directory `/usr/src/linux/drivers/acpi'
make[2]: Nothing to be done for `modules_install'.
make[2]: Leaving directory `/usr/src/linux/drivers/acpi'
make -C block modules_install
make[2]: Entering directory `/usr/src/linux/drivers/block'
make[2]: Nothing to be done for `modules_install'.
make[2]: Leaving directory `/usr/src/linux/drivers/block'
make -C cdrom modules_install
make[2]: Entering directory `/usr/src/linux/drivers/cdrom'
make[2]: Nothing to be done for `modules_install'.
make[2]: Leaving directory `/usr/src/linux/drivers/cdrom'
make -C char modules_install
make[2]: Entering directory `/usr/src/linux/drivers/char'
make -C drm modules_install
make[3]: Entering directory `/usr/src/linux/drivers/char/drm'
make[3]: Nothing to be done for `modules_install'.
make[3]: Leaving directory `/usr/src/linux/drivers/char/drm'
make -C pcmcia modules_install
make[3]: Entering directory `/usr/src/linux/drivers/char/pcmcia'
make[3]: Nothing to be done for `modules_install'.
make[3]: Leaving directory `/usr/src/linux/drivers/char/pcmcia'
make[2]: Leaving directory `/usr/src/linux/drivers/char'
make -C hotplug modules_install
make[2]: Entering directory `/usr/src/linux/drivers/hotplug'
make[2]: Nothing to be done for `modules_install'.
make[2]: Leaving directory `/usr/src/linux/drivers/hotplug'
make -C ide modules_install
make[2]: Entering directory `/usr/src/linux/drivers/ide'
make -C arm modules_install
make[3]: Entering directory `/usr/src/linux/drivers/ide/arm'
make[3]: Nothing to be done for `modules_install'.
make[3]: Leaving directory `/usr/src/linux/drivers/ide/arm'
make -C legacy modules_install
make[3]: Entering directory `/usr/src/linux/drivers/ide/legacy'
make[3]: Nothing to be done for `modules_install'.
make[3]: Leaving directory `/usr/src/linux/drivers/ide/legacy'
make -C pci modules_install
make[3]: Entering directory `/usr/src/linux/drivers/ide/pci'
make[3]: Nothing to be done for `modules_install'.
make[3]: Leaving directory `/usr/src/linux/drivers/ide/pci'
make -C ppc modules_install
make[3]: Entering directory `/usr/src/linux/drivers/ide/ppc'
make[3]: Nothing to be done for `modules_install'.
make[3]: Leaving directory `/usr/src/linux/drivers/ide/ppc'
make -C raid modules_install
make[3]: Entering directory `/usr/src/linux/drivers/ide/raid'
make[3]: Nothing to be done for `modules_install'.
make[3]: Leaving directory `/usr/src/linux/drivers/ide/raid'
make[2]: Leaving directory `/usr/src/linux/drivers/ide'
make -C media modules_install
make[2]: Entering directory `/usr/src/linux/drivers/media'
make -C radio modules_install
make[3]: Entering directory `/usr/src/linux/drivers/media/radio'
make[3]: Nothing to be done for `modules_install'.
make[3]: Leaving directory `/usr/src/linux/drivers/media/radio'
make -C video modules_install
make[3]: Entering directory `/usr/src/linux/drivers/media/video'
make[3]: Nothing to be done for `modules_install'.
make[3]: Leaving directory `/usr/src/linux/drivers/media/video'
make[2]: Leaving directory `/usr/src/linux/drivers/media'
make -C misc modules_install
make[2]: Entering directory `/usr/src/linux/drivers/misc'
make[2]: Nothing to be done for `modules_install'.
make[2]: Leaving directory `/usr/src/linux/drivers/misc'
make -C net modules_install
make[2]: Entering directory `/usr/src/linux/drivers/net'
mkdir -p /lib/modules/2.4.29/kernel/drivers/net/
cp dummy.o /lib/modules/2.4.29/kernel/drivers/net/
cp: cannot stat `dummy.o': No such file or directory
make[2]: *** [_modinst__] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/net'
make[1]: *** [_modinst_net] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_modinst_drivers] Error 2
------------------------------------------------------
then i created a folder in the same src directory and named it pctel.
from http://linmodems.technion.ac.il/pctel-linux/
i untared the pctel-0.9.6.tar.gz?? file into this newly made pctel folder.
did ./configure --with-hal=pct789
(since that driver does not list pct688t as an option)
got no errors.
then i did make?? -no errors.
make install gave some unresolved symbols for pctel.o and ptserial.o
------------------------------------------------------
depmod: *** Unresolved symbols in /lib/modules/2.4.29/misc/pctel.o
depmod: *** Unresolved symbols in /lib/modules/2.4.29/misc/ptserial.o
------------------------------------------------------
and some others.
then i did
insmod pctel
which gave
----------------------------------------------------
Using /lib/modules/2.4.29/misc/pctel.o
/lib/modules/2.4.29/misc/pctel.o: The module you are trying to load (/lib/modules/2.4.29/misc/pctel.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
------------------------------------------------------
then insmod ptserial-gave unresolved symbols.
tried insmod -f pctel
and then ptserial-same unresolved symbols error.
So, i tried the fixscript file?? (unzipped to the modules dir where pctel.o and ptserila.o were and ran
./fixscript pctel.o pctel.o
which gave
------------------------------------------------------
Fixscript V1.8
doing kfree_Rsmp_037a0cba trunc=kfree_Rsmp_037a0cba new=
ERROR: Symbol kfree_Rsmp_037a0cba not found in kernel symbols.
Insert the appropriate module and try again.
doing kmalloc_Rsmp_93d4cfe6 trunc=kmalloc_Rsmp_93d4cfe6 new=
ERROR: Symbol kmalloc_Rsmp_93d4cfe6 not found in kernel symbols.
Insert the appropriate module and try again.
doing __udelay_Rsmp_9e7d6bd0 trunc=__udelay_Rsmp_9e7d6bd0 new=
ERROR: Symbol __udelay_Rsmp_9e7d6bd0 not found in kernel symbols.
Insert the appropriate module and try again.
-------------------------------------------------------
and fixscript for ptserial.o says the same thing.
So then i tried drivers
1. pctel-0.9.7-9.tar.gz
2. pctel-0.9.7-9-rht.tar.gz
3. pctel-0.9.7-9-rht-2.tar.gz
4. pctel-0.9.7-9-rht-3.tar.gz
running ./setup in these gave this for all 4.
-----------------------------------------------
checking for running kernel version...2.4.29
checking for ptserial...ptserial-2.4.7.c
checking for gcc...3.3.5
searching for kernel includes...found at /usr/src/linux/include
checking for modversions.h.../usr/src/linux/include/linux/modversions.h
checking for kernel_version...UTS_RELEASE is 2.4.29
detecting your modem..../configure: line 53: 0x(rev + 0 : syntax error in ex-pression (error token is "(rev + 0 ")
** compilation error
please read the FAQ about reporting compilation problems
and report this problem.
--------------------------------------------------
i tried manually installing from src folder in these driver folders,
./configure -manual, chose pct789
-no errors
then make and make install-no errors
but loading drivers (insmod...)gave same error about the gcc compiler...
for all 4 drivers.
using fixscript on these 4 drivers yielded the same result.
After all this lsmod does not show pctel or ptserial and in kppp when i try connecting it says unable to open modem.
modem is set at /dev/modem, changing it to ttysx says modem not responding or modem busy.
Is there a way to make this work?? is it that i did not install the kernel source properly or there are no drivers available for this modem which were compiled with "gcc version 3 compiler"???
Please help...
P.S.
All commands were given as root and the kernel i used was 2.4.29
cheers!!!
Madz




pctel
PCTel Linux Compatibility Database:
http://pctelcompdb.sourceforge.net/display.php
ya bad luck
thanx , i read that, but wat if i get a modem with apct789 chipset, even then i'll get the same issue, cos the driver is not compiled with gcc3, any ideas how to work around that????