[clug] forcing a kernel message

Andrew Pollock andrew-clug at andrew.net.au
Tue Aug 2 06:31:33 GMT 2005


On Tue, Aug 02, 2005 at 11:01:05AM +1000, Robert Edwards wrote:
> 
> Hi all,
> 
> Probably a very simple question (maybe not) - I need to test my kernel
> message logging (via the serial port). How can I generate a benign
> kernel message reliably and simply (eg. without writing code)?
> "modprobe" doesn't count (not benign enough).
> 

The most benign thing I can think of is a Netfilter LOG rule that either
matches some sort of traffic that the box is routinely doing, or something
like ICMP echo-requests, and you sit there and leave a ping running from
another box, or itself via the loopback or something.

regards

Andrew


More information about the linux mailing list