Linmodems Mailing list Archives

Google
 
Web archives.linmodems.org

Return-Path: <rnashner@aracnet.com>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 26057 invoked from network); 18 Apr 2004 04:44:31 -0000
Received: from obsidian.spiritone.com (216.99.193.137)
  by www.linmodems.org with SMTP; 18 Apr 2004 04:44:31 -0000
Received: from rdnS207 (216-99-197-190.dial.spiritone.com [216.99.197.190])
	(authenticated bits=0)
	by obsidian.spiritone.com (8.12.10/8.12.8) with ESMTP id i3I4iP4r024414
	for <discuss@linmodems.org>; Sat, 17 Apr 2004 21:44:26 -0700
Message-ID: <012801c424ff$d6748f40$81c663d8@rdnS207>
From: "Robert Nashner" <rnashner@aracnet.com>
To: <discuss@linmodems.org>
Subject: ltmodem-8.26a9 build_module issue
Date: Sat, 17 Apr 2004 21:44:29 -0700
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0125_01C424C5.292BF380"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

This is a multi-part message in MIME format.

------=_NextPart_000_0125_01C424C5.292BF380
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

The requested text of BLDrecord.txt is attached and will open as
Wordpad/Notepad/MS Word file. Also below is the last page of output from the
aborting ./build_module command.

When I look at line 2994 of serial-lt-2.4.c, the definition of the
tty_struct structure from /linux/tty.h, and also the /asm/atomic.h header, I
find that tty->count isn't really a simple integer; it's a structure called
atomic_t, holding a single volatile integer called counter and its own set
of #define's to manipulate it. Therefore, that seems to make line 2994 fail
syntactically, comparing a structure name to a constant.

