[ltp] T21 modem & 2.6

Efthym linux-thinkpad@linux-thinkpad.org
Tue, 01 Jun 2004 13:01:51 +0300


------------mxmYKtShjYlqWNiBd3Wk3P
Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8
Content-Transfer-Encoding: 8bit

Just tried the 8.31a2 drivers and it still fails. The only thing I see  
that might be causing it is the version mismatch for gcc and binutils. I  
thought these drivers support the 2.6 kernel but there's no mention  
anywhere (someone correct me if I'm wrong).

I'm including BLDrecord.txt and ltrecord.txt. Maybe I'm missing something.


-- 
Opera M2 on Fedora Core 2
------------mxmYKtShjYlqWNiBd3Wk3P
Content-Disposition: attachment; filename=BLDrecord.txt
Content-Type: text/plain; name=BLDrecord.txt
Content-Transfer-Encoding: 8bit


Linux Newbies should check DOCs/Installers and if still necessary
	http://www.heby.de/ltmodem for already available driver installers

Together with information included in DOCs/,
this report may enable you to solve problems.
But if further help is needed, send BLDrecord.txt to discuss@linmodems.org
Please use the following in the email Subject Line:
Lucent modem, redhat Fedora Core release 2 (Tettnang) 2.6.5-1.358
DISTRO=fedora-release
DISTR=redhat
DVERSION=Fedora Core release 2 (Tettnang)
ACTION=./build_module     
WHOAMI=root
TARGET_CPU=i686
Tue Jun  1 11:55:33 EEST 2004
Linux Purgatory.bakouria.org 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux

------------ beginning SCANMODEM section ------
 assembled with compiler:  3.3.3
 with current System compiler GCC=3.3.3
----active COMM services are ------------
eth0      Link encap:Ethernet  HWaddr 00:10:A4:8B:C2:1C  
This COMM mode should be closed before using the modem, or DNS services may fail.
 PPP support module   bsd_comp..o   not found!
 All PPP support modules were found.

  ======= Fedora code changes =======
 SmartLink slmodem-2.9.n and  Intel537 drivers are already Fedora competent.
 For usage of winmodems with the kernel-2.4.nn Fedora releases
 a change in the serial-like driver code of WinModems  is necessary.
 See for guidance:  http://hepunx.rl.ac.uk/~wmurray/pctel/pctel.html
 Basically , the line:
     if ((tty->count == 1) && (state->count != 1)) {
  should be changed into:
     if (atomic_read(&tty->count) == 1 && state->count != 1) {
  This works in the ltmodem code too. See
     http://linmodems.technion.ac.il/archive-third/msg02360.html
  An error about "rs_close" during compiling is a signature that the fedora fix is needed

  redhat is not yet providing pre-compiled drivers for WinModems

 An AC'97 modem codec was not detected

Path to lspci is: /sbin/lspci
--------- lspci scan ----------------
PCI_bus
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
00:03.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 09)
00:03.1 Serial controller: Xircom Mini-PCI V.90 56k Modem
00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 13)
-------------------------------------

Modem candidates are at PCI_buses:  00:03.1

Providing detail for device at PCI_bus 00:03.1
  with vendor-ID:device-ID
	    ----:----
Class 0700: 115d:000c   Serial controller: Xircom Mini-PCI V.90 56k Modem (prog-if 02 [16550])
  SubSystem 8086:2408   Intel Corp.: Unknown device 2408
	Flags: medium devsel, IRQ 10
	I/O ports at 1840
	Memory at e8121000 (32-bit, non-prefetchable) [size=4K]

 Internal_test:   ./scanModem test 115d:000c 8086:2408 redhat 2.6.5-1.358 3.3.3 3.3.3


 The modem has a supported Lucent/Agere DSP (digital signal processing) chipset
  with primary PCI_ID:  115d:000c
 DSP=1
 === Checking 115d through chipset providers and modem assemblers ====

 Vendor=115d corresponds to Xircom, now an Intel subsidiary.
   http://www.intel.com/support/peripherals/xc/modems/index.htm
   http://appsr.intel.com/scripts-df/support_intel2.asp
   http://support.intel.com/
                          Device ID Range
                            -------------
    XIRCOM 0x115d          0x0000-0x000F
    XIRCOM 0x115d          0x0440-0x045c
    XIRCOM 0x115d          0x0010-0x03ff
   --------------------------------------
 are supported by the resources at http://ltmodem.heby.de/

 Some other Xircom modems and Lucent 11c1:0420 modems
    MAY BE accessed by Insertion Options
 Download from http://ltmodem.heby.de/  the:   ltmodem-"8.26a9".tar.gz
 Open with:    tar zxvf  ltmodem-"8.26a9".tar.gz
 Within the ltmodem/DOCs/  folder read the Insertion-param files
 and for fun, the history:   andreas.txt

 To get a recommendation for an Installer kit, run
    build_module  kit


  ======= PCI_ID checking completed ====== 
 Update=2004 April 19
The following information blocks just query some ppp support items.
====================================================
   grep ppp /etc/modprobe.conf
-------------------------------------

-------------------------------------
Be sure to read the section about ppp related modules and aliases in BLDrecord.txt.2
 Be sure to read the Ethernet section of BLDrecord.txt.2 
DEVPPP=crw------- 1 root root 108, 0 Feb 23 23:02 /dev/ppp
A /dev/modem symbolic link is not present

 No devfsd.conf file found, indicated absense of the devfsd daemon package
 for device file system (devfs) symbolic link support.

DEVFSD=
 ---- dmesg queries -------
IBM machine detected. Enabling interrupts during APM calls.
CPU serial number disabled.
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)

 The ModemDriverCompiling.txt  is a MUST READ,
 if you are not experienced in configuring kernel-source/
 or get "unresolved symbols" upon driver insertion.

  Most recent WinModem fixes are in:  http://linmodems.technion.ac.il/FAQ.html

