LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-30-2005, 01:42 AM   #1
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
hsf modem issues


Code:
root@SOL:/tmp/hsfmodem-7.18.00.03full# hsfconfig
Conexant HSF softmodem driver, version 7.18.00.03full

If you need license keys, assistance or more information, please go to:
        http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".

Warning: existing driver modules found under:
        /lib/modules/2.6.11.6/
Would you like to keep using them? [no] 

No pre-built modules for: Slackware-Slackware linux-2.6.11.6 i686

Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.11.6/build] 

Building modules for kernel 2.6.11.6, using source directory
/lib/modules/2.6.11.6/build. Please wait...
done.

ERROR: hsf driver not active
root@SOL:/tmp/hsfmodem-7.18.00.03full#

ok fine I'm looking for the modules now

Code:
root@SOL:/tmp/hsfmodem-7.18.00.03full# lsmod | grep hsf
root@SOL:/tmp/hsfmodem-7.18.00.03full#
they're not there so I checked the /lib for modules and found them

Code:
root@SOL:/tmp/hsfmodem-7.18.00.03full# ls /lib/modules/2.6.11.6/extra/   
hsfengine.ko  hsfmc97ali.ko  hsfmc97ati.ko  hsfmc97ich.ko  hsfmc97sis.ko  hsfmc97via.ko  hsfosspec.ko  hsfpcibasic2.ko  hsfserial.ko  hsfsoar.ko  hsfusbcd2.ko
root@SOL:/tmp/hsfmodem-7.18.00.03full#
try loading them failed

Code:
root@SOL:~# insmod /lib/modules/2.6.11.6/extra/hsfengine.ko 
insmod: error inserting '/lib/modules/2.6.11.6/extra/hsfengine.ko': -1 Invalid module format
root@SOL:~#

Help.
 
Old 04-30-2005, 02:06 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Pull out the winmodem, place in file 13. Then buy a cheap, external serial port modem. That is my recommended headache relief....

Hang on to your hat:

Some guides to common tasks asked about here.
# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel-source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password:
[root@tinwhistle root]# uname -r
2.4.20-28.7
I am running kernel version 2.4.20-28.7. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.20-28.7
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.20-28.7
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.20-28.7 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need. I may as well make one now to save editing the files in the source code every time I need to compile anything concerning the kernel. So, I'll make that link just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.20-28.7 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.20-28.7
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.20-28.7
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.20-28.7
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy compiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.

# Modem and connection troubleshooting
WinModems and Linux
Modem HOWTO
Modem NHFs
Linmodems.org
Conexant/Rockwell modem HOWTO
The Unofficial PCTel Linux Driver page
I finaly got my PcTel hsp56 mr modem to work
PcTel PCT789 Compilation in Fedora Core 1
Linux driver for Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets
Lucent AMR modem listed as an Intel AC'97 - Smart Link Modems
The kppp Handbook
Dial-up Networking Configuration Using KDE's Kppp
Troubleshooting ISP Connection Problems
Connecting to AOL with Linux

Last edited by fancypiper; 04-30-2005 at 02:09 AM.
 
Old 04-30-2005, 12:48 PM   #3
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
yep I've been through those links so I know I have the right drivers.
The real hickkup I'm seeing is not being able to 'insmod'. Whats up with the invalid module format???


Not really able to jack out this modem since its integrated onto my notebook. I do happen to have an external dlink serial modem but thats kinda inconvenient to move around with. I got this modem(internal) working before with fedora core 1, so I plan to have it working again.
 
Old 04-30-2005, 02:23 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Is kernel-source installed and does the symbolic link /usr/src/linux point to the folder containing the source code for the kernel?

cd /usr/src
ls -al

If that exists, is it the kernel-sources for your running kernel?

uname -r -a

Last edited by fancypiper; 04-30-2005 at 02:26 PM.
 
Old 04-30-2005, 03:16 PM   #5
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
Code:
root@SOL:/tmp/hsfmodem-7.18.00.03full# ls -al /usr/src/linux
lrwxrwxrwx  1 root root 14 2005-04-30 15:13 /usr/src/linux -> linux-2.6.11.6/
root@SOL:/tmp/hsfmodem-7.18.00.03full# uname -ra
Linux SOL 2.6.11.6 #2 Wed Apr 6 23:41:42 VET 2005 i686 unknown unknown GNU/Linux
root@SOL:/tmp/hsfmodem-7.18.00.03full#
 
