Testing the Kernel

When you boot your new kernel for the first time, you should take a careful look at the kernel diagnostic messages to make sure that all of your hardware shows up and that the drivers are doing what they are supposed to do. Unfortunately, kernel messages tend to fly by so quickly that you can't see them. You can run dmesg to see the most recent messages, but to see every-thing, you need to look at your log files.

Most /etc/syslog.conf files send kernel messages to a file such as /var/log/kernel.log. If you don't see it anywhere, add a line like this to your /etc/syslog.conf:

kern.*                          /var/log/kernel.log

Then run this command:

kill -HUP '/var/run/syslogd.pid'

You may wish to make a checklist for your new kernel to make sure that ...

Get How Linux Works now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.