Re: Debian Etch libc6.so version 4.2,, slmodemd problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm not making very much progress.

I was able to update my Debian 4.0 system (including new versions of alsa-base and the kernel). I installed the 2.6.24 kernel from Debian lenny. I appended pci=routeirq (from Bootup.txt). I use "/etc/init.d/sl-modem-daemon restart". Then I have to restart it again; the first command seems only to stop slmodemd. Then I use wvdial. This has worked only once or twice. I haven't figured out what I did right.

Am I heading in the right direction?

I downloaded a new scanModem; attached find the ModemData.txt under 2.6.24; I don't think it changed very much.

Thanks

Marvin Stodolsky wrote:
Bryon,

Is all your code at Debian Etch stable level, or just the kernel?
If only the kernel, at least also update pppd and all its dependent files.

We do have successful users under 2.6.24 kernels.

MarvS

On Thu, Jun 12, 2008 at 10:38 PM, Byron Edgar <relmoyd@xxxxxxxxx> wrote:
No success adjusting LCP so far.

Are you suggesting I upgrade the kernel?  The modem works with 2.4.27, but
not with 2.6.18.  Everything else in my system is the same unless it has to
do with how the kernel relates to it.  2.6.24 is available from Debian.  I
don't have ethernet; I will have to use an offline method.

Thanks

Marvin Stodolsky wrote:
Bryon

Your probem under  Debian Etch 2.6.18-4-686
with

 0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                     Intel 82801DB-ICH4 with AD1981B at 0xc0000c00, irq 11
 1 [Modem          ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
                     Intel 82801DB-ICH4 Modem at 0x2400, irq 11

with driver snd-intel8x0m with its dependent drivers:
snd_intel8x0m          15980  2
snd_ac97_codec         83104  2 snd_intel8x0,snd_intel8x0m
snd_pcm                68676  6
snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
snd                    47012  9

snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc          9640  3 snd_intel8x0,snd_intel8x0m,snd_pcm
and SIL27 Codec
---------
is not transparent,  Many on this list are using similar modems into
the 2.4.2n kernels.  Read the sections of /etc/ppp/options  about
adjusting LCP settings.
and similarly section in
$ man pppd
Also the PostInstall Howto at http://linmodems.technion.ac.il

If you have an alternate ethernet CONNECT, do a
# apt-get update
# apt-get upgrade
to bring in any Etch updates.

MarvS

On Mon, Jun 9, 2008 at 12:27 AM, Byron Edgar <relmoyd@xxxxxxxxx> wrote:

Marvin

pppd reports:

No response to 4 echo-requests
Serial link appears to be disconnected.
Connect time 3.0 minutes.

Again, this is not a problem under kernel 2.4.27 using slamr.  I'm not
sure
what to do next.

Byron

Marvin Stodolsky wrote:

Byron,

Read the wvdial.txt file about  configuation changes to test.

MarvS

On Mon, Jun 2, 2008 at 11:17 PM, Byron Edgar <relmoyd@xxxxxxxxx> wrote:


Marvin

Building slmodemd works, however, my connection does not stay up long
enough
to be useful.  I'm using ppp.

By the way, gcc (version 4.1.2 20061115) gives several:
warning: pointer targets in passing argument differ in signedness

Marvin Stodolsky wrote:


Someone send me an email concerning the topic of the Ubject line,
which I no longer can find.
Just resend if necessary.

But the solution is to compile your own ALSA competent slmodemd for
support of the SIL27 codec modem.
1) install the package libasound2-dev , required for the ALSA
competent
install
2)  from http://linmodems.technion.ac.il/packages/smartlink/
download the slmodem-2.9.11-20080417.tar.gz
unpack and move into the modem/  subfolder.   Then do:
# make clean
# make SUPPORT_ALSA=1
Then replace your current /usr/sbin/slmodemd

MarvS






 Only plain text email is forwarded by the  Discuss@xxxxxxxxxxxxx List Server,
 as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry Debian GNU/Linux 4.0  kernel 2.6.24-1-686 
 With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
 YourCountry will enable Country specific guidance. Linux experts in YourCountry 
 can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org 
--------------------------  System information ----------------------------
CPU=i686,  Debian GNU/Linux 4.0 
Linux version 2.6.24-1-686 (Debian 2.6.24-7) (dannf@xxxxxxxxxx) (gcc version 4.1.3 20080114 (prerelease) (Debian 4.1.2-19)) #1 SMP Thu May 8 02:16:39 UTC 2008
 scanModem update of:  2008_06_28
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/0
 There are no blacklisted modem drivers in /etc/modprobe*  files 
USB modems not recognized

For candidate card in slot 00:1f.6, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1f.6	8086:24c6	1014:0524	Modem: Intel Corporation 82801DB/DBL/DBM 

 Modem interrupt assignment and sharing: 
 11:      11363    XT-PIC-XT        uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, ehci_hcd:usb4, firewire_ohci, yenta, Intel 82801DB-ICH4 Modem, Intel 82801DB-ICH4, radeon@pci:0000:01:00.0
 --- Bootup diagnostics for card in PCI slot 00:1f.6 ----
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt for device 0000:00:1f.6 disabled
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.6 to 64

 The PCI slot 00:1f.6 of the modem card may be disabled early in 
 a bootup process,  but then enabled later. If modem drivers load 
 but the  modem is not responsive, read DOCs/Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
 if help is needed.
 


===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== 
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

The ALSA verion is 1.0.13
The modem cards detected by "aplay -l"  are: 
card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem [Intel 82801DB-ICH4 Modem - Modem]

