LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-13-2003, 04:36 PM   #1
skarloey
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
conexant modem and hsfconfig asks for source build dir (Mandrake 9.1)


I have installed Mandrake 9.1 and everything seems to work fine including sound and my TV-out. I have determined that my modem is Conexant and requires the hsf driver from linuxant.com. I install the driver and run hsfconfig as directed and then it asks where the linux source build directory is that matches my running kernel. The default shows usr/src/linux. Accepting this default directory errors with the following:
Code:
WARNING: missing file /usr/src/linux/include/linux/autoconf.h
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or
symbolic link). 

First, ensure that the proper kernel source and compiler
packages from your distribution vendor and/or the community are
installed. 

The Linux kernel can then be reconfigured by running "make
menuconfig" under the kernel source directory
(usually /usr/src/linux). 

Verify that the proper options for your ystem are selected, and
that CONFIG_SMP ("Symmetric multi-processing support"
under "Processor type and features") is disabled, as this driver is
presently designed to work on single-processor machines. 

Then compile and install your new kernel (for more information
about this procedure, see the README file under the kernel
source directory), boot the system using the new kernel, and
re-run "hsfconfig".
Can someone point me to the correct directory? Alternately, do I need to create the directory? Any help is appreciated.
 
Old 07-14-2003, 03:30 AM   #2
juby
Member
 
Registered: Dec 2002
Location: Bangalore, India
Distribution: Ubuntu 5.*
Posts: 241

Rep: Reputation: 30
!!! quite amusing ! did u install a rpm or a src ?
btw the src directory will be /usr/src/linux-KERNEL_VERSION
so if u need to hack the script use this info

tip u can use uname -r on the shell prompt to get ur kernel version ..also make sure that u have installed the proper version of the driver meant for ur kernel..

i had installed a hsf modem on redhat ..the improper version may be the cause of the errors
 
Old 07-14-2003, 06:45 AM   #3
skarloey
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
I installed the distribution specific rpm...http://www.linuxant.com/drivers/hsf/...-1mdk.i586.rpm I had already made sure that my kernel version matched. Version 2.4.21_0.13mdk. So, thanks for the tip Juby but my install of Mandrake did not create the /usr/src/linux-2.4.21_0.13mdk directory. Any other suggestions?
 
Old 07-14-2003, 07:43 PM   #4
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
juby help me out cuz im having problems with redhat workin wit my hsf driver. what problems did you run into and how did you fix?
 
Old 07-15-2003, 04:18 AM   #5
juby
Member
 
Registered: Dec 2002
Location: Bangalore, India
Distribution: Ubuntu 5.*
Posts: 241

Rep: Reputation: 30
ok u can just create a dir in /src directiory with ur kernel version as its name and link it to the actual src driectory..that way u can get around the probs..


coming to the redhat qn.. it was a smooth install with no issues at all.. i may be able to help u if u tell me what exactly is ur problem. most common causes are unmatching type drivers, ie trying to install hsf for hcf chips or the other way round ..incorrfect version of drivers etc..any way tell me what is the problem u r facing.. hth
 
Old 07-15-2003, 08:18 AM   #6
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
my problem seems to be conflicting irq's. i got like 2 devices using irq 10, so when i try to use my modem it say it is busy.
 
Old 07-16-2003, 12:45 AM   #7
juby
Member
 
Registered: Dec 2002
Location: Bangalore, India
Distribution: Ubuntu 5.*
Posts: 241

Rep: Reputation: 30
i dont think that will cause a problem, 'coz i have a sm56 that has irq 10 and nvidia also on the same IRQ.

btw have u installed the kernel-src rpm ?
if not try installing it.. if u have already installed it .. u may have to fix the hsfconfig script urself by replacing the path to the kernel given there by the actual path.. did u try creating a dir and linking it to the actual dir as i said earlier ???

ie if the hsfconfgi script demands for /usr/src/blah_123/foo.h
create a dir called /blah_123 in /usr/src and link it to the place where ur kernl sources are installed.

it dint ask for any kernel srcs when i installed it from an rpm
in plain words
what u have to do is just create a dir caleld 'linux' in /usr/src/
and use the ln comand to link it to ur actual src directory.. first u may have to install the src.
then just run hsfconfig ..it should work

Last edited by juby; 07-16-2003 at 12:58 AM.
 
Old 07-16-2003, 01:06 PM   #8
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
FYI: /usr/src/linux/ is a symbolic link automatically created to point to the correct linux source directory once you install the kernel source packages off the cd.
 
Old 07-17-2003, 03:52 AM   #9
juby
Member
 
Registered: Dec 2002
Location: Bangalore, India
Distribution: Ubuntu 5.*
Posts: 241

Rep: Reputation: 30
FYI i dont use mandrake & my redhat 8 installation dint create a 'linux' dir i had to create in manually & link it ..
 
Old 07-17-2003, 10:03 AM   #10
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
okay i will try that when i get home
 
Old 07-18-2003, 02:19 PM   #11
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
naw its givign me HSF:Error: like hardware not found and shit
 
  


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
hsfconfig modem -- HELP lefty.crupps MEPIS 7 08-11-2005 04:18 PM
Conexant Modem & Mandrake 10.1 MacHack Mandriva 2 12-08-2004 07:19 AM
Mandrake 10- No Build Dir??? Seribicus Mandriva 2 07-12-2004 05:50 PM
conexant modem driver for mandrake 9.2 giors Linux - Hardware 8 04-30-2004 07:16 PM
source dir for kernel under mandrake 8.2 deezay Linux - General 4 04-08-2002 07:33 PM

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

All times are GMT -5. The time now is 07:24 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
Open Source Consulting | Domain Registration