XO-4/Kernel/Runin: Difference between revisions

From OLPC
Jump to navigation Jump to search
 
(6 intermediate revisions by one other user not shown)
Line 3: Line 3:
== 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 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.
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.


touch /runin/soiled
touch /runin/soiled

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.


== set aggressive suspend timings ==
== set aggressive suspend timings ==
Line 12: Line 14:


touch /runin/aggressive
touch /runin/aggressive

This is done so as to stress suspend and resume.


== set extreme suspend timings ==
== set extreme suspend timings ==
Line 19: Line 23:
touch /runin/extreme
touch /runin/extreme


This is done so as to stress suspend and resume.
== 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 ==
== 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:
By default, runin reports a fail if the number of hangs exceeds three. To turn off the repeated hang detection fail:


touch /runin/no-fail-hangs
touch /runin/no-fail-hangs
Line 37: Line 33:
== 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.

== optional, exclude wireless card ==

This excludes the wireless card and driver:

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

This is done so as to exclude known problems with the card and driver.

== optional, logging verbosity ==

* run ''olpc-dev-kernel'' at least once,
* edit olpc.fth and add no_console_suspend to the kernel command line,
* for more verbosity, add debug and/or initcall_debug to the kernel command line
* log the output of the serial console.

This is done to increase the amount of information available for diagnosis.

Latest revision as of 15:14, 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.

touch /runin/soiled

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.

set aggressive suspend timings

This sets ten second awake, ten second suspend timings.

touch /runin/aggressive

This is done so as to stress suspend and resume.

set extreme suspend timings

This sets zero seconds awake, three seconds suspend timings.

touch /runin/extreme

This is done so as to stress suspend and resume.

ignore repeated hangs

By default, runin reports a fail if the number of hangs exceeds three. 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

This excludes the wireless card and driver:

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

This is done so as to exclude known problems with the card and driver.

optional, logging verbosity

  • run olpc-dev-kernel at least once,
  • edit olpc.fth and add no_console_suspend to the kernel command line,
  • for more verbosity, add debug and/or initcall_debug to the kernel command line
  • log the output of the serial console.

This is done to increase the amount of information available for diagnosis.