LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-08-2003, 09:23 PM   #1
gtgoku
Member
 
Registered: Jul 2003
Location: India
Distribution: Slackware 10; FreeBSD 4.10
Posts: 77

Rep: Reputation: 15
Unhappy HSP modem problem in Redhat 9


I have installed Redhat 9 and want to connect to net from it but i have a winmodem whenever i try usin kppp it says modem busy, win 98 says my modem is in com2 but before i had linux i had win xp which said i had my modem in com3. and i could and can go online from winxp and win98.

I got the pctel 0.9.6 drivers abd followed the first few steps

0) Unpack the tarball by typing "tar zxvf pctel-0.9.6.tar.gz"

1) Go into that directory by typing "cd pctel-0.9.6"

2) Find out what chipset you have in your board:

3) ./configure
Options:

--with-hal=hal
Select one of: pct789, cm8738, i8xx, sis, via686a

--with-kernel-includes=/path/to/my/kernel-sources/include
If you don't have your kernel sources at /usr/src/linux, specifiy
your includes

I typed:

./configure --with-hal=pct789

and also

./configure --with-hal=pct789 --with-kernal-includes=/bin/include
(i have rh9)

but both gave me the same error:
a lot of lines with Ok goes by the screen and atlast it says something like can't find a .h file ( ithink it modversion.h)

can some one please help.

 
Old 09-08-2003, 10:12 PM   #2
JusKickNit
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Rep: Reputation: 0
First go to /usr/src. Look for a dir called linux-2.4.20-version number. If it's there good. If not install the kernel source package for your current running kernel "uname -r" command. Now use the --with-kernel-include=/usr/src/linux-2.4 instead of /bin/include

Last edited by JusKickNit; 09-08-2003 at 10:16 PM.
 
Old 09-09-2003, 01:46 AM   #3
gtgoku
Member
 
Registered: Jul 2003
Location: India
Distribution: Slackware 10; FreeBSD 4.10
Posts: 77

Original Poster
Rep: Reputation: 15
The exact error is:

[root@localhost pctel-0.9.6]# ./configure --with-hal=pct789 --with-kernel-includes=/usr/include
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/include/linux/modversions.h usability... no
checking /usr/include/linux/modversions.h presence... no
checking for /usr/include/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!

and my modversions.h says (i found this in /usr/include/linux),

#error Modules should never use kernel-headers system headers,
#error but rather headers from an appropriate kernel-source package.
#error Change -I/usr/src/linux/include (or similar) to
#error -I/lib/modules/$(uname -r)/build/include
#error to build against the currently-running kernel.
 
Old 09-09-2003, 02:22 AM   #4
gtgoku
Member
 
Registered: Jul 2003
Location: India
Distribution: Slackware 10; FreeBSD 4.10
Posts: 77

Original Poster
Rep: Reputation: 15
re:

I got though the step thanks to Justkicknit
 
Old 09-09-2003, 02:25 AM   #5
gtgoku
Member
 
Registered: Jul 2003
Location: India
Distribution: Slackware 10; FreeBSD 4.10
Posts: 77

Original Poster
Rep: Reputation: 15
re:

I got though the step thanks to Justkicknit

Yes -- 0) Unpack the tarball by typing "tar zxvf pctel-0.9.6.tar.gz"

Yes -- 1) Go into that directory by typing "cd pctel-0.9.6"

Yes -- 2) Find out what chipset you have in your board:

Yes -- 3) ./configure

Yes -- 4) Compile the modules by typing "make"

Yes -- 5) If everything went fine, get root by typing "su"

Yes -- 7) Install the drivers by typing "make install"

NO -- 8) You are now ready to use your modules.
Type "insmod pctel" and "insmod ptserial".

when i type insmod pctel , i get this error:

[root@localhost pctel-0.9.6]# insmod pctel
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.

