LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2002, 04:39 PM   #1
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 315

Rep: Reputation: 30
Angry Intel HaM modem driver


Can someone help me install the Intel® MD563X-HaM V.92 chipset Linux driver????

I am using Red Hat Linux 7.1

6 steps to install
1. login as ROOT
2. extract the archive into a directory with "tar -xvf <archivename>.tgz"
3. cd into the directory it created.
4. Type: make clean
5. Type: make all
6. Type: make install

The "make clean" function runs ok, but "make all" cannot find "all". Another forum suggested "make ham". This looked like the solution, but ends up with following Error messages:
. . .
#make ham
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname
-r`/build/include/linux/version.h; fi
cd coredrv; make \
"PSTN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX"\ ham;
make[1] Entering directory
'/home/downloads/drivers/modem/Intel_HaM/Intel.v92ham-425/coredrv'
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I
/lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c

In file include from .. /inc/hamdefs.h.65,
from .. /inc/hamcore.h:39,
from coredrv.c:33
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers
/usr/include/linux/modversions.h:1:2: #error but headers from an appropriate kernel-source
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory '/x-modem/Intel.v92ham-425/coredrv'
make[1]: *** [ham] Error 2
#


It is the last three lines that concern me.

Any help would be very welcome.

Johng
 
Old 02-12-2002, 05:57 AM   #2
Grimnir
LQ Newbie
 
Registered: Feb 2002
Location: Connecticut, USA
Distribution: Redhat 9
Posts: 22

Rep: Reputation: 15
A Variation on the steps I have seen quite frequently is this:

0) make clean
!) ./configure <assorted args here>
2) make
3) make check
4) make install

This works for alot of the GNU compilations,
maybe it will work for this...


Hope it helps
Grimnir
 
Old 02-12-2002, 06:08 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
you've not got the kernel headers installed on your system which is what

/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers
/usr/include/linux/modversions.h:1:2: #error but headers from an appropriate kernel-source

means.
 
Old 02-12-2002, 03:46 PM   #4
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 315

Original Poster
Rep: Reputation: 30
Thank you Grimnir and Chris for your replies.

When I "un-tar" the driver file, it creates 2 shell script files (hamboot and haminst), an executable file (hamregistry), makefile, and 3 sub-directories (coredrv, inc, serial).

Directory 'coredrv' contains 6 .c files, plus hamcore.lib and makefile.
Directory 'inc' contains 6 .h files
Directory 'serial' contains one .c file and makefile


As a newbee, I need to ask more questions.

Grimnir: What are the "assorted args" referred to in the line ./configure ?

Chris: How do I install the kernel headers needed?

Cheers

Johng
 
Old 02-18-2002, 02:17 PM   #5
Dennismull
LQ Newbie
 
Registered: Feb 2002
Location: Arkansas
Posts: 1

Rep: Reputation: 0
Same problem

I would like to the answer to the above questions because i am having the same problems
 
Old 02-18-2002, 10:46 PM   #6
Grimnir
LQ Newbie
 
Registered: Feb 2002
Location: Connecticut, USA
Distribution: Redhat 9
Posts: 22

Rep: Reputation: 15
Quote:
Originally posted by Johng

Grimnir: What are the "assorted args" referred to in the line ./configure ?
You need to look insiide the INSTALL file that is in the directory with the make file and the configure file, that will give you specifics what argument are available for configure (if any) and general help. The most common Argument is --prefix=<directory> which is where you want the compiled files to go when you install, this usually defaults to /usr/local, but some times you want the files to go to /usr so you would run configure like this:

./configure --prefix=/usr

Try looking in the INSTALL file in the directory where the make and configure files are.

Hope it helps,
Grim
 
Old 02-19-2002, 04:06 AM   #7
djezzer
LQ Newbie
 
Registered: Feb 2002
Posts: 8

Rep: Reputation: 0
Lightbulb

I have had a same problem like you did, RedHat7.1 comes with kernel 2.4.x and the intel hamdrivers are ready to compile with a kernel not newer than 2.2.x. So go to the intel site, get the new drivers that are prepared for compilation under a 2.4.x kernel and try again.
You might run into other problems after that, but keep posting and you will get answers ;-)

Greetz, dJezzer
 
Old 02-19-2002, 09:59 PM   #8
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 315

Original Poster
Rep: Reputation: 30
Hi

In response to Grimnir, the ./configure command does not appear to have anywhere to go (to do).

And djezzer, I have been trying to install the Intel-v92ham-425.tar from the Intel site, the "readme" file states - "20 November 2001: This release supports 2.4.x kernels."

So at this time, I have not made any progress. The point raised by Chris sounds like a lead, but I don't know what to do about it.

Cheers

Johng
 
Old 02-20-2002, 02:31 AM   #9
djezzer
LQ Newbie
 
Registered: Feb 2002
Posts: 8

Rep: Reputation: 0
The reply made by acid_kewpie will get you back on track. Get the new kernel 2.4.17 (latest known stable kernel) including the kernel headers. Compile the kernel and you will be able to compile the hammodem drivers. A good kernel compilation manual can be found at Linuxnewbies ( http://www.linuxnewbie.org/nhf/intel....4upgrade.html ). Be careful, in the submenu 'Network device support' you have to activate the options 'PPP support for sync tty ports' and the same option for async ports. Without those your modem won't find the PPPservice.

Good luck, dJezzer
 
Old 02-21-2002, 04:14 PM   #10
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 315

Original Poster
Rep: Reputation: 30
Thank you dJezzer

I have got the instructions you refer to, and will see what happens.

Cheers

Johng
 
  


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 find Intel Ham modem driver Sleepypig Linux - Hardware 1 02-14-2005 05:02 AM
Intel Ham modem installation sdabhi Linux - Networking 1 10-13-2003 07:54 PM
HAM modem by Intel vgd Slackware 2 08-04-2003 10:34 AM
redhat 7.3 and intel HaM modem kaka Linux - Hardware 2 12-25-2002 09:42 PM
Intel Ham Modem? robb5150 Linux - Newbie 2 12-12-2002 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration