Bug 1177256

Summary: failed to connect modem: Cannot recover from a power off
Product: [Fedora] Fedora Reporter: Nerijus Baliūnas <nerijus>
Component: ModemManagerAssignee: Dan Williams <dcbw>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: dcbw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-11 17:59:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
1.4.0 log
none
1.1.0 log
none
fix none

Description Nerijus Baliūnas 2014-12-25 12:39:16 UTC
Created attachment 973019 [details]
1.4.0 log

ModemManager 1.4.0-1.fc21 does not connect:
NetworkManager[663]: <warn> (ttyUSB0) failed to connect modem: Cannot recover from a power off
(NetworkManager:663): NetworkManager-wwan-CRITICAL **: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed

If I downgrade to ModemManager-1.1.0-2.git20130913.fc20.i686, then it connects. After connecting I upgrade again to ModemManager-1.4.0-1.fc21.i686, and then it connects too.

Modem is ZTE MF628. Logs with 1.4.0 and 1.1.0 versions are attached.

Comment 1 Nerijus Baliūnas 2014-12-25 12:39:49 UTC
Created attachment 973020 [details]
1.1.0 log

Comment 2 Nerijus Baliūnas 2015-02-28 13:39:14 UTC
I've checked with other versions. ModemManager-1.3.0-2.fc21.i686.rpm and 1.4.4-1 do not work, version 1.2.0-3 works. So the breakage happened between 1.2.0 and 1.3.0.

Comment 3 Nerijus Baliūnas 2015-02-28 14:02:45 UTC
I reported upstream - https://bugs.freedesktop.org/show_bug.cgi?id=89368

Comment 4 Nerijus Baliūnas 2015-03-02 14:49:35 UTC
Created attachment 997108 [details]
fix

It was fixed upstream. I attach the fix.

Comment 6 Nerijus Baliūnas 2015-04-11 17:59:34 UTC
Fixed in ModemManager-1.4.6-1.fc22, so I'm closing this.