linux:~/ltmodem-8.26a9 # ./build_module
Within build_module FV=
/tmp/ltmodem/tmpfile
Lucent/Agere DSP chip modems (but Not the AMR modems)
are supported by the the resources of this kit.
Agere Systems, Inc. provides the proprietary code,
particularly including DSP (digital signal processing)
to volunteer Maintainers managing several enhancements.
Mark Spieth initiated the ltmodem compiler kit series.
Chris Hebeisen introduced the Configure implementation,
bringing Newbie friendliness.
Marv Stodolsky is culpable for the verbose messaging.
Within DOCs/, see CREDITS and Ltmodem.html for details on
the contributions of many others.
Volunteers have assembled the ltmodem-version.deb and
ltmodem-version.rpm Installers for the Linux community
utiliizing the resources of this compiler kit series.
If new to compiling, please first run: utils/ksp.sh
to set up your kernel-sources properly. The kernel-source package as installed
does NOT in general match an installed kernel, but one of several alternative kernels.
This with a niave usage, all could be completed well technically.
BUT the installed drivers might not be compatible with your kernel,
of even reside in the right /lib/modules/Kernel_Version/ tree.
To continue, Enter
This compilation process is likely Not necessary to work through,
if the only need is modem drivers matching the standard kernel of the
following Linux distributions: Debian, Red Hat, Mandrake, SuSE and Connectiva
Volunteers have already compiled most standard drivers.
Those available as of this 8.26a9 release are embedded in utils/scanmodem,
and any compatible with your System requirements will be later listed.
They are available for download as ltmodem-version.rpm and
ltmodem-version.deb Installers from http://www.heby.de/ltmodem/
Some additions may have since been deposited at http://www.heby.de/ltmodem/
since this 8.26a9 release. Do check carefully therein for updates if necessary.
The compiling process is a learning experience for Newbies.
We strongly recommend that you DO learn it sometime.
But getting on the Internet under Linux should have first priority.
This kit provides several diagnostics aids and good documentation.
Continuing will do no harm. Useful diagnostic information
on your system will be written to BLDrecord.txt,
with direction to documentation if a failure occurs.
At a minimum, Do keep the DOCs/ and utils/ folders and become familiar
with the resources therein.
To continue: Enter
=================================================================
This is the version 8.26a9 of the compiler + installer kit
8.26 corresponds to the version of the core Agere Systems DSP code.
a9 designation that follows reflects NO improvement in DSP code.
Rather peripheral driver, added diagnostics and installer improvements
are reflected. They are progressively implemented as Users report problems
or the Linux kernel evolves.
The modem drivers will serve with Linux kernels beginning with 2.2.2, the current
2.4.nn series, and there is experimental support for the emerging 2.5.nn kernels.
If your PC is being well served with this 8.26a9,
there is NO Benefit in using a more recent version
until there is an update in the Agere driver code, say 8.22 to 9.00.
But if the driver installation for a new kernel should in some way fail,
please do download the most recent ltmodem-VER.tar.gz
before sending a query to
[email protected],
because the problem may already be solved.
This build_module script only compiles drivers,
with their installation managed by subsequent commands.
Thus ./build_module can be rerun for education or amusement,
without as yet committing changes to your System.
For general instructions: Enter
=================================================================
All should work automatically for most Linux installations/distributions,
IF a complete kernel-headers/ folder is available:
through a symbolic link: /lib/modules/KernelVersion/build --> PATH_to/kernel-headers/
at the classical /usr/src/ position.
Otherwise a symbolic link will be necessary:
ln -s PATH_to/kernel-headers/ /usr/src/linux
Read DOCs/Compile-properly.txt and 1ST-READ if an explanation is needed about kernel-headers.
To compile modules for a kernel other version than 2.4.20-4GB-athlon, such as version 2.2.17-3test, use syntax:
./build_module 2.2.17-3test
where the version.h in the kernel-headers/ folder has 2.2.17-3test
If desirable to make a record for trouble shooting purposes,
Abort with Ctrl-C. First start a recording script with:
script ltrecord.txt
Then again the command: ./build_module
To continue: Enter
====================================================================
Diagnostic information is progressively being written to BLDrecord.txt .
Often, contents of BLDrecord.txt will aid in solving a problem.
Now acquiring distribution data:
The Linux distribution is: SuSE, SuSE Linux 8.2 (i586)
VERSION = 8.2
TARGET_CPU=i686
End of distribution check.
A supported Lucent/Agere DSP chipset modem is identified: PCI_ID=11c1:044e
VENDOR 0x11c1 DEVICE 0x044e
ID are within the serviced ranges for Lucent/Agere DSP modems:
------------------------------------------
LUCENT 0x11c1 0x0440-0x045c
XIRCOM 0x115d 0x0000-0x000F
XIRCOM 0x115d 0x0440-0x045c
XIRCOM 0x115d 0x0010-0x03ff
-------------------------------------------
Drivers and their compiler kits are available at:
http://www.heby.de/ltmodem/
For more details read the Recording file.
utils/scanmodem: line 1: locate: command not found
To continue: Enter
==================================================
Checking for any preliminary complications.
Bad links to /usr/include not evident.
Kernel config file not recognized within the /boot folder.
OK thus far.
To begin acquisition of compiling information: Enter
Removing old makings and expanding a clean source.tar.gz
Setting BLDrecord.txt link within source/ folder.
lrwxrwxrwx 1 root root 16 Jun 19 16:44 BLDrecord.txt -> ../BLDrecord.txt
Following a successful check for matching kernel-headers,
the modem drivers will be compiled for the current kernel version: 2.4.20-4GB-athlon
To start resource tests: Enter
Performing a configure trial and capturing the report to ../conf-report.txt.
Parsing the report:
Version mismatch
A sample successfull conf_out.txt is in the folder DOCs/
For the Linux distribution SuSe and perhaps Others,
the resource test failure may merely be
because Root permission is needed to access kernel-headers/ folders.
Login in as Root and re-run ./build_module
Here is the report from ../conf-report.txt
------------------
creating cache ./config.cache
Checking OS
Checking machine type
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
Checking gcc major version 3
Checking for rpm build... which: no rpmbuild in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gnome/bin)
rpm
checking for a BSD compatible install... /usr/bin/install -c
checking for make... yes
checking for ld... yes
Checking for kernel headers
... in /usr/src/linux: Kernel headers found in /usr/src/linux
... in /usr/src/kernel-headers-2.4.20-4GB-athlon: nope
... in /usr/src/linux-2.4.20: nope
... in /usr/src/linux-2.4.20-4GB-athlon: nope
... in /lib/modules/2.4.20-4GB-athlon/build: Kernel headers found in /lib/modules/2.4.20-4GB-athlon/build
using /lib/modules/2.4.20-4GB-athlon/build
Checking kernel header version
kernel headers are version 2.4.20-4GB
Version of kernel sources (2.4.20-4GB) does not match the version
of the running kernel (2.4.20-4GB-athlon)
ERROR: Version mismatch
If you want to build the module for kernel 2.4.20-4GB
please use --with-force=yes. If you want to use the driver
with your currently running kernel, install the kernel
headers for it.
If the correct kernel headers are installed but configure
used the wrong ones, try passing --with-kernel=dir.
------------------
Read instructions at the end of BLDrecord.txt