and when i type insmod ptserial , i ge this error:
[root@localhost pctel-0.9.6]# insmod ptserial
Using /lib/modules/2.4.20-8/misc/ptserial.o
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol COM_Vlcr
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol PctelInitCtrlVars
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol Pctel_module_free
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol get_uart_ier
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol get_uart_dll
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol get_uart_dlm
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol GlobalTimer
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol put_uart_ier
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol get_uart_scr
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol HAL_GetTimer
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol put_uart_tx
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol put_uart_dll
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol put_uart_dlm
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol get_uart_lcr
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol get_uart_msr
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol put_uart_scr
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol put_uart_lcr
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol put_uart_msr
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol HAL_DoInterrupt
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol get_uart_iir
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol PctelInitVUartVars
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol get_uart_lsr
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol get_uart_mcr
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol modem_main
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol get_uart_rx
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol put_uart_iir
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol Pctel_module_init
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol HAL_Deinit
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol dspMain
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol HAL_Init
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol put_uart_mcr
/lib/modules/2.4.20-8/misc/ptserial.o: unresolved symbol put_uart_lsr
/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.

Please HELP ME
 
Old 09-09-2003, 03:44 AM   #6
JusKickNit
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Rep: Reputation: 0
This may or may not work I don't have this modem so I can't fully test it.

1. cd ~/pctel-0.9.6
2. make uninstall
3. make clean
4. cd ..
5. rm -rf pctel-0.9.6
6. tar xzf pctel-0.9.6.tar.gz
7. cd pctel-0.9.6
All we've done is clean out all the old install files and start over.

8. ./configure --with-hal= <-- You Chipset
9. cd src
10. make
11. cd module
12. make
13. cd ..
14. cd ptserial
15. make
16. cd .. <-- Twice
17. make install
18. insmod -f pctel, insmod -f ptserial


If you get errors about tainted kernel, It's okay It just means that the drivers arn't released under the gpl. <--The don't give away their source. Nvidia is the same way.


EDIT: one more thing type lsmod <--- That's lowercase L. To see if pctel and ptserial are loaded.

2nd EDIT: I found this link Under section 8.1.4 it talks about gcc version 3 & version 2, and how to fix the wrong compile version.

Last edited by JusKickNit; 09-09-2003 at 04:44 AM.
 
Old 09-10-2003, 05:09 AM   #7
DistroDuck
LQ Newbie
 
Registered: Jul 2003
Location: Portland, OR
Distribution: Red Hat Linux 9
Posts: 14

Rep: Reputation: 1
Don't waste your time; a Winmodem is just that. designed for Windows . I am new to RHL 9, but I have had enough experience to know that you will probably not get a Winmodem to work in Linux unless you do some serious driver developement/kernel tweeking because of the way a winmodem it depends on software to do the work that hardware does in a standard modem. This was suppose to help speed up some functions. (and probably does, in Windows).
Good luck.
 
Old 09-10-2003, 07:25 AM   #8
gtgoku
Member
 
Registered: Jul 2003
Location: India
Distribution: Slackware 10; FreeBSD 4.10
Posts: 77

Original Poster
Rep: Reputation: 15
re:

Well thanks to juskicknit i have got the modem to work , when i go to kppp and click on query modem it finds my modem , but help again when i enter my user name and pass
it says no carrier found please help.
 
Old 09-10-2003, 08:03 AM   #9
gtgoku
Member
 
Registered: Jul 2003
Location: India
Distribution: Slackware 10; FreeBSD 4.10
Posts: 77

Original Poster
Rep: Reputation: 15
juskicknit i'am really greatfull to you,
I am posting this from linux ,
I finally connected to the net,
I tried connecting with another isp and got through,
Thanks a million. :-)
 
Old 10-03-2003, 06:52 AM   #10
zfakh
LQ Newbie
 
Registered: Oct 2003
Location: Tunisia
Distribution: Red Hat
Posts: 1

Rep: Reputation: 0
Unhappy still same problem with gcc versions

Hi all,

I followed the steps described by JusKickNit to avoid version2 vs version problem (RedHat 9 - same modem).

I still have the same problem

any other idea ?
 
Old 11-06-2003, 10:14 AM   #11
exeter
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
Success with HSP modem problem in Redhat 9

I have a PCTEL HSP56 (789 chipset) working without any problem so far.

Prior to installing the pctel-0.9.6 drivers, I went through the modem
identification, setserial, symbolic link to modem, etc

I an using RedHat 9 kernel 2.4.20-8 and the PCTEL-0.9.6 driver. The driver
install script does not recognize any kernel beyond 2.4.7,,,

Being the novice newbie that I am, I created a linux-2,4,7 folder in /usr/src
and copied the contents of linux-2.4.20-8 into it. After a cd to pctel-0.9.6
I then used the command

./configure --with-hal=pct879 --with-kernel-includes=/usr/src/linux-2.4.7/
include/linux
To my surprise... it ran and created the requisite pctel.o and ptserial.o

