XO-4/Kernel/Runin: Difference between revisions

From OLPC
Jump to navigation Jump to search
(gone in build 24)
Line 26: Line 26:


instead of ''iwlist $WLAN_DEV scan''.
instead of ''iwlist $WLAN_DEV scan''.

(''fixed in next release after 0.21.0'')


== ignore repeated hangs ==
== ignore repeated hangs ==

Revision as of 01:06, 15 January 2013

Checklist for customising runin for kernel testing. See also Olpc-runin-tests.

disarm fscheck

This disarms the filesystem consistency check, but doesn't stop it running. The log will contain reports of failure that don't stop the whole run. It is necessary if any files outside /home/olpc have been removed or changed, such as kernel or runin tests. It is not necessary if files have been created that were not previously present, such as runin flags.

touch /runin/soiled

set aggressive suspend timings

This sets ten second awake, ten second suspend timings.

touch /runin/aggressive

set extreme suspend timings

This sets zero seconds awake, three seconds suspend timings.

touch /runin/extreme

reduce scan duration

When using agressive or extreme timing, the wireless scan time will prevent a suspend from completing within the RTC wakeup period, leading to suspend failures. Change /runin/runin-wlan to use

iw $WLAN_DEV scan freq 2412 > /dev/null 2>&1

instead of iwlist $WLAN_DEV scan.

(fixed in next release after 0.21.0)

ignore repeated hangs

By default, runin reports a fail if the number of hangs exceeds three. On a test bed, this results in repeated fails (fixed in git). To turn off the repeated hang detection fail:

touch /runin/no-fail-hangs

optional, disable individual tests

Individual tests can be disabled by renaming the test file.

mv runin-battery runin-battery.orig

runin-gtk is required to be present, unless runin-tests is edited to remove all reference to it.