XO-1.75/Kernel/Runin: Difference between revisions
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. |
||
== |
== 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 |
|||
⚫ | |||
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/ |
touch /runin/aggressive |
||
== set |
== 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 |
|||
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 |
|||
⚫ | |||
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.