XO-1.75/Kernel/Runin: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(update for 0.17.1 now that os24 is up)
Line 1: Line 1:
Checklist for customising runin for kernel testing.
Checklist for customising runin for kernel testing.


== disable or disarm fscheck ==
== 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 changed, such as kernel or runin tests.
mv runin-fscheck runin-fscheck.orig


touch /runin/soiled
or


== set aggressive suspend timings ==
sed --in-place 's/runin.fail/runin.wail/g' $ROOT/runin/runin-fscheck
sed --in-place 's/FAIL/WAIL/g' $ROOT/runin/runin-fscheck
sed --in-place 's/exit 1/# exit 1/g' $ROOT/runin/runin-fscheck


This sets ten second awake, ten second suspend timings.
or in runin 0.17.0 or later


touch /runin/soiled
touch /runin/aggressive


== set aggressive suspend timings ==
== set extreme suspend timings ==


This sets zero seconds awake, three seconds suspend timings.
sed --in-place 's/#WAIT_TIME=0/WAIT_TIME=10/g' $ROOT/runin/runin-sus
sed --in-place 's/#SUS_TIME=3000/SUS_TIME=10000/g' $ROOT/runin/runin-sus


or in runin 0.17.0 or later
touch /runin/extreme


== set watchdog ==
touch /runin/aggressive


This uses the CPU watchdog to force a reboot if runin stalls, including a kernel hang. If the TS tag is set, runin restarts. This is useful for capturing as many hangs as possible to serial terminal, but without any opportunity for running a debugger.
== optional, disable battery testing ==

touch /runin/watchdog

== optional, disable individual tests ==

Individual tests can be disabled by renaming the test file.


mv runin-battery runin-battery.orig
mv runin-battery runin-battery.orig

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

Revision as of 05:38, 13 January 2012

Checklist for customising runin for kernel testing.

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 changed, such as kernel or runin tests.

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

set watchdog

This uses the CPU watchdog to force a reboot if runin stalls, including a kernel hang. If the TS tag is set, runin restarts. This is useful for capturing as many hangs as possible to serial terminal, but without any opportunity for running a debugger.

touch /runin/watchdog

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.