Linmodems Mailing list Archives
Return-Path: <discuss.-linmodems.org@russnelson.com>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 14937 invoked from network); 23 Nov 2001 15:43:45 -0000
Received: from desk.crynwr.com (qmailr@206.150.82.98)
by www.linmodems.org with SMTP; 23 Nov 2001 15:43:45 -0000
Received: (qmail 6634 invoked by uid 501); 23 Nov 2001 15:43:43 -0000
Message-ID: <20011123154343.6633.qmail@desk.crynwr.com>
Received: (qmail 10061 invoked from network); 23 Nov 2001 14:44:52 -0000
Received: from virtmail.zianet.com (HELO zianet.com) (216.234.192.37)
by www.linmodems.org with SMTP; 23 Nov 2001 14:44:52 -0000
Received: (qmail 17989 invoked by alias); 23 Nov 2001 14:44:56 -0000
Delivered-To: alias-outgoing-discuss@linmodems.org@outgoing
Received: (qmail 17918 invoked by uid 0); 23 Nov 2001 14:44:54 -0000
Received: from sc0076.zianet.com (HELO default) (206.206.120.85)
by zianet.com with SMTP; 23 Nov 2001 14:44:54 -0000
Date: Fri, 23 Nov 2001 07:52:38 -0700
To: discuss@linmodems.org
From: Garnet MacPhee <garnet@zianet.com>
Subject: Linmodem support on Debian potato
X-Mailer: Opera 5.12 build 932
X-Priority: 3 (Normal)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Hello,
I am a newbie trying to install that stable Debian release (potato) for the first
time. I am totally frustrated trying to get the Lucent Mars Winmodem to work.
Here is what I've done so far:
Downloaded (on Windows) the diskette images for the rescue, root, driver, and
base disks, and built the floppies with rawrite2. Then I booted the rescue disk
and installed the base system. All went well so far.
Now I need a modem to get to the FTP site to download the rest of the system,
as I don't have a CD to install from. On Windows I downloaded the tar file
ltmodem-6.00b7, and the files necessary to build it: binutils, cpp, libc6, gcc,
g++, libstdc++, make, and the kernel headers for the build I am using
(udma66).
I am attaching the script I made that shows what happened when I did the
build_module. I downloaded the fixscript and tried to run it, the results are at
the bottom of the script.
I have also tried both of the other routes....binary and kernel source. I can
provide documentation on what went wrong then as well.
By the way...the modem works just fine under Windows...I'm using it to send
this note.
Any help would be appreciated. I've spent a lot of time trying to get this to
work and am totally frustrated...about to give up on the whole thing.
Thanks,
Garnet
Script started on Fri Nov 23 07:20:49 2001
debian:~/ltmodem-6.00b7# ./build_module
This is ltmodem-6.00b7 compiler and package assembler,
for building Debian installer packages for ltmodem drivers.
Agere Systems, Inc. provided proprietary DSP code.
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.
Send help queries through the newslist: discuss@linmodems.org
Enter, for general instructions.
========================================================
=========
All should work automatically for most Linux installations/distributions,
if the kernel-headers/ folder is in the standard /usr/src/ position.
Otherwise a symbolic link will be necessary:
ln -s PATH_TO/kernel-headers/ /usr/src/linux
Within DOCs/, ForNewbies and Compile-failure provide related details.
To build an installer for a kernel other version than 2.2.19-ide, use syntax such
as:
./build_module 2.2.17
where the kernel headers folder is /usr/src/kernel-headers-2.2.17/ or
ln -s PATH_TO/kernel-headers-2.2.17 /usr/src/linux
If desirable to make a record for trouble shooting purposes,
Start again with:
script ltrecord.txt
Then again the command: ./build_module (plus any added variables).
========================================================
============
Enter, to scan for a PCI Lucent chipset modem.
The ltmodem drivers will FAIL to support currently known
winmodems with chipsets produced by:
Conexant, Motorola, US Robotics, IBM, PCTel and Intel.
The Lucent AMR Soft modem is NOT supported.
The Lucent Venus modems with a Controller are served by the serial.o driver,
rather than DSP supporting driver pair, lt_modem.o and lt_serial.o , of this
compiler kit.
Among Xircom modems some are supported, and these will be
reported out during this test.
ISA and PCMCIA card modems are NOT accessed by this scan.
... using /sbin/lspci
Modem found: 11c1:0440
Abort with Ctrl-C at anytime.
Enter, to process the input configuration options.
The modem drivers will be compiled for the current kernel version: 2.2.19-ide
Enter, to start resource tests.
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 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: nope
... in /usr/src/kernel-headers-2.2.19-ide: Kernel headers found in
/usr/src/kernel-headers-2.2.19-ide
... in /usr/src/linux-2.2.19: nope
... in /usr/src/linux-2.2.19-ide: nope
using /usr/src/kernel-headers-2.2.19-ide
Checking kernel header version
kernel headers are version 2.2.19-ide
Checking for SMP support
SMP support in kernel source configuration: no
checking for fakeroot... no
+-----------------------------------------------------------------------------+
| will have to be root. Otherwise this won't affect you. |
+-----------------------------------------------------------------------------+
updating cache ./config.cache
creating ./config.status
creating Makefile
creating autoload.links
creating autoload.entries
creating cleanup.links
creating cleanup.entries
creating ltmodem.spec
The resource checks were successful and configuration files have been created.
Enter to begin compilation of lt_modem.o and lt_serial.o
gcc -D__KERNEL__ -I/usr/src/kernel-headers-2.2.19-ide/include -Wall -Wstrict-
prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-
reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -
DCPU=586 -DMODULE -DLT_VERSION=6.00b7 -DLINUX -DNO_EEPROM -
DLT_SERIAL_MODULE=lt_serial -c -o ltmodem.a ltmodem.c
ld -r -o lt_modem.o ltmodem.a ltmdmobj.o
gcc -D__KERNEL__ -I/usr/src/kernel-headers-2.2.19-ide/include -Wall -Wstrict-
prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-
reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -
DCPU=586 -DMODULE -DLT_VERSION=6.00b7 -DLINUX -DNO_EEPROM -
DLT_SERIAL_MODULE=lt_serial -c -o serial-lt-2.2.a serial-lt-2.2.c
serial-lt-2.2.c:3085: warning: static declaration for `rs_init' follows non-static
ld -r -o lt_serial.o serial-lt-2.2.a
cat autoload.links autoload.entries > autoload
chmod 755 autoload
cat cleanup.links cleanup.entries > cleanup
chmod 755 cleanup
Checking for driver products:
-rw-r--r-- 1 root root 415340 Nov 23 07:21 lt_modem.o
-rw-r--r-- 1 root root 24484 Nov 23 07:21 lt_serial.o
========================================================
==============
Enter, to begin modules dependencies test.
Running test:
/sbin/depmod -e lt_modem.o
The dependency test was passed by lt_modem.o
Running test on lt_serial.o:
/sbin/depmod -e lt_modem.o lt_serial.o
The dependency test was passed by lt_serial.o
========================================================
===================
Enter, to finish ./build_module
Copying newly compiled drivers to folder ../drivers-2.2.19-ide as a backup,
as the source/ folder will be deleted during next ./build_module rerun.
total 436
-rw-r--r-- 1 root garnet 415340 Nov 23 07:21 lt_modem.o
-rw-r--r-- 1 root garnet 24484 Nov 23 07:21 lt_serial.o
To install the modem drivers and enable their demand loading, run:
./ltinst2
./autoload
debian:~/ltmodem-6.00b7# ./ltinst2
Installing the modem drivers in the kernel modules tree.
/usr/bin/install -c -m644 --owner=0 --group=0 -b -D lt_modem.o
/lib/modules/2.2.19-ide/misc/lt_modem.o
/usr/bin/install -c -m644 --owner=0 --group=0 -b -D lt_serial.o
/lib/modules/2.2.19-ide/misc/lt_serial.o
The driver is now installed - now run ./autoload if you want to enable automatic
loading of the module
debian:~/ltmodem-6.00b7# ./autoload
Made device file /dev/ttyLT0
group ownership set to dialout
Made symbolic link /dev/modem --> /dev/ttyLT0
Using /etc/modutils/aliases:
/etc/modutils/aliases already contains the entry for the ltmodem, not changed.
Updating module configuration database.
depmod: *** Unresolved symbols in /lib/modules/2.2.19-ide/fs/binfmt_aout.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19-ide/misc/lt_serial.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19-ide/misc/lt_serial.o~
A ltmodem/DOCs/ folder has been installed in your Systems documentation, or
alternatively,
can be downloaded from http://www.heby.de/ltmodem/
Browse this documentations for advice on configuration and driver usage
issues.
To get online, the Port to be specified in your dialout scripts is /dev/ttyLT0
OR alternatively, /dev/modem, if the Device File System is implemented.
Otherwise, get On-Line and Enjoy!!
Relate problems to discuss@linmodems.org
Gratitude too, to discuss@linmodems.org
debian:~/ltmodem-6.00b7# modprobe lt_modem
debian:~/ltmodem-6.00b7# modprobe lt_serial
/lib/modules/2.2.19-ide/misc/lt_serial.o: unresolved symbol
tty_wait_until_sent_R2f878b9b
/lib/modules/2.2.19-ide/misc/lt_serial.o: unresolved symbol
tty_flip_buffer_push_R3828e747
/lib/modules/2.2.19-ide/misc/lt_serial.o: unresolved symbol
__wake_up_R488028a0
/lib/modules/2.2.19-ide/misc/lt_serial.o: unresolved symbol
interruptible_sleep_on_R0ca77f9d
/lib/modules/2.2.19-ide/misc/lt_serial.o: unresolved symbol do_SAK_R5d708136
/lib/modules/2.2.19-ide/misc/lt_serial.o: unresolved symbol
tty_hung_up_p_Rd553f11e
/lib/modules/2.2.19-ide/misc/lt_serial.o: unresolved symbol
tty_hangup_Rf844b421
/lib/modules/2.2.19-ide/misc/lt_serial.o: unresolved symbol
tty_unregister_driver_Rde7835e8
/lib/modules/2.2.19-ide/misc/lt_serial.o: unresolved symbol
tty_register_driver_R9840b88b
/lib/modules/2.2.19-ide/misc/lt_serial.o: unresolved symbol
tty_get_baud_rate_R2e56088b
/lib/modules/2.2.19-ide/misc/lt_serial.o: insmod /lib/modules/2.2.19-
ide/misc/lt_serial.o failed
/lib/modules/2.2.19-ide/misc/lt_serial.o: insmod lt_serial failed
debian:~/ltmodem-6.00b7# ./fixscript lt_serial.o lt_serial-ide.o
Fixscript V1.7
doing SetLtModemInterface trunc=SetLtModemInterface new=
doing tty_wait_until_sent_R2f878b9b trunc=tty_wait_until_sent
new=tty_wait_until_sent_R50815ddf
doing tty_flip_buffer_push_R3828e747 trunc=tty_flip_buffer_push
new=tty_flip_buffer_push_R276dc484
doing __wake_up_R488028a0 trunc=__wake_up new=__wake_up_R054dfe54
doing interruptible_sleep_on_R0ca77f9d trunc=interruptible_sleep_on
new=interruptible_sleep_on_Rb3739eab
doing do_SAK_R5d708136 trunc=do_SAK new=do_SAK_Re59fc10e
doing tty_hung_up_p_Rd553f11e trunc=tty_hung_up_p
new=tty_hung_up_p_R2ea92c72
doing tty_hangup_Rf844b421 trunc=tty_hangup new=tty_hangup_Ra66899b2
doing tty_unregister_driver_Rde7835e8 trunc=tty_unregister_driver
new=tty_unregister_driver_Rfd26b75f
doing tty_register_driver_R9840b88b trunc=tty_register_driver
new=tty_register_driver_Ra352b620
doing tty_get_baud_rate_R2e56088b trunc=tty_get_baud_rate
new=tty_get_baud_rate_Rbd4b646b
doing GetLtModemInterface trunc=GetLtModemInterface new=
objcopy: --redefine-sym: Symbol "" is target of more than one redefinition
debian:~/ltmodem-6.00b7# /sbin/depmod -e lt_modem.o
lt_modem.o:
debian:~/ltmodem-6.00b7# /sbin/depmod -e lt_serial.o
depmod: *** Unresolved symbols in lt_serial.o
depmod: SetLtModemInterface
depmod: tty_wait_until_sent_R2f878b9b
depmod: tty_flip_buffer_push_R3828e747
depmod: __wake_up_R488028a0
depmod: interruptible_sleep_on_R0ca77f9d
depmod: do_SAK_R5d708136
depmod: tty_hung_up_p_Rd553f11e
depmod: tty_hangup_Rf844b421
depmod: tty_unregister_driver_Rde7835e8
depmod: tty_register_driver_R9840b88b
depmod: tty_get_baud_rate_R2e56088b
depmod: GetLtModemInterface
lt_serial.o:
debian:~/ltmodem-6.00b7# /sbin/depmod -e lt_serial-ide.o
debian:~/ltmodem-6.00b7# insmod lt_serial-ide.o
lt_serial-ide.o: lt_serial-ide.o: No such file or directory
debian:~/ltmodem-6.00b7# dir
1ST-READ build_module fixscript ltuninst2 utils
DOCs build_rpm lt_modem.o scanPCI
autoload cleanup lt_serial.o source
build_deb drivers
Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003