Activity log for bug #1204644

Date Who What changed Old value New value Message
2013-07-24 19:47:39 Dave Morley bug added bug
2013-07-24 19:47:39 Dave Morley attachment added screenshot1.png https://bugs.launchpad.net/bugs/1204644/+attachment/3748000/+files/screenshot1.png
2013-07-24 19:47:58 Dave Morley attachment added screenshot2.png https://bugs.launchpad.net/indicator-server/+bug/1204644/+attachment/3748003/+files/screenshot2.png
2013-07-24 19:48:17 Dave Morley attachment added screenshot3.png https://bugs.launchpad.net/indicator-server/+bug/1204644/+attachment/3748004/+files/screenshot3.png
2013-07-24 19:50:21 Dave Morley affects indicator-server ofono
2013-07-24 19:53:41 Dave Morley affects ofono touch-preview-images
2013-07-24 19:53:54 Dave Morley touch-preview-images: assignee Tony Espy (awe)
2013-07-24 19:54:31 Dave Morley description From a virgin install of 20130724 if I enable 3g and then disable it the rild/ofono cpu usage is in the 20-30% each. Steps: 1 Connect a Maguro device to a pc 2 Open a terminal 3 Run phablet-flash --pending --wipe 4 Run adb root && adb shell 5 Run top (screenshot1) 6. On the phone open NM indicator and enable 3g 6 On the phone open the webbrowser ensure 3g is working 7 On the computer Run top with 3g enabled (screenshot2) 8 Disable the 3g on the phone 9 On the computer Run top (screenshot3) From a virgin install of 20130724 if I enable 3g and then disable it the rild/ofono cpu usage is in the 20-30% each. Steps: 1 Connect a Maguro device to a pc 2 Open a terminal 3 Run phablet-flash --pending --wipe 4 Run adb root && adb shell 5 Run top (screenshot1) 6 On the phone open NM indicator and enable 3g 7 On the phone open the webbrowser ensure 3g is working 8 On the computer Run top with 3g enabled (screenshot2) 9 Disable the 3g on the phone 10 On the computer Run top (screenshot3)
2013-07-24 21:06:59 Tony Espy bug added subscriber Mathieu Trudel-Lapierre
2013-07-25 19:40:02 Tony Espy touch-preview-images: status New Confirmed
2013-07-25 19:40:06 Tony Espy touch-preview-images: importance Undecided Critical
2013-07-25 20:28:39 Tony Espy description From a virgin install of 20130724 if I enable 3g and then disable it the rild/ofono cpu usage is in the 20-30% each. Steps: 1 Connect a Maguro device to a pc 2 Open a terminal 3 Run phablet-flash --pending --wipe 4 Run adb root && adb shell 5 Run top (screenshot1) 6 On the phone open NM indicator and enable 3g 7 On the phone open the webbrowser ensure 3g is working 8 On the computer Run top with 3g enabled (screenshot2) 9 Disable the 3g on the phone 10 On the computer Run top (screenshot3) From a virgin install of 20130724 if I enable 3g and then disable it the rild/ofono cpu usage is in the 20-30% each. Steps: 1 Connect a Maguro device to a pc 2 Open a terminal 3 Run phablet-flash --pending --wipe 4 Run adb root && adb shell 5 Run top (screenshot1) 6 On the phone open NM indicator and enable 3g 7 On the phone open the webbrowser ensure 3g is working 8 On the computer Run top with 3g enabled (screenshot2) 9 Disable the 3g on the phone 10 On the computer Run top (screenshot3) Root Cause: This is caused by a tight loop between ofono and RILD. I made an incorrect assumption that our NM/ofono code would deactivate the data context when mobile data is disabled. In reality it actually sets the 'Powered' property of org.ofono.ConnectionManager to 'false'. So when the core ofono code calls the gprs_driver set_attached function with attached=0, it merely results in a REQUEST_DATA_REGISTRATION_STATUS which returns active, when the desired state was inactive ( hence the loop ). Since the core is expecting GPRS to be detached, it calls the set_attached function again... hence the tight loop. This is similar to the recent problem with mobile data roaming which was recently fixed.
2013-07-26 01:06:48 Tony Espy branch linked lp:~awe/phablet-extras/ofono-lp1204644
2013-07-26 01:12:01 Tony Espy summary Maguro: rild/ofono have really high % cpu once 3g is turned off rild/ofono have really high % cpu once 3g is turned off
2013-07-29 14:05:37 Tony Espy touch-preview-images: status Confirmed Fix Committed
2013-07-29 21:00:20 Tony Espy touch-preview-images: status Fix Committed Fix Released