No Carrier error after suspend, USA Ubuntu 6.10 kernel 2.6.17-10-generic

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

 



I have Ubuntu 6.10 on a Dell Inspiron 5100 laptop. After some configuration, the internal modem mostly works using ALSA drivers and the smartlink daemon from the Ubuntu repositories.

While the modem works well upon startup, it fails to connect to the Internet after I suspend or hibernate the system. Wvdialconf still detects the modem fine. "$ sudo wvdial" begins the connection process, but brings back a "No Carrier" error and goes into an endless "Trying again" loop until I kill it with ctl-c.

I assume something just needs to be re-loaded, but don't know what. Rebooting fixes the problem, but is not ideal.

I have looked all over for a solution but have as yet been unsuccessful.

I have attached three files:
1) my ModemData.txt
2) my wvdial.conf
3) the log from wvdial when I attempt to connect after suspending or hibernating the system.

Any help or guidance about where to look for answers would be appreciated.

Thanks:
Matt

_________________________________________________________________
FREE online classifieds from Windows Live Expo ? buy and sell with people you know http://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://expo.live.com?s_cid=Hotmail_tagline_12/06 Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server.
Do use the following as the email Subject Line:
          SomeName, YourCountry Ubuntu 6.10  kernel 2.6.17-10-generic
This will alert cogent experts, and  distinguish cases in the Archives.
YourCountry will enable Country Code guidance.
Occassionally responses are blocked by an Internet Provider mail filters.
So in a day, also check the Archived responses at http://www.linmodems.org .
Local Linux experts can be found through: http://www.linux.org/groups/index.html
--------------------------  System information ----------------------------
CPU=i686,  Ubuntu 6.10
Linux version 2.6.17-10-generic (root@vernadsky) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Fri Oct 13 18:45:35 UTC 2006 (Ubuntu 2.6.17-10.33-generic)
scanModem update of:  2007_Jan_22
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/1

USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

PCI slot	PCI ID		SubsystemID	Name
----------	---------	---------	--------------
00:1f.6	8086:24c6	134d:4c21	Modem: Intel Corporation 82801DB/DBL/DBM

Modem interrupt assignment and sharing:
7: 236313 XT-PIC Intel 82801DB-ICH4 Modem, Intel 82801DB-ICH4, eth0

--- Bootup diagnositcs for card in PCI slot 00:1f.6 ----
[17179570.872000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
[17179570.872000] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[17179617.312000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
[17179617.312000] PCI: Setting latency timer of device 0000:00:1f.6 to 64
[17201287.424000] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[17201291.724000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
[17201291.724000] 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 Bootup.txt about possible fixes.
Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
if help is needed.


=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===

ALSAversion 1.0.11
For candidate modem in PCI bus:  00:1f.6
  Class 0703: 8086:24c6 Modem: Intel Corporation 82801DB/DBL/DBM
     Primary PCI_id  8086:24c6
   Subsystem PCI_id  134d:4c21 , 134d is an ALSA compatible identification
   Softmodem codec or Vendor from diagnostics: SIL21, a Pctel type.
                             from    Archives: SIL21, a Pctel type.


Lacking a dsp (digital signal processing) chip, the modem is a software
intensive or "softmodem" type. Its primary controller manages the traffic
with the CPU. But the software needed is specified in the Subsystem.
-----------------------------------------
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.tar.gz having a compiled slmodemd. Unpack under Linux with:
	$ tar zxf SLMODEMD.gcc4.tar.gz
and read instructions therein. But briefly, the modem is setup with command:
	sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
reporting dynamic creation of ports:
	/dev/ttySL0 --> /dev/pts/N   , with N some number
Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.

Already loaded into the kernel is snd-intel8x0m and audio drivers it depends on,
displayed by:	lsmod | grep snd_intel8x0m
Module                  Size  Used by
-------------------------------------
snd_intel8x0m          18956  5
snd_ac97_codec 97696 4 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0 snd_pcm 84612 8 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd 58372 19 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer snd_page_alloc 11400 5 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0,snd_pcm


The diagnostic outputs for this softmodem section have their raw information in folders and text files under /proc/asound/ which you can browse. The information
is from files:
	/proc/asound/pcm
-------------------------------
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
01-00: Intel ICH - Modem : Intel 82801DB-ICH4 Modem - Modem : playback 1 : capture 1

	/proc/asound/modules
-------------------------------
0 snd_intel8x0
1 snd_intel8x0m
	/proc/asound/card1/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 5349  and  0:7e = 4c21
which were translated from hexadecimal code into:  SIL21

	/proc/asound/card1/codec97#0/mc97#1-1
-------------------------------
Extended modem ID: codec=1 LIN1

and from the command:
	aplay -l | grep -i modem
card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem [Intel 82801DB-ICH4 Modem - Modem]

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

Writing Intel.txt
Writing 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.2
            and the compiler used in kernel assembly: 4.1.2



Compiling resources appear complete:
  make utility - /usr/bin/make
  Compiler version 4.1
  kernel_headers base folder /lib/modules/2.6.17-10-generic/build


Checking pppd properties:
	-rwsr-xr-- 1 root dip 260920 2006-07-10 13:13 /usr/sbin/pppd

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

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

Checking settings of:	/etc/ppp/options
asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
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

Read Modem/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.

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

# start/stop the daemon when the USB modem is connected
KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
Checking for modem support lines:
--------------------------------------
/device/modem symbolic link: lrwxrwxrwx 1 root root 6 2007-02-05 23:56 /dev/modem -> ttySL0 slmodemd created symbolic link /dev/ttySL0: lrwxrwxrwx 1 root root 10 2007-02-06 05:59 /dev/ttySL0 -> /dev/pts/1
    Within /etc/udev/ files:
/etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink
/etc/udev/rules.d/60-symlinks.rules:KERNEL=="ttyLTM[0-9]*",			SYMLINK+="modem"
/etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected /etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon" /etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected /etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
    Within /etc/modprobe.conf files:
/etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem
/etc/modprobe.d/sl-modem-daemon.modutils:install slamr modprobe --ignore-install ungrab-winmodem ; modprobe --ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0)
/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:

--------- end modem support lines --------



[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Modem = /dev/ttySL0
Baud = 460800
Phone = 494-4075
Username = m********@dialup.cc
Password = ******
Carrier check = no

--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT494-4075
--> Waiting for carrier.
ATDT494-4075
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT494-4075
--> Waiting for carrier.
ATDT494-4075
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT494-4075
--> Waiting for carrier.
ATDT494-4075
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT494-4075
--> Waiting for carrier.
ATDT494-4075
NO CARRIER
ERROR

. . . . .

and so on until I hit ctl-c

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

  Powered by Linux