-------------- ending SCANMODEM section ----------------
BASE=source
# ===SETTINGS===
LT_SERIAL_MODULE="lt_serial"
LT_PROPRIETARY_MODULE="lt_modem"
DOCS="1ST-READ CHANGELOG UPDATES-BUGS DOCs utils"
LT_VERSION="8.31a2"
CPU="i686"
KPKG="kernel"

FV=
checking whether we are using GNU C... yes
  using /lib/modules/2.6.5-1.358/build
BUILD_LINK=/total 276
drwxr-xr-x  22 root root   4096 May 23 21:44 arch
drwxr-xr-x   2 root root   4096 May 23 21:44 crypto
drwxr-xr-x  43 root root   4096 May 23 21:44 drivers
drwxr-xr-x  53 root root   4096 May 23 21:44 fs
drwxr-xr-x  15 root root   4096 May 23 21:45 include
drwxr-xr-x   2 root root   4096 May 23 21:45 init
drwxr-xr-x   2 root root   4096 May 23 21:45 ipc
drwxr-xr-x   3 root root   4096 May 23 21:45 kernel
drwxr-xr-x   4 root root   4096 May 23 21:45 lib
-rw-r--r--   1 root root  36216 May  8 16:21 Makefile
drwxr-xr-x   2 root root   4096 May 23 21:45 mm
-rw-r--r--   1 root root 177477 May  8 16:21 Module.symvers
drwxr-xr-x  33 root root   4096 May 23 21:45 net
drwxr-xr-x   7 root root   4096 May 23 21:45 scripts
drwxr-xr-x   3 root root   4096 May 23 21:45 security
drwxr-xr-x  15 root root   4096 May 23 21:45 sound
drwxr-xr-x   2 root root   4096 May 23 21:45 usr

Next checking utilty versions, with ranges
           Version_min 
 Utility    or range for kernels   
   name     2.2.16       2.4.18          Actual_version   
Gnu C      2.7.2.3      2.95.3-3.2.1   3.3.3
Gnu make   3.79.1       3.77            3.80
binutils   2.8.1.0.23   2.9.1.0.25      2.15.90.0.3


  The gcc compiler resources available are:
 ----------------------------
 -rwxr-xr-x  2 root root 87928 Apr 14 00:28 /usr/bin/gcc
-rwxr-xr-x  2 root root 94804 Apr 21 11:36 /usr/bin/gcc34
 ----------------------------
 with your System currently using version 3.3.3
 Do NOT mix the major versions of compilers for the kernel and modem drivers
 or your System will crash! The following releases are using gcc version 3.2.x :
    Mandrake 9, Redhat 8 and SuSE 8.1 in November 2002.


If you cannot solve the problem, send BLDrecord.txt to: discuss@linmodems.org

------------mxmYKtShjYlqWNiBd3Wk3P
Content-Disposition: attachment; filename=ltrecord.txt
Content-Type: text/plain; name=ltrecord.txt
Content-Transfer-Encoding: 8bit


 Lucent/Agere_Systems(AS) DSP chip modems (but Not the AMR of soft PCI chipsets)
 are supported by the the resources of this kit.
 AS maintainer S. Sarkar develops the code on a Red Hat Linux test bed. 
 The lt_serial.o Serial Interface module comes under GPL and is Open Source.
 The lt_modem.o code is entirely proprietary, though partially Open Source.
 Adaptation to ongoing changes in Linux source code is enabled by the Open Source components.
 Critical AS proprietary information is pre-complied in   ltmdmobj.o,
 whose constituents are functionally not affected by minor Linux source code  changes.

 Volunteer maintainers periodically receive code updates from AS. 
 Through the contributions of Many described in CREDITS, there are
 enhancements in utility, ease of installation and documentation.
 Mark Spieth initiated this ltmodem compiler kit series.
 Chris Hebeisen introduced the Configure implementation, bringing Newbie friendliness.
 Marv Stodolsky is culpable for the verbose messaging.
 Within DOCs/, Ltmodem.html has URLs to many particular usage cases.
 Volunteers assemble the ltmodem-version.deb and
 ltmodem-version.rpm Installers for the User Community as Linux source code evolves 
 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.
 Thus 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 needed /lib/modules/Kernel_Version/ tree.


 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.31a2 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 a repository, http://ltmodem.heby.de
 If your System can use one of these Installers, you will be informed below.

 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.