Shouldn't line 2994 of  serial-lt-2.4.c read as follows:
if (( atomic_read(tty->count) == 1) && (state->count != 1)) {

and if so would all compile properly if I made this fix to the code
internally within source.tar, since I don't see any other variable like this
one. Is there a more recent update after ver. 8.26a9 at //www.heby
.de/ltmodem or elsewhere?

Here is the mentioned end of ltrecord.txt::
Thanks
RDN

To begin compilation of lt_modem.o and lt_serial.o,  Enter
Using KCFLAGS for gcc version 3.x

gcc -D__KERNEL__ -I/lib/modules/2.4.21-4.EL/build/include -Wall -Wstrict-pro
totypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-re
duce -DMODULE -DLT_VERSION=8.26a9 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_
serial -c -o ltmodem.a ltmodem.c
ld -r -o lt_modem.o ltmodem.a ltmdmobj.o".gcc3"
Using KCFLAGS for gcc version 3.x

gcc -D__KERNEL__ -I/lib/modules/2.4.21-4.EL/build/include -Wall -Wstrict-pro
totypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-re
duce -DMODULE -DLT_VERSION=8.26a9 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_
serial -c -o serial-lt-2.4.a serial-lt-2.4.c

serial-lt-2.4.c: In function `rs_close':
serial-lt-2.4.c:2994: invalid operands to binary ==
make: *** [serial-lt-2.4.a] Error 1

Checking for driver products:
-rw-r--r--    1 root     root       543412 Apr 16 21:30 lt_modem.o

Compilation of lt_serial.o failed,
Do assess whether your utilities are up to date as listed within 1ST-READ!
Read Compile_properly.txt from DOCs/.
If you cannot solve the problem, send BLDrecord.txt to:
discuss@linmodems.org

------=_NextPart_000_0125_01C424C5.292BF380
Content-Type: text/plain;
	name="BLDrecord.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="BLDrecord.txt"

=0A=
Linux Newbies should check DOCs/Installers and if still necessary=0A=
	http://www.heby.de/ltmodem for already available driver installers=0A=
=0A=
Together with information included in DOCs/,=0A=
this report may enable you to solve problems.=0A=
But if further help is needed, send BLDrecord.txt to =
discuss@linmodems.org=0A=
Please use the following in the email Subject Line:=0A=
Lucent modem, redhat White Box Enterprise Linux release 3.0 (Liberation) =
2.4.21-4.EL=0A=
DISTRO=3Dredhat-release=0A=
DISTR=3Dredhat=0A=
DVERSION=3DWhite Box Enterprise Linux release 3.0 (Liberation)=0A=
ACTION=3D./build_module     =0A=
WHOAMI=3Droot=0A=
Fri Apr 16 21:28:20 PDT 2004=0A=
Linux localhost.localdomain 2.4.21-4.EL #1 Sun Dec 14 03:05:35 CST 2003 =
i586 i586 i386 GNU/Linux=0A=
=0A=
------------ beginning SCANMODEM section ------=0A=
If further help is needed, send a description of your problem to:	 =
discuss@linmodems.org=0A=
   with this ModemData.txt Attached.=0A=
using the following in the email Subject Line:=0A=
	build_module, redhat kernel 2.4.21-4.EL=0A=
=0A=
System info follows=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
redhat=0A=
Script executed as:	build_module=0A=
on system:	Linux localhost.localdomain 2.4.21-4.EL #1 Sun Dec 14 =
03:05:35 CST 2003 i586 i586 i386 GNU/Linux=0A=
LSPCI=3D/sbin/lspci=0A=
UPDATE=3D2002 Nov 13=0A=
=0A=
--------- lspci scan ----------------=0A=
00:00.0 Host bridge: Intel Corp. 430TX - 82439TX MTXC (rev 01)=0A=
00:01.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)=0A=
00:01.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)=0A=
00:01.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)=0A=
00:01.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)=0A=
00:10.0 Communication controller: Lucent Microelectronics 56k WinModem=0A=
00:13.0 CardBus bridge: Texas Instruments PCI1220 (rev 02)=0A=
00:13.1 CardBus bridge: Texas Instruments PCI1220 (rev 02)=0A=
00:14.0 VGA compatible controller: Trident Microsystems TGUI =
9660/938x/968x (rev d3)=0A=
-------------------------------------=0A=
Reading more detail for the Device at:=0A=
PCI bus=0A=
-------=0A=
00:10.0 Class 0780: 11c1:0440=0A=
          Subsystem 11c1:0440=0A=
00:10.0 Communication controller: Lucent Microelectronics 56k WinModem=0A=
	Subsystem: Lucent Microelectronics LT WinModem 56k Data+Fax+Voice+Dsvd=0A=
	Flags: medium devsel, IRQ 9=0A=
	Memory at fedffc00 (32-bit, non-prefetchable) [disabled] [size=3D256]=0A=
	I/O ports at f4e8 [disabled] [size=3D8]=0A=
	I/O ports at f000 [disabled] [size=3D256]=0A=
=0A=
-------------------------------------------------------=0A=
 11c1:0440  PCI bus PCI_ID with vendor component: 11c1=0A=
 11c1:0440  and Subsystem PCI_ID with vendor:     11c1=0A=
-------------------------------------------------------=0A=
 are key Sought Descriptions of your modem firmware.=0A=
 Have them ready when visiting URLs with service software!!=0A=
 For soft modems in AC'97 controller slots, the bus PCI_ID describes the =
Controller=0A=
 and the Subsystem PCI_ID the modem card inserted into it.  A soft modem =
chipset=0A=
 must be determined (guessed ?) to guide the choice of driver resources.=0A=
=0A=
 It may be useful to download  http://www.yourvote.com/pci/vendors.txt=0A=
 and search it for vendor with and without caps, for example:  both  =
114d  and  114D=0A=
-------------------------------------------------------------------------=
-----------=0A=
=0A=
DSP=3D1=0A=
=0A=
 A supported Lucent/Agere DSP chipset modem is identified:  =
PCI_ID=3D11c1:0440=0A=
    VENDOR 0x11c1         DEVICE 0x0440=0A=
 ID are within the serviced ranges for Lucent/Agere DSP modems:=0A=
   ------------------------------------------=0A=
    LUCENT 0x11c1          0x0440-0x045c=0A=
    XIRCOM 0x115d          0x0000-0x000F=0A=
    XIRCOM 0x115d          0x0440-0x045c=0A=
    XIRCOM 0x115d          0x0010-0x03ff=0A=
  -------------------------------------------=0A=
 Drivers and their compiler kits are available at:=0A=
       http://www.heby.de/ltmodem/=0A=
  =0A=
	Checking primary Vendor=3D11c1 through major modem chipset Vendors=0A=
=0A=
 Vendor=3D11c1 corresponds to Lucent Technologies or subsidiary Agere =
Systems, Inc.=0A=
 Information is at:  =
http://www.agere.com/support/client/modem_drivers.html=0A=
   but without any relevant to Linux.=0A=
=0A=
	Checking Subsystem Vendor=3D11c1 through major modem chipset Vendors=0A=
=0A=
 Vendor=3D11c1 corresponds to Lucent Technologies or subsidiary Agere =
Systems, Inc.=0A=
 Information is at:  =
http://www.agere.com/support/client/modem_drivers.html=0A=
   but without any relevant to Linux.=0A=
=0A=
=0A=
 0x0440 -- Mars 2 - data/fax/voice =0A=
 Get Lucent/Agere information at:=0A=
	http://www.agere.com/support/client/modem_drivers.html=0A=
=0A=
  The desired installer name is like:=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
ltmodem-kv-2.4.21_4.EL-8.22a5-1.i586.rpm=0A=
---------------------------------------- =0A=
ltmodem-kv-Kernel_FL-LTver--.CPU.rpm   explains the versioning.=0A=
 LTver 8.22a5  is the release of the resource =0A=
 used in compiling and assembling driver packages.=0A=
 8.22 is the Agere core code designation.=0A=
=0A=
 A suitable installer is not available as of this 2002 Nov 13 update.=0A=
 Check in the section redhat at  http://www.heby.de/ltmodem=0A=
 for a subsequent Installer submission.=0A=
 If not present use the ltmodem-8.22a5.tar.gz compiler kit.=0A=
=0A=
 The list of available Installers for redhat=0A=
 is inserted into to BLDrecord.txt.2=0A=
GCCversion=3D3.2.3=0A=
=0A=
The following information blocks just query some ppp support items.=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
   grep ppp /etc/modules.conf=0A=
--------------------------------=0A=
--------------------------------=0A=
DEVPPP=3Dcrw------- 1 root root 108, 0 Dec 12 10:02 /dev/ppp=0A=
DEVFS=3D=0A=
DEVFSD=3D=0A=
=0A=
-------------- ending SCANMODEM section ----------------=0A=
BASE=3Dsource=0A=
# =3D=3D=3DSETTINGS=3D=3D=3D=0A=
LT_SERIAL_MODULE=3D"lt_serial"=0A=
LT_PROPRIETARY_MODULE=3D"lt_modem"=0A=
DOCS=3D"1ST-READ CHANGELOG UPDATES-BUGS DOCs utils"=0A=
LT_VERSION=3D"8.26a9"=0A=
KPKG=3D"kernel"=0A=
=0A=
FV=3D=0A=
HEADERS_IN=3D/lib/modules/2.4.21-4.EL/build/include/linux/=0A=
MODVERH=3Dyes=0A=
=0A=
Next checking utilty versions, with ranges=0A=
           Version_min =0A=
 Utility    or range for kernels   =0A=
   name     2.2.16       2.4.18          Actual_version   =0A=
Gnu C      2.7.2.3      2.95.3-3.2.1   3.2.3=0A=
Gnu make   3.79.1       3.77            3.79.1=0A=
binutils   2.8.1.0.23   2.9.1.0.25      2.14.90.0.4=0A=
=0A=
=0A=
  The gcc compiler resources available are:=0A=
 ----------------------------=0A=
 -rwxr-xr-x    2 root     root        84740 Dec 12 00:33 /usr/bin/gcc=0A=
-rwxr-xr-x    1 root     root        86184 Dec 12 01:13 /usr/bin/gcc-ssa=0A=
 ----------------------------=0A=
 with your System currently using version 3.2.3=0A=
 Do NOT mix the major versions of compilers for the kernel and modem =
drivers=0A=
 or your System will crash! The following releases are using gcc version =
3.2.x :=0A=
    Mandrake 9, Redhat 8 and SuSE 8.1 in November 2002. =0A=
 This build_module automatically adjusts its resources to the compiler =
version used. =0A=
 See the utils/ltrename (by Mark Spieth) called by the Makefile.=0A=
 =0A=
-rw-r--r--    1 root     root       543412 Apr 16 21:30 lt_modem.o=0A=
=0A=
If you cannot solve the problem, send BLDrecord.txt to: =
discuss@linmodems.org=0A=

------=_NextPart_000_0125_01C424C5.292BF380--


Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003