netconsole
From: Raz Ben-Jehuda(caro)
Date: Tue Jul 04 2006 - 04:42:15 EST
Matt hello
I am testing netconsole.
What i did is to create a panic driver.
It is written bellow.
Why I am not getting the panic output to netcat ?
thank you
raz
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/init.h>
static void do_panic_cleanup(void){}
static int do_panic_init(void){
panic("raz");
return -1;
}
module_init(do_panic_init);
module_exit(do_panic_cleanup);
MODULE_DESCRIPTION("do panic");
MODULE_AUTHOR("raz ben yehuda");
MODULE_LICENSE("GPL");
--
Raz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/