XO-1.75/Kernel/Runin: Difference between revisions
No edit summary |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Checklist for customising runin for kernel testing. |
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 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. |
|||
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 |
|||
See [[Watchdog]] for more information about this feature. |
|||
== 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 [http://dev.laptop.org/git/users/quozl/runin/commit/?id=de6dd229f64636b4e099c016a36b574da3be21dd git]). To turn off the repeated hang detection fail: |
|||
touch /runin/no-fail-hangs |
|||
⚫ | |||
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. |
Latest revision as of 06:17, 10 September 2012
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 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
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
See Watchdog for more information about this feature.
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.