Modem Manager setting bad baud rate, breaking pppd connections.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
Unassigned | ||
modemmanager (Ubuntu) |
Fix Released
|
High
|
Alexander Sack | ||
network-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
As we have better come to understand the nature of the defect, the salient info from the original description, below, was:
Aug 16 20:18:41 karmic NetworkManager: <WARN> ppp_exit_code(): ppp pid 3897 exited with error: Fatal pppd error
Aug 16 20:18:41 karmic NetworkManager: <debug> [1250468321.951409] ppp_watch_cb(): ppp pid 3897 cleaned up
This was later reflected in comment #8 by:
Aug 21 09:51:30 karmic pppd[4296]: pppd 2.4.5 started by root, uid 0
Aug 21 09:51:30 karmic pppd[4296]: Baud rate for /dev/ttyACM0 is 0; need explicit baud rate
Aug 21 09:51:31 karmic pppd[4296]: Exit.
Aug 21 09:51:31 karmic NetworkManager: <WARN> ppp_exit_code(): ppp pid 4296 exited with error: Fatal pppd error
What we found are issues between NetworkManager and (mostly in) ModemManager dealing with setting/resetting modem attributes, leading to a situation where the modem is being set to a Baud rate of 0, from which we never recover, and which pppd will not accept. Due to some differences, this happens if connections are set to automatically connect, but not otherwise.
================
Original description follows:
-------
The same modem works fine with Fedora 10, Fedora 11, Intrepid, Jaunty, and DID work with Karmic until August 7th. Additional information from logs is below. And I've rebooted to Fedora 11 between failures with Karmic to verify that the modem and local provider are functional.
-------
Aug 16 20:18:18 karmic kernel: [ 94.086140] cdc_acm 4-1:1.0: ttyACM0: USB ACM device
Aug 16 20:18:18 karmic kernel: [ 94.088315] usbcore: registered new interface driver cdc_acm
Aug 16 20:18:18 karmic kernel: [ 94.088340] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Aug 16 20:18:23 karmic kernel: [ 99.060269] scsi 6:0:0:0: CD-ROM UM175AL CD-ROM 2.31 PQ: 0 ANSI: 2
Aug 16 20:18:40 karmic pppd[3897]: Plugin /usr/lib/
Aug 16 20:18:40 karmic pppd[3897]: pppd 2.4.5 started by root, uid 0
Aug 16 20:18:41 karmic pppd[3897]: Exit.
Aug 16 20:18:18 karmic modem-manager: (ttyACM0) opening serial device...
Aug 16 20:18:18 karmic modem-manager: (ttyACM0): probe requested by plugin 'Generic'
Aug 16 20:18:18 karmic modem-manager: (ttyACM0) closing serial device...
Aug 16 20:18:19 karmic modem-manager: (Generic): CDMA modem /sys/devices/
Aug 16 20:18:19 karmic modem-manager: Added modem /sys/devices/
Aug 16 20:18:19 karmic modem-manager: Exported modem /sys/devices/
Aug 16 20:18:19 karmic NetworkManager: <info> (ttyACM0): new CDMA device (driver: 'cdc_acm')
Aug 16 20:18:19 karmic NetworkManager: <info> (ttyACM0): exported as /org/freedeskto
Aug 16 20:18:19 karmic NetworkManager: <info> (ttyACM0): now managed
Aug 16 20:18:19 karmic NetworkManager: <info> (ttyACM0): device state change: 1 -> 2 (reason 2)
Aug 16 20:18:19 karmic NetworkManager: <info> (ttyACM0): deactivating device (reason: 2).
Aug 16 20:18:19 karmic NetworkManager: flush_routes: assertion `iface_idx >= 0' failed
Aug 16 20:18:19 karmic NetworkManager: flush_addresses: assertion `iface_idx >= 0' failed
Aug 16 20:18:19 karmic NetworkManager: <info> (ttyACM0): device state change: 2 -> 3 (reason 0)
Aug 16 20:18:19 karmic NetworkManager: <info> Activation (ttyACM0) starting connection 'Auto Mobile Broadband (CDMA) connection'
Aug 16 20:18:19 karmic NetworkManager: <info> (ttyACM0): device state change: 3 -> 4 (reason 0)
Aug 16 20:18:19 karmic NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) scheduled...
Aug 16 20:18:19 karmic NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) started...
Aug 16 20:18:19 karmic NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) complete.
Aug 16 20:18:19 karmic modem-manager: (ttyACM0) opening serial device...
Aug 16 20:18:19 karmic modem-manager: Got failure code 100: Unknown error
Aug 16 20:18:19 karmic modem-manager: Your CDMA modem does not support +CMEE command
Aug 16 20:18:20 karmic modem-manager: Got failure code 3: No carrier
Aug 16 20:18:20 karmic NetworkManager: <WARN> stage1_
Aug 16 20:18:20 karmic NetworkManager: <info> (ttyACM0): device state change: 4 -> 9 (reason 0)
Aug 16 20:18:20 karmic NetworkManager: <info> Marking connection 'Auto Mobile Broadband (CDMA) connection' invalid.
Aug 16 20:18:20 karmic NetworkManager: <info> Activation (ttyACM0) failed.
Aug 16 20:18:20 karmic NetworkManager: <info> (ttyACM0): device state change: 9 -> 3 (reason 0)
Aug 16 20:18:20 karmic NetworkManager: <info> (ttyACM0): deactivating device (reason: 0).
Aug 16 20:18:20 karmic NetworkManager: flush_routes: assertion `iface_idx >= 0' failed
Aug 16 20:18:20 karmic NetworkManager: flush_addresses: assertion `iface_idx >= 0' failed
Aug 16 20:18:25 karmic NetworkManager: <info> Activation (ttyACM0) starting connection 'Auto Mobile Broadband (CDMA) connection'
Aug 16 20:18:25 karmic NetworkManager: <info> (ttyACM0): device state change: 3 -> 4 (reason 0)
Aug 16 20:18:25 karmic NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) scheduled...
Aug 16 20:18:25 karmic NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) started...
Aug 16 20:18:25 karmic NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) complete.
Aug 16 20:18:26 karmic modem-manager: Got failure code 100: Unknown error
Aug 16 20:18:26 karmic modem-manager: Your CDMA modem does not support +CMEE command
Aug 16 20:18:35 karmic wpa_supplicant[
Aug 16 20:18:40 karmic NetworkManager: <info> Activation (ttyACM0) Stage 2 of 5 (Device Configure) scheduled...
Aug 16 20:18:40 karmic NetworkManager: <info> Activation (ttyACM0) Stage 2 of 5 (Device Configure) starting...
Aug 16 20:18:40 karmic NetworkManager: <info> (ttyACM0): device state change: 4 -> 5 (reason 0)
Aug 16 20:18:40 karmic NetworkManager: <info> Starting pppd connection
Aug 16 20:18:40 karmic NetworkManager: <debug> [1250468320.851165] nm_ppp_
Aug 16 20:18:40 karmic NetworkManager: <debug> [1250468320.866207] nm_ppp_
Aug 16 20:18:40 karmic NetworkManager: <info> Activation (ttyACM0) Stage 2 of 5 (Device Configure) complete.
Aug 16 20:18:41 karmic modem-manager: Got failure code 3: No carrier
Aug 16 20:18:41 karmic NetworkManager: <WARN> ppp_exit_code(): ppp pid 3897 exited with error: Fatal pppd error
Aug 16 20:18:41 karmic NetworkManager: <debug> [1250468321.951409] ppp_watch_cb(): ppp pid 3897 cleaned up
Aug 16 20:18:41 karmic NetworkManager: <info> (ttyACM0): device state change: 5 -> 9 (reason 14)
Aug 16 20:18:41 karmic NetworkManager: <info> Marking connection 'Auto Mobile Broadband (CDMA) connection' invalid.
Aug 16 20:18:41 karmic NetworkManager: <info> Activation (ttyACM0) failed.
Aug 16 20:18:41 karmic NetworkManager: <info> (ttyACM0): device state change: 9 -> 3 (reason 0)
Aug 16 20:18:41 karmic NetworkManager: <info> (ttyACM0): deactivating device (reason: 0).
Aug 16 20:18:41 karmic NetworkManager: flush_routes: assertion `iface_idx >= 0' failed
Aug 16 20:18:41 karmic NetworkManager: flush_addresses: assertion `iface_idx >= 0' failed
Aug 16 20:18:48 karmic NetworkManager: <info> Activation (ttyACM0) starting connection 'Auto Mobile Broadband (CDMA) connection'
Aug 16 20:18:48 karmic NetworkManager: <info> (ttyACM0): device state change: 3 -> 4 (reason 0)
Aug 16 20:18:48 karmic NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) scheduled...
Aug 16 20:18:48 karmic NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) started...
Aug 16 20:18:48 karmic NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) complete.
Aug 16 20:18:48 karmic modem-manager: Got failure code 100: Unknown error
Aug 16 20:18:48 karmic modem-manager: Your CDMA modem does not support +CMEE command
ProblemType: Bug
Architecture: amd64
Date: Sun Aug 16 20:50:03 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: network-manager 0.8~a~git.
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: network-manager
Uname: Linux 2.6.31-5-generic x86_64
WpaSupplicantLog:
tags: | added: karmic |
summary: |
- [KARMIC][REGRESSION] Network Manager .8 broken with UM175 - (Verizon/Alltel wireless) + Network Manager .8 broken with UM175 (Verizon/Alltel wireless) |
description: | updated |
summary: |
- Network Manager .8 broken with UM175 (Verizon/Alltel wireless) + Modem Manager setting bad baud rate, breaking pppd connections. |
The kernel crash has not reproduced today since the new 2.6.31-6-generic kernel.