Linux Device Driver Development Cookbook
上QQ阅读APP看书,第一时间看更新

Using kernel messages

As already stated, the serial console is very helpful if we need to set up a system from scratch, but it's also very useful if we wish to see kernel messages as soon as they are generated. In order to generate kernel messages, we can use several functions and, in this recipe, we will take a look at them and how to display messages on the serial console or over an SSH connection.