Next: Phase Two (AutoTest)
Up: Testing
Previous: Testing
Contents
The first phase of kernel testing is simple: we try to boot the kernel and use
it for normal work.
- Before starting the system in a fully functional configuration it is
recommended to boot the kernel with the
init=/bin/bash command line
argument, which makes it start only one bash process. From there you
can check if the filesystems are mounted and unmounted properly and you can
test some more complex kernel functions, like the suspend to disk or to RAM,
in the minimal configuration. In that case the only kernel modules loaded
are the ones present in the initrd image mentioned in
Subsection 1.6.6. Generally, you should refer to the
documentation of your boot loader for more information about manual passing
command line arguments to the kernel (in our opinion it is easier if GRUB is
used).
- Next, it is advisable to start the system in the runlevel 2 (usually, by
passing the number 2 to the kernel as the last command line argument), in
which case network servers and the X server are not started (your system may
be configured to use another runlevel for this purpose, although this is very
unusual, so you should look into
/etc/inittab for confidence). In this
configuration you can check if the network interfaces work and you can try to
run the X server manually to make sure that it does not crash.
- Finally, you can boot the system into the runlevel 5 (ie. fully
functional) or 3 (ie. fully functional without X), depending on your needs.
Now, you are ready to use the system in a normal way for some time. Still, if
you want to test the kernel quickly, you can carry out some typical operations,
like downloading some files, reading email, browsing some web pages, ripping
some audio tracks (from a legally bought audio CD, we presume), burning a CD or
DVD etc., in a row to check if any of them fail in a way that would indicate a
kernel problem.
Next: Phase Two (AutoTest)
Up: Testing
Previous: Testing
Contents
MichaĆ Piotrowski
2007-06-21