View Single Post
efekt's Avatar
Posts: 422 | Thanked: 320 times | Joined on Oct 2009 @ Israel
#13
Originally Posted by RobbieThe1st View Post
Check here: http://talk.maemo.org/showthread.php?t=54462
It solved this problem for me back on PR1.2
I tried uninstalling Catorise, and reinstalling hildon-desktop - both did not help...

Originally Posted by slender View Post
I´m going to sleep next so sorry for my rather rude output.
You are forgiven, son

Originally Posted by slender View Post
From where did you install power kernel? Do you have devel repository enabled?

Looking your powertop output with my ear it screams that something is fck up if it really represent your idle state. btw. it´s always good to run it couple of times to see that you get some pretty constant values.

So to ask obvious questions:
-Did you first remove all widgets from desktops
-Closed all apps
-went offline
-No daemons running (I have batterygraph and it seems to effect very little)
-Acted with powertop as I recommended in my link

(Probably shutting down, removing battery for 10 mins, rebooting and letting it calm down for 5-x minutes, depending on how long tracker runs AND then running powertop couple of times to get idle state value is good way to start debug)

I tried powertop and my statistics are currently following
Total wakeups 531 = IRQ 415 & Timers 116 and CPU is most of time (90%) in sleep C4 and rest of time in C3 and only fraction in couple of others and none in C0
Only additional thing I have running is batterygraph daemon. I have not installed any apps that install tweaked kernel so PR 1.3 official kernel.
Well, as I mentioned - that powertool dump has probably caught the moment when my CPU raised and started sipping on my battery. Here's another dump with a more 'subtle' behavior:

Code:
Powertop 1.13.3
status: Unknown job: pmtrackerdaemon
Sleeping for 11 seconds before sampling
Collecting data for 30 seconds
Sample interval was 00m 30s 31769us

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
     C0 |   3.9% |          |   600 MHz |   1.3% |
     C1 |   2.3% |    2.4ms |   550 MHz |   0.0% |
     C2 |  65.3% |   21.0ms |   500 MHz |   3.6% |
     C3 |  15.2% |  120.5ms |   250 MHz |  95.1% |
     C4 |  13.3% |  666.6ms | 

IRQ#    | Activity   | Type           | Name
--------+------------+----------------+---------------------------
     61 |        929 |           INTC | i2c_omap
     37 |        897 |           INTC | gp
     11 |        709 |           INTC | prcm
     56 |        336 |           INTC | i2c_omap
     57 |        190 |           INTC | i2c_omap
     86 |         97 |           INTC | mmc1
     12 |         50 |           INTC | DMA
     21 |         17 |           INTC | SGX
    225 |         13 |           GPIO | omap2-onenand
     25 |          1 |           INTC | OMAP

PID#    | Activity   | Name           | Function Entry (Expire)
--------+------------+----------------+---------------------------
      0 |        635 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
    803 |        216 |            mce | schedule_hrtimeout_range (hrtimer_wakeup)
     37 |         80D|            awk | cpufreq_governor_dbs (delayed_work_timer_fn)
   1165 |         20 |hildon-status-m | schedule_hrtimeout_range (hrtimer_wakeup)
    740 |         12 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
      0 |         12 |  <kernel core> | hrtimer_start (tick_sched_timer)
    622 |          7 |          mmcqd | schedule_timeout (process_timeout)
    622 |          7 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
    740 |          6 |      bme_RX-51 | schedule_timeout (process_timeout)
    706 |          5 |           dsme | __enqueue_rt_entity (sched_rt_period_timer)
   1635 |          3 |     osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup)
    706 |          3 |           dsme | do_nanosleep (hrtimer_wakeup)
    803 |          3 |            mce | tsc2005_start_scan (tsc2005_esd_timer_handler)
      1 |          3 |  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    740 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
   1528 |          2 |       browserd | futex_wait (hrtimer_wakeup)
    803 |          2 |            mce | queue_delayed_work (delayed_work_timer_fn)
    886 |          1 |           Xorg | hrtimer_start (it_real_fn)
    622 |          1 |          mmcqd | schedule_timeout (process_timeout)
    622 |          1 |          mmcqd | cfq_completed_request (cfq_idle_slice_timer)
    886 |          1 |           Xorg | queue_delayed_work (delayed_work_timer_fn)
    803 |          1 |            mce | schedule_timeout (process_timeout)
    803 |          1 |            mce | queue_delayed_work (delayed_work_timer_fn)
    914 |          1 | hald-addon-bme | schedule_hrtimeout_range (hrtimer_wakeup)
     29 |          1 |          mount | setup_wb_timer (wb_timer_fn)
   1240 |          1 |  BatteryGraphd | schedule_timeout (process_timeout)
   1240 |          1 |  BatteryGraphd | journal_get_write_access (commit_timeout)
   1641 |          1 |       powertop | do_nanosleep (hrtimer_wakeup)

Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
usbhost |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
    sgx |OFF:  98%|RET:   0%|INA:   0%| ON:   1%| now:(OFF)
    per |OFF:  27%|RET:  65%|INA:   0%| ON:   6%| now:(ON)
    dss |OFF:  25%|RET:   0%|INA:   0%| ON:  74%| now:(OFF)
    cam |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
   core |OFF:  12%|RET:   8%|INA:  68%| ON:   9%| now:(ON)
   neon |OFF:  13%|RET:  15%|INA:  65%| ON:   6%| now:(ON)
    mpu |OFF:  13%|RET:  15%|INA:  65%| ON:   6%| now:(ON)
   iva2 |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)

Clock activity breakdown at end of period
Domain  | Active clocks
--------+---------------+---------------+------------------
   core |          SDRC | HSOTGUSB_IDLE |      OMAPCTRL 
        |     MAILBOXES |
   wkup |          GPT1 |       32KSYNC |         GPIO1 
        |          WDT1 |
  ckgen |          CORE |          PERI |           96M 
        |           48M |           12M |           54M 
        |      EMU_CORE |
    per |         GPIO2 |         GPIO3 |         GPIO4 
        |         GPIO5 |         GPIO6 |

Total wakeups  4268, 142.3/s | IRQ 3239, 108.0/s | Timers 1029,  34.3/s
HW wakeups      197,   6.6/s |     Real gp_timers expired  129,   4.3/s
I of course tried removing all my widgets (all I had was the SMS conversation, Dataplan monitor, calendar and music player - all of them were widgets which I ALWAYS used, even prior to the problem specified in this thread) but it did not help...
The power kernels which I was using were of course downloaded from the extra-devel repo...

Anyways, thank you guys for trying to help - and if anyone couldn't find the cause for this, I'd probably just reflash and this time will reflash the eMMC as well (though I'm not quite sure if it'd help at all)...
__________________
As long as people will accept crap, it will be financially profitable to dispense it...

Last edited by efekt; 2010-11-23 at 12:15.