The /proc/asound/pcm file reports:
-----------------------
01-00: Intel ICH - Modem : Intel 82801DB-ICH4 Modem - Modem : playback 1 : capture 1
00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1

about /proc/asound/cards:
------------------------
 0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                      Intel 82801DB-ICH4 with AD1981B at irq 11
 1 [Modem          ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
                      Intel 82801DB-ICH4 Modem at irq 11
Lines in: /proc/asound/card1/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 5349  and  0:7e = 4c27
are translated from hexadecimal code into the modem chip identifier:  SIL27


The driver snd-intel8x0m with its dependent drivers:
snd_intel8x0m          16844  3 
snd_ac97_codec         92932  2 snd_intel8x0,snd_intel8x0m
snd_pcm                71780  6 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
snd                    48612  11 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         10056  3 snd_intel8x0,snd_intel8x0m,snd_pcm
----------
provide modem + audio support.

=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive diagnostics for card in bus 00:1f.6:
	Modem chipset  detected on
NAME="Modem: Intel Corporation 82801DB/DBL/DBM "
CLASS=0703
PCIDEV=8086:24c6
SUBSYS=1014:0524
IRQ=11
SOFT=8086:24c6.MC97
CodecArchived=SIL27
CodecDiagnosed=SIL27
CodecClass=SIL
IDENT=slmodemd
SLMODEMD_DEVICE=modem:1
Driver=snd-intel8x0m

 For candidate modem in:  00:1f.6
   0703 Modem: Intel Corporation 82801DB/DBL/DBM 
      Primary device ID:  8086:24c6
    Subsystem PCI_id  1014:0524 
    Softmodem codec or chipset from diagnostics: SIL27, an LSI/AgereSystems type
                               from    Archives: SIL27, an LSI/AgereSystems type
                        
      

Support type needed or chipset:	slmodemd

 An ALSA (Advanced Linux Sound Architecture) modem driver:  snd-intel8x0m
 provides Low Level support enabling contact with the modem hardware.
 For all BUT Conexant chip soft modems (using hsfmodem software)
 complementary High Level support is through a Smartlink utility:  slmodemd

 Download from http://linmodems.technion.ac.il/packages/smartlink/ 
 the package SLMODEMD.gcc4.1.tar.gz having a compiled slmodemd. Unpack under Linux with:
 	$ tar zxf SLMODEMD.gcc4.1.tar.gz
 and read instructions therein. But briefly, the modem is setup with command:
 	 slmodemd -c YOUR_COUNTRY --alsa modem:1
 reporting dynamic creation of ports:
	/dev/ttySL0 --> /dev/pts/N   , with N some number
 Read DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.

----------------end Softmodem section --------------

Writing DOCs/Intel.txt
Writing DOCs/Smartlink.txt
============ end Smartlink section =====================

 Completed candidate modem analyses.

 The base of the UDEV device file system is: /dev/.udev

 Versions adequately match for the compiler installed: 4.1.3
             and the compiler used in kernel assembly: 4.1.2

 linux-headers-2.6.24-1-686 resources needed for compiling are not manifestly ready!

 If compiling is necessary packages must be installed, providing:
	 linux-headers-2.6.24-1-686
Compressed files at: /usr/src/kernel-source-2.6.8.tar.bz2 /usr/src/linux-source-2.6.18.tar.bz2 /usr/src/sl-modem.tar.bz2

kernel-kbuild is installed


If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev

If an alternate ethernet connection is available,
$  apt-get update
$  apt-get -s install linux-kernel-devel
will install needed packages.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:

Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb


Checking pppd properties:
	-rwsr-xr-- 1 root dip 260920 Mar 17  2007 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html

To enable dialout without Root permission do:
	$ su - root  (not for Ubuntu)
         chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	 chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 15
lcp-echo-failure 8
noipx

In case of a message like:
   Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html


 Don't worry about the following, it is for experts should trouble shooting be necessary.
==========================================================

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   lrwxrwxrwx 1 root root 6 Jul  4 13:39 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:  lrwxrwxrwx 1 root root 10 Jul  4 13:39 /dev/ttySL0 -> /dev/pts/0
     Within /etc/udev/ files:

     Within /etc/modprobe.conf files:
/etc/modprobe.d/alsa-base-blacklist:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/alsa-base-blacklist:# blacklist snd-atiixp-modem
/etc/modprobe.d/alsa-base-blacklist:# blacklist snd-via82xx-modem
/etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:
/etc/modules.conf:options snd-atiixp-modem index=-2
/etc/modules.conf:options snd-via82xx-modem index=-2
/etc/modules.conf:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modules.conf:# alias snd-atiixp-modem off
/etc/modules.conf:# alias snd-via82xx-modem off
/etc/modules.conf:### update-modules: start processing /etc/modutils/sl-modem-daemon.modutils
/etc/modules.conf:### update-modules: end processing /etc/modutils/sl-modem-daemon.modutils
/etc/modules.conf.old:options snd-atiixp-modem index=-2
/etc/modules.conf.old:options snd-via82xx-modem index=-2
/etc/modules.conf.old:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modules.conf.old:# alias snd-atiixp-modem off
/etc/modules.conf.old:# alias snd-via82xx-modem off
/etc/modules.conf.old:### update-modules: start processing /etc/modutils/sl-modem-daemon.modutils
/etc/modules.conf.old:### update-modules: end processing /etc/modutils/sl-modem-daemon.modutils
--------- end modem support lines --------


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux