XO-1.75/Kernel/Issues

From OLPC
< XO-1.75
Revision as of 08:51, 7 January 2012 by Quozl (talk | contribs)
Jump to navigation Jump to search

hang, SET_BLOCK_COUNT

This is a hang with a repeating message:

mmcblk0: error -110 sending SET_BLOCK_COUNT command, response 0x0, card status 0x700

hang, dpm_resume

This is a hang shortly after the serial console message:

mmp2_pm_finish: Enable audio island

The time period may vary.

Only seen to occur with olpc-runin-tests in aggressive mode; a ten second awake time, followed by a ten second rtcwake suspend. Easily reproduced.

Instances from previous testing:

Analysis.

Tracing the point of hang by gradually adding printk has shown the problem occurs in dpm_resume(), before dpm_complete() is called by dpm_resume_end().

Adding a 60ms mdelay() per device within the dpm_resume() function, within the list processing, patch has shown results:

Note that the elapsed time shows no correlation with the previous instances of the issue ... which suggests that it is the operations being performed rather than the time they are performed.

James is using the watchdog on six units to capture as many instances of the hang as possible, to help in identifying next step in analysis. Results:

  • 2701 suspend tests, 2571 successful resumes, 130 hung resumes, most frequent last messages before hang were mmcblk mmc2:0001: resume (49), input input9: type resume (32), input input8: type resume (4),