[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-29 Thread Tony Espy
Same version landed in RTM. ** Also affects: ofono (Ubuntu RTM) Importance: Undecided Status: New ** Changed in: ofono (Ubuntu RTM) Status: New => Fix Released ** Changed in: ofono (Ubuntu RTM) Importance: Undecided => Critical -- You received this bug notification because

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-29 Thread Launchpad Bug Tracker
This bug was fixed in the package ofono - 1.12.bzr6878+14.10.20140926-0ubuntu1 --- ofono (1.12.bzr6878+14.10.20140926-0ubuntu1) 14.09; urgency=medium [ Alfonso Sanchez-Beato ] * include, plugins/mtk.c, src/modem.c,sim.c: Fix PUK crash (LP: #1365481) If the SIM gets locked in p

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-29 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/utopic-proposed/ofono -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365481 Title: Both modem interfaces go momentarily down if one SIM goes PUK locked To manage notific

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-20 Thread Launchpad Bug Tracker
** Branch linked: lp:~phablet-team/ofono/rtm-bug-fix-update-1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365481 Title: Both modem interfaces go momentarily down if one SIM goes PUK locked To ma

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-20 Thread Tony Espy
** Changed in: ofono (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365481 Title: Both modem interfaces go momentarily down if one SIM goes PUK l

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-17 Thread Michael Frey
** Tags removed: touch-2014-09-18 ** Tags added: touch-2014-09-25 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365481 Title: Both modem interfaces go momentarily down if one SIM goes PUK locked T

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-11 Thread Olli Ries
** Tags removed: touch-2014-0918 ** Tags added: touch-2014-09-18 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365481 Title: Both modem interfaces go momentarily down if one SIM goes PUK locked To

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-10 Thread Tony Espy
OK, I manged to recreate on mako running rtm image #26, not sure what I missed the last time. I will continue the code review, and added appropriate tags to the bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launch

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-10 Thread Jussi Kangas
Yes, I've seen this when I've been testing 1.12.bzr6876+14.10.20140904-0ubuntu1 when it was in silo testing phase. Monitor-ofono is also pretty clear indicator. If you see ModemAdded events with empty interfaces for same modems which were alive and well moment ago it means that they dropped down wr

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-09 Thread Alfonso Sanchez-Beato
I was able to reproduce this in image 235 in mako, utopic. Note that you might be unaware of the crash due to upstart respawning ofono. Please take a look to ofono pid before and after testing this, or to the syslog. Otherwise everything seems perfectly fine. -- You received this bug notificatio

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-09 Thread Alfonso Sanchez-Beato
** Changed in: ofono (Ubuntu) Status: Fix Committed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365481 Title: Both modem interfaces go momentarily down if one SIM goes PUK l

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-09 Thread Tony Espy
Thanks for the detailed analysis. FYI, with the latest version ( 1.12.bzr6876+14.10.20140904-0ubuntu1 ) of ofono installed, I tried to reproduce the above scenario on mako running image #26, and I don't see the crash. It may be that the changes made to ensure that the SimManager is created earlie

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-09 Thread Tony Espy
** Changed in: ofono (Ubuntu) Status: Triaged => Fix Committed ** Tags added: rtm14 touch-2014-0918 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365481 Title: Both modem interfaces go mome

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-09 Thread Alfonso Sanchez-Beato
I can reproduce it with just one SIM: 1) Start phone with PIN locked SIM in slot 0 2) ./enter-pin /ril_0 pin 3) ./unlock-pin /ril_0 pin X 3 *and* the crash happens also in mako. The reason of the crash is that after detection of locking of the SIM, this sequence of calls happen: sim_pin_query

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-08 Thread Tony Espy
** Changed in: ofono (Ubuntu) Assignee: (unassigned) => Alfonso Sanchez-Beato (alfonsosanchezbeato) ** Changed in: ofono (Ubuntu) Importance: Undecided => Critical ** Changed in: ofono (Ubuntu) Status: Incomplete => Triaged -- You received this bug notification because you are a

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-08 Thread Jussi Kangas
Ok, this is more exact log from the crash. ofonod[3225]: src/modem.c:modem_change_state() old state: 3, new state: 1 ofonod[3225]: src/modem.c:flush_atoms() ofonod[3225]: src/message-waiting.c:mw_remove() atom: 0x820d98 ofonod[3225]: src/gprs.c:gprs_context_unregister() 0x820b08, 0x8208e8 ofonod[

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-05 Thread Jussi Kangas
There is crash. dmesg gives following: [ 104.611156] (0)[825:init]init: PropSet Error:[ro.ril.ecclist:112,911] ro.* properties may NEVER be modified once set [ 104.946673] (0)[1200:hci_stpd][STP-PSM] [I]stp_psm_disable_by_tx_rx_density: tx cnt = 31 in the previous 3 sec [ 110.526888] (0)[8

[Bug 1365481] Re: Both modem interfaces go momentarily down if one SIM goes PUK locked

2014-09-04 Thread Tony Espy
I see the two ModemAdded signals, do the modem instances completely disappear, and if so, why aren't there corresponding ModemRemoved signals? Also, can you check /var/crash to see if maybe ofonod is crashing? If this happens, you also should see the PID change in the ofono messages in /var/log/s