XO-1.75/Kernel/Runin

From OLPC
Jump to: navigation, search

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.