[hsflinux] Re: hsflinux digest, Vol 1 #341 - 7 msgs Debian

William Kearney TremaSol at gbronline.com
Thu Jun 12 14:53:26 EDT 2003


Hello. You may recall that I was having some problems with the make install
part of the hsflinmodem 5.03.27 installation. I took azajac suggestion and
installed kernel-headers-2.4.18-bf2.4. Then I changed KERNELSRC definition
and everything worked fine.

Next I tried hsfconfig but was stymied with the following message:

WARNING: missing file kernel-headers-2.4.18-bf2.4/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)...

I checked and the file autoconf.h appears in the appropriate directory.
Now in my /usr/src directory I have the following directories

kernel-headers-2.4.19-bf2.4
kernel-source-2.4.18

and a symbolic link

    linux -> /usr/src/kernel-source-2.4.18,

this link the result of an earlier attempt to get things working.

in the directory /usr/src/kernel-source-2.4.18 I have the symbolic link

    linux -> /usr/src/linux

Somehow I think this could be my problem. Does anyone have ideas?

Thanks

-Will K
----- Original Message ----- 
From: <hsflinux-request at lists.mbsi.ca>
To: <hsflinux at lists.mbsi.ca>
Sent: Thursday, June 12, 2003 12:00 PM
Subject: hsflinux digest, Vol 1 #341 - 7 msgs


> Send hsflinux mailing list submissions to
> hsflinux at lists.mbsi.ca
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.mbsi.ca/mailman/listinfo/hsflinux
> or, via email, send a message with subject or body 'help' to
> hsflinux-request at lists.mbsi.ca
>
> You can reach the person managing the list at
> hsflinux-admin at lists.mbsi.ca
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of hsflinux digest..."
>
>
> Today's Topics:
>
>    1. Re: Problem loading hsflinmodem drivers on RH9 (Jean-Simon Durand)
>    2. Re: hsfmodule gives unresolved symbols (Jean-Simon Durand)
>    3. Re: what do you do with driver when downloaded (Jean-Simon Durand)
>    4. Re: NO DIALTONE on RH9.0 (Jean-Simon Durand)
>    5. Re: Got a problem with HSF modem under RH 7.3 (Jean-Simon Durand)
>    6. Re: In Debian "Woody"-bf2.4 (Jean-Simon Durand)
>    7. Re: In Debian "Woody"-bf2.4 (azajac at vif.com)
>
> --__--__--
>
> Message: 1
> Date: Thu, 12 Jun 2003 05:12:33 -0400
> From: Jean-Simon Durand <jsimon at linuxant.com>
> Subject: Re: [hsflinux] Problem loading hsflinmodem drivers on RH9
> To: Johann COHEN-TANUGI <johann.cohen at pi.infn.it>
> Cc: hsflinux at lists.mbsi.ca
>
> Hi,
>
> Please try this. Instead of getting the source RPM and then installing
from
> the .tar.gz in /usr/src/redhat/SOURCES, get the "generic binary RPM with
> source".
>
> In your case, that would be this link:
>
http://www.linuxant.com/drivers/hsf/archive/hsflinmodem-5.03.27lnxtbeta03042
> 700/hsflinmodem-5.03.27lnxtbeta03042700-1.i386.rpm
>
> Make sure the driver is completely uninstalled, then run rpm --install on
> the file that you just downloaded. After the installation, run "hsfconfig"
> and it will compile the driver using your kernel sources.
>
> You have to make sure that the kernel you are running was compiled from
the
> same source tree that "hsfconfig" will use to compile the modem driver.
> hsfconfig usually follows the symbolic link
"/lib/modules/`uname -r`/build"
> and uses that as the kernel source tree's root.
>
> I'm pretty sure that this is a kernel source issue. Try to compile a
generic
> kernel from ftp.kernel.org if you can't get it to work with the redhat
> kernel.
>
> Regards,
>
> Jean-Simon
>
>
> ----- Original Message -----
> From: "Johann COHEN-TANUGI" <johann.cohen at pi.infn.it>
> To: <hsflinux at lists.mbsi.ca>
> Sent: Thursday, June 05, 2003 11:18 AM
> Subject: [hsflinux] Problem loading hsflinmodem drivers on RH9
>
>
> ok here I try again, having cleaned up my code to make sure nothing was
> inapropriately present!
> [...]
>
>
> --__--__--
>
> Message: 2
> Date: Thu, 12 Jun 2003 06:14:37 -0400
> From: Jean-Simon Durand <jsimon at linuxant.com>
> Subject: Re: [hsflinux] hsfmodule gives unresolved symbols
> To: Ria <ria_cy at rediffmail.com>, hsflinux at lists.mbsi.ca
>
> Hi,
>
> How did you proceed exactly to recompile the drivers with the new kernel
> source tree? Did you try to uninstall the RPM completely, then reinstall
it
> and run "hsfconfig"?
>
> Regards,
>
> Jean-Simon
>
>
> ----- Original Message -----
> From: "Ria" <ria_cy at rediffmail.com>
> To: <hsflinux at lists.mbsi.ca>
> Sent: Tuesday, June 03, 2003 9:49 AM
> Subject: [hsflinux] hsfmodule gives unresolved symbols
>
>
> Hi every one,
> I have downloaded the generic
> hsflinmodem-5.03.27lnxtbeta03042700.tar.gz.
>
> It compiles perfectly for RH9.0 kernel.
>
> Now I have patched my kernel with bootsplash from this link
>
ftp://ftp.suse.com/pub/people/stepan/bootsplash/kernel/bootsplash-3.0.7-2.4.
> 20-vanilla.diff
>
> I recompiled my kernel selected all module i need in built.
>
> I get the following errors when i try to load my hsf module(this
> has been recompiled with the patched kernel src)
>
> /lib/modules/2.4.20-6/misc/hsfosspec.o: unresolved symbol
> __ioremap_R9eac042a
> [...]
> /lib/modules/2.4.20-6/misc/hsfosspec.o: unresolved symbol
> __vmalloc_R79995c5b
> _R0da02d67
>
> Since this work with the original kernel i could be making either
> one of these mistakes.My kernel compile has not selected something
> hsf module depends on or the patch makes the diff.
> pls help
>
> regards,
> Ria
>
>
> --__--__--
>
> Message: 3
> Date: Thu, 12 Jun 2003 06:14:40 -0400
> From: Jean-Simon Durand <jsimon at linuxant.com>
> Subject: Re: [hsflinux] what do you do with driver when downloaded
> To: miles treneary <mat1 at clear.net.nz>, hsflinux at lists.mbsi.ca
>
> Hi,
>
> you need to transfer the file to Linux. You could do this with a floppy
> disk. You can look in your SuSE manual for information on how to mount
your
> floppy disk in Linux. This page might also be usefull:
> http://www.meangene.com/notes/floppy.html
>
> Regards,
>
> Jean-Simon
>
>
> ----- Original Message -----
> From: "miles treneary" <mat1 at clear.net.nz>
> To: <hsflinux at lists.mbsi.ca>
> Sent: Sunday, June 01, 2003 7:47 PM
> Subject: [hsflinux] what do you do with driver when downloaded
>
>
> Any advice would be much appreciated suse live evaluation8.2 cannot
> recognise my modem so i have downloaded the hsf driver to windows  windows
> does not reconise the program so i cant open it what do i need to do
thanks
>
>
> --__--__--
>
> Message: 4
> Date: Thu, 12 Jun 2003 06:14:42 -0400
> From: Jean-Simon Durand <jsimon at linuxant.com>
> Subject: Re: [hsflinux] NO DIALTONE on RH9.0
> To: Simon Crosato <linuxmail2 at yahoo.com.au>, hsflinux at lists.mbsi.ca
>
> Hi,
>
> There was another user from Australia with an HCF modem who had the same
> problem. He managed to get it working by importing the RELAYS and FLAGS
from
> the windows driver. You should probably give it another shot.
>
> Make sure you rerun "hsfconfig" after editing the proper INF file (the one
> that is actually used by the driver).
>
> Please let us know about your results.
>
> Jean-Simon
>
>
> ----- Original Message -----
> From: "Simon Crosato" <linuxmail2 at yahoo.com.au>
> To: <hsflinux at lists.mbsi.ca>
> Sent: Monday, June 09, 2003 9:53 AM
> Subject: [hsflinux] NO DIALTONE on RH9.0
>
>
> Hi List users
>
> I have read the FAQ and scanned the list, but cannot
> get the driver to recognise a dialtone.
> Interestingly, I had the modem working easily under
> RH7.3, but I'm now getting to the hair pulling stage
> (closely followed by having to use Windoze again which
> hurts more). I can hear the dialtone thru the PC
> speaker, but the driver can't seem to recognise it.
> Incidently, the modem works as expected under Windows
> Me.
>
> I have tried:
>
> (1) Straight rpm installs on a fresh RH 2.4.20-8
> kernel, and the same with a 2.4.20-9 kernel.
> No module load probs, but no dialtone either.
>
> (2) The same booting with apic=off. I don't think my
> machine uses them anyway. No tone detection.
>
> (3) Building from sources both src.rpm and tar.gz. No
> module load probs, but no dialtone either.
>
> (4) Importing values from the Win9.X inf file. Same
> deal.
>
> (5) Building from sources with a modified ostime.c I
> gleaned from the list archives. Clean compile but
> still no tone.
>
> I don't know what else to try short of installing the
> next RH9.0 kernel 2.4.20-18. I have attached
> hsfdiag.txt just in case. Looking forward to a
> response from a better head than mine. AdThanksVance
>
> ~Simon
>
>
> --__--__--
>
> Message: 5
> Date: Thu, 12 Jun 2003 06:14:44 -0400
> From: Jean-Simon Durand <jsimon at linuxant.com>
> Subject: Re: [hsflinux] Got a problem with HSF modem under RH 7.3
> To: parsa ghaffari <l_fhoenix_l at yahoo.com>, hsflinux at lists.mbsi.ca
>
> Hi,
>
> can you please send us the file generated by the command
> "hsfconfig --dumpdiag"?
>
> Thank you,
>
> Jean-Simon
>
>
> ----- Original Message -----
> From: "parsa ghaffari" <l_fhoenix_l at yahoo.com>
> To: <hsflinux at lists.mbsi.ca>
> Sent: Friday, June 06, 2003 7:10 AM
> Subject: [hsflinux] Got a problem with HSF modem under RH 7.3
>
>
> Hi all,
> thanks for your attention;
> I just installed RedHat 7.3 and i had SuSE 7.2 before.
> The HCF driver worked correctly for my SuSE but now,
> it doesn't work so i was ought to install a HSF one.
> I installed it without any problem. I used Kppp to
> connect but, it dials the phone number and then no
> action. It disconnects because of modem timeout.
>
> Sincerely yours,
> Parsa.
>
>
> --__--__--
>
> Message: 6
> Date: Thu, 12 Jun 2003 06:14:50 -0400
> From: Jean-Simon Durand <jsimon at linuxant.com>
> Subject: Re: [hsflinux] In Debian "Woody"-bf2.4
> To: Jose Angel Garcia Corona <jogarco at netscape.net>,
hsflinux at lists.mbsi.ca
>
> Hi,
>
> your kernel source is probably installed in /usr/src/linux<something> and
> not just /usr/src. Please verify this carefully and update the valude of
> KERNELSRC to the proper path.
>
> Regards,
>
> Jean-Simon
>
>
> ----- Original Message -----
> From: "Jose Angel Garcia Corona" <jogarco at netscape.net>
> To: <hsflinux at lists.mbsi.ca>
> Sent: Monday, June 09, 2003 7:55 PM
> Subject: [hsflinux] In Debian "Woody"-bf2.4
>
>
> *Ihave been using the hsf-driver in Mandrake to my satisfaction for a
> lot of time,
>  (hsflinmodem-5.03.03.L3mbsibeta02110300k2.4.18_6mdk-1mdk.i586.rpm
version)
> *I've changed to Debian 3.0 r1 "Woody" and tried to install the
>  hsflinmodem-5.03.27mbsibeta02122600.tar.gz. (METHOD C) (same modem, of
> course)
> *I've installed kernel-source-2.4.18 and changed definition of KERNELSRC
to:
>  KERNELSRC= /usr/src/
>  (The "PackageManager" put in this directory:
> kernel-source-2.4.18.tar.bz2 after
>    installation, but I wonder if it installed it OK)
> *The installation fails.
>      Could anyone please tell me what am I doing wrong?
> (I've seen some other messages about the same problem, but no results
> for me)
>
> And here is the installing log:
> # make install
> make[1]: Entering directory
>  `/usr/local/hsflinmodem-5.03.27lnxtbeta03042700/inf'install -m 644
>  linux_ali_smartmc.inf linux_athens.inf linux_hsf.inf linux_hsfi.inf
>  linux_intel_smartmc.inf linux_smarthsf.inf linux_via_smartmc.inf
>  /etc/hsf/infmake[1]: Leaving directory
>  `/usr/local/hsflinmodem-5.03.27lnxtbeta03042700/inf' make[1]: Entering
>  directory `/usr/local/hsflinmodem-5.03.27lnxtbeta03042700/inf2bin'
> install -m 755 hsfinf2bin /usr/sbin/hsfinf2bin
> make[1]: Leaving directory
>  `/usr/local/hsflinmodem-5.03.27lnxtbeta03042700/inf2bin'
> make[1]: Entering directory
>  `/usr/local/hsflinmodem-5.03.27lnxtbeta03042700/firm2bin'
> install -m 755 hsffirm2bin /usr/sbin/hsffirm2bin
> install -m 644 cnxykf.hex /etc/hsf
> make[1]: Leaving directory
>  `/usr/local/hsflinmodem-5.03.27lnxtbeta03042700/firm2bin'
> make[1]: Entering directory
>  `/usr/local/hsflinmodem-5.03.27lnxtbeta03042700/scripts'
> install -m 755 hsfconfig hsfstop /usr/sbin
> make[1]: Leaving directory
>  `/usr/local/hsflinmodem-5.03.27lnxtbeta03042700/scripts'
> make[1]: Entering directory
>  `/usr/local/hsflinmodem-5.03.27lnxtbeta03042700/modules'
> common.mak:16: *** Is the kernel-source package installed? KERNELSRC
> does not
>  point to a proper directory (/usr/src).  Stop.
> make[1]: Leaving directory
>  `/usr/local/hsflinmodem-5.03.27lnxtbeta03042700/modules'
> make: *** [install] Error 2
> #
>
>
> --__--__--
>
> Message: 7
> Date: Thu, 12 Jun 2003 10:43:45 -0400
> From: azajac at vif.com
> To: hsflinux at lists.mbsi.ca
> Subject: [hsflinux] Re: In Debian "Woody"-bf2.4
>
> > *I've installed kernel-source-2.4.18 and changed definition of KERNELSRC
to:
> >  KERNELSRC= /usr/src/
> >  (The "PackageManager" put in this directory:
> > kernel-source-2.4.18.tar.bz2 after
> >    installation, but I wonder if it installed it OK)
>
> It sounds as though you installed the kernel-source package, but have not
> recompiled your kernel.
>
> The nuance is that the stock Debian 2.4.18-bf kernel is not the same as
the
> plain kernel source.  It contains two or three patches and a few bugfixes.
>
> You cannot compile things for your kernel with a different kernel source.
>
> Don`t panic.
>
> You can either use the stock kernel or recompile your own kernel.
>
> To use the stock kernel:
>
> apt-get install kernel-headers-2.4.18-bf2.4
>
> (use /usr/src/kernel-headers-2.4.18-bf2.4 as your source directory for
> KERNELSRC and hsfconfig.)  The kernel source would take up over 100 Megs
of
> space.  The headers are the bare minimum needed for many applications to
compile
> things against the kernel source.  It takes up much less disk space than
the
> whole kernel source.
>
> make install
> hsfconfig
>
>
> Or you can recompile your kernel:
>
> tar -xvjf kernel-source-2.4.18.tar.bz2
>
> ln -s /usr/src/kernel-source-2.4.18 linux
>
> cd linux
>
> make config (or make menuconfig, or make xconfig  <- the most friendly...)
>
> configure every single variable you want to change to optimize your
computer.
>
> then, compile the kernel (you can do make dep, then make, and make install
or
> you can use the kernel-package too which compiles the kernel and packages
it
> into a deb package which you then install with dpkg-i
kernel-image-custom....)
> Read the debian installation manual for more detailed instructions at:
>
>
http://www.debian.org/releases/stable/i386/ch-post-install.en.html#s-kernel-
> baking
>
> Using the stock kernel is much easier if you do not have the time or the
desire
> to recompile your kernel.
>
>
>
> --__--__--
>
> _______________________________________________
> hsflinux mailing list
> hsflinux at lists.mbsi.ca
> http://www.mbsi.ca/mailman/listinfo/hsflinux
>
>
> End of hsflinux Digest
>




More information about the hsflinux mailing list