=================================================================

 This is the version 8.31a2 of the compiler + installer kit
 	8.31	corresponds to the version of the core Agere Systems DSP code.
 	    a2  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 the 2.5.nn development kernels.
 However support was broken in the early 2.4.n-test series.
 When there is a Red Hat 2.6.nn release, AS will then update the code

 If your PC is being well served with this 8.31a2,
 there is NO Benefit in using a more recent version
 until there is an update in the Agere driver code, say 8.26 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 discuss@linmodems.org,
 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.

 =================================================================
 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.6.5-1.358, 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. Then the process can be recorded to ltrecord.txt :

	 ./build_module     | tee ltrecord.txt


====================================================================
Diagnostic information is progressively being written to BLDrecord.txt .
Often, contents of BLDrecord.txt will aid in solving a problem.

The Linux distribution is:   redhat, Fedora Core release 2 (Tettnang)  
	End of distribution check.



UPDATE=2004 April 19
 A /dev/modem symbolic link is not set.

Providing detail for device at PCI_bus 00:03.1
  with vendor-ID:device-ID
	    ----:----
Class 0700: 115d:000c   Serial controller: Xircom Mini-PCI V.90 56k Modem (prog-if 02 [16550])
  SubSystem 8086:2408   Intel Corp.: Unknown device 2408
	Flags: medium devsel, IRQ 10
	I/O ports at 1840
	Memory at e8121000 (32-bit, non-prefetchable) [size=4K]

 The modem has a supported Lucent/Agere DSP (digital signal processing) chipset
  with primary PCI_ID:  115d:000c
 DSP=1




==================================================

Checking for any preliminary complications.
Bad links to /usr/include not evident.
The kernel supports only single processor motherboards.

==================================================

OK thus far.

Removing old makings and expanding a clean source.tar.gz 
Setting BLDrecord.txt link within source/ folder.
lrwxrwxrwx  1 root root 16 Jun  1 11:55 BLDrecord.txt -> ../BLDrecord.txt
Setting ./tmpfile link within source/ folder.
lrwxrwxrwx  1 root root 12 Jun  1 11:55 ./tmpfile -> .././tmpfile
Following a successful check for matching kernel-headers,
the modem drivers will be compiled for the current kernel version: 2.6.5-1.358

Performing a configure trial and capturing the report to ../conf-report.txt.
Parsing the report:
	No evident problems.

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... rpmbuild
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.6.5-1.358: nope
  ... in /usr/src/linux-2.6.5: nope
  ... in /usr/src/linux-2.6.5-1.358: nope
  ... in /lib/modules/2.6.5-1.358/build: Kernel headers found in /lib/modules/2.6.5-1.358/build
  using /lib/modules/2.6.5-1.358/build
Checking kernel header version
Test program for figuring out kernel header version failed

The check for compilation tools and general resources was successful.
Within DOCs/ there is an annotated conf-report.txt
The Makefile and down steam installation scripts have been created.


Next checking utilty versions,
           Version_min 
 Utility    or range for kernels   
   name     2.2.16       2.4.18          Actual_version   
-------------------------------------------------------------------
Gnu C      2.7.2.3      2.95.3-2.9.99   3.3.3
Gnu make   3.77         3.79.1          3.80
binutils   2.8.1.0.23   2.9.1.0.25      2.15.90.0.3

-------------------------------------------------------------------

  The gcc compiler resources available are:
 ----------------------------
 -rwxr-xr-x  2 root root 87928 Apr 14 00:28 /usr/bin/gcc
-rwxr-xr-x  2 root root 94804 Apr 21 11:36 /usr/bin/gcc34
 ----------------------------
 with your System currently using version 3.3.3
 Do NOT mix the major versions of compilers for the kernel and modem drivers
 or your System will crash! The following releases are using gcc version 3.2.x :
    Mandrake 9, Redhat 8 and SuSE 8.1 in November 2002.

To continue:


 To avoid faulting Systems with an Enviromental setting:	make -e
	make
 is the compiling command used with build_module.
 To modify "make" invocation on your System, if desirable,
 edit the  build_module line below:  MAKEE


Checking for driver products:

Compilation of lt_modem.ko 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


------------mxmYKtShjYlqWNiBd3Wk3P--