Added the insmod's to sysinit, configured an ISP account with kppp and
logged onto my ISP and with Mozilla am now surfing the Inet.
Have not had any logon failures or disconnects.

I had a lot of help from various sources and hope this post might be
helpful to someone.






 
Old 11-26-2003, 05:15 AM   #12
pradu
LQ Newbie
 
Registered: Nov 2003
Distribution: redhat 9
Posts: 15

Rep: Reputation: 0
carrier not found?

i have a PCTel hsp56 micromodem.
i downloaded the driver (pctel-0.9.6.tar)for it and installed it.
my modem got detected and when i tried to connect to the isp
it showed the error

no carrier found

i can connect to my isp through windows.

any body have any solution other than changing the isp.
( because only one provide dialup connection).
 
Old 12-14-2003, 02:12 AM   #13
woody747
LQ Newbie
 
Registered: Dec 2003
Location: N.S.W Australia
Distribution: RedHat9
Posts: 3

Rep: Reputation: 0
pct789t-c1 modem

hi all i have yried all the above with no availe, what am i doing wrong, i am using redhat9 with the pctel moden pct789t-c1...
here is my error message


[root@localhost pctel-0.9.6]# ./configure --with-hal=pct789
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... no
checking /usr/src/linux/include/linux/modversions.h presence... no
checking for /usr/src/linux/include/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!
[root@localhost pctel-0.9.6]# ./configure --with-hal=pct789 --with-linux-2.4.20-8
configure: error: invalid package name: linux-2.4.20-8
[root@localhost pctel-0.9.6]# ./configure --with-hal=pct789 --with-linux-2.4
configure: error: invalid package name: linux-2.4
[root@localhost pctel-0.9.6]# ./configure --with-hal=pct789 --with-linux-2.4.20-8-include
s=/bin/includes
configure: error: invalid package name: linux-2.4.20-8-includes
[root@localhost pctel-0.9.6]# ./configure --with-hal=pct789 --with-redhat
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... no
checking /usr/src/linux/include/linux/modversions.h presence... no
checking for /usr/src/linux/include/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!
[root@localhost pctel-0.9.6]# ./configure --with-hal=pct789 --with-kernal-includes=/usr/s
rc/linux-2.4
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... no
checking /usr/src/linux/include/linux/modversions.h presence... no
checking for /usr/src/linux/include/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!

any help, hints would be great thanks....
 
Old 12-14-2003, 09:40 PM   #14
Frobozz
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
I've got a PCTel also, but I got it to work. You seem to be looking in:

/usr/src/linux/include/linux for modules.h.

For me it was in:

/usr/src/linux-2.4.20-8/include/linux

Type it without the /linux. It looks there automatically.

And if it refuses to load because of version conflicts, use -f. I also have it setup to automatically load using this in modules.conf:

insmod_opt=-f
alias char-major-62 ptserial
below ptserial pctel
options ptserial county_code=1

You'll need to run "depmod -a" after adding it.

Last edited by Frobozz; 12-14-2003 at 09:44 PM.
 
Old 12-16-2003, 12:19 AM   #15
woody747
LQ Newbie
 
Registered: Dec 2003
Location: N.S.W Australia
Distribution: RedHat9
Posts: 3

Rep: Reputation: 0
pct

hi there frobozz thanks for the bit of help but i still get same error with or without linux on end, here is what i did and i know modversions.h is in the directory...

[root@localhost pctel-0.9.6]# ./configure --with-hal=pct789 --with-kernel-includes
=/usr/src/linux-2.4.20-8/includes
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-2.4.20-8/includes/linux/modversions.h usability... no
checking /usr/src/linux-2.4.20-8/includes/linux/modversions.h presence... no
checking for /usr/src/linux-2.4.20-8/includes/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel firs
t!

help lol


thanks in advance...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver Problem For PCTEL HSP 56k PCI modem thandermax Linux - Hardware 1 07-26-2005 01:00 PM
us robotics modem and hsp modem on one system eagle0669 Linux - General 4 08-11-2004 03:03 PM
How can I configure my modem (PCTel-HSP)? mranderson Red Hat 1 11-16-2003 12:35 PM
HSP modem working but no internet reallife Linux - Networking 0 10-03-2003 12:52 PM
Problem with "PCTEL HSP MR" Modem amos Linux - Hardware 3 12-14-2002 05:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration