@Motin: What the model number of your modem?  Are you still having this
problem in Ubuntu 12.04?

** Summary changed:

- 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

** Changed in: network-manager (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/367856

Title:
  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

Status in “linux” package in Ubuntu:
  Incomplete
Status in “network-manager” package in Ubuntu:
  Incomplete

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/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!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/367856/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to