[linux-elitists] netconsole module - kernel dmesg-over-network logging
Karsten M. Self
Thu Dec 11 18:09:10 PST 2008
on Thu, Dec 11, 2008 at 05:13:49PM -0800, Don Marti (email@example.com) wrote:
> begin Karsten M. Self quotation of Thu, Dec 11, 2008 at 02:38:22PM -0800:
> > For testing, you want to generate some kernel activity.
> > I'm open to other suggestions.
> A module that just does a printk and then refuses
> to be inserted? Insmod it every time you want a
> test line.
> #include <linux/module.h>
> #include <linux/kernel.h>
> int refuse(void)
> printk(KERN_WARNING "I'm a pointless module. Hello log file!\n");
> return -1;
> /* to build modules outside the kernel tree:
> Documentation/kbuild/modules.txt */
Hrm... So there isn't a way to just trigger a message by ordinary
Kicking ideas around at work the most plausible suggestions were to
load/unload a kernel module (the loopback module seemed like a
relatively innocuous bet), umounting/remounting a filesystem, or
inserting a USB drive. So that's on my short list.
Karsten M. Self <firstname.lastname@example.org> http://linuxmafia.com/~karsten
Ceterum censeo, Caldera delenda est.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: Digital signature
Url : http://allium.zgp.org/pipermail/linux-elitists/attachments/20081211/e001c6c1/attachment.pgp
More information about the linux-elitists