XO-4/Kernel/Runin: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
Line 37: Line 37:
== optional, disable individual tests ==
== optional, disable individual tests ==


Individual tests can be disabled by renaming the test file.
Individual tests can be disabled by creating a corresponding no- file.


mv runin-battery runin-battery.orig
touch /runin/no-battery


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

Revision as of 02:30, 17 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 creating a corresponding no- file.

touch /runin/no-battery

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

optional, exclude wireless card

touch /runin/no-wireless
echo blacklist btmrvl_sdio > /etc/modprobe.d/olpc.conf
echo blacklist mwifiex_sdio >> /etc/modprobe.d/olpc.conf

optional, logging verbosity

  • run olpc-dev-kernel at least once,
  • edit olpc.fth and add no_console_suspend to command line,
  • log the output of the serial console.