2009-04-27 10:14:40 |
Motin |
bug |
|
|
added bug |
2009-04-27 10:15:56 |
Motin |
bug task added |
|
linux (Ubuntu) |
|
2009-04-27 20:49:40 |
swoke |
attachment added |
|
nm.log.txt http://launchpadlibrarian.net/26043694/nm.log.txt |
|
2009-04-28 12:35:19 |
Motin |
description |
Binary package hint: network-manager
This is so frustrating, loosing internet connection frequently:
Modem connection (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.
All I can come up with atm is a serial log for when it is not successful:
NetworkManager: <info> (ttyUSB0): device state change: 1 -> 2
NetworkManager: <info> (ttyUSB0): deactivating device (reason: 2).
NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed
NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed
NetworkManager: <info> (ttyUSB0): device state change: 2 -> 3
NetworkManager: <info> Activation (ttyUSB0) starting connection '3'
NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4
NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <debug> [1240826372.112830] nm_serial_device_open(): (ttyUSB0) opening device...
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
NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9
NetworkManager: <debug> [1240826400.001958] nm_serial_device_close(): Closing device 'ttyUSB0'
NetworkManager: <info> Marking connection '3' invalid.
NetworkManager: <info> Activation (ttyUSB0) failed.
NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3
NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed
NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' faile
And of course, 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... |
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/freedesktop/Hal/devices/usb_device_413c_8138_Novatel_Wireless_HSDPA_Modem_if0_serial_usb_0, iface: (null)): iface not found
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/freedesktop/Hal/devices/usb_device_413c_8138_Novatel_Wireless_HSDPA_Modem_if0_serial_usb_0
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_device_open(): (ttyUSB0) opening device...
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.d/NetworkManager stop
* 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.d/NetworkManager start
* Starting network connection manager NetworkManager [ OK ]
In syslog:
Apr 28 13:28:28 motin-xps nm-system-settings: SCPlugin-Ifupdown: device added (udi: /org/freedesktop/Hal/devices/usb_device_413c_8138_Novatel_Wireless_HSDPA_Modem_if0_serial_usb_0, iface: (null)): iface not found
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/nm-modem-probe --verbose --export /sys/class/tty/ttyUSB0
L: main(): (/sys/class/tty/ttyUSB0): usb-vid 0x0000 usb-pid 0x0000 usb-intf 0 driver '(null)'
L: main(): probing /sys/class/tty/ttyUSB0
^C
(I had to manually break this as it never seems to finish)
motin@motin-xps:~$ sudo /etc/init.d/NetworkManager stop
* Stopping network connection manager NetworkManager [ OK ]
motin@motin-xps:~$ sudo /lib/udev/nm-modem-probe --verbose --export /sys/class/tty/ttyUSB0
L: main(): (/sys/class/tty/ttyUSB0): usb-vid 0x0000 usb-pid 0x0000 usb-intf 0 driver '(null)'
L: main(): probing /sys/class/tty/ttyUSB0
^C
motin@motin-xps:~$ udevadm info --query=all --path=/sys/class/tty/ttyUSB0 --attribute-walk > udevadm-ttyUSB0-info.txt
motin@motin-xps:~$ lshal > lshal.txt
motin@motin-xps:~$ sudo bash -c "echo Y > /sys/module/option/parameters/debug"
motin@motin-xps:~$ sudo modprobe -r option
motin@motin-xps:~$ sudo modprobe option debug=Y
Here I assembled syslog output into the attached option-debug-output-during-modprobe-in-non-working-state.txt
motin@motin-xps:~$ sudo /etc/init.d/NetworkManager start
* 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-resume-up-until-device-correctly-probed.log
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/freedesktop/Hal/devices/usb_device_413c_8138_Novatel_Wireless_HSDPA_Modem_if0_serial_usb_0
Where is the bug occuring? I don't know... Please help! |
|
2009-04-28 12:37:36 |
Motin |
attachment added |
|
non-working-state_nm.serial.log http://launchpadlibrarian.net/26069230/non-working-state_nm.serial.log |
|
2009-04-28 12:38:33 |
Motin |
attachment added |
|
non-working-state_udevadm-ttyUSB0-info.txt http://launchpadlibrarian.net/26069254/non-working-state_udevadm-ttyUSB0-info.txt |
|
2009-04-28 12:39:08 |
Motin |
attachment added |
|
non-working-state_lshal.txt http://launchpadlibrarian.net/26069262/non-working-state_lshal.txt |
|
2009-04-28 12:40:07 |
Motin |
attachment added |
|
non-working-state_option-debug-output-during-modprobe.txt http://launchpadlibrarian.net/26069307/non-working-state_option-debug-output-during-modprobe.txt |
|
2009-04-28 12:40:44 |
Motin |
attachment added |
|
syslog-suspend.log http://launchpadlibrarian.net/26069333/syslog-suspend.log |
|
2009-04-28 12:41:14 |
Motin |
attachment added |
|
syslog-resume-up-until-device-correctly-probed-including-option-debug-output-during-modprobe.log http://launchpadlibrarian.net/26069336/syslog-resume-up-until-device-correctly-probed-including-option-debug-output-during-modprobe.log |
|
2010-03-14 03:33:14 |
Jeremy Foshee |
tags |
|
kernel-suspend |
|
2010-03-14 03:33:16 |
Jeremy Foshee |
tags |
kernel-suspend |
kernel-suspend needs-kernel-logs |
|
2010-03-14 03:33:19 |
Jeremy Foshee |
tags |
kernel-suspend needs-kernel-logs |
kernel-suspend needs-kernel-logs needs-upstream-testing |
|
2010-03-14 03:33:22 |
Jeremy Foshee |
tags |
kernel-suspend needs-kernel-logs needs-upstream-testing |
kernel-suspend kj-triage needs-kernel-logs needs-upstream-testing |
|
2010-03-14 03:33:28 |
Jeremy Foshee |
linux (Ubuntu): status |
New |
Incomplete |
|
2011-07-13 14:31:52 |
Jeff Buchbinder |
network-manager (Ubuntu): status |
New |
Confirmed |
|
2012-07-12 10:02:34 |
Thomas Hood |
summary |
Contact is lost with internal HSDPA/UMTS modem after some random period - a suspend and wake cycle or a restart is needed to be able to use the modem again |
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 |
|
2012-07-12 10:02:50 |
Thomas Hood |
network-manager (Ubuntu): status |
Confirmed |
Incomplete |
|
2012-09-11 04:17:27 |
Launchpad Janitor |
network-manager (Ubuntu): status |
Incomplete |
Expired |
|
2012-09-11 04:17:28 |
Launchpad Janitor |
linux (Ubuntu): status |
Incomplete |
Expired |
|