LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   PcTel HSP56 MicroModem Driver Problem RedHat 9 (https://www.linuxquestions.org/questions/linux-hardware-18/pctel-hsp56-micromodem-driver-problem-redhat-9-a-265272/)

anoopp 12-11-2004 01:03 PM

PcTel HSP56 MicroModem Driver Problem RedHat 9
 
I installed RedHat9 and My modem is "PcTel HSP 56 Micromodem".
I already download the driver for this modem (pctel-0.9.6 ) and installed it on my machine.

The output of the steps that i did to install the driver is as follows:
#./configure --with-hal=PCT789
output:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_PCT789
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux/include/linux/modversions.h usability... yes
checking /usr/src/linux/include/linux/modversions.h presence... yes
checking for /usr/src/linux/include/linux/modversions.h... yes
checking for Linux kernel version >= 2.4.0... yes
checking for Linux kernel version >= 2.4.7... yes
checking for mknod... mknod
checking for chgrp... chgrp
checking for chmod... chmod
checking for depmod... depmod
checking for rmmod... rmmod
checking for lsmod... lsmod
checking for modprobe... modprobe
checking for objdump... objdump
checking for objcopy... objcopy
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/module/Makefile
config.status: creating src/ptserial/Makefile
config.status: creating misc/Makefile
config.status: creating misc/pctel.spec
config.status: creating misc/SlackBuild
config.status: creating misc/build_rpms.sh
config.status: creating m4/Makefile
config.status: executing depfiles commands
config.status: executing default commands
then i make the files usig make command
#make

output:
Making all in src
make[1]: Entering directory `/root/pctel-0.9.6/src'
Making all in module
make[2]: Entering directory `/root/pctel-0.9.6/src/module'
rm -f *~ \#* .*~ .\#*
rm -f ptmodule.o
rm -f ptmodule.o
rm -f ../../modules/pctel.o
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DVERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-c -o ptmodule.o ptmodule.c
ld -r -o ../../modules/pctel.o ptmodule.o ../../lib/control.a ../../lib/vuart.o
../../lib/pct789/dsp.a ../../lib/pct789/pcthal.a
make[2]: Leaving directory `/root/pctel-0.9.6/src/module'
Making all in ptserial
make[2]: Entering directory `/root/pctel-0.9.6/src/ptserial'
rm -f *~ \#* .*~ .\#*
rm -f ptserial.o ptserial.c
rm -f ptserial.o
rm -f ../../modules/ptserial.o
ln -s -f ptserial-2.4.7.c ../../src/ptserial/ptserial.c
make ptserial.o
make[3]: Entering directory `/root/pctel-0.9.6/src/ptserial'
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version | head -1`\"" -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DVERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptserial.o ptserial.c
make[3]: Leaving directory `/root/pctel-0.9.6/src/ptserial'
ld -r -o ../../modules/ptserial.o ptserial.o
make[2]: Leaving directory `/root/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/root/pctel-0.9.6/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/pctel-0.9.6/src'
make[1]: Leaving directory `/root/pctel-0.9.6/src'
Making all in lib
make[1]: Entering directory `/root/pctel-0.9.6/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/pctel-0.9.6/lib'
Making all in modules
make[1]: Entering directory `/root/pctel-0.9.6/modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/pctel-0.9.6/modules'
Making all in include
make[1]: Entering directory `/root/pctel-0.9.6/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/pctel-0.9.6/include'
Making all in misc
make[1]: Entering directory `/root/pctel-0.9.6/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/pctel-0.9.6/misc'
Making all in m4
make[1]: Entering directory `/root/pctel-0.9.6/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/pctel-0.9.6/m4'
make[1]: Entering directory `/root/pctel-0.9.6'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/pctel-0.9.6'
The i install those files using make install command
$make install

output:

Making install in src
make[1]: Entering directory `/root/pctel-0.9.6/src'
Making install in module
make[2]: Entering directory `/root/pctel-0.9.6/src/module'
make[3]: Entering directory `/root/pctel-0.9.6/src/module'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/pctel-0.9.6/src/module'
make[2]: Leaving directory `/root/pctel-0.9.6/src/module'
Making install in ptserial
make[2]: Entering directory `/root/pctel-0.9.6/src/ptserial'
make[3]: Entering directory `/root/pctel-0.9.6/src/ptserial'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/pctel-0.9.6/src/ptserial'
make[2]: Leaving directory `/root/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/root/pctel-0.9.6/src'
make[3]: Entering directory `/root/pctel-0.9.6/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/pctel-0.9.6/src'
make[2]: Leaving directory `/root/pctel-0.9.6/src'
make[1]: Leaving directory `/root/pctel-0.9.6/src'
Making install in lib
make[1]: Entering directory `/root/pctel-0.9.6/lib'
make[2]: Entering directory `/root/pctel-0.9.6/lib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pctel-0.9.6/lib'
make[1]: Leaving directory `/root/pctel-0.9.6/lib'
Making install in modules
make[1]: Entering directory `/root/pctel-0.9.6/modules'
make[2]: Entering directory `/root/pctel-0.9.6/modules'
/bin/sh ../mkinstalldirs /lib/modules/2.4.20-8/misc
/usr/bin/install -c -o root -g root -m 644 pctel.o /lib/modules/2.4.20-8/misc/pctel.o
/usr/bin/install -c -o root -g root -m 644 ptserial.o /lib/modules/2.4.20-8/misc/ptserial.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/misc/ptserial.o
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pctel-0.9.6/modules'
make[1]: Leaving directory `/root/pctel-0.9.6/modules'
Making install in include
make[1]: Entering directory `/root/pctel-0.9.6/include'
make[2]: Entering directory `/root/pctel-0.9.6/include'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/include/pctel
/usr/bin/install -c -m 644 pctel.h /usr/local/include/pctel/pctel.h
make[2]: Leaving directory `/root/pctel-0.9.6/include'
make[1]: Leaving directory `/root/pctel-0.9.6/include'
Making install in misc
make[1]: Entering directory `/root/pctel-0.9.6/misc'
make[2]: Entering directory `/root/pctel-0.9.6/misc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pctel-0.9.6/misc'
make[1]: Leaving directory `/root/pctel-0.9.6/misc'
Making install in m4
make[1]: Entering directory `/root/pctel-0.9.6/m4'
make[2]: Entering directory `/root/pctel-0.9.6/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pctel-0.9.6/m4'
make[1]: Leaving directory `/root/pctel-0.9.6/m4'
make[1]: Entering directory `/root/pctel-0.9.6'
make[2]: Entering directory `/root/pctel-0.9.6'
make[2]: Nothing to be done for `install-exec-am'.
installing FAQ as /usr/local/share/doc/pctel/FAQ
installing README as /usr/local/share/doc/pctel/README
*** Setting device file. ***
make[2]: Leaving directory `/root/pctel-0.9.6'
make[1]: Leaving directory `/root/pctel-0.9.6'

The load the modules using the command

#insmod pctel

output:

Using /lib/modules/2.4.20-8/misc/pctel.o
/lib/modules/2.4.20-8/misc/pctel.o: The module you are trying to load (/lib/modules/2.4.20-8/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.

so i use -f option to load the modules
#insmod -f pctel

output:

Using /lib/modules/2.4.20-8/misc/pctel.o
Warning: The module you are trying to load (/lib/modules/2.4.20-8/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.
Warning: loading /lib/modules/2.4.20-8/misc/pctel.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries
See for information about tainted modules
Warning: loading /lib/modules/2.4.20-8/misc/pctel.o will taint the kernel: forced load
Module pctel loaded, with warnings

then load other modules .........................................
#insmod ptserial

output:

Using /lib/modules/2.4.20-8/misc/ptserial.o
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol __wake_up
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_unregister_driver
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_register_driver
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_get_baud_rate
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol remove_wait_queue
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_unregister_devfs
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_register_devfs
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol do_SAK
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol interruptible_sleep_on
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_flip_buffer_push
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_hangup
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol add_wait_queue
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_hung_up_p
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_wait_until_sent
/lib/modules/2.4.20-8/misc/ptserial.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. The module may be trying to access
GPLONLY symbols but the problem is more likely to be a coding or
user error. Contact the module supplier for assistance, only they
can help you.

so i use -f option ..........................
#insmod -f ptserial

output:

Using /lib/modules/2.4.20-8/misc/ptserial.o
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol __wake_up
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_unregister_driver
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_register_driver
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_get_baud_rate
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol remove_wait_queue
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_unregister_devfs
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_register_devfs
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol do_SAK
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol interruptible_sleep_on
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_flip_buffer_push
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_hangup
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol add_wait_queue
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_hung_up_p
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol tty_wait_until_sent
/lib/modules/2.4.20-8/misc/ptserial.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. The module may be trying to access
GPLONLY symbols but the problem is more likely to be a coding or
user error. Contact the module supplier for assistance, only they
can help you.

After this i try the command lsmod the output is given as follows ............
Module Size Used by Tainted: PF
pctel 1275392 0 (unused)
ide-cd 35708 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
i810_audio 27720 0 (autoclean)
ac97_codec 13640 0 (autoclean) [i810_audio]
soundcore 6404 2 (autoclean) [i810_audio]
i830 74336 1
agpgart 47776 11 (autoclean)
binfmt_misc 7400 1
autofs 13268 0 (autoclean) (unused)
ipt_REJECT 3928 2 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15096 2 [ipt_REJECT iptable_filter]
nls_iso8859-1 3516 2 (autoclean)
nls_cp437 5116 2 (autoclean)
vfat 13004 2 (autoclean)
fat 38808 0 (autoclean) [vfat]
keybdev 2944 0 (unused)
mousedev 5492 1
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
ehci-hcd 19976 0 (unused)
usbcore 78784 1 [hid usb-uhci ehci-hcd]
ext3 70784 2
jbd 51892 2 [ext3]

I am using the new versions of the driver like pctel-0.9.7.9 &pctel0.9.7.9-rht-3 etc

But still the problem exists

Plz help me !!!!!!!!!!!!!!!

plz send answers to this email id anoopp_in@rediffmail.com

qwijibow 01-13-2005 07:59 PM

Quote:

The module you are trying to load (/lib/modules/2.4.20-8/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.
like it says, its known not to work, xcompile the kernel, and the driver with the save compiler. kernel first.


All times are GMT -5. The time now is 01:59 PM.