Old 04-30-2005, 05:11 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Your output doesn't show what I expected, but you didn't fully answer the question.

(Again), does kernel-source exist?
Code:
Sat Apr 30 05:08 PM root@uilleann /usr/src # ls -al
total 16
drwxr-xr-x   4 root root 4096 Apr 30 17:07 .
drwxr-xr-x  15 root root 4096 Apr 24 17:56 ..
lrwxrwxrwx   1 root root   24 Apr 30 17:07 linux -> linux-2.4.22-1.2199.nptl
lrwxrwxrwx   1 root root   24 Apr 24 19:49 linux-2.4 -> linux-2.4.22-1.2199.nptl
drwxr-xr-x  16 root root 4096 Apr 24 19:49 linux-2.4.22-1.2199.nptl
drwxr-xr-x   7 root root 4096 Apr 24 18:05 redhat
Sat Apr 30 05:09 PM root@uilleann /usr/src # uname -r -a
Linux uilleann 2.4.22-1.2199.nptl #1 Wed Aug 4 12:25:07 EDT 2004 i686 athlon i386 GNU/Linux
 
Old 04-30-2005, 05:16 PM   #7
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
Code:
|-(clay@SOL:pts/0)------------------------------------------------------------(~)-|
|-(%)- ls -al /usr/src
total 36261
drwxr-xr-x   6 root root       232 2005-04-30 15:13 ./
drwxr-xr-x  18 root root       544 2003-11-11 10:56 ../
lrwxrwxrwx   1 root root        14 2005-04-30 15:13 linux -> linux-2.6.11.6/
drwxr-xr-x  15 root root       584 2005-01-20 15:41 linux-2.4.29/
drwxrwxr-x  19 1001 users     1216 2005-04-10 04:16 linux-2.6.11.6/
-rwxr-xr-x   1 root root  37090316 2005-04-06 16:29 linux-2.6.11.6.tar.bz2*
drwxr-xr-x   7 root root       168 2003-10-29 02:08 rpm/
drwxr-xr-x   2 root root       176 2005-01-20 18:31 speakup-2.4.29/

Last edited by Mr_C; 04-30-2005 at 05:17 PM.
 
Old 04-30-2005, 05:24 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
You have two kernel-source installed, linux-2.4.29 and linux-2.6.11.6 (most likely linux-2.6.11.6 from your post)

Now, try making a symbolic link named linux that points to your source code of the kernel you are actually running:

uname -r

ln -s /usr/src/linux-2.6.11.6 /usr/src/linux

Now, reinstall and configure the modem module.

Last edited by fancypiper; 04-30-2005 at 05:29 PM.
 
Old 04-30-2005, 05:28 PM   #9
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
umm.... /usr/src/linux is a symbolic link pointing to /usr/src/kernel-2.6.11.6
this is the kernel I'm running
 
Old 04-30-2005, 05:32 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Sorry, I overlooked that part (/usr/src/linux) in your post.

There are quite a few changes between the 2-4 to 2.6 kernels and the way it handles modules, but the extracted module install INSTALL and README files should explain any more hoops you need to jump through.

If you have carefully read and followed the directions in the INSTALL and README files of the extracted modem driver, I am out of ideas.

Last edited by fancypiper; 04-30-2005 at 05:53 PM.
 
Old 04-30-2005, 05:33 PM   #11
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
well thanks for your patient help anyhows
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to activate a HSF modem? markw8500 Linux - Hardware 8 01-07-2006 05:59 PM
hsf modem vendace Linux - Hardware 4 10-14-2004 09:21 PM
Conexant HSF 56K HSFi modem issues... zoolfoos Linux - Hardware 2 10-03-2004 09:50 AM
HSF modem mtb Linux - Hardware 3 12-16-2002 11:06 AM
conexant hsf modem tchumatu Linux - General 10 04-04-2002 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration