← Back to team overview

ubuntu-phone team mailing list archive

Re: BQ (r22) does no suspend

 

El día Monday, May 18, 2015 a las 07:12:48AM +0200, Matthias Apitz escribió:

> My BQ (r22) did today morning the programmed alarm at 5:20 CEST and
> since then it does not suspend anymore. It's configured to do so after 1
> minute of idle, I checked this again, but it does not suspend. I have it
> right now attached to my netbook and there is no run-away proc to be
> seen. I could provide any information out of the device if anybody is
> interested in some logs or whatever.
> 
> Just let me know. I have to reboot it around 12pm CEST.

I poked around a bit and the only usual I was seeing is that there are
spawned processes which make HTTPS connects to some host
naiad.canonical.com; even after killing them, they are respawned; see
below;

	matthias


$ netstat -an | fgrep EST
tcp        0      0 10.151.70.11:46960      91.189.88.37:443        ESTABLISHED
tcp        0     36 10.42.0.1:22            10.42.0.59:53401        ESTABLISHED


$ lsof -P | fgrep :443

ubuntu-pu  2366           phablet   23u     IPv4     107436      0t0        TCP 10.151.70.11:46960->naiad.canonical.com:443 (ESTABLISHED)
ubuntu-pu  2366  2370     phablet   23u     IPv4     107436      0t0        TCP 10.151.70.11:46960->naiad.canonical.com:443 (ESTABLISHED)
ubuntu-pu  2366  2371     phablet   23u     IPv4     107436      0t0        TCP 10.151.70.11:46960->naiad.canonical.com:443 (ESTABLISHED)
ubuntu-pu  2366  2372     phablet   23u     IPv4     107436      0t0        TCP 10.151.70.11:46960->naiad.canonical.com:443 (ESTABLISHED)
...
smartscop  2391           phablet   50u     IPv4      15131      0t0        TCP 10.41.77.43:46439->dash.ubuntu.com:443 (CLOSE_WAIT)
smartscop  2391  2412     phablet   50u     IPv4      15131      0t0        TCP 10.41.77.43:46439->dash.ubuntu.com:443 (CLOSE_WAIT)
smartscop  2391  2414     phablet   50u     IPv4      15131      0t0        TCP 10.41.77.43:46439->dash.ubuntu.com:443 (CLOSE_WAIT)
smartscop  2391  2415     phablet   50u     IPv4      15131      0t0        TCP 10.41.77.43:46439->dash.ubuntu.com:443 (CLOSE_WAIT)



# kill -9 2366 2391

smartscop 16664 16749     phablet    9u     IPv4     115012      0t0        TCP 10.151.70.11:53134->dash.ubuntu.com:443 (CLOSE_WAIT)
smartscop 16664 16750     phablet    9u     IPv4     115012      0t0        TCP 10.151.70.11:53134->dash.ubuntu.com:443 (CLOSE_WAIT)
smartscop 16664 16751     phablet    9u     IPv4     115012      0t0        TCP 10.151.70.11:53134->dash.ubuntu.com:443 (CLOSE_WAIT)
ubuntu-pu 16680           phablet   25u     IPv4     187785      0t0        TCP 10.151.70.11:47015->naiad.canonical.com:443 (ESTABLISHED)
ubuntu-pu 16680 16687     phablet   25u     IPv4     187785      0t0        TCP 10.151.70.11:47015->naiad.canonical.com:443 (ESTABLISHED)
ubuntu-pu 16680 16688     phablet   25u     IPv4     187785      0t0        TCP 10.151.70.11:47015->naiad.canonical.com:443 (ESTABLISHED)
ubuntu-pu 16680 16691     phablet   25u     IPv4     187785      0t0        TCP 10.151.70.11:47015->naiad.canonical.com:443 (ESTABLISHED)

I disconnected and reconnected data mobile service, the connection comes up again:

root@ubuntu-phablet:/home/phablet# netstat -an | fgrep EST
tcp        0      0 10.173.88.237:51812     91.189.88.37:443        ESTABLISHED
tcp        0     36 10.42.0.1:22            10.42.0.59:53401        ESTABLISHED

# tail -f /var/log/syslog:
...
May 18 07:31:51 ubuntu-phablet kernel: [25149.314708][WMT-LIB][E]wmt_lib_is_therm_ctrl_support(1175):thermal command can not be send: STP is not ready
May 18 07:31:51 ubuntu-phablet kernel: [25149.314736][WMT-EXP][E]_mtk_wcn_wmt_therm_ctrl(232):thermal ctrl function not supported
May 18 07:31:51 ubuntu-phablet kernel: [25149.314764][WMT-LIB][E]wmt_lib_is_therm_ctrl_support(1175):thermal command can not be send: STP is not ready
May 18 07:31:51 ubuntu-phablet kernel: [25149.314791][WMT-EXP][E]_mtk_wcn_wmt_therm_ctrl(232):thermal ctrl function not supported
May 18 07:31:52 ubuntu-phablet powerd[951]: 25149895 slow avg 365.656146 fast avg 365.616228 last 365.500000
May 18 07:31:57 ubuntu-phablet powerd[951]: 25154436 slow avg 365.104320 fast avg 365.009469 last 365.000000
May 18 07:32:04 ubuntu-phablet powerd[951]: 25162064 slow avg 365.120576 fast avg 365.004830 last 365.000000
May 18 07:32:11 ubuntu-phablet powerd[951]: 25168648 slow avg 365.479437 fast avg 365.496930 last 365.500000


-- 
Matthias Apitz, guru@xxxxxxxxxxx, http://www.unixarea.de/ +49-170-4527211    +49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)


Follow ups

References