Contact is lost with internal modem after some random period - a suspend and wake cycle or a restart fixes it -- Wireless 5520 Voda I Mobile Broadband (3G HSDPA) Minicard EAP-SIM Port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
network-manager (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-manager
Short version:
Modem communication drops to a non-working state at seemlingly random times. In that state, serial communication times out. If the driver is reloaded and Network Manager restarted, nm doesn't detect mobile broadband capabilities:
Apr 28 13:28:28 motin-xps nm-system-settings: SCPlugin-Ifupdown: device added (udi: /org/freedeskto
Apr 28 13:28:28 motin-xps NetworkManager: <info> (ttyUSB1): ignoring due to lack of mobile broadband capabilties
Apr 28 13:28:28 motin-xps NetworkManager: <info> (ttyUSB0): found serial port (udev: hal:GSM)
Apr 28 13:28:28 motin-xps NetworkManager: <info> (ttyUSB0): ignoring due to lack of probed mobile broadband capabilties
Only a suspend+resume cycle resets the modem to a working state again:
Apr 28 13:51:27 motin-xps NetworkManager: <info> (ttyUSB0): found serial port (udev:GSM hal:GSM)
Apr 28 13:51:27 motin-xps NetworkManager: <info> (ttyUSB0): new Modem device (driver: 'option')
Apr 28 13:51:27 motin-xps NetworkManager: <info> (ttyUSB0): exported as /org/freedeskto
And the modem can be used as usual.
Long version (the attachments is in a comment below):
This is so frustrating, loosing internet connection frequently.
Modem communication (and thus the current ppp connection) with the Dell XPS M1330 internal UMTS / HSDPA modem silently drops dead at times (around 1-4 hours after connection, sometimes 8-10 hours afterwards, sometimes 0.5h etc - very randomly it seems, but certain for sure), with no other choice than to suspend and resume the laptop to be able to connect again. (Not a favorable workaround since suspend fails around 1 time of 10...)
At times that I just have noticed the internet connection dropping dead I have looked in syslog, kern.log and dmesq for a trace of that something particular was logged, but find nothing at all...
I tried enabling debug options in ppp option, but the connection process stops before even attempting a ppp connection.
In the failed state, without reloading the option-drivers, I performed a nm serial debug log
NetworkManager: <debug> [1240826372.112830] nm_serial_
NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <debug> [1240826387.214334] nm_serial_debug(): Sending: 'ATZ E0 V1 X4 &C1 +FCLASS=0
'
NetworkManager: <debug> [1240826389.419279] nm_serial_debug(): Error: too many retries sending: 'ATZ E0 V1 X4 &C1 +FCLASS=0
'
NetworkManager: <WARN> init_done(): Modem initialization timed out
In a working state (like after a resume), when it is successful, it continues instead of the ERROR with:
NetworkManager: <debug> [1240826623.265441] nm_serial_debug(): Got: 'ATZ E0 V1 X4 &C1 +FCLASS=0
'
NetworkManager: <debug> [1240826623.274204] nm_serial_debug(): Got: 'ATZ E0 V1 X4 &C1 +FCLASS=0
OK
'
and continues connections etc.
(I have disabled the PIN because of another bug, where network manager doesn't realize that the PIN is needed.)
HOWEVER, this is just the tip of the ice berg, symptoms of deeper issues it seems. Here is a full debug session initiated after I detected that internet had stopped working:
motin@motin-xps:~$ sudo modprobe -r option
FATAL: Module option is in use.
motin@motin-xps:~$ sudo killall pppd
motin@motin-xps:~$ sudo killall pppd
motin@motin-xps:~$ sudo killall -s9 pppd
motin@motin-xps:~$ sudo killall -s9 pppd
pppd: ingen process avslutad
motin@motin-xps:~$ sudo modprobe -r option
FATAL: Module option is in use.
motin@motin-xps:~$ sudo /etc/init.
* Stopping network connection manager NetworkManager [ OK ]
motin@motin-xps:~$ sudo modprobe -r option
motin@motin-xps:~$ sudo modprobe option
In syslog:
Apr 28 13:27:42 motin-xps kernel: [46986.836054] option 4-2:1.0: GSM modem (1-port) converter detected
Apr 28 13:27:42 motin-xps kernel: [46986.836208] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB0
Apr 28 13:27:42 motin-xps kernel: [46986.836243] option 4-2:1.1: GSM modem (1-port) converter detected
Apr 28 13:27:42 motin-xps kernel: [46986.836345] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB1
motin@motin-xps:~$ sudo /etc/init.
* Starting network connection manager NetworkManager [ OK ]
In syslog:
Apr 28 13:28:28 motin-xps nm-system-settings: SCPlugin-Ifupdown: device added (udi: /org/freedeskto
Apr 28 13:28:28 motin-xps NetworkManager: <info> (ttyUSB1): ignoring due to lack of mobile broadband capabilties
Apr 28 13:28:28 motin-xps NetworkManager: <info> (ttyUSB0): found serial port (udev: hal:GSM)
Apr 28 13:28:28 motin-xps NetworkManager: <info> (ttyUSB0): ignoring due to lack of probed mobile broadband capabilties
motin@motin-xps:~$ sudo /lib/udev/
L: main(): (/sys/class/
L: main(): probing /sys/class/
^C
(I had to manually break this as it never seems to finish)
motin@motin-xps:~$ sudo /etc/init.
* Stopping network connection manager NetworkManager [ OK ]
motin@motin-xps:~$ sudo /lib/udev/
L: main(): (/sys/class/
L: main(): probing /sys/class/
^C
motin@motin-xps:~$ udevadm info --query=all --path=
motin@motin-xps:~$ lshal > lshal.txt
motin@motin-xps:~$ sudo bash -c "echo Y > /sys/module/
motin@motin-xps:~$ sudo modprobe -r option
motin@motin-xps:~$ sudo modprobe option debug=Y
Here I assembled syslog output into the attached option-
motin@motin-xps:~$ sudo /etc/init.
* Starting network connection manager NetworkManager [ OK ]
Apr 28 13:38:40 motin-xps NetworkManager: <info> (ttyUSB0): found serial port (udev: hal:GSM)
Apr 28 13:38:40 motin-xps NetworkManager: <info> (ttyUSB0): ignoring due to lack of probed mobile broadband capabilties
Apr 28 13:38:40 motin-xps NetworkManager: <info> (ttyUSB1): ignoring due to lack of mobile broadband capabilties
Here I performed a suspend + resume
With the following logs:
syslog-suspend.log
syslog-
And now in syslog it clearly shows that it works again:
Apr 28 13:51:27 motin-xps NetworkManager: <info> (ttyUSB0): found serial port (udev:GSM hal:GSM)
Apr 28 13:51:27 motin-xps NetworkManager: <info> (ttyUSB0): new Modem device (driver: 'option')
Apr 28 13:51:27 motin-xps NetworkManager: <info> (ttyUSB0): exported as /org/freedeskto
Where is the bug occuring? I don't know... Please help!
I did some more testing, and stopped NetworkManager, killed all pppd, reloaded the option driver, and then instead of:
Apr 27 12:54:43 motin-xps NetworkManager: <info> (ttyUSB1): ignoring due to lack of mobile broadband capabilties p/Hal/devices/ usb_device_ 413c_8138_ Novatel_ Wireless_ HSDPA_Modem_ if0_serial_ usb_0
Apr 27 12:54:43 motin-xps avahi-daemon[4339]: Successfully dropped remaining capabilities.
Apr 27 12:54:43 motin-xps NetworkManager: <info> (ttyUSB0): found serial port (udev:GSM hal:GSM)
Apr 27 12:54:43 motin-xps NetworkManager: <info> (ttyUSB0): new Modem device (driver: 'option')
Apr 27 12:54:43 motin-xps NetworkManager: <info> (ttyUSB0): exported as /org/freedeskto
... I got:
Apr 27 12:44:19 motin-xps NetworkManager: <info> (ttyUSB1): ignoring due to lack of mobile broadband capabilties
Apr 27 12:44:19 motin-xps NetworkManager: <info> (ttyUSB0): found serial port (udev: hal:GSM)
Apr 27 12:44:19 motin-xps NetworkManager: <info> (ttyUSB0): ignoring due to lack of probed mobile broadband capabilties
What more can I supply?